Page MenuHomePhabricator

Add R_HEX_PLT_B22_PCREL and R_HEX_32_PCREL relocation support
ClosedPublic

Authored by sidneym on Oct 1 2018, 10:11 AM.

Details

Summary

Adding a couple of new relocs needed for dynamic linking.

Some older code still produces R_HEX_PLT_B22_PCREL relocations. This relocation is still part of the ABI and is equivalent to the standard R_HEX_B22_PCREL(_X) relocation, but isn't extendable.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

sidneym created this revision.Oct 1 2018, 10:11 AM
ruiu accepted this revision.Oct 1 2018, 10:13 AM

LGTM

This revision is now accepted and ready to land.Oct 1 2018, 10:13 AM
This revision was automatically updated to reflect the committed changes.