[PATCH] D74443: [lld][Hexagon] convert call x at GDPLT to call __tls_get_addr
Sid Manning via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 07:09:50 PST 2020
sidneym marked an inline comment as done.
sidneym added inline comments.
================
Comment at: lld/ELF/Relocations.cpp:2003
+ if (Rel.sym->type == llvm::ELF::STT_TLS && Rel.expr == R_PLT_PC) {
+ Symbol *Sym = symtab->find("__tls_get_addr");
+ if (!Sym)
----------------
grimar wrote:
> I think it is better to move this `find` call out of the loops.
Yes, that would be better. I will do that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74443/new/
https://reviews.llvm.org/D74443
More information about the llvm-commits
mailing list