ubsan: crx: left shift cannot be represented in type 'int'
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index ca476060e93bc8a9122094a2dab2a2612bc857b5..9cc0ba491e78faec5d1ceff30770f39baa6f10fb 100644 (file)
@@ -1,3 +1,15 @@
+2019-12-16  Alan Modra  <amodra@gmail.com>
+
+       * crx-dis.c (EXTRACT, SBM): Avoid signed overflow.
+       (get_number_of_operands, getargtype, getbits, getregname),
+       (getcopregname, getprocregname, gettrapstring, getcinvstring),
+       (getregliststring, get_word_at_PC, get_words_at_PC, build_mask),
+       (powerof2, match_opcode, make_instruction, print_arguments),
+       (print_arg): Delete forward declarations, moving static to..
+       (getregname, getcopregname, getregliststring): ..these definitions.
+       (build_mask): Return unsigned int mask.
+       (match_opcode): Use unsigned int vars.
+
 2019-12-16  Alan Modra  <amodra@gmail.com>
 
        * bfin-dis.c (fmtconst, fmtconst_val): Avoid signed overflow.
This page took 0.023748 seconds and 4 git commands to generate.