aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@coosemans.org>2010-09-18 17:05:26 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2010-09-18 17:05:26 +0000
commitf52a39cde6dc6d486ada38b4734b799a2eaa6259 (patch)
tree99e60ce55f31de8c8d67d7dab3ddd5e3fdfd8a49 /gcc
parentba67f4877a653ce87277ad9350ac644f05519366 (diff)
downloadgcc-f52a39cde6dc6d486ada38b4734b799a2eaa6259.zip
gcc-f52a39cde6dc6d486ada38b4734b799a2eaa6259.tar.gz
gcc-f52a39cde6dc6d486ada38b4734b799a2eaa6259.tar.bz2
* config/i386/freebsd.h (SUBTARGET32_DEFAULT_CPU): Add.
From-SVN: r164396
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/freebsd.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e2c027..5253632 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-18 Tijl Coosemans <tijl@coosemans.org>
+
+ * config/i386/freebsd.h (SUBTARGET32_DEFAULT_CPU): Add.
+
2010-09-18 Kai Tietz <kai.tietz@onevision.com>
* config.gcc (*-w64-mingw*): Correct typo about t-dfprules.
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index 94b657e..1ec5ee0 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -147,3 +147,8 @@ along with GCC; see the file COPYING3. If not see
/* Static stack checking is supported by means of probes. */
#define STACK_CHECK_STATIC_BUILTIN 1
+
+/* Support for i386 has been removed from FreeBSD 6.0 onward. */
+#if FBSD_MAJOR >= 6
+#define SUBTARGET32_DEFAULT_CPU "i486"
+#endif