PCH support on Solaris

Ulrich Weigand weigand@immd1.informatik.uni-erlangen.de
Sat Apr 5 17:30:00 GMT 2003


Eric Botcazou wrote:

> Note that, in the patch I posted, I explicitly check that we have the 
> equality guess ==  mmi.preferred_base. And, according to the little test 
> program, this seems to be true:
> - if mmi.preferred_base is the preferred address returned by mmap(NULL, ...)
> - and the offset is zero.

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 ...

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?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Gcc-patches mailing list