[PATCH]: autoload.cc: Remove unnecessary data entries from .dllname_info sections

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Thu Mar 10 14:44:00 GMT 2005


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



More information about the Cygwin-patches mailing list