* hash.c (bfd_hash_allocate): Don't call bfd_set_error if
authorIan Lance Taylor <ian@airs.com>
Wed, 22 Jun 1994 22:37:54 +0000 (22:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 22 Jun 1994 22:37:54 +0000 (22:37 +0000)
commita537cb21bb2fe12366941621323cc60a4317bd38
tree03d486cde9731f02c49350aea98c3b77981cf6f7
parentc79b49bb80c56d60febfb8c67e2da1f55a4977d2
* hash.c (bfd_hash_allocate): Don't call bfd_set_error if
obstack_alloc returns NULL unless the size is non-zero.

* linker.c (archive_hash_allocate): Define.
(_bfd_generic_link_add_archive_symbols): Use archive_hash_allocate
rather than obstack_alloc, for clarity.
bfd/ChangeLog
bfd/linker.c