[all-commits] [llvm/llvm-project] d73dcd: [PAC][lld] Do not emit AUTH relocs against undef w...

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Mon Sep 21 02:26:33 PDT 2026


  Branch: refs/heads/users/kovdan01/lld-pauth-undef-weak
  Home:   https://github.com/llvm/llvm-project
  Commit: d73dcdeb89754d132451f386227441a700c03fbd
      https://github.com/llvm/llvm-project/commit/d73dcdeb89754d132451f386227441a700c03fbd
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    A lld/test/ELF/aarch64-reloc-pauth-undef-weak-dso.s
    A lld/test/ELF/aarch64-reloc-pauth-undef-weak-pie.s
    A lld/test/ELF/aarch64-reloc-pauth-undef-weak.s
    M lld/test/ELF/aarch64-tlsdesc-pauth.s

  Log Message:
  -----------
  [PAC][lld] Do not emit AUTH relocs against undef weak non-preemptible symbols

Undefined weak non-preemptible symbols should be statically resolved
and not signed.

See the corresponding relaxation described in docs:
https://github.com/ARM-software/abi-aa/blob/6e0d6611ac977628af7b2444ff841e76931a3557/design-documents/pauthabi-tls.rst

Previously, a dynamic relocation against such symbols was emitted,
which is not a correct behavior.

See also: https://github.com/ARM-software/abi-aa/pull/391

Depends on: #198327

Resolves #173296


  Commit: ffbd406e22c7eb74e4f8e95eca59f8f0555c72eb
      https://github.com/llvm/llvm-project/commit/ffbd406e22c7eb74e4f8e95eca59f8f0555c72eb
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak-dso.s
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak-pie.s
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak.s

  Log Message:
  -----------
  `.tlsdescauthcall` -> `.tlsauthdesccall` (per documentation)


  Commit: 05716ec3b1234c590854337dbb35be07c1208471
      https://github.com/llvm/llvm-project/commit/05716ec3b1234c590854337dbb35be07c1208471
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak-dso.s
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak-pie.s
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak.s

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


  Commit: ffe415bc9236bb40ea76d7f3d8026c9043300111
      https://github.com/llvm/llvm-project/commit/ffe415bc9236bb40ea76d7f3d8026c9043300111
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/SyntheticSections.h
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak-dso.s
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak-pie.s
    M lld/test/ELF/aarch64-reloc-pauth-undef-weak.s

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


  Commit: b76c913f7c814278c0b7e65a97e7b04cc3559ff7
      https://github.com/llvm/llvm-project/commit/b76c913f7c814278c0b7e65a97e7b04cc3559ff7
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Relocations.cpp

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


Compare: https://github.com/llvm/llvm-project/compare/85c4a66b3be1...b76c913f7c81

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