Lines Matching refs:lr
88 1: mcount_get_lr r1 @ lr of instrumented func
89 mcount_adjust_addr r0, lr @ instrumented function
90 badr lr, 2f
103 @ before the push {lr} of the mcount mechanism
105 str lr, [sp, #0] @ store LR instead of PC
107 ldr lr, [sp, #8] @ get previous LR
111 stmdb sp!, {ip, lr}
112 stmdb sp!, {r0-r11, lr}
124 ldr r1, [sp, #S_LR] @ lr of instrumented func
126 ldr lr, [sp, #S_PC] @ get LR
128 mcount_adjust_addr r0, lr @ instrumented function
143 ldr lr, [sp, #4] @ restore LR
151 sub r0, fp, #4 @ lr of instrumented routine (parent)
163 ldr lr, [sp, #4] @ restore LR
174 mcount_get_lr r1 @ lr of instrumented func
175 mcount_adjust_addr r0, lr @ instrumented function
198 sub r0, fp, #4 @ &lr of instrumented routine (&parent)
204 @ called from __mcount, untouched in lr
205 mcount_adjust_addr r1, lr @ instrumented routine (func)
218 stmdb sp!, {r0-r3, lr}
226 ldr lr, [fp, #-4]
232 stmdb sp!, {lr}
233 ldr lr, [fp, #-4]
267 stmdb sp!, {r0-r3, lr}
268 UNWIND(.save {r0-r3, lr})
276 ldmia sp!, {r0-r3, ip, lr}
283 mov ip, lr
284 ldmia sp!, {lr}
335 mov lr, r0 @ r0 has real ret addr
337 ret lr
342 ret lr