On Wed, Feb 02, 2005 at 09:11:07AM -0600, Jerry James wrote:
What we really need to do is to find all the places where function
pointers are being dumped and make them be XD_OPAQUE_PTR_CONVERTIBLE
instead of whatever they are now.
They're not tagged at that point. Not a problem to add a tag for them
though, that will be happily ignored on sane cpus.
I am a tad afraid of the address randomazing craze that's currently
going on though.
We would also have to write the
encoding and decoding functions, but from what I've read so far, that
would not be exceptionally difficult.
There is a way to convert a function pointer from the pre-dump value
to the post-load one?
I'm willing to help with this, but I have no access to an IA64
box.
I'll commit OG's stuff later today so everybody can see it.
Remember that, unless you did it, half of it is untested.
OG.