From: David B. <dbr...@us...> - 2010-01-12 21:41:43
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via b4a4d5c7310c88ef263bfaaa060b5c249d98c446 (commit) from 1de107a5a269fa71c9a69eba182fecea68e38a06 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b4a4d5c7310c88ef263bfaaa060b5c249d98c446 Author: David Brownell <dbr...@us...> Date: Tue Jan 12 12:40:39 2010 -0800 ARM: bugfix for "movt" disassembly Use the correct bitfield to specify the register whose top halfword gets replaced. Signed-off-by: David Brownell <dbr...@us...> diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c index 912e37c..587131b 100644 --- a/src/target/arm_disassembler.c +++ b/src/target/arm_disassembler.c @@ -3247,7 +3247,7 @@ static int t2ev_data_immed(uint32_t opcode, uint32_t address, case 0x0c: /* move constant to top 16 bits of register */ immed |= (opcode >> 4) & 0xf000; - sprintf(cp, "MOVT\tr%d, #%d\t; %#4.4x", rn, immed, immed); + sprintf(cp, "MOVT\tr%d, #%d\t; %#4.4x", rd, immed, immed); return ERROR_OK; case 0x10: case 0x12: ----------------------------------------------------------------------- Summary of changes: src/target/arm_disassembler.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |