[Patch]: Improve handling of DW_LNE_define_file

Alan Modra amodra@gmail.com
Mon Jan 16 22:16:00 GMT 2012


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.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list