This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] aoutx, slurp_symbol_table
> On Thu, Jul 26, 2007 at 07:07:41PM -0700, msnyder@sonic.net wrote:
>> * aoutx.h (slurp_symbol_table): Return if count == 0.
>
> OK.
>
>> + if (cached_size == 0)
>> + return TRUE; /* Nothing to do. */
>> +
>> cached_size *= sizeof (aout_symbol_type);
>> cached = bfd_zmalloc (cached_size);
>> if (cached == NULL && cached_size != 0)
>
> Remove cached_size != 0 test while you're at it.
Done, committed, thanks.