Restore correct registers.
This commit is contained in:
parent
ae352b440f
commit
97f208b89f
|
@ -51,13 +51,13 @@ C_LABEL(_mcount)
|
||||||
#endif
|
#endif
|
||||||
/* Pop the saved registers. Please note that `mcount' has no
|
/* Pop the saved registers. Please note that `mcount' has no
|
||||||
return value. */
|
return value. */
|
||||||
movq (%rsp),%r9
|
movq 48(%rsp),%r9
|
||||||
movq 8(%rsp),%r8
|
movq 40(%rsp),%r8
|
||||||
movq 16(%rsp),%rdi
|
movq 32(%rsp),%rdi
|
||||||
movq 24(%rsp),%rsi
|
movq 24(%rsp),%rsi
|
||||||
movq 32(%rsp),%rdx
|
movq 16(%rsp),%rdx
|
||||||
movq 40(%rsp),%rcx
|
movq 8(%rsp),%rcx
|
||||||
movq 48(%rsp),%rax
|
movq (%rsp),%rax
|
||||||
addq $56,%rsp
|
addq $56,%rsp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue