From: Carl Love Date: Thu, 10 Feb 2022 17:01:06 +0000 (-0500) Subject: Powerpc: Fix typo in assembly code specification. X-Git-Tag: VALGRIND_3_19_0~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762dcd854a7103f29674132e5660c8bebf77d50d;p=thirdparty%2Fvalgrind.git Powerpc: Fix typo in assembly code specification. The extra 0 results in an assebler error: Error: junk at end of line, first unrecognized character is `x' --- diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c index 089acee649..7aa15133f5 100644 --- a/coregrind/m_machine.c +++ b/coregrind/m_machine.c @@ -1246,7 +1246,7 @@ Bool VG_(machine_get_hwcaps)( void ) if (VG_MINIMAL_SETJMP(env_unsup_insn)) { have_isa_3_0 = False; } else { - __asm__ __volatile__(".long 00x7f140434":::"r20"); /* cnttzw r20,r24 */ + __asm__ __volatile__(".long 0x7f140434":::"r20"); /* cnttzw r20,r24 */ } // ISA 3.1 not supported on 32-bit systems