Fix off-by-1 error in argument access.
This commit is contained in:
parent
e72bba28cc
commit
f977f8e520
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user