From bad72d7a827a7cacab829c49f578bf4caa374add Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 12 Oct 2009 14:29:10 -0700 Subject: [PATCH] Rebuild config.in, configure. From-SVN: r152687 --- gcc/config.in | 6 ++++++ gcc/configure | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/gcc/config.in b/gcc/config.in index 4c3da5baed7..a3e9069e129 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -315,6 +315,12 @@ #endif +/* Define if your assembler supports the swap suffix. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_IX86_SWAP +#endif + + /* Define if your assembler supports the lituse_jsrdirect relocation. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_JSRDIRECT_RELOCS diff --git a/gcc/configure b/gcc/configure index 66b38ec99a1..292b3dca631 100755 --- a/gcc/configure +++ b/gcc/configure @@ -22915,6 +22915,37 @@ if test $gcc_cv_as_ix86_sahf = yes; then $as_echo "#define HAVE_AS_IX86_SAHF 1" >>confdefs.h +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for swap suffix" >&5 +$as_echo_n "checking assembler for swap suffix... " >&6; } +if test "${gcc_cv_as_ix86_swap+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + gcc_cv_as_ix86_swap=no + if test x$gcc_cv_as != x; then + echo 'movl.s %esp, %ebp' > conftest.s + if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } + then + gcc_cv_as_ix86_swap=yes + else + echo "configure: failed program was" >&5 + cat conftest.s >&5 + fi + rm -f conftest.o conftest.s + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ix86_swap" >&5 +$as_echo "$gcc_cv_as_ix86_swap" >&6; } +if test $gcc_cv_as_ix86_swap = yes; then + +$as_echo "#define HAVE_AS_IX86_SWAP 1" >>confdefs.h + fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for different section symbol subtraction" >&5