[PATCH] elf: Renumber local dynamic symbols only if needed
H.J. Lu
hjl.tools@gmail.com
Fri Nov 28 08:22:31 GMT 2025
Only hppa, ia64 and sparc ELF targets use local dynamic symbols. But
elf_link_renumber_local_hash_table_dynsyms is always called to renumber
local dynamic symbols even if there is none. Add has_local_dynsyms to
elf_link_hash_table and set it to true only if there are local dynamic
symbols. Renumber local dynamic symbols only if there are local dynamic
symbols.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-elf-Renumber-local-dynamic-symbols-only-if-needed.patch
Type: text/x-patch
Size: 2805 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20251128/6b537cc6/attachment.bin>
More information about the Binutils
mailing list