Align the stack pointer to 16-bytes.

This commit is contained in:
Mark Kettenis
2013-11-06 06:43:49 -05:00
committed by Anthony Green
parent 05c3109340
commit becd754434
2 changed files with 8 additions and 0 deletions

View File

@@ -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

View File

@@ -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 */