[lld] [lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section (PR #87635)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 22:03:24 PDT 2024
================
@@ -428,6 +428,19 @@ void AArch64::relocate(uint8_t *loc, const Relocation &rel,
case R_AARCH64_PREL64:
write64(loc, val);
break;
+ case R_AARCH64_AUTH_ABS64:
+ // If val is wider than 32 bits, the relocation must have been moved from
+ // .relr.auth.dyn to .rela.dyn, and the addend write is not needed.
+ //
+ // If val fits in 32 bits, we have two potential scenarios:
+ // * True RELR: Write the 32-bit `val`
----------------
MaskRay wrote:
Trailing period
https://github.com/llvm/llvm-project/pull/87635
More information about the llvm-commits
mailing list