diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-19 15:31:00 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-19 15:31:00 +0000 |
commit | 05157f42835c68da84a4e13b3ce1e3ca4731dfaa (patch) | |
tree | b47b59d4937c53d4b605186e1eaf4a5b820a3935 /gcc/config.gcc | |
parent | 0826251092361171d72575cd36d4578e22cf9e9e (diff) | |
download | gcc-05157f42835c68da84a4e13b3ce1e3ca4731dfaa.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159569 138bc75d-0d04-0410-961f-82ee72b054a4
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]*) |