[PATCH] x86: traverse loc_hash_table only if used
H.J. Lu
hjl.tools@gmail.com
Tue Dec 2 01:03:32 GMT 2025
On Sat, Nov 29, 2025 at 8:52 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Traverse x86 loc_hash_table only if it is used.
>
> * elf32-i386.c (elf_i386_output_arch_local_syms): Traverse
> loc_hash_table only if has_loc_hash_table is set.
> * elf64-x86-64.c (elf_x86_64_output_arch_local_syms): Likewise.
> * elfxx-x86.c (_bfd_elf_x86_get_local_sym_hash): Set
> has_loc_hash_table.
> (_bfd_x86_elf_late_size_sections): Traverse loc_hash_table only
> if has_loc_hash_table is set.
> * elfxx-x86.h (elf_x86_link_hash_table): Move plt0_pad_byte and
> add has_loc_hash_table.
>
>
> --
> H.J.
I am checking it in.
--
H.J.
More information about the Binutils
mailing list