config.gcc (mips*-*-linux*): Recognise mipsisa32r2 and set MIPS_ISA_DEFAULT appropria...
authorNigel Stephens <nigel@mips.com>
Fri, 14 Sep 2007 17:30:27 +0000 (17:30 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 14 Sep 2007 17:30:27 +0000 (17:30 +0000)
gcc/
2007-09-14  Nigel Stephens  <nigel@mips.com>

* config.gcc (mips*-*-linux*): Recognise mipsisa32r2 and set
MIPS_ISA_DEFAULT appropriately.  Don't make soft-float the default
for mipsisa32-*-linux*.

From-SVN: r128498

gcc/ChangeLog
gcc/config.gcc

index 418aba5234d75e12bdd7997f9cc2b76c9156d5e5..5c53e4cebc0bcbfc5d0ba38abd69725fc2b22485 100644 (file)
@@ -1,3 +1,9 @@
+2007-09-14  Nigel Stephens  <nigel@mips.com>
+
+       * config.gcc (mips*-*-linux*): Recognise mipsisa32r2 and set
+       MIPS_ISA_DEFAULT appropriately.  Don't make soft-float the default
+       for mipsisa32-*-linux*.
+
 2007-09-14  Nigel Stephens  <nigel@mips.com>
            David Ung  <davidu@mips.com>
            Thiemo Seufer  <ths@mips.com>
index e512b2492902f42c3eea8e032930e6f7efa027bb..ddbc4c550a30ea238d1b7b94887115eb32c2b3d5 100644 (file)
@@ -1668,10 +1668,11 @@ mips64*-*-linux*)
 mips*-*-linux*)                                # Linux MIPS, either endian.
         tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h"
        case ${target} in
-        mipsisa32*-*)
-                target_cpu_default="MASK_SOFT_FLOAT"
-               tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32"
+        mipsisa32r2*)
+               tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33"
                 ;;
+        mipsisa32*)
+               tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32"
         esac
        test x$with_llsc != x || with_llsc=yes
        ;;