This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: use hashtab for pseudo op table
Hi Ben,
[Sorry about the delay in summarizing this]
I think that the result of the discussion on this topic is that a
patch to remove the hashing code in gas/hash.c would be acceptable if:
* It switched gas over to using the code in bfd/hash.c or, even
better, switched over both bfd and gas to using the code in libiberty.
and
* It does not introduce any regressions. (Duh :)
* It does not introduce a performance penalty to the assembler or linker.
Ensuring this last item might take a bit of work in order to find a few
big applications and time them, but I think that it would be worthwhile.
We already have working hash functions for the assembler and linker
and I do not want to replace them with something that does not work or
is less efficient.
Cheers
Nick