diff options
author | Andreas Jaeger <aj@suse.de> | 2002-10-10 12:20:18 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-10-10 12:20:18 +0000 |
commit | 97f208b89fb7d2b4028ee94db41b3e7ae8be2e29 (patch) | |
tree | e9e8ff21e659330d3c1826705a7c40f41ec47f4a /sysdeps/x86_64 | |
parent | ae352b440f7bb3904080eff13086e75a4c38245c (diff) | |
download | glibc-97f208b89fb7d2b4028ee94db41b3e7ae8be2e29.tar glibc-97f208b89fb7d2b4028ee94db41b3e7ae8be2e29.tar.gz glibc-97f208b89fb7d2b4028ee94db41b3e7ae8be2e29.tar.bz2 glibc-97f208b89fb7d2b4028ee94db41b3e7ae8be2e29.zip |
Restore correct registers.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/_mcount.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/x86_64/_mcount.S b/sysdeps/x86_64/_mcount.S index 132f307277..ce4c95f102 100644 --- a/sysdeps/x86_64/_mcount.S +++ b/sysdeps/x86_64/_mcount.S @@ -51,13 +51,13 @@ C_LABEL(_mcount) #endif /* Pop the saved registers. Please note that `mcount' has no return value. */ - movq (%rsp),%r9 - movq 8(%rsp),%r8 - movq 16(%rsp),%rdi + movq 48(%rsp),%r9 + movq 40(%rsp),%r8 + movq 32(%rsp),%rdi movq 24(%rsp),%rsi - movq 32(%rsp),%rdx - movq 40(%rsp),%rcx - movq 48(%rsp),%rax + movq 16(%rsp),%rdx + movq 8(%rsp),%rcx + movq (%rsp),%rax addq $56,%rsp ret |