]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sol2-c1.asm: Align the stack.
authorMathias Froehlich <frohlich@na.uni-tuebingen.de>
Fri, 30 Jul 1999 23:40:09 +0000 (23:40 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 30 Jul 1999 23:40:09 +0000 (16:40 -0700)
        * config/i386/sol2-c1.asm: Align the stack.
        * config/i386/sol2-gc1.asm: Likewise.

From-SVN: r28348

gcc/ChangeLog
gcc/config/i386/sol2-c1.asm
gcc/config/i386/sol2-gc1.asm

index 38339701830cff1914327c04e0ff3625453609fb..75de1b3b84c713f40da1c5184bd1c31993d4e006 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jul 30 16:33:42 1999  Mathias Froehlich  <frohlich@na.uni-tuebingen.de>
+
+       * config/i386/sol2-c1.asm: Align the stack.
+       * config/i386/sol2-gc1.asm: Likewise.
+
 1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>
 
        * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
index d08bcbd4aecacc55309d8d39cc2d30df8d85e338..b17f57d9d345f97baaea7d5321e061d6360a1913 100644 (file)
@@ -115,6 +115,12 @@ _start:
 ! is the argument vector pointer, which is at a fixed address off
 ! the initial frame pointer.
 
+!
+! Make sure the stack is properly aligned.
+!
+       andl $0xfffffff0,%esp
+       subl $4,%esp
+       
        pushl   %edx
        leal    12(%ebp),%edx
        pushl   %edx
index 24a1965f37e55fc016e91687c7f78dbd8efc45fd..81b56d4469c8a944448e47895f418959748503f8 100644 (file)
@@ -128,6 +128,12 @@ _start:
 ! is the argument vector pointer, which is at a fixed address off
 ! the initial frame pointer.
 
+!
+! Make sure the stack is properly aligned.
+!
+       andl $0xfffffff0,%esp
+       subl $4,%esp
+
        pushl   %edx
        leal    12(%ebp),%edx
        pushl   %edx