diff options
author | obrien <obrien@FreeBSD.org> | 2001-07-20 03:29:51 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-07-20 03:29:51 +0000 |
commit | e55b0aebbf54426e20afda566c99dbca2d20aa89 (patch) | |
tree | 415722f688fd7a16e38a20dc5d1c4477f42180d8 /contrib/binutils/opcodes | |
parent | e4de9fb2c006e11baefc9c92a5a4ed38408d5361 (diff) | |
download | FreeBSD-src-e55b0aebbf54426e20afda566c99dbca2d20aa89.zip FreeBSD-src-e55b0aebbf54426e20afda566c99dbca2d20aa89.tar.gz |
Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].
This fixes an annoying `ld' bug.
Diffstat (limited to 'contrib/binutils/opcodes')
-rw-r--r-- | contrib/binutils/opcodes/ChangeLog | 8 | ||||
-rw-r--r-- | contrib/binutils/opcodes/arm-dis.c | 6 | ||||
-rw-r--r-- | contrib/binutils/opcodes/ppc-opc.c | 2 |
3 files changed, 12 insertions, 4 deletions
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 <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. + 2001-06-11 Alan Modra <amodra@bigpond.net.au> 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 } }, |