--enable-auto-import extension

Christopher Faylor cgf@redhat.com
Thu Jul 4 09:30:00 GMT 2002

On Wed, Jul 03, 2002 at 12:34:43PM +0400, egor duda wrote:
>Tuesday, 02 July, 2002 egor duda deo@logos-m.ru wrote:
>ed> Ok, i've finalized patch and test.
>Attached is a patch to add support runtime pseudo-relocations in
>cygwin once/if binutils with support for them are released.

Is there some reason why this has to be linked into the application and
is not run from the DLL?  It looks like you'd need to get the
_image_base__ variable into the DLL somehow but we should be able to do
that in _cygwin_crt0_common if there is no other way to get this.

I think it makes sense to do as little as possible in the library stub
code and as much as possible in the DLL so moving the call to
_pei386_runtime_relocator seems like a good thing.

Btw, could you give a paragraph summary of what this code does?  I
haven't been following the binutils discussion that closely.  Sounds
very interesting though...


More information about the Cygwin-patches mailing list