ubsan: bfin: shift exponent is too large
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index d3f1e69940668d92601a1eeb5fa39accd8457519..faa160a37b54eedfd8da44f3e10bb2200a88a7f2 100644 (file)
@@ -1,3 +1,13 @@
+2019-12-11  Alan Modra  <amodra@gmail.com>
+
+       * bfin-dis.c (HOST_LONG_WORD_SIZE, XFIELD): Delete.
+       (SIGNBIT): New.
+       (MASKBITS, SIGNEXTEND): Rewrite.
+       (fmtconst): Don't use ? expression now that SIGNEXTEND uses
+       unsigned arithmetic, instead assign result of SIGNEXTEND back
+       to x.
+       (fmtconst_val): Use 1u in shift expression.
+
 2019-12-11  Alan Modra  <amodra@gmail.com>
 
        * arc-dis.c (find_format_from_table): Use ull constant when
This page took 0.023479 seconds and 4 git commands to generate.