This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objdump command to disassemble raw MIPS binary
- From: Nick Clifton <nickc at redhat dot com>
- To: "A.W.C." <bluestream at ymail dot com>, binutils at sourceware dot org
- Date: Fri, 3 Aug 2018 11:24:18 +0100
- Subject: Re: objdump command to disassemble raw MIPS binary
- References: <1043796561.1494907.1533287175563.ref@mail.yahoo.com> <1043796561.1494907.1533287175563@mail.yahoo.com>
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