summaryrefslogtreecommitdiff
path: root/gcc/config/mips/t-mti-linux
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-30 21:21:41 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-30 21:21:41 +0000
commit08849cea893842986bc1f83314bbea701c151f28 (patch)
treeb6db3d38f4fd6a718d234a15add279e89af9fd95 /gcc/config/mips/t-mti-linux
parentc81bc3f5f599f8919edded0b6331ec2833ad4a02 (diff)
downloadgcc-08849cea893842986bc1f83314bbea701c151f28.tar.gz
2012-10-30 Steve Ellcey <sellcey@mips.com>
* config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Change order and add mabi=64. (DRIVER_SELF_SPECS): Make -n32 the default on mips64* archs. * config/mips/t-mti-linux (MULTILIB_OPTIONS): Change order. (MULTILIB_DIRNAMES): Ditto. (MULTILIB_EXCEPTIONS): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192995 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/t-mti-linux')
-rw-r--r--gcc/config/mips/t-mti-linux13
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/config/mips/t-mti-linux b/gcc/config/mips/t-mti-linux
index ba11706ffee..6d280cdbcfd 100644
--- a/gcc/config/mips/t-mti-linux
+++ b/gcc/config/mips/t-mti-linux
@@ -19,6 +19,15 @@
# The default build is mips32r2, hard-float big-endian. Add mips32,
# soft-float, and little-endian variations.
-MULTILIB_OPTIONS = mips32/mips64/mips64r2 msoft-float EL
-MULTILIB_DIRNAMES = mips32 mips64 mips64r2 sof el
+MULTILIB_OPTIONS = mips32/mips64/mips64r2 mabi=64 EL msoft-float
+MULTILIB_DIRNAMES = mips32 mips64 mips64r2 64 el sof
MULTILIB_MATCHES = EL=mel EB=meb
+
+# The 64 bit ABI is not supported on the mips32 architecture.
+MULTILIB_EXCEPTIONS += *mips32*/*mabi=64*
+
+# The 64 bit ABI is not supported on the mips32r2 architecture.
+# Because mips32r2 is the default we can't use that flag to trigger
+# the exception so we check for mabi=64 with no specific mips flag
+# instead.
+MULTILIB_EXCEPTIONS += mabi=64*