This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: objdump : Odd formating if disassembly with --enable-64-bit-bfd
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: objdump : Odd formating if disassembly with --enable-64-bit-bfd
- From: Erik de Castro Lopo <nospam at mega-nerd dot com>
- Date: Sat, 13 Jan 2001 03:11:58 +0000
- CC: binutils at sourceware dot cygnus dot com
- Organization: Erik Conspiracy Secret Labs
- References: <Pine.LNX.4.21.0101131324210.29321-100000@front.linuxcare.com.au>
Alan Modra wrote:
>
> On Sat, 13 Jan 2001, Erik de Castro Lopo wrote:
>
> > ! /* The output looks better if we put 10 bytes on a line, since that
> > ! puts all long word instructions on a single line. */
> > ! info->bytes_per_line = 10;
>
> This workaround isn't the sort of patch I had in mind. We can't just keep
> increasing bytes_per_line (originally 5). What I was looking for was a
> patch that properly formatted a continuation line when --prefix-addresses.
Hmm. The problem with continuation lines is that it makes it harder for
people who want to post-process the output of objdump. That is currently
my main interest.
Changing
0x0000000008049405 e8 b6 fc ff ff call 0x00000000080490c0
0x000000000804940a c7 05 08 31 05 08 01 00 00 00 movl $0x1,0x8053108
0x0000000008049414 c9 leave
to
0x0000000008049400 68 9c 31 05 08 push $0x805319c
0x0000000008049405 e8 b6 fc ff ff call 0x00000000080490c0
0x000000000804940a c7 05 08 31 05 08 01 movl $0x1,0x8053108
0x0000000008049411 00 00 00
0x0000000008049414 c9 leave
would give people in my position a real pain in the neck.
Erik
--
+----------------------------------------------------------+
Erik de Castro Lopo nospam@mega-nerd.com (Yes its valid)
+----------------------------------------------------------+
"640K ought to be enough for anybody." -- Bill Gates, 1981