aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-10-16 10:09:27 +0000
committerAndreas Jaeger <aj@suse.de>2002-10-16 10:09:27 +0000
commitf977f8e52003aae1cf295c05d485d62b75ffbaab (patch)
treeeee7b783d72d460e4c202ea533e138db07a51b6c /sysdeps/x86_64
parente72bba28ccb6d731148d833ca94b48ccc67132ad (diff)
downloadglibc-f977f8e52003aae1cf295c05d485d62b75ffbaab.tar
glibc-f977f8e52003aae1cf295c05d485d62b75ffbaab.tar.gz
glibc-f977f8e52003aae1cf295c05d485d62b75ffbaab.tar.bz2
glibc-f977f8e52003aae1cf295c05d485d62b75ffbaab.zip
Fix off-by-1 error in argument access.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/_mcount.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/_mcount.S b/sysdeps/x86_64/_mcount.S
index ce4c95f102..1cc4e3065b 100644
--- a/sysdeps/x86_64/_mcount.S
+++ b/sysdeps/x86_64/_mcount.S
@@ -41,7 +41,7 @@ C_LABEL(_mcount)
/* Setup parameter for __mcount_internal. */
/* selfpc is the return address on the stack. */
- movq 48(%rsp),%rsi
+ movq 56(%rsp),%rsi
/* Get frompc via the frame pointer. */
movq 8(%rbp),%rdi
#ifdef PIC