2001-07-13 Philip Blundell <philb@gnu.org>

* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
This commit is contained in:
Phil Blundell 2001-07-16 19:04:31 +00:00
parent d6f5fea1d2
commit 4053649742
2 changed files with 7 additions and 3 deletions

View file

@ -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

View 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);