diff options
author | Alan Modra <amodra@gmail.com> | 2019-12-16 09:57:22 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-12-16 17:28:52 +1030 |
commit | cf950fd4dd4581849a445a76b57514d72074927d (patch) | |
tree | 5c6efa491b1046d049fcb3b669af60e0e9d6c9f5 /opcodes/ChangeLog | |
parent | d3ecddab5fc036fb57588a9bfff73575dc419052 (diff) | |
download | gdb-cf950fd4dd4581849a445a76b57514d72074927d.zip gdb-cf950fd4dd4581849a445a76b57514d72074927d.tar.gz gdb-cf950fd4dd4581849a445a76b57514d72074927d.tar.bz2 |
ubsan: moxie: left shift of negative value
Commit 8c9b4171877df didn't remove a glaring left shift of a number
that had just been sign extended.
* moxie-dis.c (INST2OFFSET): Don't left shift a signed value.
(print_insn_moxie): Remove unnecessary cast.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9e0d57b..2d1c9d3 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2019-12-16 Alan Modra <amodra@gmail.com> + + * moxie-dis.c (INST2OFFSET): Don't left shift a signed value. + (print_insn_moxie): Remove unnecessary cast. + 2019-12-12 Alan Modra <amodra@gmail.com> * csky-dis.c (csky_chars_to_number): Remove abort and unnecessary |