objdump issue on i386
Nick Clifton
nickc@redhat.com
Mon Sep 28 08:25:00 GMT 2009
Hi Joel,
> That looks like the issue. I have never used readelf before.
> How do I get it to report the information I need to see.
Have a look at PR 10654 again, it demonstrates using readelf there.
Essentially you need to use the -wL switch to readelf to dump the file
name/line number to address table and then compare this with the
disassembled code to see how the addresses match up. Readelf itself
does not have the equivalent of objdump's --source option, so you have
to do the checking by hand.
Assuming that you can reproduce the problem using the latest binutils
sources, please could you open a bug report at:
http://sourceware.org/bugzilla/
Including a test case will really help us track down the problem.
Cheers
Nick
More information about the Binutils
mailing list