diff options
author | Matthew Fortune <matthew.fortune@imgtec.com> | 2014-11-21 16:57:55 +0000 |
---|---|---|
committer | Matthew Fortune <mpf@gcc.gnu.org> | 2014-11-21 16:57:55 +0000 |
commit | a871c139f07730f14985620e3c05c4ddc6e2be0c (patch) | |
tree | 78075f943818b6587f81f0307e73e8e2387509d4 | |
parent | 5e32e83b6e5e7cb6a01b57ad70f36d0b937106ed (diff) | |
download | gcc-a871c139f07730f14985620e3c05c4ddc6e2be0c.zip gcc-a871c139f07730f14985620e3c05c4ddc6e2be0c.tar.gz gcc-a871c139f07730f14985620e3c05c4ddc6e2be0c.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rwxr-xr-x | gcc/configure | 5 | ||||
-rw-r--r-- | gcc/configure.ac | 5 |
3 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4eb793..42a284b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/configure b/gcc/configure index 31848fd..66c6a18 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 f6e7ec3..584400d 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 \ |