[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 Dec 11 18:54:26 PST 2023


================
@@ -566,6 +570,7 @@ constexpr const char *knownZFlags[] = {
     "origin",
     "pac-plt",
     "pack-relative-relocs",
+    "pack-relative-auth-relocs",
----------------
MaskRay wrote:

Is there justification for adding a new option?
Why can't we just use `pack-relative-relocs`?
This is a new ABI and we are adding stuff that existing linkers don't know, so there isn't any compatibility concern.

If there is sufficient justification for a new option, we should have agreement with binutils folks on the name.


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


More information about the llvm-commits mailing list