diff options
Diffstat (limited to 'libffi/src/x86/sysv.S')
-rw-r--r-- | libffi/src/x86/sysv.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/src/x86/sysv.S b/libffi/src/x86/sysv.S index 2e5e3da57f0..f3b0bd5ac52 100644 --- a/libffi/src/x86/sysv.S +++ b/libffi/src/x86/sysv.S @@ -48,6 +48,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 */ |