aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-06-08 03:22:56 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-06-08 03:22:56 +0000
commit2734e1c321126a8017ba79d8e998693821a3f82f (patch)
treec22668f7721583d7e504c65cd40262926be1ebd7 /gcc/config
parent8df645e110b9c8953564e28dec0fc3437b3edf9d (diff)
downloadgcc-2734e1c321126a8017ba79d8e998693821a3f82f.zip
gcc-2734e1c321126a8017ba79d8e998693821a3f82f.tar.gz
gcc-2734e1c321126a8017ba79d8e998693821a3f82f.tar.bz2
darwin.h (STACK_BOUNDARY): Define.
* config/i386/darwin.h (STACK_BOUNDARY): Define. Co-Authored-By: Hui-May Chang <hm.chang@apple.com> From-SVN: r125555
Diffstat (limited to 'gcc/config')
-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 f8732c5..144b492 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. */