This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH]: autoload.cc: Remove unnecessary data entries from .dllname_info sections
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 10 Mar 2005 09:44:14 -0500
- Subject: Re: [PATCH]: autoload.cc: Remove unnecessary data entries from .dllname_info sections
- References: <Pine.CYG.4.58.0503101212001.1188@mordor>
- Reply-to: cygwin-patches at cygwin dot com
On Thu, Mar 10, 2005 at 12:42:46PM +0200, Pavel Tsekov wrote:
>I've been looking at the contents of the cygwin1.dll image in the last
>few days and I've noticed that the sections named .dllname_info contain
>a lot of duplicate entries - one for each autoloaded function from a given
>dll. Although it doesn't hurt to have it, this information is not really
>neccassary for the autoload functionality - autoload only needs one entry
>per dll in .dllname_info.
Thanks for the patch but I'd prefer keeping the current functionality which
makes the use of LoadDllprime optional.
I've checked in a fix for this so that only one .*_info block is loaded
for any given DLL.
cgf