configure.in (gcc_cv_as_shf_merge): Fix a typo.
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 Sep 2001 16:15:56 +0000 (18:15 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 12 Sep 2001 16:15:56 +0000 (18:15 +0200)
* configure.in (gcc_cv_as_shf_merge): Fix a typo.
Use --fatal-warnings option for gas.
* configure: Rebuilt.

From-SVN: r45563

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 4e749e671512b90ebef8b72f3cc374955b0b6521..3af42a0fa812914de3d607d8e431c74c9d63fbb3 100644 (file)
@@ -1,3 +1,9 @@
+2001-09-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.in (gcc_cv_as_shf_merge): Fix a typo.
+       Use --fatal-warnings option for gas.
+       * configure: Rebuilt.
+
 2001-09-12  Roman Lechtchinsky  <rl@cs.tu-berlin.de>
 
        * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document.
index 169ba2cbb28ee50c7fbe2cb3867d7c84b470c70f..e8468610801befbc61bced7edd2df23cd3ca7820 100755 (executable)
@@ -7169,12 +7169,12 @@ echo "configure:6569: checking assembler section merging support" >&5
 gcc_cv_as_shf_merge=no
 if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
   if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 12 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
-    gcc_cv_as_subsections="working SHF_MERGE support"
+    gcc_cv_as_shf_merge=yes
   fi
 elif test x$gcc_cv_as != x; then
        # Check if we support SHF_MERGE sections
        echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s
-       if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
+       if $gcc_cv_as --fatal-warnings -o conftest.o conftest.s > /dev/null 2>&1; then
                gcc_cv_as_shf_merge=yes
        fi
        rm -f conftest.s conftest.o
index 01a927e76a0f13bdcf9d7ae4dff764122a32b0d4..956bf0bac3360beb2a8f04688bc16f9bd8eea557 100644 (file)
@@ -1488,12 +1488,12 @@ AC_MSG_CHECKING(assembler section merging support)
 gcc_cv_as_shf_merge=no
 if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
   if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 12 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
-    gcc_cv_as_subsections="working SHF_MERGE support"
+    gcc_cv_as_shf_merge=yes
   fi
 elif test x$gcc_cv_as != x; then
        # Check if we support SHF_MERGE sections
        echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s
-       if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
+       if $gcc_cv_as --fatal-warnings -o conftest.o conftest.s > /dev/null 2>&1; then
                gcc_cv_as_shf_merge=yes
        fi
        rm -f conftest.s conftest.o