aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc10
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87248cc..d291bbd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-26 Tijl Coosemans <tijl@coosemans.org>
+
+ * config.gcc (i386-*-freebsd*): Make i486 the default arch on
+ FreeBSD 6 and later. Generally use cpu generic.
+
2011-02-25 Gerald Pfeifer <gerald@pfeifer.com>
* doc/cpp.texi: Update copyright years.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 1c13300..d1baea0 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2797,6 +2797,16 @@ cpu=
arch_without_sse2=no
arch_without_64bit=no
case ${target} in
+ i386-*-freebsd*)
+ if test $fbsd_major -ge 6; then
+ arch=i486
+ else
+ arch=i386
+ fi
+ cpu=generic
+ arch_without_sse2=yes
+ arch_without_64bit=yes
+ ;;
i386-*-*)
arch=i386
cpu=i386