diff options
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -909,9 +909,8 @@ _bfd_elf_link_hash_newfunc (entry, table, string) /* Copy data from an indirect symbol to its direct symbol, hiding the old indirect symbol. */ -static void -_bfd_elf_link_hash_copy_indirect (table, dir, ind) - struct elf_link_hash_table *table; +void +_bfd_elf_link_hash_copy_indirect (dir, ind) struct elf_link_hash_entry *dir, *ind; { /* Copy down any references that we may have already seen to the @@ -950,9 +949,8 @@ _bfd_elf_link_hash_copy_indirect (table, dir, ind) BFD_ASSERT (ind->dynindx == -1); } -static void -_bfd_elf_link_hash_hide_symbol(table, h) - struct elf_link_hash_table *table; +void +_bfd_elf_link_hash_hide_symbol(h) struct elf_link_hash_entry *h; { h->elf_link_hash_flags &= ~ELF_LINK_HASH_NEEDS_PLT; @@ -979,8 +977,6 @@ _bfd_elf_link_hash_table_init (table, abfd, newfunc) table->needed = NULL; table->hgot = NULL; table->stab_info = NULL; - table->copy_indirect = _bfd_elf_link_hash_copy_indirect; - table->hide_symbol = _bfd_elf_link_hash_hide_symbol; return _bfd_link_hash_table_init (&table->root, abfd, newfunc); } |