8016696: PPC64 (part 4): add relocation for trampoline stubs

A trampoline allows to encode a small branch in the code, even if there is the chance that this branch can not reach all possible code locations. If the relocation finds that a branch is too far for the instruction in the code, it can patch it to jump to the trampoline where is sufficient space for a far branch. Needed on PPC.

Reviewed-by: kvn, bdelsart, jrose
2 files changed