qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Revert "elf: Relax MIPS' elf_check_arch() to accept EM_NANOM


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] Revert "elf: Relax MIPS' elf_check_arch() to accept EM_NANOMIPS too"
Date: Tue, 2 Nov 2021 14:34:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 11/1/21 23:04, Philippe Mathieu-Daudé wrote:
> On 11/1/21 22:40, Vince Del Vecchio wrote:
>> Philippe said:
>>
>>> So far QEMU only support the MIPS o32 / n32 / n64 ABIs. The p32 ABI is not 
>>> implemented, therefore we can not run any nanoMIPS binary.
>>
>> We use it internally to run nanoMIPS binaries every day.  I had thought 
>> everything relevant was completed and upstreamed, but perhaps there is a gap 
>> somewhere.  Let us investigate a little and get back to you.
> 
> I could wait few days until QEMU hard freeze and queue this patch as a
> bug fix, but I doubt there is much you can do in that time frame, since
> tomorrow is the soft freeze deadline.
> 
> Here I am simply changing the code to reject p32 binaries to avoid
> users to waste their time trying to run a nanoMIPS binary. I am not
> removing any of the nanoMIPS emulation code.

Patch queued to mips-next.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]