aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-09-19 12:08:34 +0000
committerAlan Modra <amodra@gmail.com>2007-09-19 12:08:34 +0000
commita69898aad0d92d44881d16b6d5d835c3af53b9c1 (patch)
tree9d84644dcc2c6a865c3d475b1193ee1020a013a1 /bfd/bfd-in2.h
parent4dcdce139ffe08fec50cd24e688c3e0e21d545c1 (diff)
downloadgdb-a69898aad0d92d44881d16b6d5d835c3af53b9c1.zip
gdb-a69898aad0d92d44881d16b6d5d835c3af53b9c1.tar.gz
gdb-a69898aad0d92d44881d16b6d5d835c3af53b9c1.tar.bz2
* bfd-in.h (bfd_hash_insert): Declare.
* bfd-in2.h: Regenerate. * hash.c (bfd_hash_insert): New function. Split out from.. (bfd_hash_lookup): ..here. * merge.c (sec_merge_hash_lookup): Use bfd_hash_insert.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index d3228d0..0943278 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -471,6 +471,10 @@ extern struct bfd_hash_entry *bfd_hash_lookup
(struct bfd_hash_table *, const char *, bfd_boolean create,
bfd_boolean copy);
+/* Insert an entry in a hash table. */
+extern struct bfd_hash_entry *bfd_hash_insert
+ (struct bfd_hash_table *, const char *, unsigned long);
+
/* Replace an entry in a hash table. */
extern void bfd_hash_replace
(struct bfd_hash_table *, struct bfd_hash_entry *old,