STV_INTERNAL symbols STV_HIDDEN.
+2013-04-30 Alan Modra <amodra@gmail.com>
+
+ * elflink.c (bfd_elf_record_link_assignment): Dont make
+ STV_INTERNAL symbols STV_HIDDEN.
+
2013-04-29 Nick Clifton <nickc@redhat.com>
* elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from
if (hidden)
{
bed = get_elf_backend_data (output_bfd);
- h->other = (h->other & ~ELF_ST_VISIBILITY (-1)) | STV_HIDDEN;
+ if (ELF_ST_VISIBILITY (h->other) != STV_INTERNAL)
+ h->other = (h->other & ~ELF_ST_VISIBILITY (-1)) | STV_HIDDEN;
(*bed->elf_backend_hide_symbol) (info, h, TRUE);
}