Printing details of ELF-formatted files

You can specify the elements of an ELF object that you want to appear in the textual output with the --emit option. The output includes ELF header and section information. You can specify these elements as a comma separated list.


You can specify some of the --emit options using the --text option.

Show/hideExample of printing data sections

To print the contents of the data sections of an ELF file, infile.axf, enter:

fromelf --emit=data infile.axf

Show/hideExample of printing relocation information

To print relocation information and the dynamic section contents for the ELF file infile2.axf, enter:

fromelf --emit=relocation_tables,dynamic_segment infile2.axf

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0477E