Refine configure guard for MIPS .module availability
authorMatthew Fortune <matthew.fortune@imgtec.com>
Fri, 21 Nov 2014 16:57:55 +0000 (16:57 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Fri, 21 Nov 2014 16:57:55 +0000 (16:57 +0000)
gcc/

* configure.ac: When checking for MIPS .module support ensure that
o32 FPXX is supported to avoid a second configure check.
* configure: Regenerate.

From-SVN: r217939

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index c4eb79367ec38220de5f18c99d9ba4dbceb02a3a..42a284b17810f0c4ec143f043b512895df7bbb37 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-21  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * configure.ac: When checking for MIPS .module support ensure that
+       o32 FPXX is supported to avoid a second configure check.
+       * configure: Regenerate.
+
 2014-11-21  Jiong Wang  <jiong.wang@arm.com>
 
        * config/aarch64/iterators.md (VS): New mode iterator.
index 31848fd3de01529e54416ea650a41d6b2177b876..66c6a18dd4e420ac148e00d6ffed2a7df63e1757 100755 (executable)
@@ -26211,8 +26211,9 @@ if test "${gcc_cv_as_mips_dot_module+set}" = set; then :
 else
   gcc_cv_as_mips_dot_module=no
   if test x$gcc_cv_as != x; then
-    $as_echo '.module fp=32' > conftest.s
-    if { ac_try='$gcc_cv_as $gcc_cv_as_flags  -o conftest.o conftest.s >&5'
+    $as_echo '.module mips2
+       .module fp=xx' > conftest.s
+    if { ac_try='$gcc_cv_as $gcc_cv_as_flags -32 -o conftest.o conftest.s >&5'
   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   (eval $ac_try) 2>&5
   ac_status=$?
index f6e7ec3529e1a200632ce0a60728eb2789c15b91..584400dd7d5483a6f34ed612b6e47c1fcfbc9995 100644 (file)
@@ -4280,8 +4280,9 @@ LCF0:
          [Define if your assembler supports .gnu_attribute.])])
 
     gcc_GAS_CHECK_FEATURE([.module support],
-      gcc_cv_as_mips_dot_module,,,
-      [.module fp=32],,
+      gcc_cv_as_mips_dot_module,,[-32],
+      [.module mips2
+       .module fp=xx],,
       [AC_DEFINE(HAVE_AS_DOT_MODULE, 1,
          [Define if your assembler supports .module.])])
     if test x$gcc_cv_as_mips_dot_module = xno \