From 1c1bc2f1cde93a27dbee690280ee81fde8b2ceeb Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 12 Dec 2011 16:58:21 -0800 Subject: [PATCH] rt: Remove some duplicated code from 64-bit __morestack --- src/rt/arch/x86_64/morestack.S | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/rt/arch/x86_64/morestack.S b/src/rt/arch/x86_64/morestack.S index 80c77e8b1fcb..3cb5e2d8a9d5 100644 --- a/src/rt/arch/x86_64/morestack.S +++ b/src/rt/arch/x86_64/morestack.S @@ -71,18 +71,6 @@ MORESTACK: leaq 16(%rbp), %rax pushq %rax - // During unwinding we want to skip our caller since it's not - // a complete frame and will make the unwinder sad - // Don't understand this line - .cfi_offset 16, 0 - // Tell the unwinding where to get the stack pointer for - // our grandparent frame - .cfi_offset %rsp, -24 - - // Save the grandparent stack pointer for the unwinder - leaq 16(%rbp), %rax - pushq %rax - // FIXME: libgcc also saves rax. not sure if we need to // Save argument registers