diff options
author | Mathias Froehlich <frohlich@na.uni-tuebingen.de> | 1999-07-30 23:40:09 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-07-30 16:40:09 -0700 |
commit | 96a0a146e23185b9e1dc2f369781ea88efd4120c (patch) | |
tree | da0b797c785c073d8de38933fb3bff3d50f87b48 /gcc/config/i386/sol2-c1.asm | |
parent | 8d72ec32f726b100d6bd7f259e6a5e725bbac345 (diff) | |
download | gcc-96a0a146e23185b9e1dc2f369781ea88efd4120c.tar.gz |
sol2-c1.asm: Align the stack.
* config/i386/sol2-c1.asm: Align the stack.
* config/i386/sol2-gc1.asm: Likewise.
From-SVN: r28348
Diffstat (limited to 'gcc/config/i386/sol2-c1.asm')
-rw-r--r-- | gcc/config/i386/sol2-c1.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/sol2-c1.asm b/gcc/config/i386/sol2-c1.asm index d08bcbd4aec..b17f57d9d34 100644 --- a/gcc/config/i386/sol2-c1.asm +++ b/gcc/config/i386/sol2-c1.asm @@ -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 |