From 01efb9636bcb3009b47fd7d8e1d6f0d177d3e40d Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 17 Jul 2001 21:51:19 +0000 Subject: [PATCH] configure.in (assembler eh_frame optimization): Handle big endian. * configure.in (assembler eh_frame optimization): Handle big endian. * configure: Regenerated. From-SVN: r44091 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 24 +++++++++++++++--------- gcc/configure.in | 10 ++++++++-- 3 files changed, 29 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fda69fb8dbe..b32efa67816 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-07-17 Andreas Schwab + + * configure.in (assembler eh_frame optimization): Handle big + endian. + * configure: Regenerated. + Tue Jul 17 23:43:31 CEST 2001 Jan Hubicka * expr.c (epxand_expr): Convert divisions into multiplications by diff --git a/gcc/configure b/gcc/configure index a62f7327217..bddcc6e663e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7009,17 +7009,23 @@ __FRAME_BEGIN__: .4byte .L1-.LFB1 .LEFDE1: EOF - cat > conftest.exp < conftest.lit < conftest.big < /dev/null 2>&1 \ && objdump -s -j .eh_frame conftest.o 2>/dev/null \ | tail -3 > conftest.got \ - && cmp conftest.exp conftest.got > /dev/null 2>&1 + && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ + || cmp conftest.big conftest.got > /dev/null 2>&1; } then gcc_cv_as_eh_frame="yes" else @@ -7039,7 +7045,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:7043: checking assembler .register pseudo-op support" >&5 +echo "configure:7049: 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 @@ -7067,7 +7073,7 @@ EOF fi echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6 -echo "configure:7071: checking assembler supports -relax" >&5 +echo "configure:7077: 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 @@ -7097,7 +7103,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:7101: checking for 64 bit support in assembler ($gcc_cv_as)" >&5 +echo "configure:7107: 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 @@ -7142,7 +7148,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:7146: checking for assembler offsetable %lo() support" >&5 +echo "configure:7152: 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 @@ -7182,7 +7188,7 @@ EOF i[34567]86-*-*) echo $ac_n "checking assembler instructions""... $ac_c" 1>&6 -echo "configure:7186: checking assembler instructions" >&5 +echo "configure:7192: 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 @@ -7211,7 +7217,7 @@ EOF esac echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6 -echo "configure:7215: checking assembler dwarf2 debug_line support" >&5 +echo "configure:7221: 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 @@ -7396,7 +7402,7 @@ fi echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:7400: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:7406: 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 d30370679d3..6740b0c086a 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1460,17 +1460,23 @@ __FRAME_BEGIN__: .4byte .L1-.LFB1 .LEFDE1: EOF - cat > conftest.exp < conftest.lit < conftest.big < /dev/null 2>&1 \ && objdump -s -j .eh_frame conftest.o 2>/dev/null \ | tail -3 > conftest.got \ - && cmp conftest.exp conftest.got > /dev/null 2>&1 + && { cmp conftest.lit conftest.got > /dev/null 2>&1 \ + || cmp conftest.big conftest.got > /dev/null 2>&1; } then gcc_cv_as_eh_frame="yes" else -- 2.30.2