* configure.in (gcc_cv_as_shf_merge): Fix a typo.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Sep 2001 16:15:56 +0000 (16:15 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Sep 2001 16:15:56 +0000 (16:15 +0000)
Use --fatal-warnings option for gas.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45563 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 4e749e6..3af42a0 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 169ba2c..e846861 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 01a927e..956bf0b 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