bfd/
authorAlan Modra <amodra@gmail.com>
Wed, 20 Apr 2011 12:52:16 +0000 (12:52 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Apr 2011 12:52:16 +0000 (12:52 +0000)
commit8ad17b3a2ce2deb3b6fe599924747a93da5a6a65
tree03f4fbe6b24b1676abbec5eefb15ec8ff4c7ab7d
parent7bca32d788b5b06024cf34f01ae6bef16751e5ca
bfd/
* hash.c (bfd_default_hash_table_size): Make it an unsigned long.
(bfd_hash_table_init_n): Overflow checking.
(bfd_hash_set_default_size): Return current size.  Take unsigned long
arg.  Add 65537 to hash_size primes.
* bfd-in.h (bfd_hash_set_default_size): Update prototype.
* bfd-in2.h: Regenerate.
gas/
* hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
(hash_new_sized): New function, split out from..
(hash_new): ..here.
ld/
* ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/hash.c
gas/ChangeLog
gas/hash.c
ld/ChangeLog
ld/ld.h