ubsan: ia64: left shift of negative value
authorAlan Modra <amodra@gmail.com>
Tue, 10 Dec 2019 07:27:14 +0000 (17:57 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Dec 2019 01:03:36 +0000 (11:33 +1030)
commit8ff23dba80b80a9f47d75dd43812e041f6674763
tree3a1573a8384edf7039c1a96db2565f4ff04c9c6d
parentd1f80fe061d11d825fc3a6afc5200f090d1aed0f
ubsan: ia64: left shift of negative value

Here, since val is signed:
   *valuep = (val << scale);

* cpu-ia64-opc.c (ext_imms_scaled): Avoid undefined left shift
of negative values by using unsigned vars.
bfd/ChangeLog
bfd/cpu-ia64-opc.c