[PATCH] D87504: [PowerPC][LLD] Support for PC Relative TLS for Local Dynamic
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 08:58:36 PDT 2020
sfertile added inline comments.
================
Comment at: lld/ELF/Arch/PPC64.cpp:1318
case R_PPC64_GOT_TPREL_PCREL34:
+ case R_PPC64_DTPREL34:
case R_PPC64_TPREL34: {
----------------
Do we not need to adjust the value being relocated by the dynamic thread pointer bias?
>From the ISA:
```
Each DTV pointer points 0x8000 bytes past the start of each TLS block. (For implementation
reasons, the actual value stored in the DTV may point to the start of a TLS block. However, values
returned by accessor functions will be offset by 0x8000 bytes.)
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87504/new/
https://reviews.llvm.org/D87504
More information about the llvm-commits
mailing list