]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips: pass 7th argument in syscalls
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 13 Aug 2019 12:19:30 +0000 (12:19 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 13 Aug 2019 12:20:38 +0000 (12:20 +0000)
commit9d1b64dd4d5da843fe7a74caa4f86bc672b0eb33
tree884715ce032248427b4ba2e78e0ec45179875a74
parentd830990cd9391f2e4f995d01d00e3d75d09ea238
mips: pass 7th argument in syscalls

Only arg1 to arg6 have been passed down to kernel for syscalls.
This patch ensures that arg7 is also passed down for syscalls.
In addition to this, ensure that we have 16-byte aligned stack during
mips64 syscall.

Along with the change for sync_file_range, this will fix sync_file_range01
failure within LTP test suite.

Patch by Nikola Milutinovic.
coregrind/m_syscall.c
coregrind/m_syswrap/priv_types_n_macros.h
coregrind/m_syswrap/syscall-mips32-linux.S
coregrind/m_syswrap/syscall-mips64-linux.S
coregrind/m_syswrap/syswrap-main.c