Observation for ALL maintainers who provide dlls (was Re: question for perl maintainer)

Danny Smith dannysmith@clear.net.nz
Sun Jul 10 02:20:00 GMT 2005

cgf wrote
> Am I reading this right, though?  auto-image-base puts everything
> above 0x60000000.  That doesn't seem quite right.

I apologise for breaking thread but I'm on someone else's machine and have to 
use the mail clinet available.

As I understand it, memory address space is usually allocated from the
bottom up, unless MEM_TOP_DOWN flag is given to VirtualAlloc. So the
idea is to put dll base addresses as high as possible, without
conflicting with system dll address space above 0x68000000, to reduce
the possibility of conflicts with large allocations at lower addresses
(by .exe, which is always loaded first) and any 0x10000000 default-based
dlls that may need relocating.

The 0x60000000-0x6800000 range is suggested by MSDN but I've also seen
0x64000000-0x6800000 suggested.  That's still 64MB of address space


More information about the Cygwin-apps mailing list