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 ld]: Improve import-table linking and fixes some memory-leaks


On Thu, Feb 16, 2012 at 09:52:52PM +0100, Kai Tietz wrote:
>Hi,
>
>this patch fixes some memory-leaks and speeds-up import-table link.
>
>ChangeLog
>
>2012-02-16  Kai Tietz  <ktietz@redhat.com>
>
>	* deffilep.y (cmp_import_elem): Sort first by module name.
>	* pe-dll.c (process_def_file_and_drectve): Free strings
>	from removed export-element.
>	(add_bfd_to_link): Optimize loop on import-elements and lower
>	allocated memory.
>	(pe_implied_import_dll): Pass NULL instead of 0 for pointer
>	argument.
>
>Tested for i686-w64-mingw32, x86_64-w64-mingw32, and i686-pc-cygwin.
>Ok for apply?

It looks ok to me.

Ok to apply.

Thanks.

cgf


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