[llvm] [llvm-readobj][AArch64][ELF][PAC] Support ELF AUTH constants (PR #72713)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 09:02:54 PST 2023


================
@@ -6208,6 +6263,13 @@ void ELFDumper<ELFT>::forEachRelocationDo(
       Warn(RangeOrErr.takeError());
     }
     break;
+  case ELF::SHT_AARCH64_AUTH_RELR:
+    if (Obj.getHeader().e_machine != EM_AARCH64) {
+      this->reportUniqueWarning(
----------------
MaskRay wrote:

we should drop this for non-AArch64. They may define the value for other purposes. Just use the default code path to handle an unknown section header type.

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


More information about the llvm-commits mailing list