search for: long_range_thunk_to_target

Displaying 2 results from an estimated 2 matches for "long_range_thunk_to_target".

2017 Jan 04
5
RFC: LLD range extension thunks
...e sequence, inserted between the caller and the callee, that completes the transfer of control to the callee when the distance between the caller and callee exceeds the range of the branch instruction. A simple example in psuedo assembly for a non-position independent ARM function call. source: BL long_range_thunk_to_target ... long_range_thunk_to_target LDR r12, target_address ; r12 is the corruptible interprocedural scratch register (ip) BX r12 target_address: .word target ; ... target: ... What is an errata patching thunk? Some CPU errata (hardware bugs) can be fixed at a link time by replacing an instruction with...
2017 Jan 05
2
RFC: LLD range extension thunks
...e, that completes the transfer of control to >> the callee when the distance between the caller and callee exceeds the >> range of the branch instruction. A simple example in psuedo assembly >> for a non-position independent ARM function call. >> >> source: >> BL long_range_thunk_to_target >> ... >> long_range_thunk_to_target >> LDR r12, target_address ; r12 is the corruptible interprocedural >> scratch register (ip) >> BX r12 >> target_address: >> .word target ; >> ... >> target: >> ... >> >> What is an errata p...