From f52a39cde6dc6d486ada38b4734b799a2eaa6259 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sat, 18 Sep 2010 17:05:26 +0000 Subject: [PATCH] * config/i386/freebsd.h (SUBTARGET32_DEFAULT_CPU): Add. From-SVN: r164396 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/freebsd.h | 5 +++++ 2 files changed, 9 insertions(+) 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 + + * config/i386/freebsd.h (SUBTARGET32_DEFAULT_CPU): Add. + 2010-09-18 Kai Tietz * 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 -- 2.7.4