diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2007-03-13 07:19:14 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2007-03-13 07:19:14 +0000 |
commit | 03943c05c123b301f978f2c5f56fc692a03586cb (patch) | |
tree | a589b7305cf809c8177da753f9992003644b90a1 /gcc/configure | |
parent | 98312a9bed2a80aa30c3cc2abc70f50def92d595 (diff) | |
download | gcc-03943c05c123b301f978f2c5f56fc692a03586cb.zip gcc-03943c05c123b301f978f2c5f56fc692a03586cb.tar.gz gcc-03943c05c123b301f978f2c5f56fc692a03586cb.tar.bz2 |
configure.ac: Test for assembler tolerance to # 0 "".
* configure.ac: Test for assembler tolerance to # 0 "".
* configure, config.in: Rebuilt.
* final.c (final_scan_insn): Emit it if HAVE_AS_LINE_ZERO.
From-SVN: r122879
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index 15a4e05..488794b 100755 --- a/gcc/configure +++ b/gcc/configure @@ -16005,6 +16005,46 @@ _ACEOF fi fi +echo "$as_me:$LINENO: checking assembler for tolerance to line number 0" >&5 +echo $ECHO_N "checking assembler for tolerance to line number 0... $ECHO_C" >&6 +if test "${gcc_cv_as_line_zero+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + gcc_cv_as_line_zero=no + if test $in_tree_gas = yes; then + if test $gcc_cv_gas_vers -ge `expr \( \( elf,2,16,91 \* 1000 \) + gcc_cv_as_line_zero=yes \) \* 1000 + ` + then : +fi + elif test "x$gcc_cv_as" != x; then + { echo '# 1 "test.s" 1'; echo '# 0 "" 2'; } > conftest.s + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5 2>conftest.out' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + test "x`cat conftest.out`" = x + then + gcc_cv_as_line_zero=yes + else + echo "configure: failed program was" >&5 + cat conftest.s >&5 + echo "configure: error output was" >&5 + cat conftest.out >&5 + fi + rm -f conftest.o conftest.s conftest.out + fi +fi +echo "$as_me:$LINENO: result: $gcc_cv_as_line_zero" >&5 +echo "${ECHO_T}$gcc_cv_as_line_zero" >&6 +if test "x$gcc_cv_as_line_zero" = xyes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_AS_LINE_ZERO 1 +_ACEOF + +fi + echo "$as_me:$LINENO: checking linker read-only and read-write section mixing" >&5 echo $ECHO_N "checking linker read-only and read-write section mixing... $ECHO_C" >&6 gcc_cv_ld_ro_rw_mix=unknown |