Commit b3c960b2 authored by Uwe Kleine-König's avatar Uwe Kleine-König

annotate that [fp, #-4] is the saved lr

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent 6fd7ad96
...@@ -136,7 +136,7 @@ ENTRY(mcount) ...@@ -136,7 +136,7 @@ ENTRY(mcount)
ldmia sp!, {r0-r3, pc} ldmia sp!, {r0-r3, pc}
trace: trace:
ldr r1, [fp, #-4] ldr r1, [fp, #-4] @ lr of instrumented routine
mov r0, lr mov r0, lr
sub r0, r0, #MCOUNT_INSN_SIZE sub r0, r0, #MCOUNT_INSN_SIZE
mov lr, pc mov lr, pc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment