[all-commits] [llvm/llvm-project] 556574: [lld] Don't drop RELR relocations for late-added G...
Arthur Eubanks via All-commits
all-commits at lists.llvm.org
Mon Jul 27 10:39:44 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5565740f2367093b89481ba7371adf820971977d
https://github.com/llvm/llvm-project/commit/5565740f2367093b89481ba7371adf820971977d
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2026-07-27 (Mon, 27 Jul 2026)
Changed paths:
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.h
A lld/test/ELF/x86-64-gotpc-relax-too-far-relr.s
Log Message:
-----------
[lld] Don't drop RELR relocations for late-added GOT entries (#211911)
In #208959 we started dropping RELR relocations for late-added GOT
entries when reverting x86-64 GOTPCRELX relaxations in
X86_64::relaxOnce.
There is a separate unrelaxation bug where if the object files didn't
have any relocations of a certain type, we'd prune .relr.dyn (or even
.rela.dyn). Will be addressed separately.
Assisted-by: Gemini
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