[all-commits] [llvm/llvm-project] 3c6efe: [llvm-readobj][AArch64][ELF][PAC] Support ELF AUTH...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Fri Dec 8 13:31:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c6efe5fdbca07ada9a2710d68efdb07064044c2
      https://github.com/llvm/llvm-project/commit/3c6efe5fdbca07ada9a2710d68efdb07064044c2
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/DynamicTags.def
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
    M llvm/lib/Object/ELF.cpp
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    A llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
    M llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-tags-machine-specific.test
    M llvm/test/tools/llvm-readobj/ELF/machine-specific-section-types.test
    M llvm/test/tools/llvm-readobj/ELF/relr-relocs.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readobj][AArch64][ELF][PAC] Support ELF AUTH constants (#74874)

Reapply llvm/llvm-project#72713 after fixing formatted printing of
`uint64_t` values as hex (see failing build here
https://lab.llvm.org/buildbot/#/builders/186/builds/13604).

This patch adds llvm-readobj support for:

- Dynamic `R_AARCH64_AUTH_*` relocations (including RELR compressed AUTH
relocations) as described here:
https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#auth-variant-dynamic-relocations

- `.note.AARCH64-PAUTH-ABI-tag` section as defined here
https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#elf-marking




More information about the All-commits mailing list