diff options
author | Alan Modra <amodra@gmail.com> | 2020-01-13 10:46:55 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-01-13 12:12:30 +1030 |
commit | b2c759ce68102931140ce34c2ac00619ba363622 (patch) | |
tree | ac4f7a6f709927a91d8be9ed67c385ecf6cf1711 /opcodes/ChangeLog | |
parent | b50ef514ff0c8d5506227c412c508f9f538bcf5a (diff) | |
download | gdb-b2c759ce68102931140ce34c2ac00619ba363622.zip gdb-b2c759ce68102931140ce34c2ac00619ba363622.tar.gz gdb-b2c759ce68102931140ce34c2ac00619ba363622.tar.bz2 |
ubsan: score: left shift of negative value
* score-dis.c (print_insn_score48): Use unsigned variables for
unsigned values. Don't left shift negative values.
(print_insn_score32): Likewise.
* score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 26d1e6c..4740186 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,12 @@ 2020-01-13 Alan Modra <amodra@gmail.com> + * score-dis.c (print_insn_score48): Use unsigned variables for + unsigned values. Don't left shift negative values. + (print_insn_score32): Likewise. + * score7-dis.c (print_insn_score32, print_insn_score16): Likewise. + +2020-01-13 Alan Modra <amodra@gmail.com> + * tic4x-dis.c (tic4x_print_register): Remove dead code. 2020-01-13 Alan Modra <amodra@gmail.com> |