This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PCH support on Solaris


> I guess I am confused then about what you are trying to do.  I thought
> the base address you need to map at was an external requirement imposed
> by the PCH file that you cannot influence.  This is what I was trying
> to solve ...

Well, sort of an external requirement, since we set it when saving the PCH 
file and we have full control over it.

> Your test program still leaves it up to the OS to determine some
> arbitrary address for the mapping, which is not under your control.
> So you're saying that as long as you get that same address twice
> under the same circumstances that's fine with you, no matter what
> the address is?

Yes, that's how the PCH heuristics works, see:
http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00191.html

-- 
Eric Botcazou


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