diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-28 05:11:02 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-07 05:25:32 -0700 |
commit | 84031c1729ef5aedd9932eaacb04694810bd1632 (patch) | |
tree | 62651d72f6996bb7fe27a79a20e5b959109e6336 /readline/doc/texi2dvi | |
parent | 6e33951edcbed1fd803beabcde2af3b252b92164 (diff) | |
download | binutils-gdb-users/hjl/pr18720.tar.gz |
Add a versioned field to elf_link_hash_entryusers/hjl/pr18720
This patch adds a versioned field to elf_link_hash_entry so that we can
avoid calling strchr and strrchr if the symbol is unversioned.
* elf-bfd.h (elf_link_hash_entry): Add versioned.
* elflink.c (_bfd_elf_merge_symbol): Don't look for symbol
version if the symbol is unversioned. Initialize versioned.
(_bfd_elf_add_default_symbol): Don't look for symbol version
if the symbol is unversioned or hidden. Initialize versioned.
(elf_collect_hash_codes): Don't look for symbol version if the
symbol is unversioned.
(elf_collect_gnu_hash_codes): Likewise.
(bfd_elf_gc_mark_dynamic_ref_symbol): Likewise.
Diffstat (limited to 'readline/doc/texi2dvi')
0 files changed, 0 insertions, 0 deletions