Subject: Re: Wine & NetBSD?
To: Todd Vierling <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 11/21/2001 02:19:26
> (Note that properly compiled Win32 DLLs *are* relocateable by the loader;
> this just results in slower startup. Such DLLs can be mapped arbitrarily
> without MAP_FIXED, of course, provided that they are always relocated after
> such a mmap.)
If you ever run arbitrary applications in a debugger under NT/W2K, you will
notice tons of relocating messages from their ld.so equivalent (RTLD).
While M$ does it for all their system stuff (and most applications), nearly
everyone else does not bother to optimize load addresses (although there is
utility that makes it realy easy to do so, even as a postprocess after
So in a typical (non system supplied) application starting up on any M$ Win32
system, the DLLs (most liklely all but the first one loaded) will be relocated.