[PATCH] Include alloca.h for bfd

Andrew Cagney ac131313@cygnus.com
Thu Aug 23 11:42:00 GMT 2001


> Hmm, shame you can't use asprintf().  It does everything you want
>> except use bfd_malloc().
> 
> 
> Now that you mention it, we could use asprintf there.  There is an
> implementation in libiberty.  If it can't allocate memory, it sets the
> buffer to NULL.
> 
> Doesn't matter much, though.

Yes.  Its the bit where bfd_malloc() sets the error message that is missing.

	Andrew





More information about the Binutils mailing list