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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Sun Nov 10 09:43:50 PST 2024


  Branch: refs/heads/users/kovdan01/pauth-signed-got-lld
  Home:   https://github.com/llvm/llvm-project
  Commit: cbb7176918d1a618212cb5051dfb26a874f1a267
      https://github.com/llvm/llvm-project/commit/cbb7176918d1a618212cb5051dfb26a874f1a267
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-10 (Sun, 10 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: 20bd1a94d42f4618e3ce1802eb47363f6e863967
      https://github.com/llvm/llvm-project/commit/20bd1a94d42f4618e3ce1802eb47363f6e863967
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-10 (Sun, 10 Nov 2024)

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

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


  Commit: 42ca2d9b2f8a04ff9e5fc8613e8edd77d89e7214
      https://github.com/llvm/llvm-project/commit/42ca2d9b2f8a04ff9e5fc8613e8edd77d89e7214
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-10 (Sun, 10 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/38d5936b6597...42ca2d9b2f8a

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