diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2010-05-20 20:52:03 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2010-05-20 20:52:03 +0200 |
commit | 953c29f73eb8ad665a5e1324bb0b66f98a8e6839 (patch) | |
tree | d47931631b96026df91e43bfebc53d8b19e29baf /gcc/configure.ac | |
parent | 8961e01e953ce0ea2f91572bb3bd1d5ee0d82044 (diff) | |
download | gcc-953c29f73eb8ad665a5e1324bb0b66f98a8e6839.zip gcc-953c29f73eb8ad665a5e1324bb0b66f98a8e6839.tar.gz gcc-953c29f73eb8ad665a5e1324bb0b66f98a8e6839.tar.bz2 |
re PR target/43733 (bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2)
PR target/43733
* configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e
instead of sahf only for 64bit targets.
From-SVN: r159636
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 15b126f..a80900c 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3288,9 +3288,10 @@ foo: nop gcc_GAS_CHECK_FEATURE([sahf mnemonic], gcc_cv_as_ix86_sahf,,, - [sahf],, + [.code64 + sahf],, [AC_DEFINE(HAVE_AS_IX86_SAHF, 1, - [Define if your assembler supports the sahf mnemonic.])]) + [Define if your assembler supports the sahf mnemonic in 64bit mode.])]) gcc_GAS_CHECK_FEATURE([swap suffix], gcc_cv_as_ix86_swap,,, |