This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: Improve handling of DW_LNE_define_file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]