[all-commits] [llvm/llvm-project] e179c9: [PAC][lld][AArch64][ELF] Support signed GOT

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Fri Nov 1 03:34:13 PDT 2024


  Branch: refs/heads/users/kovdan01/pauth-signed-got-lld
  Home:   https://github.com/llvm/llvm-project
  Commit: e179c9b703e6b7d687823b565581e400ffb62125
      https://github.com/llvm/llvm-project/commit/e179c9b703e6b7d687823b565581e400ffb62125
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    M lld/ELF/Symbols.h
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    A lld/test/ELF/aarch64-got-relocations-pauth.s

  Log Message:
  -----------
  [PAC][lld][AArch64][ELF] Support signed GOT

Support `R_AARCH64_AUTH_ADR_GOT_PAGE`, `R_AARCH64_AUTH_GOT_LO12_NC` and
`R_AARCH64_AUTH_GOT_ADD_LO12_NC` GOT-generating relocations. For preemptible
symbols, dynamic relocation `R_AARCH64_AUTH_GLOB_DAT` is emitted. Otherwise,
we unconditionally emit `R_AARCH64_AUTH_RELATIVE` dynamic relocation since
pointers in signed GOT needs to be signed during dynamic link time.


  Commit: 262b4c6eb0e655e3b47350e5f390d4997d7d0431
      https://github.com/llvm/llvm-project/commit/262b4c6eb0e655e3b47350e5f390d4997d7d0431
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp

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


  Commit: 38d5936b65970941e9bfe8c99b6aa9a8685cc2b8
      https://github.com/llvm/llvm-project/commit/38d5936b65970941e9bfe8c99b6aa9a8685cc2b8
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M lld/test/ELF/aarch64-got-relocations-pauth.s

  Log Message:
  -----------
  Use `##` for comments in tests


Compare: https://github.com/llvm/llvm-project/compare/0d234494f9d4...38d5936b6597

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