summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch35
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.10.1.bb1
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch
new file mode 100644
index 0000000000..56bb5f55fe
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch
@@ -0,0 +1,35 @@
1From 1a8006f56342dae9f7100a3c33d80873676e0404 Mon Sep 17 00:00:00 2001
2From: Li Zhou <li.zhou@windriver.com>
3Date: Mon, 24 Aug 2015 03:55:18 -0400
4Subject: [PATCH] valgrind: Enable rt_sigpending syscall on ppc64 linux
5
6New Revision: 15133
7Enable rt_sigpending syscall on ppc64 linux.
8Patch from Thomas Huth <thuth@redhat.com>
9
10Get the patch from valgrind upstream:
11http://valgrind.10908.n7.nabble.com/Valgrind-r15133-in-trunk-NEWS-coregrind-m-syswrap-syswrap-ppc64-linux-c-td54589.html
12
13Upstream-Status: backport
14
15Signed-off-by: Li Zhou <li.zhou@windriver.com>
16---
17 coregrind/m_syswrap/syswrap-ppc64-linux.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
21index 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
27
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
33--
341.9.1
35
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
index 537d7c8b93..86ba979ea8 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
@@ -25,6 +25,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
25 file://add-ptest.patch \ 25 file://add-ptest.patch \
26 file://pass-maltivec-only-if-it-supported.patch \ 26 file://pass-maltivec-only-if-it-supported.patch \
27 file://run-ptest \ 27 file://run-ptest \
28 file://0001-valgrind-Enable-rt_sigpending-syscall-on-ppc64-linux.patch \
28 " 29 "
29 30
30SRC_URI[md5sum] = "60ddae962bc79e7c95cfc4667245707f" 31SRC_URI[md5sum] = "60ddae962bc79e7c95cfc4667245707f"