aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2001-05-18 19:14:19 +0000
committerStan Shebs <shebs@gcc.gnu.org>2001-05-18 19:14:19 +0000
commit41948db56029ecea2e2e4e514453ff2cb2fb16ba (patch)
tree403089f126c59344921e82825e9a9dff6719c6d2 /gcc
parent28e8acb68f8a427552bc9f2d4cae12a1ac477855 (diff)
downloadgcc-41948db56029ecea2e2e4e514453ff2cb2fb16ba.zip
gcc-41948db56029ecea2e2e4e514453ff2cb2fb16ba.tar.gz
gcc-41948db56029ecea2e2e4e514453ff2cb2fb16ba.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/configure17
-rw-r--r--gcc/configure.in3
3 files changed, 16 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3dfed4d..6637b38 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/configure b/gcc/configure
index 84f8abd..a6f60d5 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -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"
diff --git a/gcc/configure.in b/gcc/configure.in
index 313a3f5..3bc7ab9 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -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.