diff options
author | Alan Modra <amodra@gmail.com> | 2020-08-28 23:43:16 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-28 23:52:26 +0930 |
commit | a1e60a1bdce8f555f45b5f94c059d83abf883567 (patch) | |
tree | 5537dd112ecf11c9b73f5e87023915a73846177a /opcodes/ChangeLog | |
parent | ed2ed4dcf4ae20b9a7c38ffdf379fef383c6b8f9 (diff) | |
download | gdb-a1e60a1bdce8f555f45b5f94c059d83abf883567.zip gdb-a1e60a1bdce8f555f45b5f94c059d83abf883567.tar.gz gdb-a1e60a1bdce8f555f45b5f94c059d83abf883567.tar.bz2 |
PR26449, PR26450 UBSAN: frv-ibld.c:135 left shift
Eh well, I guess the code didn't quite live up to the comment.
PR 26449
PR 26450
* cgen-ibld.in (insert_1): Use 1UL in forming mask.
(extract_normal): Likewise.
(insert_normal): Likewise, and move past zero length test.
(put_insn_int_value): Handle mask for zero length, use 1UL.
* bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
* ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
* m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
* xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 71826bd..6e7b8f4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,16 @@ +2020-08-28 Alan Modra <amodra@gmail.com> + + PR 26449 + PR 26450 + * cgen-ibld.in (insert_1): Use 1UL in forming mask. + (extract_normal): Likewise. + (insert_normal): Likewise, and move past zero length test. + (put_insn_int_value): Handle mask for zero length, use 1UL. + * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c, + * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c, + * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c, + * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate. + 2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com> * csky-dis.c (CSKY_DEFAULT_ISA): Define. |