This is an archive of the discontinued LLVM Phabricator instance.

[PPC64] Don't apply LD->LE relaxation on R_PPC64_GOT_DTPREL16*
ClosedPublic

Authored by MaskRay on May 31 2019, 7:53 AM.

Details

Summary

In ELF v2 ABI, R_PPC64_GOT_DTPREL16* are not relaxed.

This family of relocation types are used for variables outside of 2GiB
of the TLS block. 2 instructions cannot materialize the offset.

Event Timeline

MaskRay created this revision.May 31 2019, 7:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
MaskRay updated this revision to Diff 202437.May 31 2019, 7:55 AM

delete dead switch cases

ruiu accepted this revision.Jun 2 2019, 9:52 PM

LGTM

This revision is now accepted and ready to land.Jun 2 2019, 9:52 PM
This revision was automatically updated to reflect the committed changes.