diff options
author | Alan Modra <amodra@gmail.com> | 2011-04-20 12:52:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-04-20 12:52:16 +0000 |
commit | 8ad17b3a2ce2deb3b6fe599924747a93da5a6a65 (patch) | |
tree | 03f4fbe6b24b1676abbec5eefb15ec8ff4c7ab7d /bfd/ChangeLog | |
parent | 7bca32d788b5b06024cf34f01ae6bef16751e5ca (diff) | |
download | gdb-8ad17b3a2ce2deb3b6fe599924747a93da5a6a65.zip gdb-8ad17b3a2ce2deb3b6fe599924747a93da5a6a65.tar.gz gdb-8ad17b3a2ce2deb3b6fe599924747a93da5a6a65.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fec3d20..4c9d8c2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2011-04-20 Alan Modra <amodra@gmail.com> + + * 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. + 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Fix +1 overrun of |