]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2001-07-16 Philip Blundell <philb@gnu.org>
authorPhil Blundell <philb@gnu.org>
Mon, 16 Jul 2001 21:42:48 +0000 (21:42 +0000)
committerPhil Blundell <philb@gnu.org>
Mon, 16 Jul 2001 21:42:48 +0000 (21:42 +0000)
* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.

opcodes/ChangeLog
opcodes/arm-dis.c

index 4c7f07480869191d0d059611d447c79186cb4ef0..a3bacf99688d7b906a2cc097ebc1b1f0c8b293a8 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-16  Philip Blundell  <philb@gnu.org>
+
+       * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
+
 2001-07-03  Zoltan Hidvegi <hzoli@hzoli.2y.net>
 
        * ppc-opc.c: Fix encoding of 'clf' instruction.
index b90f820602f920617b7c9f5d2834bee7e3d8a4a9..eaebe34304e1a564b5945605df23891eb528453f 100644 (file)
@@ -201,7 +201,7 @@ print_insn_arm (pc, info, given)
                                offset = - offset;
                          
                              /* pre-indexed */
-                             func (stream, ", #%x]", offset);
+                             func (stream, ", #%d]", offset);
 
                              offset += pc + 8;
 
@@ -215,7 +215,7 @@ print_insn_arm (pc, info, given)
                          else
                            {
                              /* Post indexed.  */
-                             func (stream, "], #%x", offset);
+                             func (stream, "], #%d", offset);
 
                              offset = pc + 8;  /* ie ignore the offset.  */
                            }
@@ -280,7 +280,7 @@ print_insn_arm (pc, info, given)
                          if ((given & 0x00800000) == 0)
                            offset = -offset;
                          
-                         func (stream, "[pc, #%x]\t; ", offset);
+                         func (stream, "[pc, #%d]\t; ", offset);
                          
                          (*info->print_address_func)
                            (offset + pc + 8, info);