This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch ld]: Improve import-table linking and fixes some memory-leaks
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: Kai Tietz <ktietz70 at googlemail dot com>, Nick Clifton <nickc at redhat dot com>, Binutils <binutils at sourceware dot org>
- Date: Sun, 19 Feb 2012 16:01:30 -0500
- Subject: Re: [patch ld]: Improve import-table linking and fixes some memory-leaks
- References: <CAEwic4a0ZCanxcoV=a1KGsrx9e-ricG2873pcMhto4HzsR=JBA@mail.gmail.com>
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