aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/mti-linux.h
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@imgtec.com>2015-01-14 08:35:52 +0000
committerMatthew Fortune <mpf@gcc.gnu.org>2015-01-14 08:35:52 +0000
commitfcd7669cb6f4153b535be458e8629ecbc4257bbc (patch)
tree8b9800174cf842339809c1c6af9cd49519f3145e /gcc/config/mips/mti-linux.h
parent46b622cc2466685c60ef40256e49ad1fd8844cf7 (diff)
downloadgcc-fcd7669cb6f4153b535be458e8629ecbc4257bbc.zip
gcc-fcd7669cb6f4153b535be458e8629ecbc4257bbc.tar.gz
gcc-fcd7669cb6f4153b535be458e8629ecbc4257bbc.tar.bz2
Fix Linux multilib configurations with default architectures
gcc/ * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA level from an ARCH; do not inject the default. (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from MIPS_ISA_LEVEL_SPEC. (MIPS_ISA_NAN2008_SPEC): Update comment. (BASE_DRIVER_SELF_SPECS): Likewise. * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add MIPS_DEFAULT_ISA_LEVEL_SPEC. * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise. * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise. * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise. From-SVN: r219580
Diffstat (limited to 'gcc/config/mips/mti-linux.h')
-rw-r--r--gcc/config/mips/mti-linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/mips/mti-linux.h b/gcc/config/mips/mti-linux.h
index 2e7c192..80d5925 100644
--- a/gcc/config/mips/mti-linux.h
+++ b/gcc/config/mips/mti-linux.h
@@ -31,6 +31,9 @@ along with GCC; see the file COPYING3. If not see
#undef DRIVER_SELF_SPECS
#define DRIVER_SELF_SPECS \
+ /* Set the ISA for the default multilib. */ \
+ MIPS_DEFAULT_ISA_LEVEL_SPEC, \
+ \
/* Make sure a -mips option is present. This helps us to pick \
the right multilib, and also makes the later specs easier \
to write. */ \