mirror of git://gcc.gnu.org/git/gcc.git
elf.h (OBJECT_FORMAT_COFF, [...]): Remove undefs.
* 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. From-SVN: r69346
This commit is contained in:
parent
6627b7f96a
commit
373f8df79e
|
@ -1,5 +1,13 @@
|
||||||
2003-07-14 Richard Sandiford <rsandifo@redhat.com>
|
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
|
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
|
||||||
to the list of include files when using gas.
|
to the list of include files when using gas.
|
||||||
(mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
|
(mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
|
||||||
|
|
|
@ -21,9 +21,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
/* Use ELF. */
|
/* Use ELF. */
|
||||||
#undef OBJECT_FORMAT_COFF
|
|
||||||
#undef EXTENDED_COFF
|
|
||||||
|
|
||||||
#define DBX_DEBUGGING_INFO 1
|
#define DBX_DEBUGGING_INFO 1
|
||||||
#define DWARF2_DEBUGGING_INFO 1
|
#define DWARF2_DEBUGGING_INFO 1
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to
|
||||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#undef OBJECT_FORMAT_COFF
|
|
||||||
#undef EXTENDED_COFF
|
|
||||||
|
|
||||||
#define DBX_DEBUGGING_INFO 1
|
#define DBX_DEBUGGING_INFO 1
|
||||||
#define DWARF2_DEBUGGING_INFO 1
|
#define DWARF2_DEBUGGING_INFO 1
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,6 @@ Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define ABICALLS_ASM_OP "\t.option pic2"
|
#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
|
/* ??? This is correct, but not very useful, because there is no file that
|
||||||
uses this macro. */
|
uses this macro. */
|
||||||
/* ??? The best way to handle global constructors under ELF is to use .init
|
/* ??? The best way to handle global constructors under ELF is to use .init
|
||||||
|
|
|
@ -88,9 +88,6 @@ do { \
|
||||||
#undef MD_EXEC_PREFIX
|
#undef MD_EXEC_PREFIX
|
||||||
#undef MD_STARTFILE_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. */
|
/* If we don't set MASK_ABICALLS, we can't default to PIC. */
|
||||||
#undef TARGET_DEFAULT
|
#undef TARGET_DEFAULT
|
||||||
#define TARGET_DEFAULT (MASK_ABICALLS|MASK_GAS)
|
#define TARGET_DEFAULT (MASK_ABICALLS|MASK_GAS)
|
||||||
|
|
|
@ -1328,10 +1328,6 @@ extern int mips_abi;
|
||||||
mips_debugger_offset (X, (HOST_WIDE_INT) 0)
|
mips_debugger_offset (X, (HOST_WIDE_INT) 0)
|
||||||
#define DEBUGGER_ARG_OFFSET(OFFSET, X) \
|
#define DEBUGGER_ARG_OFFSET(OFFSET, X) \
|
||||||
mips_debugger_offset (X, (HOST_WIDE_INT) OFFSET)
|
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 */
|
|
||||||
|
|
||||||
/* Target machine storage layout */
|
/* Target machine storage layout */
|
||||||
|
|
||||||
|
@ -3831,19 +3827,6 @@ while (0)
|
||||||
#ifndef ASM_COMMENT_START
|
#ifndef ASM_COMMENT_START
|
||||||
#define ASM_COMMENT_START " #"
|
#define ASM_COMMENT_START " #"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* 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)
|
|
||||||
|
|
||||||
|
|
||||||
/* Default definitions for size_t and ptrdiff_t. We must override the
|
/* Default definitions for size_t and ptrdiff_t. We must override the
|
||||||
definitions from ../svr4.h on mips-*-linux-gnu. */
|
definitions from ../svr4.h on mips-*-linux-gnu. */
|
||||||
|
|
|
@ -109,9 +109,3 @@ Boston, MA 02111-1307, USA. */
|
||||||
/* Switch into a generic section. */
|
/* Switch into a generic section. */
|
||||||
#undef TARGET_ASM_NAMED_SECTION
|
#undef TARGET_ASM_NAMED_SECTION
|
||||||
#define TARGET_ASM_NAMED_SECTION default_elf_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
|
|
||||||
|
|
Loading…
Reference in New Issue