Re: opcodes/arc: Implement style support in the disassembler
authorAlan Modra <amodra@gmail.com>
Wed, 20 Jul 2022 03:17:38 +0000 (12:47 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 20 Jul 2022 03:17:38 +0000 (12:47 +0930)
* arc-dis.c (print_insn_arc): Fix thinko.

opcodes/arc-dis.c

index dbaa96178a8e0f62782b00352992878d609fd1b2..3490bad4f66692ef32df5de478d6439df2cd6383 100644 (file)
@@ -1408,7 +1408,7 @@ print_insn_arc (bfd_vma memaddr,
                                              "%s", rname);
              else
                (*info->fprintf_styled_func) (info->stream, dis_style_immediate,
-                                             "%" PRIx32, value);
+                                             "%#x", value);
            }
        }