From 9ea3bc614e79aab86288ff6cbff64c9ea7bebe0f Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 21 Mar 2012 15:10:42 -0700 Subject: rt: Shave 16 bytes off the __morestack frame --- src/rt/arch/x86_64/morestack.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rt/arch/x86_64/morestack.S b/src/rt/arch/x86_64/morestack.S index a535f6388c0..84340d26791 100644 --- a/src/rt/arch/x86_64/morestack.S +++ b/src/rt/arch/x86_64/morestack.S @@ -49,7 +49,7 @@ MORESTACK: // Calculate the CFA as on offset from %ebp .cfi_def_cfa_register %rbp - subq $200, %rsp + subq $184, %rsp // FIXME: libgcc also saves rax. not sure if we need to @@ -107,7 +107,7 @@ MORESTACK: movdqa 144(%rsp), %xmm6 movdqa 160(%rsp), %xmm7 - addq $200, %rsp + addq $184, %rsp movq 8(%rbp),%r10 // Grab the return pointer. incq %r10 // Skip past the `ret` in our parent frame -- cgit 1.4.1-3-g733a5