Update x86.S

GCC now assumes by default that the stack is aligned to a 16-byte boundary in Linux x86, so let's do our part to honour that. :)
Otherwise native code that depends on the stack to be aligned to 16 bytes would seg fault (like SSE).
https://groups.google.com/forum/#!topic/avian/SyCl-Jfw2U8
This commit is contained in:
frustaci 2013-07-28 10:39:55 -03:00
parent c09f329728
commit a6440375ca

View File

@ -450,10 +450,10 @@ GLOBAL(vmNativeCall):
subl %ecx,%esp
# ifdef __APPLE__
// align to a 16 byte boundary on Darwin
//# ifdef __APPLE__
// align to a 16 byte boundary
andl $0xFFFFFFF0,%esp
# endif
//# endif
// copy arguments into place
movl $0,%ecx