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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58237
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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"
/* 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
#undef OBJECT_FORMAT_COFF
#undef EXTENDED_COFF
-#define OBJECT_FORMAT_ELF
#undef SDB_DEBUGGING_INFO
#define DBX_DEBUGGING_INFO 1