[lld] [PAC][lld][AArch64][ELF] Support signed GOT (PR #96169)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 07:24:07 PDT 2024
================
@@ -655,6 +655,10 @@ void GotSection::addConstant(const Relocation &r) { relocations.push_back(r); }
void GotSection::addEntry(const Symbol &sym) {
assert(sym.auxIdx == symAux.size() - 1);
symAux.back().gotIdx = numEntries++;
+ if (sym.hasFlag(NEEDS_GOT_AUTH)) {
+ assert(config->emachine == EM_AARCH64);
----------------
kovdan01 wrote:
Update. Opened #98028 deleting similar assertions in
- `GotSection::addEntry`
- `GotSection::addTlsDescEntry`
- `GotSection::addDynTlsEntry`
https://github.com/llvm/llvm-project/pull/96169
More information about the llvm-commits
mailing list