aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9f61676..7a194bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config.guess (i[34567]86-*-solaris2*): Default with_arch_32,
+ with_tune_32 to pentium4.
+
2010-04-01 Uros Bizjak <ubizjak@gmail.com>
* config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index b0ed012..c26ae5a 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1236,6 +1236,10 @@ i[34567]86-*-rtems*)
;;
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 and tune to pentium4 like the other i386 targets,
+ # although config.guess defaults to i386-pc-solaris2*.
+ with_arch_32=${with_arch_32:-pentium4}
+ with_tune_32=${with_tune_32:-pentium4}
case ${target} in
*-*-solaris2.1[0-9]*)
tm_file="${tm_file} sol2-10.h"