* config/mips/elf64.h: Likewise.
* config/mips/openbsd.h: Likewise.
* config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
* config/mips/linux.h: Likewise.
* config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
(CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69346
138bc75d-0d04-0410-961f-
82ee72b054a4
2003-07-14 Richard Sandiford <rsandifo@redhat.com>
+ * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
+ * config/mips/elf64.h: Likewise.
+ * config/mips/openbsd.h: Likewise.
+ * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
+ * config/mips/linux.h: Likewise.
+ * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
+ (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
+
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
to the list of include files when using gas.
(mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
Boston, MA 02111-1307, USA. */
/* Use ELF. */
-#undef OBJECT_FORMAT_COFF
-#undef EXTENDED_COFF
-
#define DBX_DEBUGGING_INFO 1
#define DWARF2_DEBUGGING_INFO 1
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#undef OBJECT_FORMAT_COFF
-#undef EXTENDED_COFF
-
#define DBX_DEBUGGING_INFO 1
#define DWARF2_DEBUGGING_INFO 1
#define ABICALLS_ASM_OP "\t.option pic2"
-/* IRIX 5 doesn't use COFF, so disable special COFF handling in collect2.c. */
-#undef OBJECT_FORMAT_COFF
-
/* ??? This is correct, but not very useful, because there is no file that
uses this macro. */
/* ??? The best way to handle global constructors under ELF is to use .init
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
-/* Required to keep collect2.c happy */
-#undef OBJECT_FORMAT_COFF
-
/* If we don't set MASK_ABICALLS, we can't default to PIC. */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_ABICALLS|MASK_GAS)
mips_debugger_offset (X, (HOST_WIDE_INT) 0)
#define DEBUGGER_ARG_OFFSET(OFFSET, X) \
mips_debugger_offset (X, (HOST_WIDE_INT) OFFSET)
-
-/* Tell collect that the object format is ECOFF */
-#define OBJECT_FORMAT_COFF /* Object file looks like COFF */
-#define EXTENDED_COFF /* ECOFF, not normal coff */
\f
/* Target machine storage layout */
#define ASM_COMMENT_START " #"
#endif
\f
-
-/* Macros for mips-tfile.c to encapsulate stabs in ECOFF, and for
- and mips-tdump.c to print them out.
-
- These must match the corresponding definitions in gdb/mipsread.c.
- Unfortunately, gcc and gdb do not currently share any directories. */
-
-#define CODE_MASK 0x8F300
-#define MIPS_IS_STAB(sym) (((sym)->index & 0xFFF00) == CODE_MASK)
-#define MIPS_MARK_STAB(code) ((code)+CODE_MASK)
-#define MIPS_UNMARK_STAB(code) ((code)-CODE_MASK)
-
-\f
/* Default definitions for size_t and ptrdiff_t. We must override the
definitions from ../svr4.h on mips-*-linux-gnu. */
/* Switch into a generic section. */
#undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
-
-/* collect2 support (Macros for initialization). */
-
-/* Mips default configuration is COFF-only, and confuses collect2. */
-#undef OBJECT_FORMAT_COFF
-#undef EXTENDED_COFF