This is the mail archive of the binutils@sources.redhat.com 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 to avoid xmalloc uses for hash tables


On Thu, Jun 06, 2002 at 01:50:50AM -0700, Geoffrey Keating wrote:
> 
> I believe there's a policy that xmalloc shouldn't be used in bfd;

Yes.

> 	* merge.c (merge_strings): Use htab_create_alloc with calloc, not
> 	htab_alloc.
> 	* elf-strtab.c (_bfd_elf_strtab_finalize): Likewise.

This is OK.  It would be nice if the libiberty update and this
patch could be synchronised.  We're still using the old one in src/.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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