|
From: Petar J. <pe...@so...> - 2018-09-04 21:27:28
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b99acd0ad87f03ee73ada34f36f952cd508b1a24 commit b99acd0ad87f03ee73ada34f36f952cd508b1a24 Author: Petar Jovanovic <mip...@gm...> Date: Tue Sep 4 21:20:39 2018 +0000 mips32: fix broken inline asm in helgrind/tests/tc08_hbl2.c Remove the duplicated L1xyzzy1main, and use local symbol to replace. This fixes KDE #396906. Patch by Hongxu Jia <hon...@wi...> Diff: --- helgrind/tests/tc08_hbl2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helgrind/tests/tc08_hbl2.c b/helgrind/tests/tc08_hbl2.c index 2a757a0..f660d82 100644 --- a/helgrind/tests/tc08_hbl2.c +++ b/helgrind/tests/tc08_hbl2.c @@ -121,12 +121,12 @@ #elif defined(PLAT_mips32_linux) || defined(PLAT_mips64_linux) # define INC(_lval,_lqual) \ __asm__ __volatile__ ( \ - "L1xyzzy1" _lqual":\n" \ + "1:\n" \ " move $t0, %0\n" \ " ll $t1, 0($t0)\n" \ " addiu $t1, $t1, 1\n" \ " sc $t1, 0($t0)\n" \ - " beqz $t1, L1xyzzy1" _lqual \ + " beqz $t1, 1b\n" \ : /*out*/ : /*in*/ "r"(&(_lval)) \ : /*trash*/ "t0", "t1", "memory" \ ) |