ubsan: tic4x: left shift cannot be represented in type 'int'
authorAlan Modra <amodra@gmail.com>
Thu, 30 Jan 2020 06:36:54 +0000 (17:06 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 30 Jan 2020 06:36:54 +0000 (17:06 +1030)
commit1bd8ae1004919317e7aa3cc2bb1d5d0d74d9f03e
tree4e97a80fb4514fbc3fa67622517bb5085faac58f
parent72913831fc585ffa2bed866fb32532513ec10f8e
ubsan: tic4x: left shift cannot be represented in type 'int'

The patch also fixes a case where libopcodes built for a 64-bit
bfd_vma may print different results to libopcodes built for a 32-bit
bfd_vma.

* tic4x-dis.c (tic4x_dp): Make unsigned.
opcodes/ChangeLog
opcodes/tic4x-dis.c