Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 6fd7ad96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ ENTRY(mcount)
	ldmia sp!, {r0-r3, pc}

trace:
	ldr r1, [fp, #-4]
	ldr r1, [fp, #-4]			@ lr of instrumented routine
	mov r0, lr
	sub r0, r0, #MCOUNT_INSN_SIZE
	mov lr, pc