diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8977400..3923a7c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-10-24 Guy Martin + + * elf32-hppa.c (elf32_hppa_hide_symbol): Remove old version + information when forcing a symbol to be local. + 2013-10-18 Hans-Peter Nilsson * elf32-cris.c (cris_elf_check_relocs): Don't assume diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index dfffbcb..5da3b5a 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -1771,6 +1771,9 @@ elf32_hppa_hide_symbol (struct bfd_link_info *info, _bfd_elf_strtab_delref (elf_hash_table (info)->dynstr, eh->dynstr_index); } + /* Remove version information from hidden symbol */ + eh->verinfo.verdef = NULL; + eh->verinfo.vertree = NULL; } /* STT_GNU_IFUNC symbol must go through PLT. */