From: Catherine Moore Date: Mon, 10 Nov 2008 23:56:24 +0000 (-0500) Subject: config.gcc (mips64vrel-*-elf*): Include the tm_file prior to vr.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f75ae868a2108e93c21500b9a2b1017b6ccf691;p=gcc.git config.gcc (mips64vrel-*-elf*): Include the tm_file prior to vr.h. * config.gcc (mips64vrel-*-elf*): Include the tm_file prior to vr.h. * config/mips/linux.h (LINUX_DRIVER_SELF_SPECS): New. (BASE_DRIVER_SELF_SPECS): Remove. (DRIVER_SELF_SPECS): New definition. * config/mips/elfoabi.h: (DRIVER_SELF_SPECS): Include BASE_DRIVER_SELF_SPECS. * config/mips/sde.h: Likewise. * config/mips/iris6.h: Likewise. * config/mips/vr.h: Likewise. * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): New. From-SVN: r141754 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 49df4e79ac0..a09fd980c3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2008-11-10 Catherine Moore + + * config.gcc (mips64vrel-*-elf*): Include the tm_file + prior to vr.h. + * config/mips/linux.h (LINUX_DRIVER_SELF_SPECS): New. + (BASE_DRIVER_SELF_SPECS): Remove. + (DRIVER_SELF_SPECS): New definition. + * config/mips/elfoabi.h: (DRIVER_SELF_SPECS): Include + BASE_DRIVER_SELF_SPECS. + * config/mips/sde.h: Likewise. + * config/mips/iris6.h: Likewise. + * config/mips/vr.h: Likewise. + * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): New. + 2008-11-07 Vladimir Makarov PR rtl-optimizations/37948 diff --git a/gcc/config.gcc b/gcc/config.gcc index 788e4351a9b..99f7c89b945 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1672,7 +1672,7 @@ mips64-*-elf* | mips64el-*-elf*) tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" ;; mips64vr-*-elf* | mips64vrel-*-elf*) - tm_file="mips/vr.h elfos.h ${tm_file} mips/elf.h" + tm_file="elfos.h ${tm_file} mips/vr.h mips/elf.h" tmake_file=mips/t-vr ;; mips64orion-*-elf* | mips64orionel-*-elf*) diff --git a/gcc/config/mips/elfoabi.h b/gcc/config/mips/elfoabi.h index a8c92b869d8..add44b4cae8 100644 --- a/gcc/config/mips/elfoabi.h +++ b/gcc/config/mips/elfoabi.h @@ -19,6 +19,7 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ +#undef DRIVER_SELF_SPECS #define DRIVER_SELF_SPECS \ /* Make sure a -mips option is present. This helps us to pick \ the right multilib, and also makes the later specs easier \ @@ -32,4 +33,8 @@ along with GCC; see the file COPYING3. If not see /* Remove a redundant -mfp64 for -mabi=o64; we want the !mfp64 \ multilibs. There's no need to check whether the architecture \ is 64-bit; cc1 will complain if it isn't. */ \ - "%{mabi=o64: %. */ +#undef DRIVER_SELF_SPECS #define DRIVER_SELF_SPECS \ /* Make sure a -mips option is present. This helps us to pick \ the right multilib, and also makes the later specs easier \ @@ -46,7 +47,10 @@ along with GCC; see the file COPYING3. If not see The latter trumps the former. */ \ "%{mno-data-in-code: -mcode-readable=no}", \ "%{!mcode-readable=no: %{mcode-xonly: -mcode-readable=pcrel}}", \ - "%. */ #define DEFAULT_VR_ARCH "mfix-vr4130" +#undef MIPS_ABI_DEFAULT #define MIPS_ABI_DEFAULT ABI_EABI +#undef MULTILIB_DEFAULTS #define MULTILIB_DEFAULTS \ { MULTILIB_ENDIAN_DEFAULT, \ MULTILIB_ABI_DEFAULT, \ DEFAULT_VR_ARCH } +#undef DRIVER_SELF_SPECS #define DRIVER_SELF_SPECS \ /* Enforce the default architecture. This is mostly for \ the assembler's benefit. */ \ @@ -51,4 +54,7 @@ along with GCC; see the file COPYING3. If not see "%{mabi=eabi:%{!mlong*:%{!mgp32:-mlong64}}}", \ \ /* Remove -mgp32 if it is redundant. */ \ - "%{mabi=32:%