]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Powerpc: Fix typo in assembly code specification.
authorCarl Love <cel@us.ibm.com>
Thu, 10 Feb 2022 17:01:06 +0000 (12:01 -0500)
committerCarl Love <cel@us.ibm.com>
Thu, 10 Feb 2022 17:32:53 +0000 (17:32 +0000)
The extra 0 results in an assebler error:
    Error: junk at end of line, first unrecognized character is `x'

coregrind/m_machine.c

index 089acee649fef1b7debd8db8fec7170ad7fb2726..7aa15133f5b103385f98326efc9625f8c62c198e 100644 (file)
@@ -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