PCH and exec-shield...
Mike Stump
mrs@apple.com
Wed Mar 17 18:49:00 GMT 2004
On Tuesday, March 16, 2004, at 06:51 PM, Ian Lance Taylor wrote:
> On PCH write, gcc swizzles pointers and also copies the hash tables to
> the PCH address. It seems to me that gcc could rehash the pointer
> values while copying the hash tables.
Minor nit, I don't believe we copy. We merely edit in place and write.
But yes, I suspect that could be done.
> So I still don't understand why we can't hash on pointer values.
I don't think it was meant that it is impossible, but that more code
would need to be written. Merely changing to use address, would be
wrong. Doing this and fixing it so that it would work fully, would be
fine.
More information about the Gcc
mailing list