Add valgrind-3.15.0-gcc-10-i686-asm-test.patch
This commit is contained in:
parent
51b48af1cb
commit
96a8c56679
20
valgrind-3.15.0-gcc-10-i686-asm-test.patch
Normal file
20
valgrind-3.15.0-gcc-10-i686-asm-test.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/none/tests/x86/incdec_alt.c b/none/tests/x86/incdec_alt.c
|
||||
index 2db324275..b8ff5c07e 100644
|
||||
--- a/none/tests/x86/incdec_alt.c
|
||||
+++ b/none/tests/x86/incdec_alt.c
|
||||
@@ -8,6 +8,7 @@ int r1,r2,r3,r4,r5,r6,r7,r8,a1,a2;
|
||||
|
||||
extern void foo ( void );
|
||||
asm("\n"
|
||||
+".text\n"
|
||||
VG_SYM(foo) ":\n"
|
||||
"\tpushl $0\n"
|
||||
"\tpopfl\n"
|
||||
@@ -49,6 +50,7 @@ VG_SYM(foo) ":\n"
|
||||
"\tpopl " VG_SYM(r8) "\n"
|
||||
|
||||
"\tret\n"
|
||||
+".previous\n"
|
||||
);
|
||||
|
||||
int main ( void )
|
@ -139,6 +139,9 @@ Patch20: valgrind-3.15.0-ptrace-siginfo.patch
|
||||
# RHBZ#1794482 guest_s390_defs.h:291: multiple definition of `s390x_vec_op_t'
|
||||
Patch21: valgrind-3.15.0-gcc-10-typedef-enum.patch
|
||||
|
||||
# GCC10 build error bad asm on i686
|
||||
Patch22: valgrind-3.15.0-gcc-10-i686-asm-test.patch
|
||||
|
||||
BuildRequires: glibc-devel
|
||||
|
||||
%if %{build_openmpi}
|
||||
@ -296,6 +299,7 @@ Valgrind User Manual for details.
|
||||
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -516,6 +520,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jan 24 2020 Mark Wielaard <mjw@fedoraproject.org>
|
||||
- Add valgrind-3.15.0-gcc-10-i686-asm-test.patch
|
||||
|
||||
* Thu Jan 23 2020 Mark Wielaard <mjw@fedoraproject.org> - 3.15.0-13
|
||||
- Add valgrind-3.15.0-gcc-10-typedef-enum.patch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user