[lld] [PAC][lld][AArch64][ELF] Support signed GOT (PR #113815)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 7 10:59:48 PST 2024
================
@@ -668,6 +668,8 @@ void GotSection::addConstant(const Relocation &r) { relocations.push_back(r); }
void GotSection::addEntry(const Symbol &sym) {
assert(sym.auxIdx == ctx.symAux.size() - 1);
ctx.symAux.back().gotIdx = numEntries++;
+ if (sym.hasFlag(NEEDS_GOT_AUTH))
----------------
MaskRay wrote:
should be moved to `addGotAuthEntry`
https://github.com/llvm/llvm-project/pull/113815
More information about the llvm-commits
mailing list