This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: objdump : Odd formating if disassembly with --enable-64-bit-bfd


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]