Disassembling an ELF-formatted file

Use the --disassemble option to display a disassembled version of the image to stdout. If you use this option with the --output destination option, you can reassemble the output file with armasm.

You can use this option to disassemble either an ELF image or an ELF object file.

Note

The output is not the same as that from --emit=code and --text -c.

Show/hideExample

To disassemble the ELF file infile.axf for the ARM1176JZF-S™ processor and create a source file outfile.asm, enter:

fromelf --cpu=ARM1176JZF-S --disassemble --output=outfile.asm infile.axf

Show/hideSee also

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