diff options
author | Maurice van der Pot <griffon26@gentoo.org> | 2008-08-13 20:29:40 +0000 |
---|---|---|
committer | Maurice van der Pot <griffon26@gentoo.org> | 2008-08-13 20:29:40 +0000 |
commit | 41d8c9abaf8f9519330c89d84bf3c6f321767852 (patch) | |
tree | 05d71d7a0f0fadf7cb499e354a7a6fd3a34a5182 /dev-util/valgrind/files | |
parent | Respect LDFLAGS, bug #181792 (diff) | |
download | gentoo-2-41d8c9abaf8f9519330c89d84bf3c6f321767852.tar.gz gentoo-2-41d8c9abaf8f9519330c89d84bf3c6f321767852.tar.bz2 gentoo-2-41d8c9abaf8f9519330c89d84bf3c6f321767852.zip |
Fix error during compilation of tests for valgrind (bug #234644)
(Portage version: 2.2_rc3/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'dev-util/valgrind/files')
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.3.1-local-labels.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/valgrind/files/valgrind-3.3.1-local-labels.patch b/dev-util/valgrind/files/valgrind-3.3.1-local-labels.patch new file mode 100644 index 000000000000..82b86b731b38 --- /dev/null +++ b/dev-util/valgrind/files/valgrind-3.3.1-local-labels.patch @@ -0,0 +1,37 @@ +diff -ruN valgrind-3.3.1/none/tests/x86/jcxz.c valgrind-3.3.1-fixed/none/tests/x86/jcxz.c +--- valgrind-3.3.1/none/tests/x86/jcxz.c 2008-06-01 03:38:58.000000000 +0200 ++++ valgrind-3.3.1-fixed/none/tests/x86/jcxz.c 2008-08-13 22:18:42.000000000 +0200 +@@ -11,12 +11,12 @@ + __asm__ __volatile__( + "movl %0,%%ecx\n\t" + "movl $0,%%eax\n" +- ".Lxyzzy1:\n\t" +- "jcxz .Lfoobar1\n\t" ++ "0:\n\t" ++ "jcxz 1f\n\t" + "addl $1, %%eax\n\t" + "subl $1, %%ecx\n\t" +- "jmp .Lxyzzy1\n" +- ".Lfoobar1:\n\t" ++ "jmp 0b\n" ++ "1:\n\t" + "movl %%eax, %1" + : /*out*/ : /*in*/ "m"(block[0]), + "m"(block[1]) : /*trash*/ "eax","ecx","cc","memory" +@@ -32,12 +32,12 @@ + __asm__ __volatile__( + "movl %0,%%ecx\n\t" + "movl $0,%%eax\n" +- ".Lxyzzy2:\n\t" +- "jecxz .Lfoobar2\n\t" ++ "0:\n\t" ++ "jecxz 1f\n\t" + "addl $1, %%eax\n\t" + "subl $1, %%ecx\n\t" +- "jmp .Lxyzzy2\n" +- ".Lfoobar2:\n\t" ++ "jmp 0b\n" ++ "1:\n\t" + "movl %%eax, %1" + : /*out*/ : /*in*/ "m"(block[0]), + "m"(block[1]) : /*trash*/ "eax","ecx","cc","memory" |