Add valgrind-3.10.0-aarch64-times.patch

This commit is contained in:
Mark Wielaard 2014-10-11 21:45:50 +02:00
parent 499cded4a1
commit b722ea0bf3
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,20 @@
diff --git a/coregrind/m_syswrap/syswrap-arm64-linux.c b/coregrind/m_syswrap/syswrap-arm64-linux.c
index e3f736b..dd13bda 100644
--- a/coregrind/m_syswrap/syswrap-arm64-linux.c
+++ b/coregrind/m_syswrap/syswrap-arm64-linux.c
@@ -953,6 +953,7 @@ static SyscallTableEntry syscall_main_table[] = {
LINX_(__NR_setresuid, sys_setresuid), // 147
LINXY(__NR_getresuid, sys_getresuid), // 148
LINXY(__NR_getresgid, sys_getresgid), // 150
+ GENXY(__NR_times, sys_times), // 153
GENX_(__NR_setpgid, sys_setpgid), // 154
GENX_(__NR_getpgid, sys_getpgid), // 155
GENXY(__NR_uname, sys_newuname), // 160
@@ -1068,7 +1069,6 @@ static SyscallTableEntry syscall_main_table[] = {
//ZZ
//ZZ GENX_(__NR_rmdir, sys_rmdir), // 40
//ZZ LINXY(__NR_pipe, sys_pipe), // 42
-//ZZ GENXY(__NR_times, sys_times), // 43
//ZZ // GENX_(__NR_prof, sys_ni_syscall), // 44
//ZZ LINX_(__NR_setgid, sys_setgid16), // 46

View File

@ -62,6 +62,9 @@ Patch4: valgrind-3.9.0-ldso-supp.patch
# https://bugs.kde.org/show_bug.cgi?id=278808#c6
Patch5: valgrind-3.10.0-old-ppc32-instr-magic.patch
# KDE#339853 arm64 times syscall unknown
Patch6: valgrind-3.10.0-aarch64-times.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
@ -165,6 +168,7 @@ Valgrind User Manual for details.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
# We need to use the software collection compiler and binutils if available.
@ -313,6 +317,9 @@ echo ===============END TESTING===============
%endif
%changelog
* Sat Oct 11 2014 Mark Wielaard <mjw@redhat.com>
- Add valgrind-3.10.0-aarch64-times.patch
* Mon Sep 15 2014 Mark Wielaard <mjw@redhat.com> - 3.10.0-3
- Add valgrind-3.10.0-old-ppc32-instr-magic.patch.