Re: [PATCH] linux-user: Fix mips fp64 executables loading

2023-05-03 Thread Daniil Kovalev
mmy typo error occurred when copying that to qemu-user loader: this piece of code never changed in the linux kernel since initially committed, so this particular `else if` branch just seems to be forgotten when copying. Best regards, Daniil Kovalev

[PATCH] linux-user: Fix mips fp64 executables loading

2023-04-04 Thread Daniil Kovalev
If a program requires fr1, we should set the FR bit of CP0 control status register and add F64 hardware flag. The corresponding `else if` branch statement is copied from the linux kernel sources (see `arch_check_elf` function in linux/arch/mips/kernel/elf.c). Signed-off-by: Daniil Kovalev