xemu/linux-user/mips
Daniil Kovalev 95cb7a7255 linux-user: Fix mips fp64 executables loading
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 <dkovalev@compiler-toolchain-for.me>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20230404052153.16617-1-dkovalev@compiler-toolchain-for.me>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
(cherry picked from commit a0f8d2701b205d9d7986aa555e0566b13dc18fa0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-05-18 21:09:59 +03:00
..
cpu_loop.c linux-user: Fix mips fp64 executables loading 2023-05-18 21:09:59 +03:00
meson.build meson: linux-user 2020-08-21 06:30:38 -04:00
signal.c linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN 2021-12-19 20:47:33 -08:00
sockbits.h linux-user: add TARGET_SO_{DOMAIN,PROTOCOL} 2021-02-13 22:50:50 +01:00
syscall-args-o32.c.inc linux-user, mips: update syscall-args-o32.c.inc to Linux v5.13 2021-07-13 13:59:59 +02:00
syscall_nr.h meson: linux-user 2020-08-21 06:30:38 -04:00
syscall_o32.tbl linux-user: update syscall.tbl to Linux v5.13 2021-07-13 13:59:59 +02:00
syscallhdr.sh linux-user, mips: add syscall table generation support 2020-03-20 16:02:00 +01:00
target_cpu.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_elf.h linux-user/mips: Recognize the R5900 CPU model 2018-10-24 15:20:31 +02:00
target_errno_defs.h linux-user/mips: Move errno definitions to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
target_fcntl.h linux-user: Introduce TARGET_HAVE_ARCH_STRUCT_FLOCK 2019-07-02 16:56:46 +02:00
target_mman.h linux-user: Provide MADV_* definitions 2022-09-27 09:30:09 +02:00
target_prctl.h linux-user: Split out do_prctl and subroutines 2022-01-06 11:40:52 +01:00
target_resource.h linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h 2022-02-01 08:01:38 +01:00
target_signal.h linux-user: Remove TARGET_SIGSTKSZ 2022-01-06 11:40:52 +01:00
target_structs.h linux user: Fix Lesser GPL version number 2020-11-15 16:41:26 +01:00
target_syscall.h linux-user: Split out do_prctl and subroutines 2022-01-06 11:40:52 +01:00
termbits.h linux-user: Add missing termbits types and values definitions 2020-08-27 12:29:50 +02:00