diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2002-07-29 22:21:41 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2002-07-29 22:21:41 +0000 |
commit | 6d4392353e94a9d9a6e66c1cb8e1aee3eb177e05 (patch) | |
tree | 53a67fa5e056e948fc0866051e59701ab03ab8de /gcc/config.gcc | |
parent | 4357a6c3481d4ab2a32cc905480efdfaacec7937 (diff) | |
download | gcc-6d4392353e94a9d9a6e66c1cb8e1aee3eb177e05.zip gcc-6d4392353e94a9d9a6e66c1cb8e1aee3eb177e05.tar.gz gcc-6d4392353e94a9d9a6e66c1cb8e1aee3eb177e05.tar.bz2 |
elf.h: Remove ecoff.h and gofast includes.
2002-07-29 Eric Christopher <echristo@redhat.com>
* config/mips/elf.h: Remove ecoff.h and gofast includes.
(DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
(SDB_DEBUGGING_INFO): Undefine.
(PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
(PUT_SDB_SIZE): Remove.
(SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
(STARTFILE_SPEC): Add isa3264 define.
* config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
* config/mips/ecoff.h: Remove. and here...
* config/mips/iris3.h: and here...
* config/mips/sni-svr4.h: and here...
* config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
Add assembler -mmdebug options for non-dwarf debugging.
* config/mips/r3900.h: Remove debug info defines.
* config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
* config/mips/isa3264.h: Ditto.
* config/mips/t-isa3264: Fix up for file removal and gofast configure
change.
* config/mips/t-elf: Ditto.
* config/mips/t-ecoff: Ditto.
* config/mips/t-r3900: Ditto.
* config/mips/t-iris5-6: Ditto.
* config/mips/t-isa3264: Ditto.
* config/mips/t-linux: Remove.
* config/mips/t-netbsd: Remove.
* config/mips/t-mips: New file.
* config/mips/t-gofast: Ditto.
* config/mips/netbsd.h: Remove unnecessary undefines.
* config/mips/linux.h: Remove #include of mips.h.
* config.gcc: Add mips.h include for elf targets. Remove tm_file
for ecoff. Add gofast configure option for mips.
From-SVN: r55852
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 9f2266f..913bc16 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1439,7 +1439,7 @@ ia64*-*-hpux*) use_collect2=no float_format=i128 ;; -ip2k-*-elf) +ip2k-*-elf) ;; m32r-*-elf*) tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" @@ -1786,7 +1786,7 @@ mips-sgi-irix6*) # SGI System V.4., IRIX 6 # fi ;; mips-wrs-vxworks) - tm_file="mips/elf.h mips/vxworks.h" + tm_file="${tm_file} mips/elf.h mips/vxworks.h" tmake_file=mips/t-ecoff gas=yes gnu_ld=yes @@ -1854,11 +1854,11 @@ mips*-*-netbsd*) # NetBSD/mips, either endian. tmake_file="${tmake_file} mips/t-netbsd" ;; mips*-*-linux*) # Linux MIPS, either endian. - tm_file="dbxelf.h elfos.h svr4.h linux.h mips/linux.h" + tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h mips/linux.h" case $machine in mipsisa32*-*) - tm_file="$tm_file mips/isa32-linux.h" target_cpu_default="MASK_SOFT_FLOAT" + tm_defines="MIPS_ISA_DEFAULT=32" ;; esac tmake_file="t-slibgcc-elf-ver t-linux mips/t-linux" @@ -1877,53 +1877,60 @@ mips*-*-openbsd*) # mips big endian tm_file="mips/openbsd-be.h ${tm_file}" ;; mips-*-ecoff* | mipsel-*-ecoff*) - tm_file="gofast.h mips/ecoff.h" if test x$stabs = xyes; then tm_file="${tm_file} dbx.h" fi tmake_file=mips/t-ecoff ;; mipsisa32-*-elf* | mipsisa32el-*-elf*) - tm_file="mips/isa3264.h mips/abi64.h" + tm_file="${tm_file} mips/elf.h mips/abi64.h" tmake_file=mips/t-isa3264 - target_cpu_default="MASK_SOFT_FLOAT" + tm_defines="MIPS_ISA_DEFAULT=32 MIPS_ABI_DEFAULT=ABI_MEABI" ;; mipsisa64-*-elf* | mipsisa64el-*-elf*) - tm_file="mips/isa3264.h mips/abi64.h" + tm_file="${tm_file} mips/elf.h mips/abi64.h" tmake_file=mips/t-isa3264 target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS" - tm_defines="MIPS_ISA_DEFAULT=64" + tm_defines="MIPS_ISA_DEFAULT=64 MIPS_ABI_DEFAULT=ABI_MEABI" ;; mips-*-elf* | mipsel-*-elf*) - tm_file="mips/elf.h" + tm_file="${tm_file} mips/elf.h" tmake_file=mips/t-elf ;; mips64-*-elf* | mips64el-*-elf*) - tm_file="mips/elf64.h" + tm_file="${tm_file} mips/elf64.h" tmake_file=mips/t-elf + target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS" + tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" ;; mips64orion-*-elf* | mips64orionel-*-elf*) - tm_file="mips/elforion.h mips/elf64.h" + tm_file="${tm_file} mips/elforion.h mips/elf64.h" + tmake_file=mips/t-elf tmake_file=mips/t-elf + target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS" + tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" ;; mips64orion-*-rtems*) xm_defines=POSIX - tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h rtems.h" + tm_file="${tm_file} mips/elforion.h mips/elf64.h mips/rtems64.h rtems.h" tmake_file="mips/t-elf t-rtems" + tmake_file=mips/t-elf + target_cpu_default="MASK_64BIT|MASK_FLOAT64|MASK_GAS" + tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" if test x$enable_threads = xyes; then thread_file='rtems' fi ;; mips*-*-rtems*) xm_defines=POSIX - tm_file="mips/elf.h mips/rtems.h rtems.h" + tm_file="${tm_file} mips/elf.h mips/rtems.h rtems.h" tmake_file="mips/t-elf t-rtems" if test x$enable_threads = xyes; then thread_file='rtems' fi ;; mipstx39-*-elf* | mipstx39el-*-elf*) - tm_file="mips/r3900.h mips/elf.h mips/abi64.h" + tm_file="${tm_file} mips/r3900.h mips/elf.h mips/abi64.h" tmake_file=mips/t-r3900 ;; mmix-knuth-mmixware) @@ -2915,6 +2922,14 @@ mips*-*-*) tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines" ;; esac + if test "x$enable_gofast" = xyes + then + tm_defines="INIT_SUBTARGET_OPTABS=INIT_GOFAST_OPTABS $tm_defines" + tm_file="gofast.h $tm_file" + tmake_file="mips/t-gofast $tmake_file" + else + tmake_file="mips/t-mips $tmake_file" + fi ;; powerpc*-*-* | rs6000-*-*) if test x$enable_altivec = xyes |