http://sourceware.org/bugzilla/show_bug.cgi?id=14616
Bug #: 14616 Summary: Disassembling unknown thumb opcode should use 2 bytes. Product: binutils Version: 2.22 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sourceware.org ReportedBy: suckf...@ihug.co.nz Classification: Unclassified When disassembling arm thumb code, objdump assumes an unknown opcode takes 4 bytes. It would be much better if it only took 2, as the instructions are only 2-byte aligned. E.g., disassembling a binary block with an entry point at 0x10403e00 I get: 10403dfe: ebd3 b570 ; <UNDEFINED> instruction: 0xebd3b570 10403e02: 4c1c ldr r4, [pc, #112] ; (0x10403e74) Much better output would be: 10403dfe: ebd3 ; <UNDEFINED> instruction: 0xebd3 10403e00: b570 push {r4, r5, r6, lr} 10403e02: 4c1c ldr r4, [pc, #112] ; (0x10403e74) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils