3.10.1-7 Add valgrind-3.10-1-ppc64-sigpending.patch

This commit is contained in:
Mark Wielaard 2015-04-22 17:39:50 +02:00
parent 0bbad02c77
commit 134e3d9341
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,23 @@
commit b389b1806babbbf54cf92fe4c34c855a070a3cf4
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Date: Wed Apr 22 15:29:03 2015 +0000
Enable rt_sigpending syscall on ppc64 linux.
Patch from Thomas Huth <thuth@redhat.com>
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15133 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
index ba4116d..6f3c1f7 100644
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
@@ -988,7 +988,7 @@ static SyscallTableEntry syscall_table[] = {
LINXY(__NR_rt_sigaction, sys_rt_sigaction), // 173
LINXY(__NR_rt_sigprocmask, sys_rt_sigprocmask), // 174
-// _____(__NR_rt_sigpending, sys_rt_sigpending), // 175
+ LINXY(__NR_rt_sigpending, sys_rt_sigpending), // 175
LINXY(__NR_rt_sigtimedwait, sys_rt_sigtimedwait), // 176
LINXY(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo), // 177
LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 178

View File

@ -3,7 +3,7 @@
Summary: Tool for finding memory management bugs in programs
Name: %{?scl_prefix}valgrind
Version: 3.10.1
Release: 6%{?dist}
Release: 7%{?dist}
Epoch: 1
License: GPLv2+
URL: http://www.valgrind.org/
@ -80,6 +80,9 @@ Patch9: valgrind-3.10.1-send-recv-mmsg.patch
# Upstream valgrind svn r14530
Patch10: valgrind-3.10.1-glibc-version-check.patch
# Upstream valgrind svn r15133
Patch11: valgrind-3.10-1-ppc64-sigpending.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
@ -188,6 +191,7 @@ Valgrind User Manual for details.
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%build
# We need to use the software collection compiler and binutils if available.
@ -336,6 +340,9 @@ echo ===============END TESTING===============
%endif
%changelog
* Wed Apr 22 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-7
- Add valgrind-3.10-1-ppc64-sigpending.patch
* Wed Feb 18 2015 Mark Wielaard <mjw@redhat.com> - 3.10.1-6
- Add valgrind-3.10.1-send-recv-mmsg.patch
- Add mount and umount2 to valgrind-3.10.1-aarch64-syscalls.patch.