Align the stack pointer to 16-bytes.
This commit is contained in:
committed by
Anthony Green
parent
05c3109340
commit
becd754434
@@ -1,3 +1,8 @@
|
||||
2013-11-06 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* src/x86/freebsd.S (ffi_call_SYSV): Align the stack pointer to
|
||||
16-bytes.
|
||||
|
||||
2013-11-06 Konstantin Belousov <kib@freebsd.org>
|
||||
|
||||
* src/x86/freebsd.S (ffi_closure_raw_SYSV): Mark the assembler
|
||||
|
||||
@@ -49,6 +49,9 @@ ffi_call_SYSV:
|
||||
movl 16(%ebp),%ecx
|
||||
subl %ecx,%esp
|
||||
|
||||
/* Align the stack pointer to 16-bytes */
|
||||
andl $0xfffffff0, %esp
|
||||
|
||||
movl %esp,%eax
|
||||
|
||||
/* Place all of the ffi_prep_args in position */
|
||||
|
||||
Reference in New Issue
Block a user