[PATCH] D70398: [lld] Support copy relocations for TLS symbols

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 10:43:09 PST 2019


jrtc27 added a comment.

I would suggest stepping back and looking at the whole picture. TLS is not special here; for normal globals, both code models also rely on copy relocations, and there are likely to be many more of those. If you think TLS copy relocations are bad then you should also be against using HI/LO and PCREL_HI/LO for extern symbols and require those to be indirected through the GOT.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70398





More information about the llvm-commits mailing list