[lld] [lld][Hexagon] Fix TLS GD PLT to only create PLT entry for __tls_get_addr (PR #180297)
Brian Cain via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 9 21:14:31 PST 2026
================
@@ -173,6 +173,7 @@ void addGotEntry(Ctx &ctx, Symbol &sym);
void hexagonTLSSymbolUpdate(Ctx &ctx);
bool hexagonNeedsTLSSymbol(ArrayRef<OutputSection *> outputSections);
+bool hexagonNeedsTLSSymbolEarly(Ctx &ctx);
----------------
androm3da wrote:
Ok maybe instead handling it in the `needsPlt(expr)` case in `RelocScan::process()` makes more sense.
https://github.com/llvm/llvm-project/pull/180297
More information about the llvm-commits
mailing list