]> sourceware.org Git - glibc.git/commitdiff
Restore correct registers.
authorAndreas Jaeger <aj@suse.de>
Thu, 10 Oct 2002 12:20:18 +0000 (12:20 +0000)
committerAndreas Jaeger <aj@suse.de>
Thu, 10 Oct 2002 12:20:18 +0000 (12:20 +0000)
sysdeps/x86_64/_mcount.S

index 132f307277603640cfbb4c7f2dfe8b2e84bc67fa..ce4c95f10202e94de7af28e416e274872f28609a 100644 (file)
@@ -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
 
This page took 0.042345 seconds and 5 git commands to generate.