Blame valgrind-3.15.0-gcc-10-i686-asm-test.patch
|
Mark Wielaard |
96a8c5 |
diff --git a/none/tests/x86/incdec_alt.c b/none/tests/x86/incdec_alt.c
|
|
Mark Wielaard |
96a8c5 |
index 2db324275..b8ff5c07e 100644
|
|
Mark Wielaard |
96a8c5 |
--- a/none/tests/x86/incdec_alt.c
|
|
Mark Wielaard |
96a8c5 |
+++ b/none/tests/x86/incdec_alt.c
|
|
Mark Wielaard |
96a8c5 |
@@ -8,6 +8,7 @@ int r1,r2,r3,r4,r5,r6,r7,r8,a1,a2;
|
|
Mark Wielaard |
96a8c5 |
|
|
Mark Wielaard |
96a8c5 |
extern void foo ( void );
|
|
Mark Wielaard |
96a8c5 |
asm("\n"
|
|
Mark Wielaard |
96a8c5 |
+".text\n"
|
|
Mark Wielaard |
96a8c5 |
VG_SYM(foo) ":\n"
|
|
Mark Wielaard |
96a8c5 |
"\tpushl $0\n"
|
|
Mark Wielaard |
96a8c5 |
"\tpopfl\n"
|
|
Mark Wielaard |
96a8c5 |
@@ -49,6 +50,7 @@ VG_SYM(foo) ":\n"
|
|
Mark Wielaard |
96a8c5 |
"\tpopl " VG_SYM(r8) "\n"
|
|
Mark Wielaard |
96a8c5 |
|
|
Mark Wielaard |
96a8c5 |
"\tret\n"
|
|
Mark Wielaard |
96a8c5 |
+".previous\n"
|
|
Mark Wielaard |
96a8c5 |
);
|
|
Mark Wielaard |
96a8c5 |
|
|
Mark Wielaard |
96a8c5 |
int main ( void )
|