[Patch]: Improve handling of DW_LNE_define_file
Tristan Gingold
gingold@adacore.com
Thu Jan 19 11:35:00 GMT 2012
On Jan 16, 2012, at 11:16 PM, Alan Modra wrote:
> On Thu, Jan 12, 2012 at 01:05:15PM +0100, Tristan Gingold wrote:
>> case DW_LNE_define_file:
>> {
>> - unsigned int dir_index = 0;
>> + file_table = (File_Entry *)
>> + xmalloc ((n_files + 1) * sizeof (File_Entry));
>
> xrealloc. Otherwise OK.
Argh, silly me.
Fixed, regtested and committed.
Thank you for catching that!
Tristan.
More information about the Binutils
mailing list