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

2023-05-03 Thread Daniil Kovalev
Hello, On Tue, 2 May 2023 14:41:31 +0300 Michael Tokarev wrote: > Is it a -stable material? Yes, this `else if` branch is present in the latest linux-stable. It was actually introduced in 46490b572544fa908be051f7872beb2941e55ede in 2015 and never changed since then. I suppose that just a dummy

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

2023-05-02 Thread Michael Tokarev
04.04.2023 08:21, Daniil Kovalev Wrote: 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

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

2023-05-02 Thread Laurent Vivier
Le 04/04/2023 à 07:21, Daniil Kovalev a écrit : 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/kern

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

2023-04-05 Thread Jiaxun Yang
> 2023年4月4日 06:21,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

[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 --- li