[patch ld]: Improve import-table linking and fixes some memory-leaks
Christopher Faylor
cgf-use-the-mailinglist-please@sourceware.org
Sun Feb 19 21:01:00 GMT 2012
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
More information about the Binutils
mailing list