[PATCH] D93331: [ELF] Reject local-exec TLS relocations for -shared
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 17 03:49:31 PST 2020
jhenderson added inline comments.
================
Comment at: lld/ELF/Relocations.cpp:1408
+ }
+ } else if (unsigned processed = handleTlsRelocation<ELFT>(
+ type, sym, sec, offset, addend, expr)) {
----------------
`handleTlsRelocation` has a number of `config->shared` checks. Can these be dropped given this new diagnostic?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93331/new/
https://reviews.llvm.org/D93331
More information about the llvm-commits
mailing list