[patch] aoutx, slurp_symbol_table

msnyder@sonic.net msnyder@sonic.net
Fri Jul 27 19:12:00 GMT 2007


> 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.




More information about the Binutils mailing list