diff options
author | Stan Shebs <shebs@apple.com> | 2001-12-17 14:57:57 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2001-12-17 14:57:57 +0000 |
commit | 00a8c0b430ad9ed836ab88fba25ef2acf16d3a0d (patch) | |
tree | 87a85aaef213ab423ef09262f6da6d7c31ab12ad /gcc/config/rs6000 | |
parent | a89c5741f358451b7ac26dc965755038bddda7bf (diff) | |
download | gcc-00a8c0b430ad9ed836ab88fba25ef2acf16d3a0d.zip gcc-00a8c0b430ad9ed836ab88fba25ef2acf16d3a0d.tar.gz gcc-00a8c0b430ad9ed836ab88fba25ef2acf16d3a0d.tar.bz2 |
darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
(STACK_BOUNDARY): Remove definition.
(CPP_PREDEFINES): Define __POWERPC__.
From-SVN: r48100
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/darwin.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 7689545..cb6b4b7 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -35,7 +35,13 @@ Boston, MA 02111-1307, USA. */ #define TARGET_TOC 0 #define TARGET_NO_TOC 1 -#define CPP_PREDEFINES "-D__ppc__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__" +/* The Darwin ABI always includes AltiVec, can't be (validly) turned + off. */ + +#define SUBTARGET_OVERRIDE_OPTIONS \ + rs6000_altivec_abi = 1; + +#define CPP_PREDEFINES "-D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__" /* We want -fPIC by default, unless we're using -static to compile for the kernel or some such. */ @@ -54,9 +60,6 @@ Boston, MA 02111-1307, USA. */ #undef PIC_OFFSET_TABLE_REGNUM #define PIC_OFFSET_TABLE_REGNUM 31 -#undef STACK_BOUNDARY -#define STACK_BOUNDARY 128 - /* Pad the outgoing args area to 16 bytes instead of the usual 8. */ #undef STARTING_FRAME_OFFSET |