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.
Paths
| Differential D62737
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 2 2019, 9:52 PM Closed by commit rL362357: [ELF][PPC64] Don't apply LD->LE relaxation on R_PPC64_GOT_DTPREL16* (authored by MaskRay). · Explain WhyJun 2 2019, 10:42 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 202653 lld/trunk/ELF/Arch/PPC64.cpp
lld/trunk/ELF/Relocations.cpp
lld/trunk/test/ELF/ppc64-dtprel.s
lld/trunk/test/ELF/ppc64-ld-got-dtprel.s
|