This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
objdump binary mips decode.
- From: Kenneth Johansson <kenneth dot johansson at inteno dot se>
- To: <binutils at sourceware dot org>
- Date: Wed, 28 Dec 2016 15:21:01 +0100
- Subject: objdump binary mips decode.
- Authentication-results: sourceware.org; auth=none
is there a way to make objdump decode jump instructions properly.
I decode with "objdump -b binary -D -EL -m mips:isa32r2
--adjust-vma=0x8900000"
and get this output,
8900000: 0a4013b0 j 0x9004ec0
but the jump instruction should take the upper 4 bits from the PC so
this should be decoded as a jump to 0x89004ec0 not 0x9004ec0.