Patch: delay import for dlltool

Dave Korn dave.korn.cygwin@googlemail.com
Tue Aug 18 17:12:00 GMT 2009


Timo Kreuzer wrote:

> I have created a patch for dlltool that implements delay loading dlls.
> It creates import stubs in a similar way to how it's done with normal
> imports.
> It's only implemented for x86 so far, but the implementation allows easy
> porting.
> 
> The resulting application will link to __delayLoadHelper2, which I also
> implemented as a library. It's compatible to ms __delayLoadHelper2.
> I have attached the patch and the library as reference.
> 
> Let me know if something is missing.

  Documentation in binutils/doc/binutils.texi, and some testcases would be
nice.  Also a ChangeLog entry.

> btw, I have just send back the assignment from FSF, will probably take a
> several days (I'm from Germany)

  I'll give it some testing and post a review tomorrow, but it looks in pretty
good shape.  Thanks for the contribution.

    cheers,
      DaveK




More information about the Binutils mailing list