This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Define MULTILIB_ABI_DEFAULT for mips64vr*-*-elf* targets
- From: Nick Clifton <nickc at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>, echristo at apple dot com, gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Mon, 20 Jul 2009 13:14:46 +0100
- Subject: Re: RFA: Define MULTILIB_ABI_DEFAULT for mips64vr*-*-elf* targets
- References: <m3ocrjpvbn.fsf@redhat.com> <87my73i62z.fsf@talisman.home>
Hi Richard,
Hmm. I think it'd be better to move the MIPS_ABI_DEFAULT definition
from mips/vr.h to config.gcc, which is how we handle this for other
configurations. Then the mips.h logic will DTRT.
Good point.
A patch to do that is preapproved.
Thanks - I have checked in the attached patch.
Cheers
Nick
gcc/ChangeLog
2009-07-20 Nick Clifton <nickc@redhat.com>
* config.gcc (mips64vr-*-*): Use tm_defines to set MIPS_ABI_DEFAULT.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 149805)
+++ gcc/config.gcc (working copy)
@@ -1741,6 +1741,7 @@
mips64vr-*-elf* | mips64vrel-*-elf*)
tm_file="elfos.h newlib-stdint.h ${tm_file} mips/vr.h mips/elf.h"
tmake_file=mips/t-vr
+ tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_EABI"
;;
mips64orion-*-elf* | mips64orionel-*-elf*)
tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elforion.h mips/elf.h"