RFC: Add 32bit x86-64 support to binutils

Jan Beulich JBeulich@novell.com
Mon Jan 3 10:41:00 GMT 2011


>>> On 30.12.10 at 21:02, "H.J. Lu" <hjl.tools@gmail.com> wrote:
> 
> Here is the ILP32 psABI:
> 
> http://www.kernel.org/pub/linux/devel/binutils/ilp32/ 
> 

I think it is a gross misconception to tie the ABI to the ELF class of
an object. Specifying the ABI should imo be done via e_flags or
one of the unused bytes of e_ident, and in all reality the ELF class
should *only* affect the file layout (and 64-bit should never have
forbidden to use 32-bit ELF containers; similarly 64-bit ELF objects
may have uses for 32-bit architectures/ABIs, e.g. when debug
information exceeds the 4G boundary).

Jan



More information about the Binutils mailing list