objdump to display addtional section contents.

Nick Clifton nickc@redhat.com
Mon Apr 16 14:50:00 GMT 2007


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




More information about the Binutils mailing list