This is the mail archive of the
mailing list for the GCC project.
Re: Give a better error for PCH with exec-shield-randomize
Richard Henderson <firstname.lastname@example.org> 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 <email@example.com>