ubsan: moxie: left shift of negative value
authorAlan Modra <amodra@gmail.com>
Tue, 10 Dec 2019 21:56:58 +0000 (08:26 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Dec 2019 01:10:00 +0000 (11:40 +1030)
commit8c9b4171877df495a55b75365203258785da0041
tree0615a088ef27ad70643f620cd3b15ecc0f3ddab6
parent334175b693a1cbab8850f5faa6937e7c6ca3db7d
ubsan: moxie: left shift of negative value

* moxie-dis.c (INST2OFFSET): Don't sign extend using shifts.
opcodes/ChangeLog
opcodes/moxie-dis.c