[all-commits] [llvm/llvm-project] 09abee: [ELF] Support non-section Defined symbols at Merge...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue May 5 10:12:03 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09abee845d2136630fc3f50524148daa55a740a8
https://github.com/llvm/llvm-project/commit/09abee845d2136630fc3f50524148daa55a740a8
Author: Fangrui Song <i at maskray.me>
Date: 2026-05-05 (Tue, 05 May 2026)
Changed paths:
M lld/ELF/SyntheticSections.cpp
M lld/test/ELF/merge-piece-oob.s
Log Message:
-----------
[ELF] Support non-section Defined symbols at MergeInputSection end (#195801)
Commit bb443359a8ad ("[ELF] Validate merge section offsets in getSymVA
and
match GNU ld") accepts offset == section_size for section-symbol
references
in getSymVA, and skips the out-of-bounds case in MarkLive.
This patch extends the support for non-section Defined symbols,
modifying the per-symbol pre-resolution added by commit 42cc45477727
("[ELF] Optimize binary search in getSectionPiece").
Fix #118148
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