[PATCH] D47596: [PPC64] Support R_PPC64_DTPREL* relcoations

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 10:13:15 PDT 2018


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

Patch adds support for most of the dynamic thread pointer based relocations generated for local-dynamic tls.

- Its missing the _HIGH and _HIGHA versions because llvm-mc doesn't support them in assembly yet, I've used _HI/_HA versions in the testing  of the 64 bit offset generation, and will fix this in a follow on patch.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47596

Files:
  ELF/Arch/PPC64.cpp
  test/ELF/ppc64-dtprel.s
  test/ELF/ppc64-local-dynamic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47596.149310.patch
Type: text/x-patch
Size: 11020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180531/858fc7ac/attachment.bin>


More information about the llvm-commits mailing list