• Alan Modra's avatar
    bfd/ · 8ad17b3a
    Alan Modra authored
    	* 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.
    8ad17b3a
bfd-in.h 33.7 KB