[PATCH] D158574: [AArch64][ELF] Support PAUTH ABI marking

Daniil Kovalev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 22 19:02:14 PDT 2023


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

This adds support for:

- .note.AARCH64-PAUTH-ABI-tag section as defined here https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#elf-marking
- GNU_PROPERTY_AARCH64_FEATURE_PAUTH property of .note.gnu.property as defined here https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#appendix-alternative-elf-marking-using-gnu-program-properties


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158574

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/SyntheticSections.cpp
  lld/ELF/SyntheticSections.h
  lld/ELF/Writer.cpp
  lld/test/ELF/aarch64-feature-pauth.s
  llvm/include/llvm/BinaryFormat/ELF.h
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158574.552573.patch
Type: text/x-patch
Size: 25320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230823/c0c6edfc/attachment.bin>


More information about the llvm-commits mailing list