This is the mail archive of the cygwin-apps 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: Observation for ALL maintainers who provide dlls (was Re: questionfor perl maintainer)


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

Danny



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