[PATCH] D47538: [PPC64] Support R_PPC64_GOT_TLSLD16* relocations

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 08:34:45 PDT 2018


sfertile created this revision.
sfertile added reviewers: syzaara, ruiu, rdhindsa.
Herald added subscribers: kbarton, arichardson, nemanjai, emaste.
Herald added a reviewer: espindola.

This patch adds support for the `R_PPC64_GOT_TLSLD16` relocations used to build the address of the tls_index struct used in local-dynamic tls.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47538

Files:
  ELF/Arch/PPC64.cpp
  ELF/InputSection.cpp
  ELF/Relocations.cpp
  ELF/Relocations.h
  test/ELF/ppc64-local-dynamic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47538.149121.patch
Type: text/x-patch
Size: 6444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180530/a0312768/attachment.bin>


More information about the llvm-commits mailing list