diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-05-19 15:31:00 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-05-19 15:31:00 +0000 |
commit | ed1041376a981f996d566de4284222f06c8bd6c3 (patch) | |
tree | b47b59d4937c53d4b605186e1eaf4a5b820a3935 /gcc/config.gcc | |
parent | 16e520b612ab84443b252e2358f32d82014235fd (diff) | |
download | gcc-ed1041376a981f996d566de4284222f06c8bd6c3.tar.gz |
sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun assembler syntax.
libgcc:
* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
assembler syntax.
gcc:
* config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to
pentiumpro on Solaris 8/x86 with Sun as.
* configure.ac (gcc_cv_as_hidden): Check for Solaris 9/x86 as
hidden alias bug.
(gcc_cv_as_ix86_quad): Check for .quad directive.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/sol2.h (ASM_QUAD): Change guard to !HAVE_AS_IX86_QUAD.
From-SVN: r159569
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 2c4d1213c35..30c15ad116d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1225,7 +1225,19 @@ i[34567]86-*-solaris2*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h i386/sysv4.h sol2.h" # Set default arch_32 to pentium4, tune_32 to generic like the other # i386 targets, although config.guess defaults to i386-pc-solaris2*. - with_arch_32=${with_arch_32:-pentium4} + case ${target} in + *-*-solaris2.8*) + if test x$gas = xyes; then + with_arch_32=${with_arch_32:-pentium4} + else + # Solaris 8/x86 as cannot handle sse2. + with_arch_32=${with_arch_32:-pentiumpro} + fi + ;; + *) + with_arch_32=${with_arch_32:-pentium4} + ;; + esac with_tune_32=${with_tune_32:-generic} case ${target} in *-*-solaris2.1[0-9]*) |