https://bugs.kde.org/show_bug.cgi?id=366079

Petar Jovanovic <mips3...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mips3...@gmail.com

--- Comment #3 from Petar Jovanovic <mips3...@gmail.com> ---
(In reply to Aleksandar Rikalo from comment #1)
> Created attachment 100286 [details]
> Support for mips32 FPXX
> 
> With this patch, MIPS32 Valgrind compiled with -mfpxx can handle all types
> (regarding FP_ABI flag) of MIPS32 ELFs.
> 
> - Functions arch_elf_pt_proc() and arch_check_elf() are added to elf reader
> according to linux/fs/binfmt_elf.c from Linux 4.1;
> - Processing .MIPS.abiflags section and initializing appropriate FPU mode
> for MIPS32 are added;
> - Emulation of prctl(GET/SET_FP_MODE) sys-calls are implemented for MIPS32.
> 
> Applying the patch:
> patch -p1 < mips_fpxx_full_support.diff
> 
> The patch is tested on MIPS32 platforms with Linux 3.13 and 4.1.
> Also, there are no regressions on MIPS64.
> 
> Regtests need to be performed on other architectures.

The patch with minor modifications committed as:

VEX r3243.
Valgrind r15934.

Thank you.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to