You copied the Doc URL to your clipboard.

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.

Example of printing data sections

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

fromelf --cpu=8-A.64 --emit=data infile.axf

Example of printing relocation information

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

fromelf --cpu=8-A.64 --emit=relocation_tables,dynamic_segment infile2.axf