ubsan: bfin: left shift of negative value
authorAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2019 00:01:34 +0000 (10:31 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2019 07:03:53 +0000 (17:33 +1030)
commitcedfc77485dbb566619dc1e2d729ce0a70d1a4ad
tree1831ca7e415295691de2a88b77c25a09e8f0cc85
parent4bdb25fe6902963ca9cf91d6b2688cf888527bf8
ubsan: bfin: left shift of negative value

* bfin-dis.c (fmtconst, fmtconst_val): Avoid signed overflow.
opcodes/ChangeLog
opcodes/bfin-dis.c