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 Thu, 11 Jan 2001, Erik de Castro Lopo wrote:
> 
> > I've got objdump configured with --enable-64-bit-bfd.
> > When I do something like :
> > objdump -d --prefix-addresses --show-raw-insn /bin/ls
> > It formats some of the output like:
> >
> > 0x0000000008049325 68 b1 f0 04 08               push   $0x804f0b1
> 
> What exactly do you think is odd here?  The 64 bit address?  I guess that
> is a minor bug, since x86 addresses are only 32 bit.

No, I've got no complaints about that. The thing I think is odd is that
the movl does not line up with the call and push instructions. This makes
the aseembly listing much more difficult to read.

0x0000000008049325 68 b1 f0 04 08               push   $0x804f0b1
0x000000000804932a e8 75 fc ff ff               call   0x0000000008048fa4
0x000000000804932f c7 05 34 2c 05 08 00 00 00 00        movl  $0x0,0x8052c34

Cheers,
Erik
-- 
+----------------------------------------------------------+
  Erik de Castro Lopo  nospam@mega-nerd.com (Yes its valid)
+----------------------------------------------------------+
Complex problems have simple easy to understand wrong answers.

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