From: Andreas Jaeger Date: Wed, 16 Oct 2002 10:09:27 +0000 (+0000) Subject: Fix off-by-1 error in argument access. X-Git-Tag: upstream/2.20~13895 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f977f8e52003aae1cf295c05d485d62b75ffbaab;p=platform%2Fupstream%2Flinaro-glibc.git Fix off-by-1 error in argument access. --- diff --git a/sysdeps/x86_64/_mcount.S b/sysdeps/x86_64/_mcount.S index ce4c95f..1cc4e30 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