SPRAB89B September 2011 – August 2025
If the direct call's target function is placed at a location that is unreachable with the offset in a direct CALL instruction, the static linker rewrites the CALL instruction so that it instead calls a helper stub function called a trampoline. The trampoline simply calls the target function. The linker is responsible for placing the trampoline within the reach of the CALL instruction.
CALL sym ; reloc R_C6000_PCR_S21Note: CALL is a pseudo-up; this instruction encodes as a B.