This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: dll base address
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-developers@cygwin.com>
Sent: Monday, June 11, 2001 2:08 AM
Subject: Re: dll base address
> On Sun, Jun 10, 2001 at 06:56:33PM +0400, egor duda wrote:
> >Sunday, 10 June, 2001 Christopher Faylor cgf@redhat.com wrote:
> >>>As you can see, cygwin1.dll has been loaded at 02561000. It seems
to me
> >>>that if __cygwin_user_data is a non-relocatble variable, that we
should
> >>>mark cygwin1.dll as non-relocatable.
> >>>
> >>>Thoughts?
> >
<snip>
> So, the DLL should be relocatable as long as it is consistently being
> relocated to the same location.
>
> There is a lot more than just vtables that would need to be addressed
> if we were to fix this.
>
> cgf
So for now, we should mark cygwin1.dll as non-relocatable. How do we do
this for gcc/ld ? MS LINK uses /FIXED, and I couldn't see a .def
instruction for it :[.
Rob