diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch index eea671da0a..bde1241dc7 100644 --- a/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch +++ b/meta/recipes-devtools/valgrind/valgrind/s390x_vec_op_t.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 8154d38bac5cdb3675cfdaf562ab9da01988b263 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Fan Yu <yifan.yu@windriver.com> | ||
3 | Date: Wed, 17 Mar 2021 12:16:31 -0400 | ||
4 | Subject: [PATCH 19/20] remove s390x_vec_op_t | ||
5 | |||
1 | s390x_vec_op_t is not needed anywhere, only elements of enum are accessed | 6 | s390x_vec_op_t is not needed anywhere, only elements of enum are accessed |
2 | removing it ensures that valgrind can be built with -fno-common option | 7 | removing it ensures that valgrind can be built with -fno-common option |
3 | 8 | ||
@@ -6,14 +11,25 @@ ld: ../../VEX/libvex-amd64-linux.a(libvex_amd64_linux_a-guest_s390_helpers.o):/u | |||
6 | 11 | ||
7 | Upstream-Status: Pending | 12 | Upstream-Status: Pending |
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | |||
15 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | ||
16 | --- | ||
17 | VEX/priv/guest_s390_defs.h | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/VEX/priv/guest_s390_defs.h b/VEX/priv/guest_s390_defs.h | ||
21 | index 9054290..dab8002 100644 | ||
9 | --- a/VEX/priv/guest_s390_defs.h | 22 | --- a/VEX/priv/guest_s390_defs.h |
10 | +++ b/VEX/priv/guest_s390_defs.h | 23 | +++ b/VEX/priv/guest_s390_defs.h |
11 | @@ -286,7 +286,7 @@ enum { | 24 | @@ -284,7 +284,7 @@ typedef enum { |
12 | S390_VEC_OP_VFCHE = 18, | 25 | S390_VEC_OP_VBPERM, |
13 | S390_VEC_OP_VFTCI = 19, | 26 | S390_VEC_OP_VMSL, |
14 | S390_VEC_OP_LAST = 20 // supposed to be the last element in enum | 27 | S390_VEC_OP_LAST // supposed to be the last element in enum |
15 | -} s390x_vec_op_t; | 28 | -} s390x_vec_op_t; |
16 | +}; | 29 | +}; |
17 | 30 | ||
18 | /* Arguments of s390x_dirtyhelper_vec_op(...) which are packed into one | 31 | /* Arguments of s390x_dirtyhelper_vec_op(...) which are packed into one |
19 | ULong variable. | 32 | ULong variable. |
33 | -- | ||
34 | 2.29.2 | ||
35 | |||