NDS32 disassembly of odd sized sections
authorAlan Modra <amodra@gmail.com>
Fri, 20 Mar 2020 00:21:14 +0000 (10:51 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 20 Mar 2020 02:05:51 +0000 (12:35 +1030)
commitfe90ae8a9f54e4fe8b9089fed48b0e1818414f57
treea1fdf46178a5f8b89534c1d88194d50332f03470
parent833d919c93d52644173d587a6fc8e4dd36edc49e
NDS32 disassembly of odd sized sections

* nds32-dis.c (print_insn_nds32): Remove unnecessary casts.
Initialize parts of buffer not written when handling a possible
2-byte insn at end of section.  Don't attempt decoding of such
an insn by the 4-byte machinery.
opcodes/ChangeLog
opcodes/nds32-dis.c