darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
authorStan Shebs <shebs@apple.com>
Mon, 17 Dec 2001 14:57:57 +0000 (14:57 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Mon, 17 Dec 2001 14:57:57 +0000 (14:57 +0000)
        * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
        (STACK_BOUNDARY): Remove definition.
        (CPP_PREDEFINES): Define __POWERPC__.

From-SVN: r48100

gcc/ChangeLog
gcc/config/rs6000/darwin.h

index c8d132b98f0680bf015b0467c1f615b5a0aa4de6..ff720d1bb3022ff42ccb5cfa04f0df0d60f0bbd9 100644 (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.
index 768954507405d4808d69a56a648d51aad9beada6..cb6b4b77e64fa650cce22d2b37b1a0a43dc584dd 100644 (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