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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Sun Nov 24 16:40:27 PST 2024


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

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

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


  Commit: 4d51c70829b68a5e5b63a814bd5b58a7bc320cc3
      https://github.com/llvm/llvm-project/commit/4d51c70829b68a5e5b63a814bd5b58a7bc320cc3
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

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

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


  Commit: be2f895c4f1a11d84f52e99d04c0c7795b2f164c
      https://github.com/llvm/llvm-project/commit/be2f895c4f1a11d84f52e99d04c0c7795b2f164c
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

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

  Log Message:
  -----------
  Use `Err(ctx)` instead of `fatal` and use `getLocation` in error message


  Commit: fd0c86888361e01656cce03e95367b0c90a7cb4c
      https://github.com/llvm/llvm-project/commit/fd0c86888361e01656cce03e95367b0c90a7cb4c
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

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

  Log Message:
  -----------
  Use aarch64 triple in tests


Compare: https://github.com/llvm/llvm-project/compare/bf7d8a9365ff...fd0c86888361

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