summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-17 14:57:57 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-17 14:57:57 +0000
commit1e9775a1622af5d15b5b088dceb86af11b12d06c (patch)
tree87a85aaef213ab423ef09262f6da6d7c31ab12ad /gcc/config
parentc9f8265caa7870ded9026ebeab650873a6bc59a3 (diff)
downloadgcc-1e9775a1622af5d15b5b088dceb86af11b12d06c.tar.gz
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
(STACK_BOUNDARY): Remove definition. (CPP_PREDEFINES): Define __POWERPC__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48100 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/darwin.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index 76895450740..cb6b4b77e64 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