summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2018-10-20 01:40:26 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-20 22:40:16 +0100
commitbc98a1e89dcd7b3f59f99e4382439d9028ba4db2 (patch)
tree30eacab721ada65088f863183221bbee51b8e34c /meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch
parentc4acf1b531843497297c492456daea1744400faa (diff)
downloadpoky-bc98a1e89dcd7b3f59f99e4382439d9028ba4db2.tar.gz
valgrind: update from 3.13.0 to 3.14.0
The removed patches are all upstream. Adjusted two patches due to rebase. Guard against __GLIBC_PREREQ for musl libc (From OE-Core rev: 37841ec56d7756ec9ee00e2a2005681b220f6f5d) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch87
1 files changed, 0 insertions, 87 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch b/meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch
deleted file mode 100644
index 51259db001..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/ppc-headers.patch
+++ /dev/null
@@ -1,87 +0,0 @@
1Backport a patch from upstream to fix test compilation for PPC where
2system headers don't get included.
3
4Upstream-Status: Backport
5Signed-off-by: Ross Burton <ross.burton@intel.com>
6
7r16450 | mjw | 2017-06-16 10:33:35 +0100 (Fri, 16 Jun 2017) | 7 lines
8
9ppc64 doesn't compile test_isa_2_06_partx.c without VSX support
10
11The #ifdef HAS_VSX guard is wrongly placed. It makes the standard
12include headers not be used. Causing a build failure. Fix by moving
13the #ifdef HAS_VSX after the standard includes.
14
15Index: none/tests/ppc32/test_isa_2_06_part3.c
16===================================================================
17--- a/none/tests/ppc32/test_isa_2_06_part3.c (revision 16449)
18+++ b/none/tests/ppc32/test_isa_2_06_part3.c (revision 16450)
19@@ -20,17 +20,18 @@
20 The GNU General Public License is contained in the file COPYING.
21 */
22
23-#ifdef HAS_VSX
24-
25 #include <stdio.h>
26 #include <stdint.h>
27 #include <stdlib.h>
28 #include <string.h>
29 #include <malloc.h>
30-#include <altivec.h>
31 #include <math.h>
32 #include <unistd.h> // getopt
33
34+#ifdef HAS_VSX
35+
36+#include <altivec.h>
37+
38 #ifndef __powerpc64__
39 typedef uint32_t HWord_t;
40 #else
41Index: none/tests/ppc32/test_isa_2_06_part1.c
42===================================================================
43--- a/none/tests/ppc32/test_isa_2_06_part1.c (revision 16449)
44+++ b/none/tests/ppc32/test_isa_2_06_part1.c (revision 16450)
45@@ -20,13 +20,14 @@
46 The GNU General Public License is contained in the file COPYING.
47 */
48
49-#ifdef HAS_VSX
50-
51 #include <stdio.h>
52 #include <stdint.h>
53 #include <stdlib.h>
54 #include <string.h>
55 #include <malloc.h>
56+
57+#ifdef HAS_VSX
58+
59 #include <altivec.h>
60
61 #ifndef __powerpc64__
62Index: none/tests/ppc32/test_isa_2_06_part2.c
63===================================================================
64--- a/none/tests/ppc32/test_isa_2_06_part2.c (revision 16449)
65+++ b/none/tests/ppc32/test_isa_2_06_part2.c (revision 16450)
66@@ -20,17 +20,18 @@
67 The GNU General Public License is contained in the file COPYING.
68 */
69
70-#ifdef HAS_VSX
71-
72 #include <stdio.h>
73 #include <stdint.h>
74 #include <stdlib.h>
75 #include <string.h>
76 #include <malloc.h>
77-#include <altivec.h>
78 #include <math.h>
79 #include <unistd.h> // getopt
80
81+#ifdef HAS_VSX
82+
83+#include <altivec.h>
84+
85 #ifndef __powerpc64__
86 typedef uint32_t HWord_t;
87 #else