* elflink.c (_bfd_elf_define_linkage_sym): Don't set STV_INTERNAL

symbols to STV_HIDDEN.
This commit is contained in:
Alan Modra 2013-08-21 03:45:44 +00:00
parent d686b906dc
commit 00b7642b8a
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2013-08-21 Alan Modra <amodra@gmail.com>
* elflink.c (_bfd_elf_define_linkage_sym): Don't set STV_INTERNAL
symbols to STV_HIDDEN.
2013-08-14 John Tytgat <john@bass-software.com>
PR ld/15787

View file

@ -85,6 +85,7 @@ _bfd_elf_define_linkage_sym (bfd *abfd,
h->def_regular = 1;
h->non_elf = 0;
h->type = STT_OBJECT;
if (ELF_ST_VISIBILITY (h->other) != STV_INTERNAL)
h->other = (h->other & ~ELF_ST_VISIBILITY (-1)) | STV_HIDDEN;
bed = get_elf_backend_data (abfd);