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: objdump to display addtional section contents.


Hi Sneha,

We are able to display additional section fields using readelf but
dont actually know how to extract the fields from the object file to
dump them using objdump. Where could the function be  written to
display the fields?

You could look at the sources for readelf and see how it obtains the information.


Alternatively you could look at the function dump_section_header() in binutils/objdump.c.

Cheers
  Nick



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