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

Daniil Kovalev via All-commits all-commits at lists.llvm.org
Mon Sep 21 21:18:57 PDT 2026


  Branch: refs/heads/users/kovdan01/lld-pauth-undef-weak
  Home:   https://github.com/llvm/llvm-project
  Commit: 368c7f0468e034b537de842180873936620eea14
      https://github.com/llvm/llvm-project/commit/368c7f0468e034b537de842180873936620eea14
  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: b6bd32a705079cb4783b383b98d9429ff98356d5
      https://github.com/llvm/llvm-project/commit/b6bd32a705079cb4783b383b98d9429ff98356d5
  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: 53e504ffd3303e7e21ad9136a85bdba2b89090a6
      https://github.com/llvm/llvm-project/commit/53e504ffd3303e7e21ad9136a85bdba2b89090a6
  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: 996df9aa6c3ededd4d1037319e419bb5b3b33dcb
      https://github.com/llvm/llvm-project/commit/996df9aa6c3ededd4d1037319e419bb5b3b33dcb
  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: e4227c6f529a5fc5c24edd1c3b0fd16e4058cd6e
      https://github.com/llvm/llvm-project/commit/e4227c6f529a5fc5c24edd1c3b0fd16e4058cd6e
  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/b76c913f7c81...e4227c6f529a

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