mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
* elflink.c (bfd_elf_record_link_assignment): Dont make
STV_INTERNAL symbols STV_HIDDEN.
This commit is contained in:
parent
dee737d745
commit
b829706801
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -573,7 +573,8 @@ bfd_elf_record_link_assignment (bfd *output_bfd,
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user