Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Search | Go
TWiki > Main > ObjdumpGuide

Guide to using objdump for disassembly

Guide

The necessary command line options for objdump always slip my mind so this is a page to make them get stored somewhere for later easy retrieval!

Options

A standard ARM dissassembly for a raw binary file:

arm-elf-objdump -D --target binary -marm [file name]

To get the disassembly to use thumb-mode for the ARM instructions, add -Mforce-thumb:

arm-elf-objdump -D --target binary -Mforce-thumb -marm [file name]

To make the disassembly to assume ARM in big-endian mode, add -EB:

arm-elf-objdump -D --target binary -EB -marm [file name]

r2 - 12 May 2008 - 12:24:37 - NilsWallmenius
Edit | View raw | Attach | Ref-By | History: r2 < r1 | More | Refresh cache

Copyright © 1999-2008 by the contributing authors.