Re: [PATCH] linux-user: warn if trying to use qemu-mipsn32[el] with non n32 ELF

2020-08-23 Thread Carlo Arenas
The differences of bit width and endianness are already being taken care of by the current code. The differences in ABI for ILP32 are the only ones missing and so the new version[1] (sorry, not a series since it makes sense as a single change anyway) should be enough to fix any inconsistencies.

Re: [PATCH] linux-user: warn if trying to use qemu-mipsn32[el] with non n32 ELF

2020-08-22 Thread Aleksandar Markovic
On Saturday, August 22, 2020, Laurent Vivier wrote: > Le 22/08/2020 à 00:28, Carlo Marcelo Arenas Belón a écrit : > > While technically compatible will (depending on the CPU) hopefully fail > > later with a cryptic error: > > > > qemu: Unexpected FPU mode > > > > Provide an earlier hint of

Re: [PATCH] linux-user: warn if trying to use qemu-mipsn32[el] with non n32 ELF

2020-08-22 Thread Laurent Vivier
Le 22/08/2020 à 00:28, Carlo Marcelo Arenas Belón a écrit : > While technically compatible will (depending on the CPU) hopefully fail > later with a cryptic error: > > qemu: Unexpected FPU mode > > Provide an earlier hint of what the problem might be by detecting if the > binary might not be

[PATCH] linux-user: warn if trying to use qemu-mipsn32[el] with non n32 ELF

2020-08-21 Thread Carlo Marcelo Arenas Belón
While technically compatible will (depending on the CPU) hopefully fail later with a cryptic error: qemu: Unexpected FPU mode Provide an earlier hint of what the problem might be by detecting if the binary might not be using the n32 ABI and print a warning. Signed-off-by: Carlo Marcelo Arenas