I'm getting following error for the disassembling of the object with below command. Object file was generated for MIPS platform.
$objdump -D -m MIPS myobjfile.o
Error:
objdump: Can't use supplied machine MIPS
The snippet I'm attaching for reference from objdump.c
const bfd_arch_info_type *inf = bfd_scan_arch (machine);
if (inf == NULL)
fatal (_("can't use supplied machine %s"), machine);
Can you please help me to get correct assembly code?