[all-commits] [llvm/llvm-project] 854eec: [PAC][ELF] Make non-preemptible IFUNC GOT assertio...

Jessica Clarke via All-commits all-commits at lists.llvm.org
Thu Aug 6 04:27:37 PDT 2026


  Branch: refs/heads/users/jrtc27/lld-auth-irelative-error
  Home:   https://github.com/llvm/llvm-project
  Commit: 854eec75acfa34e9c092482d69d48e88a23336e4
      https://github.com/llvm/llvm-project/commit/854eec75acfa34e9c092482d69d48e88a23336e4
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M lld/ELF/Relocations.cpp
    A lld/test/ELF/aarch64-gnu-ifunc-nonpreemptible-pauth.s

  Log Message:
  -----------
  [PAC][ELF] Make non-preemptible IFUNC GOT assertion an error and extend

Support for R_AARCH64_AUTH_IRELATIVE is not yet present in LLD, but we
accept various input that would give rise to needing it. For the direct
reloc case, replaceWithDefined asserts (rather than give an error
message) this was not requested, whilst for the non-direct reloc case it
silently ignores which GOT type was requested. In the latter case, and
the former when assertions are disabled, this results in mis-linking the
object, producing one with a non-AUTH GOT entry, that would presumably
then fail the AUTDA operation in any user of it (aside from the IPLT
entry generated by LLD).

Fixes: 417d2d7ce694 ("[PAC][lld][AArch64][ELF] Support signed GOT (#113815)")



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