[PATCH] D102862: [lld][ELF][SPARC] Support TLS GD relocations

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 23 04:06:50 PDT 2021


LemonBoy updated this revision to Diff 347242.
LemonBoy added a comment.

Rebased on top of D102908 <https://reviews.llvm.org/D102908>.
Correct computation of relaxed tp-relative offset.
Turn `add` into `or`/`xor` during the relaxation.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102862/new/

https://reviews.llvm.org/D102862

Files:
  lld/ELF/Arch/SPARCV9.cpp
  lld/ELF/Relocations.cpp
  lld/test/ELF/sparcv9-tls-gd.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102862.347242.patch
Type: text/x-patch
Size: 9027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210523/e30c2f9c/attachment.bin>


More information about the llvm-commits mailing list