summaryrefslogtreecommitdiff
path: root/gcc/config/i386/darwin.h
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-08 03:22:56 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-08 03:22:56 +0000
commitaf8490b124110f340e52bbec5bdb5aee0a27e6be (patch)
treec22668f7721583d7e504c65cd40262926be1ebd7 /gcc/config/i386/darwin.h
parent0d60c767ce52343ddc11a8ed5acc442cc1ad2d86 (diff)
downloadgcc-af8490b124110f340e52bbec5bdb5aee0a27e6be.tar.gz
* config/i386/darwin.h (STACK_BOUNDARY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/darwin.h')
-rw-r--r--gcc/config/i386/darwin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index f8732c56a47..144b4921196 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -69,6 +69,12 @@ Boston, MA 02110-1301, USA. */
#undef TARGET_KEEPS_VECTOR_ALIGNED_STACK
#define TARGET_KEEPS_VECTOR_ALIGNED_STACK 1
+/* On Darwin, the stack is 128-bit aligned at the point of every call.
+ Failure to ensure this will lead to a crash in the system libraries
+ or dynamic loader. */
+#undef STACK_BOUNDARY
+#define STACK_BOUNDARY 128
+
/* We want -fPIC by default, unless we're using -static to compile for
the kernel or some such. */