]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - opcodes/ChangeLog
ubsan: wasm32: signed integer overflow
[thirdparty/binutils-gdb.git] / opcodes / ChangeLog
1 2020-01-13 Alan Modra <amodra@gmail.com>
2
3 * wasm32-dis.c (print_insn_wasm32): Localise variables. Store
4 result of wasm_read_leb128 in a uint64_t and check that bits
5 are not lost when copying to other locals. Use uint32_t for
6 most locals. Use PRId64 when printing int64_t.
7
8 2020-01-13 Alan Modra <amodra@gmail.com>
9
10 * score-dis.c: Formatting.
11 * score7-dis.c: Formatting.
12
13 2020-01-13 Alan Modra <amodra@gmail.com>
14
15 * score-dis.c (print_insn_score48): Use unsigned variables for
16 unsigned values. Don't left shift negative values.
17 (print_insn_score32): Likewise.
18 * score7-dis.c (print_insn_score32, print_insn_score16): Likewise.
19
20 2020-01-13 Alan Modra <amodra@gmail.com>
21
22 * tic4x-dis.c (tic4x_print_register): Remove dead code.
23
24 2020-01-13 Alan Modra <amodra@gmail.com>
25
26 * fr30-ibld.c: Regenerate.
27
28 2020-01-13 Alan Modra <amodra@gmail.com>
29
30 * xgate-dis.c (print_insn): Don't left shift signed value.
31 (ripBits): Formatting, use 1u.
32
33 2020-01-10 Alan Modra <amodra@gmail.com>
34
35 * tilepro-opc.c (parse_insn_tilepro): Make opval unsigned.
36 * tilegx-opc.c (parse_insn_tilegx): Likewise. Delete raw_opval.
37
38 2020-01-10 Alan Modra <amodra@gmail.com>
39
40 * m10300-dis.c (disassemble): Move extraction of DREG, AREG, RREG,
41 and XRREG value earlier to avoid a shift with negative exponent.
42 * m10200-dis.c (disassemble): Similarly.
43
44 2020-01-09 Nick Clifton <nickc@redhat.com>
45
46 PR 25224
47 * z80-dis.c (ld_ii_ii): Use correct cast.
48
49 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
50
51 PR 25224
52 * z80-dis.c (ld_ii_ii): Use character constant when checking
53 opcode byte value.
54
55 2020-01-09 Jan Beulich <jbeulich@suse.com>
56
57 * i386-dis.c (SEP_Fixup): New.
58 (SEP): Define.
59 (dis386_twobyte): Use it for sysenter/sysexit.
60 (enum x86_64_isa): Change amd64 enumerator to value 1.
61 (OP_J): Compare isa64 against intel64 instead of amd64.
62 * i386-opc.tbl (sysenter, sysexit): Split into AMD64 and Intel64
63 forms.
64 * i386-tbl.h: Re-generate.
65
66 2020-01-08 Alan Modra <amodra@gmail.com>
67
68 * z8k-dis.c: Include libiberty.h
69 (instr_data_s): Make max_fetched unsigned.
70 (z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
71 Don't exceed byte_info bounds.
72 (output_instr): Make num_bytes unsigned.
73 (unpack_instr): Likewise for nibl_count and loop.
74 * z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
75 idx unsigned.
76 * z8k-opc.h: Regenerate.
77
78 2020-01-07 Shahab Vahedi <shahab@synopsys.com>
79
80 * arc-tbl.h (llock): Use 'LLOCK' as class.
81 (llockd): Likewise.
82 (scond): Use 'SCOND' as class.
83 (scondd): Likewise.
84 (llockd): Set data_size_mode to 'C_ZZ_D' which is 64-bit.
85 (scondd): Likewise.
86
87 2020-01-06 Alan Modra <amodra@gmail.com>
88
89 * m32c-ibld.c: Regenerate.
90
91 2020-01-06 Alan Modra <amodra@gmail.com>
92
93 PR 25344
94 * z80-dis.c (suffix): Don't use a local struct buffer copy.
95 Peek at next byte to prevent recursion on repeated prefix bytes.
96 Ensure uninitialised "mybuf" is not accessed.
97 (print_insn_z80): Don't zero n_fetch and n_used here,..
98 (print_insn_z80_buf): ..do it here instead.
99
100 2020-01-04 Alan Modra <amodra@gmail.com>
101
102 * m32r-ibld.c: Regenerate.
103
104 2020-01-04 Alan Modra <amodra@gmail.com>
105
106 * cr16-dis.c (cr16_match_opcode): Avoid shift left of signed value.
107
108 2020-01-04 Alan Modra <amodra@gmail.com>
109
110 * crx-dis.c (match_opcode): Avoid shift left of signed value.
111
112 2020-01-04 Alan Modra <amodra@gmail.com>
113
114 * d30v-dis.c (print_insn): Avoid signed overflow in left shift.
115
116 2020-01-03 Jan Beulich <jbeulich@suse.com>
117
118 * aarch64-tbl.h (aarch64_opcode_table): Use
119 SVE_ADDR_RX_LSL{1,2,3} for LD1RO{H,W,D}.
120
121 2020-01-03 Jan Beulich <jbeulich@suse.com>
122
123 * aarch64-tbl.h (aarch64_opcode_table): Correct SIMD
124 forms of SUDOT and USDOT.
125
126 2020-01-03 Jan Beulich <jbeulich@suse.com>
127
128 * aarch64-tbl.h (aarch64_opcode_table): Drop 'i' from
129 uzip{1,2}.
130 * opcodes/aarch64-dis-2.c: Re-generate.
131
132 2020-01-03 Jan Beulich <jbeulich@suse.com>
133
134 * aarch64-tbl.h (aarch64_opcode_table): Correct 64-bit
135 FMMLA encoding.
136 * opcodes/aarch64-dis-2.c: Re-generate.
137
138 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
139
140 * z80-dis.c: Add support for eZ80 and Z80 instructions.
141
142 2020-01-01 Alan Modra <amodra@gmail.com>
143
144 Update year range in copyright notice of all files.
145
146 For older changes see ChangeLog-2019
147 \f
148 Copyright (C) 2020 Free Software Foundation, Inc.
149
150 Copying and distribution of this file, with or without modification,
151 are permitted in any medium without royalty provided the copyright
152 notice and this notice are preserved.
153
154 Local Variables:
155 mode: change-log
156 left-margin: 8
157 fill-column: 74
158 version-control: never
159 End: