Skip to content

Commit 1c1bc2f

Browse files
committed
rt: Remove some duplicated code from 64-bit __morestack
1 parent 76f13c9 commit 1c1bc2f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/rt/arch/x86_64/morestack.S

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,6 @@ MORESTACK:
7171
leaq 16(%rbp), %rax
7272
pushq %rax
7373

74-
// During unwinding we want to skip our caller since it's not
75-
// a complete frame and will make the unwinder sad
76-
// Don't understand this line
77-
.cfi_offset 16, 0
78-
// Tell the unwinding where to get the stack pointer for
79-
// our grandparent frame
80-
.cfi_offset %rsp, -24
81-
82-
// Save the grandparent stack pointer for the unwinder
83-
leaq 16(%rbp), %rax
84-
pushq %rax
85-
8674
// FIXME: libgcc also saves rax. not sure if we need to
8775

8876
// Save argument registers

0 commit comments

Comments
 (0)