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
This commit is contained in:
Jakub Jelinek 2001-09-12 18:15:56 +02:00 committed by Jakub Jelinek
parent 3642e753f3
commit a8b7afb969
3 changed files with 10 additions and 4 deletions

View 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.

4
gcc/configure vendored
View File

@ -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

View 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