[all-commits] [llvm/llvm-project] d3cce1: [PAC][lld] Do not emit AUTH relocs against undef w...
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Tue Sep 22 04:06:40 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3cce170b16abfb9cf54de4e92e5b28fdd21f0fa
https://github.com/llvm/llvm-project/commit/d3cce170b16abfb9cf54de4e92e5b28fdd21f0fa
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2026-09-22 (Tue, 22 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 (#194636)
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.
The patch also implements support for `R_AARCH64_AUTH_TLSDESC_CALL`
relocation since it's required for the described mandatory relaxation.
See also: https://github.com/ARM-software/abi-aa/pull/391
Depends on: #198327
Resolves #173296
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