From a8b7afb969789d5e4b4557c89e49151107eb7df1 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 12 Sep 2001 18:15:56 +0200 Subject: [PATCH] configure.in (gcc_cv_as_shf_merge): Fix a typo. * configure.in (gcc_cv_as_shf_merge): Fix a typo. Use --fatal-warnings option for gas. * configure: Rebuilt. From-SVN: r45563 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 4 ++-- gcc/configure.in | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e749e67151..3af42a0fa81 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-09-12 Jakub Jelinek + + * configure.in (gcc_cv_as_shf_merge): Fix a typo. + Use --fatal-warnings option for gas. + * configure: Rebuilt. + 2001-09-12 Roman Lechtchinsky * doc/install.texi (Specific, alphaev5-cray-unicosmk*): Document. diff --git a/gcc/configure b/gcc/configure index 169ba2cbb28..e8468610801 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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 diff --git a/gcc/configure.in b/gcc/configure.in index 01a927e76a0..956bf0bac33 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -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 -- 2.30.2