diff --git a/src/rt/arch/x86_64/morestack.S b/src/rt/arch/x86_64/morestack.S index 3cb5e2d8a9d5..369e4a340e02 100644 --- a/src/rt/arch/x86_64/morestack.S +++ b/src/rt/arch/x86_64/morestack.S @@ -68,7 +68,7 @@ MORESTACK: .cfi_offset %rsp, -24 // Save the grandparent stack pointer for the unwinder - leaq 16(%rbp), %rax + leaq 24(%rbp), %rax pushq %rax // FIXME: libgcc also saves rax. not sure if we need to