This is an archive of the discontinued LLVM Phabricator instance.

[ELF][PPC64] Add R_PPC64_DTPREL16* relocations for local-dynamic TLS model
AbandonedPublic

Authored by MaskRay on Jun 8 2018, 5:09 PM.

Event Timeline

MaskRay created this revision.Jun 8 2018, 5:09 PM
MaskRay updated this revision to Diff 150589.Jun 8 2018, 5:12 PM

Test comment

MaskRay updated this revision to Diff 150591.Jun 8 2018, 5:16 PM

Also add R_PPC64_DTPREL16_LO_DS which is required to link llvm:

R_PPC64_DTPREL16_HA 77
R_PPC64_DTPREL16_LO_DS 102

Hi @MaskRay,

we have already have a patch that adds support for nearly all the DTPREL relocations here: https://reviews.llvm.org/D47596. Its been sitting for a while with-out a review though, rather then submit a new patch that adds support for only a few of the local-dynamic relocations I would appreciate a review on that so we can commit support for all at once.

MaskRay abandoned this revision.Jun 11 2018, 10:26 PM