diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-06-08 03:22:56 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-06-08 03:22:56 +0000 |
commit | 2734e1c321126a8017ba79d8e998693821a3f82f (patch) | |
tree | c22668f7721583d7e504c65cd40262926be1ebd7 /gcc/config | |
parent | 8df645e110b9c8953564e28dec0fc3437b3edf9d (diff) | |
download | gcc-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.h | 6 |
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. */ |