[lld] [lld][AArch64][ELF][PAC] Support AUTH relocations and AUTH ELF marking (PR #72714)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 17:17:29 PST 2024
================
@@ -398,6 +399,10 @@ void AArch64::relocate(uint8_t *loc, const Relocation &rel,
case R_AARCH64_PREL64:
write64(loc, val);
break;
+ case R_AARCH64_AUTH_ABS64:
+ checkIntUInt(loc, val, 32, rel);
----------------
MaskRay wrote:
`checkIntUInt` can be an `assert(isInt<32>(val))` thanks to `isInt<32>(sym.getVA(addend))`
https://github.com/llvm/llvm-project/pull/72714
More information about the llvm-commits
mailing list