This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Define MULTILIB_ABI_DEFAULT for mips64vr*-*-elf* targets


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"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]