From: Alan Modra <amodra@bigpond.net.au>
To: binutils@sourceware.org
Subject: Re: 2.16.93 prerelease available
Date: Thu, 18 May 2006 21:51:00 -0000 [thread overview]
Message-ID: <20060517235239.GM19700@bubble.grove.modra.org> (raw)
In-Reply-To: <20060517192841.GA13224@nevyn.them.org>
Fixes build breakage. Applied to 2.17 branch.
* avr-dis.c (avr_operand): Warning fix.
Index: opcodes/avr-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/avr-dis.c,v
retrieving revision 1.16
diff -u -p -r1.16 avr-dis.c
--- opcodes/avr-dis.c 12 Apr 2006 13:09:10 -0000 1.16
+++ opcodes/avr-dis.c 17 May 2006 23:49:05 -0000
@@ -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 <denisc@overta.ru>
@@ -142,7 +143,7 @@ avr_operand (unsigned int insn, unsigned
/* 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", * sym_addr);
+ sprintf (buf, "%#lx", (unsigned long) *sym_addr);
sprintf (comment, "0x");
break;
--
Alan Modra
IBM OzLabs - Linux Technology Centre
next prev parent reply other threads:[~2006-05-17 23:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-17 22:04 Daniel Jacobowitz
2006-05-18 8:47 ` Martin Michlmayr
2006-05-18 8:47 ` Daniel Jacobowitz
2006-05-18 14:46 ` Martin Michlmayr
2006-05-18 19:33 ` Daniel Jacobowitz
2006-05-18 21:31 ` Martin Michlmayr
2006-05-18 21:51 ` Alan Modra [this message]
2006-05-22 3:37 John David Anglin
2006-05-22 8:30 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060517235239.GM19700@bubble.grove.modra.org \
--to=amodra@bigpond.net.au \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).