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
This commit is contained in:
Stan Shebs 2001-12-17 14:57:57 +00:00 committed by Stan Shebs
parent a89c5741f3
commit 00a8c0b430
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2001-12-17 Stan Shebs <shebs@apple.com>
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
(STACK_BOUNDARY): Remove definition.
(CPP_PREDEFINES): Define __POWERPC__.
2001-12-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* doc/c-tree.texi (Trees): Only refer to GCC.

View File

@ -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