[all-commits] [llvm/llvm-project] f56118: [PAC][lld] Properly handle `.relr.auth.dyn` -> `.r...
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Mon May 4 06:10:47 PDT 2026
Branch: refs/heads/users/kovdan01/pauth-relr-rela-movement
Home: https://github.com/llvm/llvm-project
Commit: f56118310a8faff21d1a2a5a262ca18b3e36da5c
https://github.com/llvm/llvm-project/commit/f56118310a8faff21d1a2a5a262ca18b3e36da5c
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/test/ELF/aarch64-reloc-pauth.s
Log Message:
-----------
[PAC][lld] Properly handle `.relr.auth.dyn` -> `.rela.dyn` movement
Address the following issues reported in #171475:
1. Proper adjustment of `__rela_iplt_end` address if a move from
`.relr.auth.dyn` to `.rela.dyn` took place
2. Set `__rela_iplt_start` properly if prior to such movement from
`.relr.auth.dyn`, the `.rela.dyn` was empty
3. Allocate enough space for both RELA* and AARCH64_AUTH_RELR* tags in
the `.dynamic` section in case we end up with both `.relr.auth.dyn`
and `.rela.dyn`. If one of the sections becomes empty - just pad the
`.dynamic` section with null tags in the end.
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