[PATCH] D86608: [LLD][PowerPC] Add support for TLS Local Exec

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 04:08:57 PDT 2020


stefanp created this revision.
stefanp added reviewers: nemanjai, NeHuang, sfertile, MaskRay, hfinkel.
Herald added subscribers: shchenz, kbarton, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
stefanp requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86608

Files:
  lld/ELF/Arch/PPC64.cpp
  lld/test/ELF/ppc64-tls-pcrel-le.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86608.287910.patch
Type: text/x-patch
Size: 2969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/f999a0b2/attachment.bin>


More information about the llvm-commits mailing list