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 (wasRe:question for perl maintainer)


Larry Hall wrote:

> >(Too bad Windows doesn't do
> >PIC / GOT / PLT so that the text pages can remain readonly.)
> 
> Well yes but then that wouldn't be backward compatible with DOS and
> *then* where would we be?

In fairness to Microsoft (!!), since they are the central source for the
majority of system DLLs it's possible for them to ensure that the
ImageBases are set uniquely so that relocations don't happen very
often.  In Process Explorer there's a neat feature to highlight
relocated DLLs.  When you browse through the process list it's mostly
only third-party DLLs (usually those that load dynamically as plugins or
ActiveX components) that are relocated, so in a sense they kind of
worked around the issue for the most part.  Still, it would have been
nice if the architects of the DLL system had thought ahead a little
further.

Brian


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