Commit 60595eb4 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov

criu: x86_32: change stack align to 16 bit on parasite head

GCC now assumes by default that the stack is aligned to a 16-byte boundary.
It's very unlikely that parasite head's first call will contain
an SSE instruction which will segfault, but to be pedantically correct
will lose additional 8 bytes.

See also:
http://sourceforge.net/p/fbc/bugs/659/Signed-off-by: 's avatarDmitry Safonov <dsafonov@odin.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent b2b86052
...@@ -22,8 +22,8 @@ END(__export_parasite_head_start) ...@@ -22,8 +22,8 @@ END(__export_parasite_head_start)
#else /* CONFIG_X86_64 */ #else /* CONFIG_X86_64 */
ENTRY(__export_parasite_head_start) ENTRY(__export_parasite_head_start)
subl $8, %esp subl $16, %esp
andl $~7, %esp andl $~15, %esp
pushl $0 pushl $0
movl %esp, %ebp movl %esp, %ebp
call 1f call 1f
......
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