diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-30 02:48:49 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-30 02:48:49 +0000 |
commit | 7933edb3f71c2291af026c6eea0e3e9daa0a965b (patch) | |
tree | 6ee8ec5a78d0a562957eb1e05126f0ed0dbebf70 /gcc/config/i386/darwin.h | |
parent | a41f8591f350716e44332d7870edabb575e65b79 (diff) | |
download | gcc-7933edb3f71c2291af026c6eea0e3e9daa0a965b.tar.gz |
* config/i386/darwin.h (ASM_SPEC): Simplify.
(SUBTARGET_EXTRA_SPECS): Add darwin_subarch spec.
* config/rs6000/darwin.h (DARWIN_SUBARCH_SPEC): New.
(SUBTARGET_EXTRA_SPECS): Add darwin_subarch spec.
* config/darwin.h (LINK_COMMAND_SPEC): Don't pass -arch here.
(LINK_SPEC): Do pass -arch here. Handle -force_cpusubtype_ALL
in all cases. Pass the right -arch or -arch_only based on -mcpu.
(ASM_SPEC): Handle -force_cpusubtype_ALL.
* doc/invoke.texi (Darwin Options): Improve documentation for
Darwin linker (and libtool) switches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/darwin.h')
-rw-r--r-- | gcc/config/i386/darwin.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index c7b583d14bf..d36b511819e 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -45,16 +45,13 @@ Boston, MA 02111-1307, USA. */ %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}" #undef ASM_SPEC -#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}\ - %{msse2:-force_cpusubtype_ALL}}" +#define ASM_SPEC "-arch i686 -force_cpusubtype_ALL" #undef SUBTARGET_EXTRA_SPECS -#define SUBTARGET_EXTRA_SPECS \ - { "darwin_arch", "i686" }, +#define SUBTARGET_EXTRA_SPECS \ + { "darwin_arch", "i686" }, \ + { "darwin_subarch", "%{march=pentium3:pentIIm3;:i686}" }, + /* Use the following macro for any Darwin/x86-specific command-line option translation. */ |