objdump command to disassemble raw MIPS binary

A.W.C. via binutils binutils@sourceware.org
Fri Aug 3 18:29:00 GMT 2018


Hi Nick,

This command works, thanks for the tips.

What additional switches can be used to get disassembled output with more detalization?
(for example, more easily to determine memory location of a specific local variable)


Regards,
Alex
--------------------------------------------
On Fri, 8/3/18, Nick Clifton <nickc@redhat.com> wrote:

 Subject: Re: objdump command to disassemble raw MIPS binary
 To: "A.W.C." <bluestream@ymail.com>, binutils@sourceware.org
 Date: Friday, August 3, 2018, 1:24 PM
 
 Hi Alex,
 
 > $ mips-linux-gnu-objdump -D -b binary
 bootloader.bin
 > mips-linux-gnu-objdump:
 can't disassemble for architecture UNKNOWN!
 
 Try adding the -m option to
 tell objdump that the binary file contains
 mips machine instructions.  ie:
 
   mips-linux-gnu-objdump -D
 -b binary -m mips bootloader.bin
 
 Cheers
   Nick
 
 
 



More information about the Binutils mailing list