From e55b0aebbf54426e20afda566c99dbca2d20aa89 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 20 Jul 2001 03:29:51 +0000 Subject: Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001]. This fixes an annoying `ld' bug. --- contrib/binutils/opcodes/ChangeLog | 8 ++++++++ contrib/binutils/opcodes/arm-dis.c | 6 +++--- contrib/binutils/opcodes/ppc-opc.c | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) (limited to 'contrib/binutils/opcodes') diff --git a/contrib/binutils/opcodes/ChangeLog b/contrib/binutils/opcodes/ChangeLog index 593bec9..a3bacf9 100644 --- a/contrib/binutils/opcodes/ChangeLog +++ b/contrib/binutils/opcodes/ChangeLog @@ -1,3 +1,11 @@ +2001-07-16 Philip Blundell + + * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. + +2001-07-03 Zoltan Hidvegi + + * ppc-opc.c: Fix encoding of 'clf' instruction. + 2001-06-11 Alan Modra Merge from mainline. diff --git a/contrib/binutils/opcodes/arm-dis.c b/contrib/binutils/opcodes/arm-dis.c index b90f820..eaebe34 100644 --- a/contrib/binutils/opcodes/arm-dis.c +++ b/contrib/binutils/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); diff --git a/contrib/binutils/opcodes/ppc-opc.c b/contrib/binutils/opcodes/ppc-opc.c index aa9616f..311a5ba 100644 --- a/contrib/binutils/opcodes/ppc-opc.c +++ b/contrib/binutils/opcodes/ppc-opc.c @@ -2480,7 +2480,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { { "mtsrdin", X(31,114), XRA_MASK, PPC64, { RS, RB } }, -{ "clf", X(31,118), XRB_MASK, POWER, { RT, RA } }, +{ "clf", X(31,118), XTO_MASK, POWER, { RA, RB } }, { "lbzux", X(31,119), X_MASK, COM, { RT, RAL, RB } }, -- cgit v1.1