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 of binary for micromips.


On 2016-12-23 18:57, Mike Frysinger wrote:
On 23 Dec 2016 13:24, Kenneth Johansson wrote:
So I have a binary for mips that I want to investigate but the code is
compiled with micromips ISA and I cant fogure out a way to have objdump
understand that.

objdump  -b binary  -D -EL -m mips BLOB

do assume mips32 ISA.
you specified the arch as mips, so you'll get mips32.  if you run
`objdump -h`, you'll see a huge list of other arch values.  you
probably want to use something like "mips:micromips".
-mike

tanks I did not understand the syntax but it did still not work out. the lauterbach trace32 debug understands the code but objdump gets confused.



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