diff options
author | Alan Modra <amodra@bigpond.net.au> | 2007-09-19 12:08:34 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2007-09-19 12:08:34 +0000 |
commit | 8069ec8aeb62eb1c247f8b49b622d9fe41deb7a8 (patch) | |
tree | a59ce0cbad66e3d8e4e44c6705341359b46e45f0 /bfd/bfd-in.h | |
parent | 70db70bc514c9eb1a3ebe91641c407c453c7499a (diff) | |
download | binutils-redhat-8069ec8aeb62eb1c247f8b49b622d9fe41deb7a8.tar.gz |
* 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-in.h')
-rw-r--r-- | bfd/bfd-in.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 2e70a7391f..07fdf03649 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -464,6 +464,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, |