OSDN Git Service

* config/i386/darwin.h (STACK_BOUNDARY): Define.
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2007 03:22:56 +0000 (03:22 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jun 2007 03:22:56 +0000 (03:22 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125555 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/darwin.h

index 30e9f6e..caad8a0 100644 (file)
@@ -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
index f8732c5..144b492 100644 (file)
@@ -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.  */