Prevent double dumping of raw thumb instructions.
authorNick Clifton <nickc@redhat.com>
Tue, 25 Jan 2000 22:10:13 +0000 (22:10 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 25 Jan 2000 22:10:13 +0000 (22:10 +0000)
opcodes/ChangeLog
opcodes/arm-dis.c

index 30886d4393d230c4c4e6382b3083c9ac4533e3d3..b0a526bf805aaa408355cf416412922db01c21e4 100644 (file)
@@ -1,3 +1,8 @@
+2000-01-25  Thomas de Lellis  <tdel@windriver.com>
+
+       * arm-dis.c (printf_insn_thumb): Prevent double dumping
+        of raw thumb instructions.
+
 2000-01-20  Nick Clifton  <nickc@cygnus.com>
 
        * mcore-opc.h (mcore_table): Add "add" as an alias for "addu".
index 4a1dc237856355b1e9885374e93709e30ad94f88..fe662edb4648c54e2cc12b4ed5c264319af47a3c 100644 (file)
@@ -590,7 +590,7 @@ print_insn_thumb (pc, info, given)
              info->bytes_per_chunk = 4;
              info->bytes_per_line  = 4;
              
-              func (stream, "%04x\tbl\t", given & 0xffff);
+              func (stream, "bl\t");
               (*info->print_address_func)
                 (BDISP23 (given) * 2 + pc + 4, info);
               return 4;
@@ -601,8 +601,7 @@ print_insn_thumb (pc, info, given)
              info->bytes_per_line  = 4;
                      
               given &= 0xffff;
-              func (stream, "%04x\t", given);
-             
+
               for (; *c; c++)
                 {
                   if (*c == '%')