diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/freebsd.h | 5 |
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 |