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

Aleksandar Rikalo <aleksandar.rik...@imgtec.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aleksandar.rik...@imgtec.co
                   |                            |m

--- Comment #1 from Aleksandar Rikalo <aleksandar.rik...@imgtec.com> ---
Created attachment 100286
  --> https://bugs.kde.org/attachment.cgi?id=100286&action=edit
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.

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

Reply via email to