aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/darwin.h6
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 30e9f6e..caad8a0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-07 Geoffrey Keating <geoffk@apple.com>
+
+ * config/i386/darwin.h (STACK_BOUNDARY): Define.
+
2007-06-07 Simon Martin <simartin@users.sourceforge.net>
PR c++/30759
@@ -12,7 +16,7 @@
(set_std_cxx98): Set cxx_dialect to cxx98.
(set_std_cxx0x): Set cxx_dialect to cxx0x.
-2007-06-06 Geoffrey Keating <geoffk@apple.com>
+2007-06-07 Geoffrey Keating <geoffk@apple.com>
Hui-May Chang <hm.chang@apple.com>
* doc/invoke.texi (Darwin Options): Update documentation for
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. */