[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:41:49 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:

Sorry, I just realize that this is related to isStaticLinkTimeConstant. See the main comment.

https://github.com/llvm/llvm-project/pull/72714


More information about the llvm-commits mailing list