From: Matthew Fortune Date: Fri, 21 Nov 2014 16:57:55 +0000 (+0000) Subject: Refine configure guard for MIPS .module availability X-Git-Tag: releases/gcc-5.1.0~2924 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a871c139f07730f14985620e3c05c4ddc6e2be0c;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4eb79367ec3..42a284b17810 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 31848fd3de01..66c6a18dd4e4 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 f6e7ec3529e1..584400dd7d54 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 \