> Subject: [PATCH 0/6] target/mips: Add support for prctl() PR_GET_FP_MODE and > PR_SET_FP_MODE > > From: Stefan Markovic <smarko...@wavecomp.com> > > This series includes support for prctl() PR_GET_FP_MODE and PR_SET_FP_MODE. > This requires extracting MIPS.abiflags section from ELF file and fp_abi value > handling. > > Stefan Markovic (6): > Define MIPS_ABI_FP_UNKNOWN macro > Extend image_info struct with MIPS specific fp_abi and interp_fp_abi fields > Extract MIPS abiflags from ELF file > Read and set FP ABI value from MIPS abiflags > Determine the desired FPU mode > Add prctl() PR_SET_FP_MODE and PR_GET_FP_MODE implementations > > include/elf.h | 2 + > linux-user/elfload.c | 37 +++++++++++++++++++ > linux-user/mips/cpu_loop.c | 75 > ++++++++++++++++++++++++++++++++++++++ > linux-user/mips/target_syscall.h | 2 + > linux-user/mips64/target_syscall.h | 2 + > linux-user/qemu.h | 4 ++ > linux-user/syscall.c | 62 +++++++++++++++++++++++++++++-- > 7 files changed, 180 insertions(+), 4 deletions(-) > > -- > 1.9.1 >
Hi, Laurent, Here is a mini-series about a MIPS-specific linux-user feature. Its code is almost entirely either in MIPS-specific files or under "#ifdef MIPS" directives. I think it makes sense that I should be able to integrate them via MIPS queue. Please let me know if you object to this. You probably wonder why so much code for such obscure feature. The answer is that the solution needs to follow and mimic corresponding solution in MIPS-specific parts of the kernel, and its complexity is determined by that. Thanks, Aleksandar