Blame SOURCES/valgrind-3.13.0-ppc64-check-no-vsx.patch

b895e3
commit 326d53c8378984c50f29bd124d3f2b4a1242306c
b895e3
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
b895e3
Date:   Fri Jun 16 09:33:35 2017 +0000
b895e3
b895e3
    ppc64 doesn't compile test_isa_2_06_partx.c without VSX support
b895e3
    
b895e3
    The #ifdef HAS_VSX guard is wrongly placed. It makes the standard
b895e3
    include headers not be used. Causing a build failure. Fix by moving
b895e3
    the #ifdef HAS_VSX after the standard includes.
b895e3
    
b895e3
    https://bugs.kde.org/show_bug.cgi?id=381272
b895e3
    
b895e3
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16450 a5019735-40e9-0310-863c-91ae7b9d1cf9
b895e3
b895e3
diff --git a/none/tests/ppc32/test_isa_2_06_part1.c b/none/tests/ppc32/test_isa_2_06_part1.c
b895e3
index 7cd4930..7a14c6d 100644
b895e3
--- a/none/tests/ppc32/test_isa_2_06_part1.c
b895e3
+++ b/none/tests/ppc32/test_isa_2_06_part1.c
b895e3
@@ -20,13 +20,14 @@
b895e3
  The GNU General Public License is contained in the file COPYING.
b895e3
  */
b895e3
 
b895e3
-#ifdef HAS_VSX
b895e3
-
b895e3
 #include <stdio.h>
b895e3
 #include <stdint.h>
b895e3
 #include <stdlib.h>
b895e3
 #include <string.h>
b895e3
 #include <malloc.h>
b895e3
+
b895e3
+#ifdef HAS_VSX
b895e3
+
b895e3
 #include <altivec.h>
b895e3
 
b895e3
 #ifndef __powerpc64__
b895e3
diff --git a/none/tests/ppc32/test_isa_2_06_part2.c b/none/tests/ppc32/test_isa_2_06_part2.c
b895e3
index c7bf4fe..2ee7b53 100644
b895e3
--- a/none/tests/ppc32/test_isa_2_06_part2.c
b895e3
+++ b/none/tests/ppc32/test_isa_2_06_part2.c
b895e3
@@ -20,17 +20,18 @@
b895e3
  The GNU General Public License is contained in the file COPYING.
b895e3
  */
b895e3
 
b895e3
-#ifdef HAS_VSX
b895e3
-
b895e3
 #include <stdio.h>
b895e3
 #include <stdint.h>
b895e3
 #include <stdlib.h>
b895e3
 #include <string.h>
b895e3
 #include <malloc.h>
b895e3
-#include <altivec.h>
b895e3
 #include <math.h>
b895e3
 #include <unistd.h>    // getopt
b895e3
 
b895e3
+#ifdef HAS_VSX
b895e3
+
b895e3
+#include <altivec.h>
b895e3
+
b895e3
 #ifndef __powerpc64__
b895e3
 typedef uint32_t HWord_t;
b895e3
 #else
b895e3
diff --git a/none/tests/ppc32/test_isa_2_06_part3.c b/none/tests/ppc32/test_isa_2_06_part3.c
b895e3
index 8c74c09..5ebc1a5 100644
b895e3
--- a/none/tests/ppc32/test_isa_2_06_part3.c
b895e3
+++ b/none/tests/ppc32/test_isa_2_06_part3.c
b895e3
@@ -20,17 +20,18 @@
b895e3
  The GNU General Public License is contained in the file COPYING.
b895e3
  */
b895e3
 
b895e3
-#ifdef HAS_VSX
b895e3
-
b895e3
 #include <stdio.h>
b895e3
 #include <stdint.h>
b895e3
 #include <stdlib.h>
b895e3
 #include <string.h>
b895e3
 #include <malloc.h>
b895e3
-#include <altivec.h>
b895e3
 #include <math.h>
b895e3
 #include <unistd.h>    // getopt
b895e3
 
b895e3
+#ifdef HAS_VSX
b895e3
+
b895e3
+#include <altivec.h>
b895e3
+
b895e3
 #ifndef __powerpc64__
b895e3
 typedef uint32_t HWord_t;
b895e3
 #else
b895e3
b895e3
diff --git a/none/tests/ppc64/test_isa_2_06_part1.c b/none/tests/ppc64/test_isa_2_06_part1.c
b895e3
index 7cd4930..7a14c6d 100644
b895e3
--- a/none/tests/ppc64/test_isa_2_06_part1.c
b895e3
+++ b/none/tests/ppc64/test_isa_2_06_part1.c
b895e3
@@ -20,13 +20,14 @@
b895e3
  The GNU General Public License is contained in the file COPYING.
b895e3
  */
b895e3
 
b895e3
-#ifdef HAS_VSX
b895e3
-
b895e3
 #include <stdio.h>
b895e3
 #include <stdint.h>
b895e3
 #include <stdlib.h>
b895e3
 #include <string.h>
b895e3
 #include <malloc.h>
b895e3
+
b895e3
+#ifdef HAS_VSX
b895e3
+
b895e3
 #include <altivec.h>
b895e3
 
b895e3
 #ifndef __powerpc64__
b895e3
diff --git a/none/tests/ppc64/test_isa_2_06_part2.c b/none/tests/ppc64/test_isa_2_06_part2.c
b895e3
index c7bf4fe..2ee7b53 100644
b895e3
--- a/none/tests/ppc64/test_isa_2_06_part2.c
b895e3
+++ b/none/tests/ppc64/test_isa_2_06_part2.c
b895e3
@@ -20,17 +20,18 @@
b895e3
  The GNU General Public License is contained in the file COPYING.
b895e3
  */
b895e3
 
b895e3
-#ifdef HAS_VSX
b895e3
-
b895e3
 #include <stdio.h>
b895e3
 #include <stdint.h>
b895e3
 #include <stdlib.h>
b895e3
 #include <string.h>
b895e3
 #include <malloc.h>
b895e3
-#include <altivec.h>
b895e3
 #include <math.h>
b895e3
 #include <unistd.h>    // getopt
b895e3
 
b895e3
+#ifdef HAS_VSX
b895e3
+
b895e3
+#include <altivec.h>
b895e3
+
b895e3
 #ifndef __powerpc64__
b895e3
 typedef uint32_t HWord_t;
b895e3
 #else
b895e3
diff --git a/none/tests/ppc64/test_isa_2_06_part3.c b/none/tests/ppc64/test_isa_2_06_part3.c
b895e3
index 8c74c09..5ebc1a5 100644
b895e3
--- a/none/tests/ppc64/test_isa_2_06_part3.c
b895e3
+++ b/none/tests/ppc64/test_isa_2_06_part3.c
b895e3
@@ -20,17 +20,18 @@
b895e3
  The GNU General Public License is contained in the file COPYING.
b895e3
  */
b895e3
 
b895e3
-#ifdef HAS_VSX
b895e3
-
b895e3
 #include <stdio.h>
b895e3
 #include <stdint.h>
b895e3
 #include <stdlib.h>
b895e3
 #include <string.h>
b895e3
 #include <malloc.h>
b895e3
-#include <altivec.h>
b895e3
 #include <math.h>
b895e3
 #include <unistd.h>    // getopt
b895e3
 
b895e3
+#ifdef HAS_VSX
b895e3
+
b895e3
+#include <altivec.h>
b895e3
+
b895e3
 #ifndef __powerpc64__
b895e3
 typedef uint32_t HWord_t;
b895e3
 #else