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

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