Re: [PATCH v2] linux-user: detect mismatched ELF ABI in qemu-mips[n32][el]

2020-08-24 Thread Laurent Vivier
Le 23/08/2020 à 12:17, Carlo Marcelo Arenas Belón a écrit : > MIPS provides 2 ILP32 ABIs, and therefore 4 possible qemu-mips binaries > with 2 pairs using the same endianess and bitness. > > This could lead to an O32 image loading in the N32 binary or vice versa > and in cryptic errors (if lucky t

Re: [PATCH v2] linux-user: detect mismatched ELF ABI in qemu-mips[n32][el]

2020-08-23 Thread Laurent Vivier
Le 23/08/2020 à 12:17, Carlo Marcelo Arenas Belón a écrit : > MIPS provides 2 ILP32 ABIs, and therefore 4 possible qemu-mips binaries > with 2 pairs using the same endianess and bitness. > > This could lead to an O32 image loading in the N32 binary or vice versa > and in cryptic errors (if lucky t

[PATCH v2] linux-user: detect mismatched ELF ABI in qemu-mips[n32][el]

2020-08-23 Thread Carlo Marcelo Arenas Belón
MIPS provides 2 ILP32 ABIs, and therefore 4 possible qemu-mips binaries with 2 pairs using the same endianess and bitness. This could lead to an O32 image loading in the N32 binary or vice versa and in cryptic errors (if lucky that the CPU doesn't match the FPU used) like : qemu: Unexpected FPU