diff options
author | Alan Modra <amodra@bigpond.net.au> | 2011-04-20 12:52:12 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2011-04-20 12:52:12 +0000 |
commit | d587f9cb3478cc48950592b952ae8a7da497ca60 (patch) | |
tree | 0fa112af513365960d9ae1708aaf4e969d5270a8 /bfd/bfd-in2.h | |
parent | 2def7cf8a1c3390d09acb9ce4d7d1c8f1f619b2f (diff) | |
download | binutils-redhat-d587f9cb3478cc48950592b952ae8a7da497ca60.tar.gz |
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/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 2c795b6cbb..76836b15c8 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -439,7 +439,7 @@ extern void bfd_hash_traverse /* Allows the default size of a hash table to be configured. New hash tables allocated using bfd_hash_table_init will be created with this size. */ -extern void bfd_hash_set_default_size (bfd_size_type); +extern unsigned long bfd_hash_set_default_size (unsigned long); /* This structure is used to keep track of stabs in sections information while linking. */ |