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: Give a better error for PCH with exec-shield-randomize


Richard Henderson <rth@redhat.com> writes:

> It ought to be trivial for the 64-bit targets to just hard-code
> a host-specific value, e.g. 0x10000000000 for Alpha.

Yes.  Someone should do this.

> For x86, however, the memory map changes enough that I don't
> know that there is an algorithm that *always* works.  I might
> guess that Ian's "allocate a large block" approach is as good
> as any.

So, this raises the question: has anyone actually tried the approach
that host-darwin uses on x86?  What happened?

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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