[all-commits] [llvm/llvm-project] d4bed6: [ELF] -r: keep sh_entsize for SHF_MERGE sections w...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Nov 23 14:32:57 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4bed617f4378873d7ddf4b53c041e7b39d1a9ca
https://github.com/llvm/llvm-project/commit/d4bed617f4378873d7ddf4b53c041e7b39d1a9ca
Author: Fangrui Song <i at maskray.me>
Date: 2024-11-23 (Sat, 23 Nov 2024)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/test/ELF/merge-reloc.s
Log Message:
-----------
[ELF] -r: keep sh_entsize for SHF_MERGE sections with relocations
Follow-up to the NFC refactoring
43e3871a327b8e2ff57e16b46d5bc44beb430d91 and test cleanup
3cecf17065919da0a7fa9b38f37592e5462c2f85.
SHF_MERGE sections with relocations are handled as InputSection (without
duplicate elimination). The output section retains the original
sh_entsize in non-relocatable links. This patch ports the behavior for
relocatable links as well.
https://github.com/ClangBuiltLinux/linux/issues/2057
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