- R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 is calculated as Page(G(GTPREL(S+A))) – Page(P), set an ADRP immediate field to bits [32:12] of X; check –2^32 ≤ X < 2^32;
- R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC is calculated as G(GTPREL(S+A)), set an LD offset field to bits [11:3] of X. No overflow check; check that X&7 = 0.
Details
Details
- Reviewers
ruiu • rafael - Commits
- rG3d737e45c0bd: Reapply r257588 Fix: Added missed input file.
rG253dbf540540: [ELF/AArch64] - Implemented R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 and…
rLLD257596: Reapply r257588
rLLD257588: [ELF/AArch64] - Implemented R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 and…
rL257596: Reapply r257588
rL257588: [ELF/AArch64] - Implemented R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 and…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
ELF/Target.cpp | ||
---|---|---|
1280–1283 ↗ | (On Diff #44649) | This is probably more readable as we have many expressions here. switch (Type) { case R_AARCH64_...: case R_AARCH64_...: case R_AARCH64_...: case R_AARCH64_...: return true; default: return relocNeedsPlt(Type, S); } |
ELF/Target.cpp | ||
---|---|---|
1280–1283 ↗ | (On Diff #44649) | Done. |