rt: Remove unused saves from __morestack
This commit is contained in:
parent
50dc80f617
commit
d2e7336a01
@ -156,12 +156,6 @@ MORESTACK:
|
||||
testl %eax,%eax
|
||||
jz .L$bail
|
||||
|
||||
// Save the the correct %esp value for our grandparent frame,
|
||||
// for the unwinder
|
||||
// FIXME: This isn't used
|
||||
leal 20(%ebp), %eax
|
||||
movl %eax, -4(%ebp)
|
||||
|
||||
// The arguments to upcall_new_stack
|
||||
|
||||
// The size of the stack arguments to copy to the new stack,
|
||||
|
@ -49,10 +49,7 @@ MORESTACK:
|
||||
// Calculate the CFA as on offset from %ebp
|
||||
.cfi_def_cfa_register %rbp
|
||||
|
||||
// Save the grandparent stack pointer for the unwinder
|
||||
// FIXME: This isn't used
|
||||
leaq 24(%rbp), %rax
|
||||
pushq %rax
|
||||
pushq $0 // Alignment
|
||||
|
||||
// FIXME: libgcc also saves rax. not sure if we need to
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user