From a871c139f07730f14985620e3c05c4ddc6e2be0c Mon Sep 17 00:00:00 2001 From: Matthew Fortune Date: Fri, 21 Nov 2014 16:57:55 +0000 Subject: [PATCH] Refine configure guard for MIPS .module availability 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 | 6 ++++++ gcc/configure | 5 +++-- gcc/configure.ac | 5 +++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4eb79367ec..42a284b1781 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-11-21 Matthew Fortune + + * 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 * config/aarch64/iterators.md (VS): New mode iterator. diff --git a/gcc/configure b/gcc/configure index 31848fd3de0..66c6a18dd4e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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=$? diff --git a/gcc/configure.ac b/gcc/configure.ac index f6e7ec3529e..584400dd7d5 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -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 \ -- 2.30.2