[RFC] [PATCH] 32-bit pointers in x86-64

Paul Brook paul@codesourcery.com
Sun Nov 25 18:25:00 GMT 2007


> 7. Add support for loading x86-32 and x86-64 objects in the same
> address space, using a single modified 64-bit libc.

I'm not convinvinced this is practical, or even possible.  I'd expect the 
restrictions imposed on code to make it work properly to be too onerous for 
it to be of any real use. I recommend just having separate lp64 and ilp32 
modes, like e.g. mips does with n32/n64.

You can't use conventional 32-bit x86 code, so there seems little or no 
benefit in allowing 32 and 64-bit code to be mixed.

Paul



More information about the Binutils mailing list