Commit 96a0a146 by Mathias Froehlich Committed by Richard Henderson

sol2-c1.asm: Align the stack.

        * config/i386/sol2-c1.asm: Align the stack.
        * config/i386/sol2-gc1.asm: Likewise.

From-SVN: r28348
parent 8d72ec32
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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment