From: Nick Clifton Date: Tue, 25 Jan 2000 22:10:13 +0000 (+0000) Subject: Prevent double dumping of raw thumb instructions. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=928968b9055f4c397c9d057ad4915f70610ddbcf;p=pf3gnuchains%2Fpf3gnuchains3x.git Prevent double dumping of raw thumb instructions. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 30886d4393..b0a526bf80 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2000-01-25 Thomas de Lellis + + * arm-dis.c (printf_insn_thumb): Prevent double dumping + of raw thumb instructions. + 2000-01-20 Nick Clifton * mcore-opc.h (mcore_table): Add "add" as an alias for "addu". diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 4a1dc23785..fe662edb46 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -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 == '%')