[PATCH] D70398: [lld] Support copy relocations for TLS symbols
Rich Felker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 11:10:59 PST 2019
dalias added a comment.
I'm pretty sure copy relocations would also interact really badly with `STV_PROTECTED` TLS objects - the shared library would be accessing its own copy via local-dynamic model while the main program would be accessing the copy it made through the copy relocation. While `STV_PROTECTED` has all sorts of problems, prior to the introduction of TLS copy relocations, it *did* work as intended for TLS, even if not for global data and functions.
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