diff options
author | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-18 19:14:19 +0000 |
---|---|---|
committer | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-18 19:14:19 +0000 |
commit | 5ef171d3645f46867f46bd2e187119e0a748a11e (patch) | |
tree | 403089f126c59344921e82825e9a9dff6719c6d2 /gcc/configure | |
parent | ca6fc9bcdcfc9559d178e778bb173b7e72cb417b (diff) | |
download | gcc-5ef171d3645f46867f46bd2e187119e0a748a11e.tar.gz |
* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gcc/configure b/gcc/configure index 84f8abd2ffb..a6f60d5ed20 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" |