diff options
author | Alan Modra <amodra@gmail.com> | 2013-02-18 10:40:19 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-02-18 10:40:19 +0000 |
commit | d45f8bdadc6f438c13db38f5f92dd1517f240f5a (patch) | |
tree | 296f2bbf70b5a80a716875f11511714ee7867577 /bfd/elflink.c | |
parent | 53c3509d86cf36d7277a3974cd55b7e3edb09fa2 (diff) | |
download | gdb-d45f8bdadc6f438c13db38f5f92dd1517f240f5a.zip gdb-d45f8bdadc6f438c13db38f5f92dd1517f240f5a.tar.gz gdb-d45f8bdadc6f438c13db38f5f92dd1517f240f5a.tar.bz2 |
PR ld/12549
* elf-bfd.h (_bfd_elf_strtab_clear_refs): Delete.
(_bfd_elf_strtab_clear_all_refs): Declare.
(_bfd_elf_strtab_resize): Declare.
* elf-strtab.c (_bfd_elf_strtab_clear_refs): Delete.
(_bfd_elf_strtab_clear_all_refs): New function.
(_bfd_elf_strtab_resize): Likewise.
* elflink.c (elf_link_add_object_symbols): Use _bfd_elf_strtab_resize.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 617c505..b652bec 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -4554,7 +4554,7 @@ error_free_dyn: memcpy (sym_hash, old_hash, hashsize); htab->root.undefs = old_undefs; htab->root.undefs_tail = old_undefs_tail; - _bfd_elf_strtab_clear_refs (htab->dynstr, old_dynstr_size); + _bfd_elf_strtab_restore_size (htab->dynstr, old_dynstr_size); for (i = 0; i < htab->root.table.size; i++) { struct bfd_hash_entry *p; |