This is an archive of the discontinued LLVM Phabricator instance.

[PPC64] Position-dependent long-branch thunks.
AbandonedPublic

Authored by sfertile on Jul 31 2018, 12:06 PM.

Details

Summary

This adds a new '.branch_lt' synthetic section, which is used to store the target addresses for the thunks.
The thunk itself is almost exactly the same as the position-independent long-branch thunks except the target address goes into the new section and no dynamic relocation is needed.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

sfertile created this revision.Jul 31 2018, 12:06 PM
sfertile abandoned this revision.Oct 18 2018, 12:29 PM

Abandoned in favor of [[ https://reviews.llvm.org/D53408 | [PPC64] Long branch thunks. ]]