This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add support for ia16
On Tue, 4 Apr 2017, Jan Beulich wrote:
> x86-64 has the x32 sub-mode, but that is (bogusly imo) indicated
> by using a 32-bit ELF instead of the default 64-bit ELF one.
FWIW I find the choice of ELF32 correct for an ABI (such as the x86-64
target's x32 ABI I believe is) that has a 32-bit pointer size, as all ELF
structures are then consistently 32-bit as well; and as a side effect you
also have no technical means to request an invalid address space mapping.
The same choice has been also earlier made for the MIPS target's n32 ABI.
Maciej