ubsan: tic4x: segv and signed shifts
authorAlan Modra <amodra@gmail.com>
Tue, 10 Dec 2019 22:17:35 +0000 (08:47 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Dec 2019 01:11:09 +0000 (11:41 +1030)
commit66152f16685fe63a5b2eb941c2d7057bbff5cfe5
treeafbb6e058b5136d0cb05bf1adf57d9ad4e1fa32d
parent205c426a9bb387204a21165e2275e31c32248035
ubsan: tic4x: segv and signed shifts

* tic4x-dis.c (tic4x_print_register): Formatting.  Don't segfault
on NULL registertable entry.
(tic4x_hash_opcode): Use unsigned arithmetic.
opcodes/ChangeLog
opcodes/tic4x-dis.c