PR1202, mcore disassembler: wrong address loopt
authorAlan Modra <amodra@gmail.com>
Thu, 3 Jun 2021 02:33:09 +0000 (12:03 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Jun 2021 03:35:57 +0000 (13:05 +0930)
commita38d139645fe557563c3c513b9175e07ceb5f5f8
treefaaa1bca3ca9dae09e76d8ae0241c6f857c8d838
parent9ef5bfdad99255158b5911b098ebcf5788f6ea64
PR1202, mcore disassembler: wrong address loopt

Fixes a 16 year old bug report, which even came with a patch.

opcodes/
PR 1202
* mcore-dis.c (print_insn_mcore): Correct loopt disassembly.
Use unsigned int for inst.
gas/
PR 1202
* testsuite/gas/mcore/allinsn.d: Correct loopt expected output.
gas/ChangeLog
gas/testsuite/gas/mcore/allinsn.d
opcodes/ChangeLog
opcodes/mcore-dis.c