diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2005-05-19 07:31:06 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2005-05-19 07:31:06 +0000 |
| commit | 0ff6455012ee33f2b3b64ad75fb765d2836347a9 (patch) | |
| tree | c38eed0e2677d3f8dd959aa6bbc8ee7ff5aa9c12 | |
| parent | a9f9f6ce08b3d9999660a821dca882c4e11479a8 (diff) | |
Notes
| -rw-r--r-- | lib/csu/i386-elf/crti.S | 2 | ||||
| -rw-r--r-- | lib/csu/i386-elf/crtn.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/csu/i386-elf/crti.S b/lib/csu/i386-elf/crti.S index b2e99e4088d8..bb11f3ac718d 100644 --- a/lib/csu/i386-elf/crti.S +++ b/lib/csu/i386-elf/crti.S @@ -28,12 +28,14 @@ .globl _init .type _init,@function _init: + sub $12,%esp /* re-align stack pointer */ .section .fini,"ax",@progbits .align 4 .globl _fini .type _fini,@function _fini: + sub $12,%esp /* re-align stack pointer */ .section .rodata .ascii "$FreeBSD$\0" diff --git a/lib/csu/i386-elf/crtn.S b/lib/csu/i386-elf/crtn.S index b2322daa5ee6..bc90d31d7c13 100644 --- a/lib/csu/i386-elf/crtn.S +++ b/lib/csu/i386-elf/crtn.S @@ -24,9 +24,11 @@ */ .section .init,"ax",@progbits + add $12,%esp ret .section .fini,"ax",@progbits + add $12,%esp ret .section .rodata |
