ubsan: m68hc1x: left shift of negative value
authorAlan Modra <amodra@gmail.com>
Fri, 20 Dec 2019 00:26:29 +0000 (10:56 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 20 Dec 2019 03:06:06 +0000 (13:36 +1030)
commit000fe1a756e707624d387eeacbaa959a01f0d040
tree0f606d22dd6404817490848b2719ba9c9ab2107a
parent9d78076ef8ef07890ad89c1122bdf49932a979a5
ubsan: m68hc1x: left shift of negative value

* m68hc11-dis.c (read_memory): Delete forward decls.
(print_indexed_operand, print_insn): Likewise.
(print_indexed_operand): Formatting.  Don't rely on short being
exactly 16 bits, make sign extension explicit.
(print_insn): Likewise.  Avoid signed overflow.
opcodes/ChangeLog
opcodes/m68hc11-dis.c