Commit 4138b429 by Neil Roberts Committed by Andrew Haley

sysv.S (ffi_call_SYSV): Align the stack pointer to 16-bytes.

2010-07-07   Neil Roberts <neil@linux.intel.com>

	* src/x86/sysv.S (ffi_call_SYSV): Align the stack pointer to
	16-bytes.

From-SVN: r161922
parent 71df5a7e
2010-07-07 Neil Roberts <neil@linux.intel.com>
* src/x86/sysv.S (ffi_call_SYSV): Align the stack pointer to
16-bytes.
2010-07-02 Jakub Jelinek <jakub@redhat.com> 2010-07-02 Jakub Jelinek <jakub@redhat.com>
* Makefile.am (AM_MAKEFLAGS): Pass also mandir to submakes. * Makefile.am (AM_MAKEFLAGS): Pass also mandir to submakes.
......
...@@ -48,6 +48,9 @@ ffi_call_SYSV: ...@@ -48,6 +48,9 @@ ffi_call_SYSV:
movl 16(%ebp),%ecx movl 16(%ebp),%ecx
subl %ecx,%esp subl %ecx,%esp
/* Align the stack pointer to 16-bytes */
andl $0xfffffff0, %esp
movl %esp,%eax movl %esp,%eax
/* Place all of the ffi_prep_args in position */ /* Place all of the ffi_prep_args in position */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment