* ms1.opc (print_dollarhex): Correct format string.
authorAlan Modra <amodra@gmail.com>
Thu, 14 Jul 2005 13:59:51 +0000 (13:59 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 14 Jul 2005 13:59:51 +0000 (13:59 +0000)
cpu/ChangeLog
cpu/ms1.opc

index f83e869b1cd1411e12aafc7dfabe51d9e2c28773..d62ab5a3385fffb2efa31cce0e5ebe6e5cd2969c 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * ms1.opc (print_dollarhex): Correct format string.
+
 2005-07-06  Alan Modra  <amodra@bigpond.net.au>
 
        * iq2000.cpu: Include from binutils cpu dir.
        media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd,
        cmhtob): Use new operands.
        * frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define.
-        (parse_even_register): New function.
+       (parse_even_register): New function.
 
 2003-06-03  Nick Clifton  <nickc@redhat.com>
 
index f61de6cd3d9c7b16bdd3ef1e386dfcfac1452ba0..3655f14d458ef219816a0a904ca9323e446db189 100644 (file)
@@ -422,7 +422,7 @@ print_dollarhex (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
 {
   disassemble_info *info = (disassemble_info *) dis_info;
 
-  info->fprintf_func (info->stream, "$%x", value);
+  info->fprintf_func (info->stream, "$%lx", value);
 
   if (0)
     print_normal (cd, dis_info, value, attrs, pc, length);