This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Difference between objdump and readlelf output


Hi Alan,

readelf -x is broken for little-endian.   I don't think readelf should
be trying to print the value of each 32-bit word.  After all, the
section data may well not be 32-bit words, especially on 64-bit
targets.  Instead we should just dump the bytes, with an extra space
every 4 bytes to help in counting bytes.

Does anyone think we should be doing something different?

Makes sense to me.


Cheers
  Nick


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