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 /bfd/elf32-mcore.c | |
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 'bfd/elf32-mcore.c')
0 files changed, 0 insertions, 0 deletions