From: Stuart Hastings Date: Thu, 4 Mar 2004 19:24:21 +0000 (+0000) Subject: darwin.h: Darwin/x86 doesn't support CPUs before 686... X-Git-Tag: releases/gcc-4.0.0~9626 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e5d2af9d9946dee81b422d646c7912da4255f30;p=thirdparty%2Fgcc.git darwin.h: Darwin/x86 doesn't support CPUs before 686... 2004-03-04 Stuart Hastings * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before 686, tell Darwin assembler to allow prefetch insns, non-empty def of SUBTARGET_OPTION_TRANSLATE_TABLE. From-SVN: r78926 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f53e6ba9a7c..ae650bcf0e95 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-03-04 Stuart Hastings + * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before + 686, tell Darwin assembler to allow prefetch insns, non-empty def + of SUBTARGET_OPTION_TRANSLATE_TABLE. + 2004-03-04 DJ Delorie PR optimization/14282 diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index e99a253af33e..accffeee90c0 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ #undef TARGET_MACHO #define TARGET_MACHO 1 -#define TARGET_VERSION fprintf (stderr, " (i386 Darwin)"); +#define TARGET_VERSION fprintf (stderr, " (i686 Darwin)"); #define TARGET_OS_CPP_BUILTINS() \ do \ @@ -41,7 +41,8 @@ Boston, MA 02111-1307, USA. */ #undef CC1_SPEC #define CC1_SPEC "%{!static:-fPIC}" -#define ASM_SPEC "-arch i386 \ +#define ASM_SPEC "-arch i686 \ + -force_cpusubtype_ALL \ %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \ %{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\ %{msse:-force_cpusubtype_ALL}\ @@ -49,11 +50,12 @@ Boston, MA 02111-1307, USA. */ #undef SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS \ - { "darwin_arch", "i386" }, + { "darwin_arch", "i686" }, /* Use the following macro for any Darwin/x86-specific command-line option translation. */ -#define SUBTARGET_OPTION_TRANSLATE_TABLE +#define SUBTARGET_OPTION_TRANSLATE_TABLE \ + { "", "" } /* The Darwin assembler mostly follows AT&T syntax. */ #undef ASSEMBLER_DIALECT