configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.

* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
        * configure: Regenerate.

From-SVN: r42274
This commit is contained in:
Stan Shebs 2001-05-18 19:14:19 +00:00 committed by Stan Shebs
parent 28e8acb68f
commit 41948db560
3 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2001-05-18 Stan Shebs <shebs@apple.com>
* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure: Regenerate.
2001-05-18 Per Bothner <per@bothner.com>
Changes needed for java/jvspec.c

17
gcc/configure vendored
View File

@ -6897,7 +6897,8 @@ if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
fi
elif test x$gcc_cv_as != x; then
# Check if this is GAS.
as_ver=`$gcc_cv_as --version 2>/dev/null | head -1`
as_ver=`$gcc_cv_as --version < /dev/null 2> /dev/null | head -1`
rm -f a.out 2> /dev/null
if echo "$as_ver" | grep GNU > /dev/null; then
# Versions up to and including 2.11.0 may mis-optimize
# .eh_frame data. Try something.
@ -6965,7 +6966,7 @@ echo "$ac_t""$gcc_cv_as_eh_frame" 1>&6
case "$target" in
sparc*-*-*)
echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
echo "configure:6969: checking assembler .register pseudo-op support" >&5
echo "configure:6970: 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
@ -6993,7 +6994,7 @@ EOF
fi
echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
echo "configure:6997: checking assembler supports -relax" >&5
echo "configure:6998: 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
@ -7023,7 +7024,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:7027: checking for 64 bit support in assembler ($gcc_cv_as)" >&5
echo "configure:7028: 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
@ -7068,7 +7069,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:7072: checking for assembler offsetable %lo() support" >&5
echo "configure:7073: 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
@ -7107,7 +7108,7 @@ EOF
i[34567]86-*-*)
echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
echo "configure:7111: checking assembler instructions" >&5
echo "configure:7112: 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
@ -7136,7 +7137,7 @@ EOF
esac
echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6
echo "configure:7140: checking assembler dwarf2 debug_line support" >&5
echo "configure:7141: 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
@ -7321,7 +7322,7 @@ fi
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:7325: checking whether to enable maintainer-specific portions of Makefiles" >&5
echo "configure:7326: 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"

View File

@ -1418,7 +1418,8 @@ if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
fi
elif test x$gcc_cv_as != x; then
# Check if this is GAS.
as_ver=`$gcc_cv_as --version 2>/dev/null | head -1`
as_ver=`$gcc_cv_as --version < /dev/null 2> /dev/null | head -1`
rm -f a.out 2> /dev/null
if echo "$as_ver" | grep GNU > /dev/null; then
# Versions up to and including 2.11.0 may mis-optimize
# .eh_frame data. Try something.