From: jakub Date: Wed, 12 Sep 2001 16:15:56 +0000 (+0000) Subject: * configure.in (gcc_cv_as_shf_merge): Fix a typo. X-Git-Tag: upstream/4.9.2~92110 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d360c70c9760aa8091f0f983b879f5603fbd726f;p=platform%2Fupstream%2Flinaro-gcc.git * configure.in (gcc_cv_as_shf_merge): Fix a typo. 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e749e6..3af42a0 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 169ba2c..e846861 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 01a927e..956bf0b 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