From 00988f494c6923121470f20e6c95d1bf4bd02ada Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 17 May 2006 23:44:58 +0000 Subject: [PATCH] * avr-dis.c: Formatting fix. --- opcodes/ChangeLog | 4 ++++ opcodes/avr-dis.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 37d19312d1d..2f7b474de8a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2006-05-18 Alan Modra + + * avr-dis.c: Formatting fix. + 2006-05-14 Thiemo Seufer * mips16-opc.c (I1, I32, I64): New shortcut defines. diff --git a/opcodes/avr-dis.c b/opcodes/avr-dis.c index ac3775212e8..7e792c9d157 100644 --- a/opcodes/avr-dis.c +++ b/opcodes/avr-dis.c @@ -1,5 +1,6 @@ /* Disassemble AVR instructions. - Copyright 1999, 2000, 2002, 2004, 2005 Free Software Foundation, Inc. + Copyright 1999, 2000, 2002, 2004, 2005, 2006 + Free Software Foundation, Inc. Contributed by Denis Chertykov @@ -142,7 +143,7 @@ avr_operand (unsigned int insn, unsigned int insn2, unsigned int pc, int constra /* See PR binutils/2545. Ideally we would like to display the hex value of the address only once, but this would mean recoding objdump_print_address() which would affect many targets. */ - sprintf (buf, "%#lx", (unsigned long ) *sym_addr); + sprintf (buf, "%#lx", (unsigned long) *sym_addr); sprintf (comment, "0x"); break; -- 2.30.2