Avoid coff OOM

Nicholas Clifton nickc@redhat.com
Wed Nov 12 09:25:00 GMT 2014


Hi Alan,

>> Nick, I'm not sure whether throwing away the function entries in the
>> line table when you hit a bad symbol is a good idea.  Doing that
>> mashes any following line number entries into the previous function.
>> Perhaps throw them away too, until you hit the next good function
>> entry?
>
> Like this.
>
> 	PR 17521
> 	* coffcode.h (coff_slurp_line_table): Drop line number info
> 	not preceded by a valid function entry.  Revert last change.

Much better - thanks for the suggestion.  Would you mind applying the 
patch too ?

Cheers
   Nick



More information about the Binutils mailing list