diff options
author | Alan Modra <amodra@gmail.com> | 2019-12-20 12:14:19 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-12-20 13:36:06 +1030 |
commit | 15d2859fddcb769e59b906f9443c85afdd5d7380 (patch) | |
tree | 3d1aa7d06813d4fd6ada5c0fc6152c3e1176e420 /opcodes/ChangeLog | |
parent | 000fe1a756e707624d387eeacbaa959a01f0d040 (diff) | |
download | gdb-15d2859fddcb769e59b906f9443c85afdd5d7380.zip gdb-15d2859fddcb769e59b906f9443c85afdd5d7380.tar.gz gdb-15d2859fddcb769e59b906f9443c85afdd5d7380.tar.bz2 |
ubsan: hppa: left shift of negative value
bfd/
* libhppa.h (hppa_field_adjust, bfd_hppa_insn2fmt): Delete forward
declaration. Move ATTRIBUTE_UNUSED to definition.
(sign_extend, low_sign_extend, sign_unext, low_sign_unext),
(re_assemble_3, re_assemble_12, re_assemble_14, re_assemble_16),
(re_assemble_17, re_assemble_21, re_assemble_22): Likewise. Make
args and return value unsigned. Use unsigned variables.
(hppa_rebuild_insn): Similarly.
opcodes/
* hppa-dis.c (extract_16, extract_21, print_insn_hppa): Use
unsigned variables.
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 36667ae..e0d2fab 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2019-12-20 Alan Modra <amodra@gmail.com> + * hppa-dis.c (extract_16, extract_21, print_insn_hppa): Use + unsigned variables. + +2019-12-20 Alan Modra <amodra@gmail.com> + * m68hc11-dis.c (read_memory): Delete forward decls. (print_indexed_operand, print_insn): Likewise. (print_indexed_operand): Formatting. Don't rely on short being |