aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-02-18 10:40:19 +0000
committerAlan Modra <amodra@gmail.com>2013-02-18 10:40:19 +0000
commitd45f8bdadc6f438c13db38f5f92dd1517f240f5a (patch)
tree296f2bbf70b5a80a716875f11511714ee7867577 /bfd/elf-bfd.h
parent53c3509d86cf36d7277a3974cd55b7e3edb09fa2 (diff)
downloadgdb-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/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index d36c287..c8d2957 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1927,10 +1927,10 @@ extern void _bfd_elf_strtab_delref
(struct elf_strtab_hash *, bfd_size_type);
extern unsigned int _bfd_elf_strtab_refcount
(struct elf_strtab_hash *, bfd_size_type);
-extern void _bfd_elf_strtab_clear_refs
+extern void _bfd_elf_strtab_clear_all_refs
+ (struct elf_strtab_hash *tab);
+extern void _bfd_elf_strtab_restore_size
(struct elf_strtab_hash *, bfd_size_type);
-#define _bfd_elf_strtab_clear_all_refs(tab) \
- do { _bfd_elf_strtab_clear_refs (tab, 1); } while (0)
extern bfd_size_type _bfd_elf_strtab_size
(struct elf_strtab_hash *);
extern bfd_size_type _bfd_elf_strtab_offset