Add valgrind-3.11.0-ppc64-syscalls.patch

This commit is contained in:
Mark Wielaard 2016-05-30 23:12:06 +02:00
parent af085f4956
commit 00ada48919
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,40 @@
commit 9a51385e9d032e9f66076ce2c0f1343e4caeec21
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date: Mon May 30 20:16:04 2016 +0000
Bug 363714 ppc64 missing syscalls sync, waitid and name_to/open_by_handle_at
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15888 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
index 6d5713b..2a027f0 100644
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
@@ -821,7 +821,7 @@ static SyscallTableEntry syscall_table[] = {
// _____(__NR_nice, sys_nice), // 34
// _____(__NR_ftime, sys_ftime), // 35
-// _____(__NR_sync, sys_sync), // 36
+ GENX_(__NR_sync, sys_sync), // 36
GENX_(__NR_kill, sys_kill), // 37
GENX_(__NR_rename, sys_rename), // 38
GENX_(__NR_mkdir, sys_mkdir), // 39
@@ -1102,7 +1102,7 @@ static SyscallTableEntry syscall_table[] = {
LINX_(__NR_request_key, sys_request_key), // 270
LINXY(__NR_keyctl, sys_keyctl), // 271
-// _____(__NR_waitid, sys_waitid), // 272
+ LINXY(__NR_waitid, sys_waitid), // 272
LINX_(__NR_ioprio_set, sys_ioprio_set), // 273
LINX_(__NR_ioprio_get, sys_ioprio_get), // 274
@@ -1170,7 +1170,8 @@ static SyscallTableEntry syscall_table[] = {
LINXY(__NR_recvmsg, sys_recvmsg), // 342
LINXY(__NR_recvmmsg, sys_recvmmsg), // 343
LINXY(__NR_accept4, sys_accept4), // 344
-
+ LINXY(__NR_name_to_handle_at, sys_name_to_handle_at),// 345
+ LINXY(__NR_open_by_handle_at, sys_open_by_handle_at),// 346
LINXY(__NR_clock_adjtime, sys_clock_adjtime), // 347
LINX_(__NR_syncfs, sys_syncfs), // 348
LINXY(__NR_sendmmsg, sys_sendmmsg), // 349

View File

@ -166,6 +166,9 @@ Patch38: valgrind-3.11.0-ppc64-vgdb-vr-regs.patch
# KDE#363705 arm64 missing syscall name_to_handle_at and open_by_handle_at
Patch39: valgrind-3.11.0-arm64-handle_at.patch
# KDE#363714 ppc64 missing syscalls sync, waitid and name_to/open_by_handle_at
Patch40: valgrind-3.11.0-ppc64-syscalls.patch
%if %{build_multilib}
# Ensure glibc{,-devel} is installed for both multilib arches
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
@ -313,6 +316,7 @@ chmod 755 memcheck/tests/arm64-linux/filter_stderr
%patch37 -p1
%patch38 -p1
%patch39 -p1
%patch40 -p1
%build
# We need to use the software collection compiler and binutils if available.
@ -507,6 +511,7 @@ echo ===============END TESTING===============
%changelog
* Mon May 30 2016 Mark Wielaard <mjw@redhat.com>
- Add valgrind-3.11.0-arm64-handle_at.patch
- Add valgrind-3.11.0-ppc64-syscalls.patch
* Fri Apr 29 2016 Mark Wielaard <mjw@redhat.com> - 3.11.0-21
- Add valgrind-3.11.0-deduppoolalloc.patch