[lld] [PAC][lld] Do not emit AUTH relocs against undef weak non-preemptible symbols (PR #194636)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 23:29:40 PDT 2026
================
@@ -212,6 +214,19 @@ void AArch64::scanSectionImpl(InputSectionBase &sec, Relocs<RelTy> rels,
// Relocation types that only need a RelExpr set `expr` and break out of
// the switch to reach rs.process(). Types that need special handling
// (fast-path helpers, TLS) call a handler and use `continue`.
+
+ auto handleTlsDescAuth = [&sym, &sec, type, offset,
+ addend](RelExpr tlsdescExpr) {
+ if (sym.isUndefined() && !sym.isPreemptible) {
+ // Resolves statically to null. Handle in
----------------
kovdan01 wrote:
Addressed in e374b8ef2e54b9f2e4c6be93bbe5ae73a514d9ae
https://github.com/llvm/llvm-project/pull/194636
More information about the llvm-commits
mailing list