mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 05:58:56 +08:00
configure.in (gcc_cv_as_leb128): Correct name of cache variable.
* configure.in (gcc_cv_as_leb128): Correct name of cache variable. Require at least 2.11 in the version test. Specifically check for and reject GAS version 2.10.90. * configure: regenerate. From-SVN: r41039
This commit is contained in:
parent
1c7a8112c5
commit
fbe42b1b05
@ -1,3 +1,10 @@
|
||||
2001-04-02 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* configure.in (gcc_cv_as_leb128): Correct name of cache variable.
|
||||
Require at least 2.11 in the version test. Specifically check
|
||||
for and reject GAS version 2.10.90.
|
||||
* configure: regenerate.
|
||||
|
||||
2001-04-03 Alan Modra <alan@linuxcare.com.au>
|
||||
|
||||
* config/pa/pa.c (override_options): Remove PIC profiling warning.
|
||||
|
28
gcc/configure
vendored
28
gcc/configure
vendored
@ -2018,7 +2018,7 @@ EOF
|
||||
fi
|
||||
|
||||
# Find some useful tools
|
||||
for ac_prog in mawk gawk nawk awk
|
||||
for ac_prog in gawk mawk nawk awk
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
@ -6521,9 +6521,9 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6
|
||||
|
||||
echo $ac_n "checking assembler leb128 support""... $ac_c" 1>&6
|
||||
echo "configure:6524: checking assembler leb128 support" >&5
|
||||
gcc_cv_as_hidden=no
|
||||
gcc_cv_as_leb128=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 10 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
|
||||
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 11 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
|
||||
gcc_cv_as_leb128="yes"
|
||||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
@ -6537,7 +6537,13 @@ L1:
|
||||
L2:
|
||||
EOF
|
||||
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
|
||||
gcc_cv_as_leb128="yes"
|
||||
# GAS versions numbered 2.10.90 do not support uleb128, despite
|
||||
# appearing to.
|
||||
if $gcc_cv_as --version | fgrep 2.10.90 > /dev/null; then
|
||||
:
|
||||
else
|
||||
gcc_cv_as_leb128="yes"
|
||||
fi
|
||||
fi
|
||||
rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
|
||||
fi
|
||||
@ -6552,7 +6558,7 @@ echo "$ac_t""$gcc_cv_as_leb128" 1>&6
|
||||
case "$target" in
|
||||
sparc*-*-*)
|
||||
echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
|
||||
echo "configure:6556: checking assembler .register pseudo-op support" >&5
|
||||
echo "configure:6562: checking assembler .register pseudo-op support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_register_pseudo_op'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -6580,7 +6586,7 @@ EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
|
||||
echo "configure:6584: checking assembler supports -relax" >&5
|
||||
echo "configure:6590: checking assembler supports -relax" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_relax_opt'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -6610,7 +6616,7 @@ EOF
|
||||
case "$tm_file" in
|
||||
*64*)
|
||||
echo $ac_n "checking for 64 bit support in assembler ($gcc_cv_as)""... $ac_c" 1>&6
|
||||
echo "configure:6614: checking for 64 bit support in assembler ($gcc_cv_as)" >&5
|
||||
echo "configure:6620: checking for 64 bit support in assembler ($gcc_cv_as)" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_flags64'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -6655,7 +6661,7 @@ EOF
|
||||
|
||||
if test "x$gcc_cv_as_flags64" != xno; then
|
||||
echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
|
||||
echo "configure:6659: checking for assembler offsetable %lo() support" >&5
|
||||
echo "configure:6665: checking for assembler offsetable %lo() support" >&5
|
||||
if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -6694,7 +6700,7 @@ EOF
|
||||
|
||||
i[34567]86-*-*)
|
||||
echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
|
||||
echo "configure:6698: checking assembler instructions" >&5
|
||||
echo "configure:6704: checking assembler instructions" >&5
|
||||
gcc_cv_as_instructions=
|
||||
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 9 -o "$gcc_cv_gas_major_version" -gt 2; then
|
||||
@ -6723,7 +6729,7 @@ EOF
|
||||
esac
|
||||
|
||||
echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6
|
||||
echo "configure:6727: checking assembler dwarf2 debug_line support" >&5
|
||||
echo "configure:6733: checking assembler dwarf2 debug_line support" >&5
|
||||
gcc_cv_as_dwarf2_debug_line=no
|
||||
# ??? Not all targets support dwarf2 debug_line, even within a version
|
||||
# of gas. Moreover, we need to emit a valid instruction to trigger any
|
||||
@ -6913,7 +6919,7 @@ EOF
|
||||
|
||||
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:6917: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
echo "configure:6923: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
|
@ -1303,9 +1303,9 @@ fi
|
||||
AC_MSG_RESULT($gcc_cv_as_hidden)
|
||||
|
||||
AC_MSG_CHECKING(assembler leb128 support)
|
||||
gcc_cv_as_hidden=no
|
||||
gcc_cv_as_leb128=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 10 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
|
||||
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 11 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
|
||||
gcc_cv_as_leb128="yes"
|
||||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
@ -1319,7 +1319,13 @@ L1:
|
||||
L2:
|
||||
EOF
|
||||
if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
|
||||
gcc_cv_as_leb128="yes"
|
||||
# GAS versions numbered 2.10.90 do not support uleb128, despite
|
||||
# appearing to.
|
||||
if $gcc_cv_as --version | fgrep 2.10.90 > /dev/null; then
|
||||
:
|
||||
else
|
||||
gcc_cv_as_leb128="yes"
|
||||
fi
|
||||
fi
|
||||
rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user