This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --enable-auto-import extension


On Wed, Jul 03, 2002 at 12:34:43PM +0400, egor duda wrote:
>Hi!
>
>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...

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]