diff options
author | Phil Blundell <philb@gnu.org> | 2001-07-16 19:04:31 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-07-16 19:04:31 +0000 |
commit | 655b853c0328513a38359b8c14fe14a073c382cb (patch) | |
tree | 8baffca86a3c538633a10dbd730aafcc680d5761 /opcodes | |
parent | 70d1a04a6f2bc43de3a2b4519a2b8d6afe7aca5d (diff) | |
download | binutils-redhat-655b853c0328513a38359b8c14fe14a073c382cb.tar.gz |
2001-07-13 Philip Blundell <philb@gnu.org>
* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index be15b43673..8c81cf88ce 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2001-07-13 Philip Blundell <philb@gnu.org> + + * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. + 2001-07-12 Jeff Johnston <jjohnstn@redhat.com> * cgen-asm.in: Include "xregex.h" always to enable the libiberty diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 9d280a17b7..a36dd1ab75 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -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); |