diff --git a/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch b/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch index 3549e91efd074c3b0566cb57994b908a0cadcdd5..e3f116d9cb77eb2a21622cc4b69f41ec00815870 100644 --- a/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch +++ b/valgrind-Implement-linux-rseq-syscall-as-ENOSYS.patch @@ -177,7 +177,7 @@ index 6827964..507117b 100644 #define __NR_pkey_alloc 384 #define __NR_pkey_free 385 #define __NR_pkey_mprotect 386 -+#define __NR_pkey_rseq 387 ++#define __NR_rseq 387 #endif /* __VKI_SCNUMS_PPC64_LINUX_H */ diff --git a/valgrind.spec b/valgrind.spec index 259cdfab96b07fbf8eda47bad13a284c2a4b935a..95cdf85760d15e521b3461a3aeb05de5f4bfa106 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -10,10 +10,14 @@ %define arch_val arm64 %define arch_old_val %{nil} %endif +%ifarch ppc64le +%define arch_val ppc64le +%define arch_old_val %{nil} +%endif Name: valgrind Version: 3.16.0 -Release: 4 +Release: 5 Epoch: 1 Summary: An instrumentation framework for building dynamic analysis tools License: GPLv2+ @@ -102,6 +106,9 @@ popd %{_mandir}/man1/* %changelog +* Wed Jan 31 2024 peng.zou - 1:3.16.0-5 +- Add ppc64le support + * Thu Aug 25 2022 liyanan - 1:3.16.0-4 - Add BIND_NOW and PIE safe complie option