config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines if using mips/elf.h or mips/elf64.h.

* config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
	if using mips/elf.h or mips/elf64.h.
	* config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
	* config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.

From-SVN: r58237
This commit is contained in:
Richard Sandiford 2002-10-17 06:53:35 +00:00 committed by Richard Sandiford
parent 58be18836f
commit 4db83639f4
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-10-17 Richard Sandiford <rsandifo@redhat.com>
* config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
if using mips/elf.h or mips/elf64.h.
* config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
* config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
2002-10-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to

View File

@ -2840,6 +2840,11 @@ mips*-*-*)
tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines"
;;
esac
case $tm_file in
*mips/elf.h* | *mips/elf64.h*)
tm_defines="OBJECT_FORMAT_ELF $tm_defines"
;;
esac
if test "x$enable_gofast" = xyes
then
tm_defines="INIT_SUBTARGET_OPTABS=INIT_GOFAST_OPTABS $tm_defines"

View File

@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. */
/* Use ELF. */
#undef OBJECT_FORMAT_COFF
#undef EXTENDED_COFF
#define OBJECT_FORMAT_ELF
/* ??? Move all SDB stuff into separate header file. */
#undef SDB_DEBUGGING_INFO

View File

@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. */
#undef OBJECT_FORMAT_COFF
#undef EXTENDED_COFF
#define OBJECT_FORMAT_ELF
#undef SDB_DEBUGGING_INFO
#define DBX_DEBUGGING_INFO 1