diff --git a/criu/arch/x86/call32.S b/criu/arch/x86/call32.S index f2e118f26..bc724d6c5 100644 --- a/criu/arch/x86/call32.S +++ b/criu/arch/x86/call32.S @@ -34,6 +34,7 @@ call32_from_64: pushfq // Switch stacks + sub $8, %rdi mov %rsp,(%rdi) mov %rdi,%rsp @@ -53,6 +54,7 @@ call32_from_64: 1: // Restore the stack mov (%rsp),%rsp + add $8, %rdi // Restore registers popfq