RFR(S): 8016696: PPC64 (part 4): add relocation for trampoline stubs
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Mon Jun 17 05:24:31 PDT 2013
Hi,
On PPC, we use special stubs we call trampoline stubs for calls to
target addresses that can not be encoded as offset in the branch
instruction.
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.
To implement this, we extended the relocations by a new kind,
trampoline_stub_Relocation:
http://cr.openjdk.java.net/~goetz/webrevs/8016696-trampoline/
Aditionally to the code in 0004_opto-trampoline_relocations.patch
I added debug printing functionality.
Could I get a review on this change, please?
Thanks,
Goetz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20130617/462e30e0/attachment.html
More information about the ppc-aix-port-dev
mailing list