[all-commits] [llvm/llvm-project] 65f681: [LLD][PowerPC] Add support for R_PPC64_TPREL34 use...
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Tue Sep 15 07:07:59 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 65f6810d3a4b0ef1fdaad49e808459fbd133bb20
https://github.com/llvm/llvm-project/commit/65f6810d3a4b0ef1fdaad49e808459fbd133bb20
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2020-09-15 (Tue, 15 Sep 2020)
Changed paths:
M lld/ELF/Arch/PPC64.cpp
A lld/test/ELF/ppc64-tls-pcrel-le.s
Log Message:
-----------
[LLD][PowerPC] Add support for R_PPC64_TPREL34 used in TLS Local Exec
Add Thread Local Storage Local Exec support to LLD. This is to support PC Relative addressing of Local Exec.
The patch teaches LLD to handle:
```
paddi r9, r13, x1 at tprel
```
The relocation is:
```
R_PPC_TPREL34
```
Reviewed By: NeHuang, MaskRay
Differential Revision: https://reviews.llvm.org/D86608
More information about the All-commits
mailing list