Include libiberty.h in files that use htab_create()
Nick Clifton
nickc@cambridge.redhat.com
Fri Jun 7 03:43:00 GMT 2002
Hi Geoff,
> this is incompatible with the patch I just posted. Could you look at
> them both and work out which is correct?
Upon further searching I uncovered this patch:
http://sources.redhat.com/ml/binutils/2002-06/msg00158.html
2002-06-06 Geoffrey Keating <geoffk@redhat.com>
* merge.c (merge_strings): Use htab_create_alloc with calloc, not
htab_alloc.
* elf-strtab.c (_bfd_elf_strtab_finalize): Likewise.
Is this the one you mean ? If so why do you say that it is
incompatible ? I tried applying it and the BFD library appears to
build just fine either with the binutils version of hashtab.h or the
gcc version of it.
Cheers
Nick
More information about the Binutils
mailing list