On 2/25/25 04:58, Peter Maydell wrote:
On Tue, 25 Feb 2025 at 12:44, Marek Szyprowski <[email protected]> wrote:
This patch adds support for the AARCH64 ILP32 ABI [1] to the QEMU
linux-user AARCH64 port.
The ILP32 ABI was initially developed quite some time ago [2] to
facilitate porting legacy code to the new AARCH64 architecture. However,
it appears that most legacy code is still used as ARMv7 (ARM 32-bit)
binaries, running on ARM 64-bit CPUs through the 32-bit EL0 compatibility
feature of those CPUs. As a result, the ILP32 ABI has not been widely
adopted.
Firm "no" on adding this to the QEMU linux-user mode emulation
until/unless the ILP32 ABI is supported in mainline Linux
kernels, I'm afraid (which I do not expect it ever will be).
The partial support for aarch64 ilp32 that was added to glibc is being removed now. It
brought up the conversation about removing ilp32 support from gcc + binutils in the next
gcc development cycle.
r~