[all-commits] [llvm/llvm-project] c493d7: [lld][AArch64][ELF][PAC] Support AUTH relocations ...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Mon Feb 19 16:32:42 PST 2024


  Branch: refs/reviewable/pr72714/r2
  Home:   https://github.com/llvm/llvm-project
  Commit: c493d78e6c482bb530189de05b79e7082a224fab
      https://github.com/llvm/llvm-project/commit/c493d78e6c482bb530189de05b79e7082a224fab
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputFiles.h
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/ELF/Writer.cpp
    A lld/test/ELF/aarch64-feature-pauth.s
    A lld/test/ELF/aarch64-ptrauth.s

  Log Message:
  -----------
  [lld][AArch64][ELF][PAC] Support AUTH relocations and AUTH ELF marking

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

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


  Commit: 589c6455a929f41ed3a79fc7d91119586eb1ee7b
      https://github.com/llvm/llvm-project/commit/589c6455a929f41ed3a79fc7d91119586eb1ee7b
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/aarch64-bti-pac-cli-error.s
    M lld/test/ELF/aarch64-feature-pauth.s

  Log Message:
  -----------
  Address trivial review comments


Compare: https://github.com/llvm/llvm-project/compare/c493d78e6c48%5E...589c6455a929

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list