This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] expanding tables for bfd/hash.c


> A quicker alternative might be to leave the default unchanged.  There
> are a lot of tests that depend on symbol table order, and some only run
> natively.

I assume none (or few) tests have more than 4k symbols then?

> How about this?
> 
> 	* hash.c (DEFAULT_SIZE): Revert last change.
> 	(higher_prime_number): Correct test for no larger prime.  Don't
> 	abort on error, instead return 0.  Depopulate primes[].
> 	(bfd_hash_lookup): If we overflow size, refuse to grow table.

That looks like a good change.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]