This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: objdump command to disassemble raw MIPS binary


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]