Blame SOURCES/valgrind-3.15.0-disable-s390x-z13.patch

2a1fab
diff -ur valgrind-3.14.0.orig/VEX/priv/guest_s390_helpers.c valgrind-3.14.0/VEX/priv/guest_s390_helpers.c
2a1fab
--- valgrind-3.14.0.orig/VEX/priv/guest_s390_helpers.c	2019-01-10 17:00:57.203206690 +0100
2a1fab
+++ valgrind-3.14.0/VEX/priv/guest_s390_helpers.c	2019-01-10 17:06:23.335253900 +0100
2a1fab
@@ -2469,7 +2469,7 @@
2a1fab
 /*--- Dirty helper for vector instructions                 ---*/
2a1fab
 /*------------------------------------------------------------*/
2a1fab
 
2a1fab
-#if defined(VGA_s390x)
2a1fab
+#if defined(VGA_s390x) && 0 /* disable for old binutils */
2a1fab
 ULong
2a1fab
 s390x_dirtyhelper_vec_op(VexGuestS390XState *guest_state,
2a1fab
                          const ULong serialized)
2a1fab
diff -ur valgrind-3.14.0.orig/none/tests/s390x/Makefile.am valgrind-3.14.0/none/tests/s390x/Makefile.am
2a1fab
--- valgrind-3.14.0.orig/none/tests/s390x/Makefile.am	2019-01-10 17:00:57.411202894 +0100
2a1fab
+++ valgrind-3.14.0/none/tests/s390x/Makefile.am	2019-01-10 17:10:28.963776813 +0100
2a1fab
@@ -18,8 +18,7 @@
2a1fab
 	     spechelper-cr  spechelper-clr  \
2a1fab
 	     spechelper-ltr spechelper-or   \
2a1fab
 	     spechelper-icm-1  spechelper-icm-2 spechelper-tmll \
2a1fab
-	     spechelper-tm laa vector lsc2 ppno vector_string vector_integer \
2a1fab
-	     vector_float
2a1fab
+	     spechelper-tm laa 
2a1fab
 
2a1fab
 if BUILD_DFP_TESTS
2a1fab
   INSN_TESTS += dfp-1 dfp-2 dfp-3 dfp-4 dfptest dfpext dfpconv srnmt pfpo
2a1fab
@@ -68,8 +67,3 @@
2a1fab
 fixbr_CFLAGS     = $(AM_CFLAGS) @FLAG_MLONG_DOUBLE_128@
2a1fab
 fpext_CFLAGS     = $(AM_CFLAGS) @FLAG_MLONG_DOUBLE_128@
2a1fab
 ex_clone_LDADD   = -lpthread
2a1fab
-vector_CFLAGS    = $(AM_CFLAGS) -march=z13
2a1fab
-lsc2_CFLAGS       = -march=z13 -DS390_TESTS_NOCOLOR
2a1fab
-vector_string_CFLAGS = $(AM_CFLAGS) -march=z13 -DS390_TEST_COUNT=5
2a1fab
-vector_integer_CFLAGS    = $(AM_CFLAGS) -march=z13 -DS390_TEST_COUNT=4
2a1fab
-vector_float_CFLAGS    = $(AM_CFLAGS) -march=z13 -DS390_TEST_COUNT=4