summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2011-04-20 12:52:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2011-04-20 12:52:12 +0000
commitd587f9cb3478cc48950592b952ae8a7da497ca60 (patch)
tree0fa112af513365960d9ae1708aaf4e969d5270a8 /bfd/bfd-in.h
parent2def7cf8a1c3390d09acb9ce4d7d1c8f1f619b2f (diff)
downloadbinutils-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-in.h')
-rw-r--r--bfd/bfd-in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 5f0f4b5342..d536897791 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -432,7 +432,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. */