[PATCH] D156882: [AArch64][ELF][lld] Support dynamic R_AARCH64_AUTH_* relocations

Daniil Kovalev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 05:29:23 PDT 2023


kovdan01 created this revision.
kovdan01 added reviewers: ab, pcc, t.p.northover, kristof.beyls, apazos, psmith.
Herald added subscribers: hiraditya, arichardson, emaste.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
Herald added a project: All.
kovdan01 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds 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

Co-authored-by: Peter Collingbourne <peter at pcc.me.uk>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156882

Files:
  lld/ELF/Arch/AArch64.cpp
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/Relocations.cpp
  lld/ELF/SyntheticSections.cpp
  lld/ELF/SyntheticSections.h
  lld/ELF/Writer.cpp
  lld/test/ELF/aarch64-ptrauth.s
  llvm/include/llvm/BinaryFormat/DynamicTags.def
  llvm/include/llvm/BinaryFormat/ELF.h
  llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
  llvm/lib/Object/ELF.cpp
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156882.546424.patch
Type: text/x-patch
Size: 23511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230802/84965393/attachment.bin>


More information about the llvm-commits mailing list