1 From 1a8006f56342dae9f7100a3c33d80873676e0404 Mon Sep 17 00:00:00 2001
2 From: Li Zhou <li.zhou@windriver.com>
3 Date: Mon, 24 Aug 2015 03:55:18 -0400
4 Subject: [PATCH] valgrind: Enable rt_sigpending syscall on ppc64 linux
7 Enable rt_sigpending syscall on ppc64 linux.
8 Patch from Thomas Huth <thuth@redhat.com>
10 Get the patch from valgrind upstream:
11 http://valgrind.10908.n7.nabble.com/Valgrind-r15133-in-trunk-NEWS-coregrind-m-syswrap-syswrap-ppc64-linux-c-td54589.html
13 Upstream-Status: backport
15 Signed-off-by: Li Zhou <li.zhou@windriver.com>
17 coregrind/m_syswrap/syswrap-ppc64-linux.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
21 index 5946ee1..8aaa1d7 100644
22 --- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
23 +++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
24 @@ -887,7 +887,7 @@ static SyscallTableEntry syscall_table[] = {
25 LINXY(__NR_rt_sigaction, sys_rt_sigaction), // 173
26 LINXY(__NR_rt_sigprocmask, sys_rt_sigprocmask), // 174
28 -// _____(__NR_rt_sigpending, sys_rt_sigpending), // 175
29 + LINXY(__NR_rt_sigpending, sys_rt_sigpending), // 175
30 LINXY(__NR_rt_sigtimedwait, sys_rt_sigtimedwait), // 176
31 LINXY(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo), // 177
32 LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 178