|Red Hat Enterprise Linux 4: Developer Tools Guide|
|Prev||Chapter 3. Developing with Red Hat Enterprise Linux Developer Tools||Next|
The objdump tool can be used to to produce an disassembly of an object or executable file. It is used like this:
objdump -d hello.o
You could also use the -D option to produce a dissassembly of all of the sections in an object file, not only those that have been marked as containing instructions, and -z to tell objdump to disassemble instructions whose value is zero. (Normally such instructions are just skipped).