Fix use after free in cgen instruction lookup
[external/binutils.git] / opcodes / ChangeLog
1 2017-02-11  Stafford Horne  <shorne@gmail.com>
2             Alan Modra  <amodra@gmail.com>
3
4         * cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps.
5         Use insn_bytes_value and insn_int_value directly instead.  Don't
6         free allocated memory until function exit.
7
8 2017-02-10  Nicholas Piggin  <npiggin@gmail.com>
9
10         * ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.
11
12 2017-02-03  Nick Clifton  <nickc@redhat.com>
13
14         PR 21096
15         * aarch64-opc.c (print_register_list): Ensure that the register
16         list index will fir into the tb buffer.
17         (print_register_offset_address): Likewise.
18         * tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf.
19
20 2017-01-27  Alexis Deruell  <alexis.deruelle@gmail.com>
21
22         PR 21056
23         * tic6x-dis.c (print_insn_tic6x): Correct displaying of parallel
24         instructions when the previous fetch packet ends with a 32-bit
25         instruction.
26
27 2017-01-24  Dimitar Dimitrov  <dimitar@dinux.eu>
28
29         * pru-opc.c: Remove vague reference to a future GDB port.
30
31 2017-01-20  Nick Clifton  <nickc@redhat.com>
32
33         * po/ga.po: Updated Irish translation.
34
35 2017-01-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36
37         * arm-dis.c (coprocessor_opcodes): Fix vcmla mask and disassembly.
38
39 2017-01-13  Yao Qi  <yao.qi@linaro.org>
40
41         * m68k-dis.c (match_insn_m68k): Extend comments.  Return -1
42         if FETCH_DATA returns 0.
43         (m68k_scan_mask): Likewise.
44         (print_insn_m68k): Update code to handle -1 return value.
45
46 2017-01-13  Yao Qi  <yao.qi@linaro.org>
47
48         * m68k-dis.c (enum print_insn_arg_error): New.
49         (NEXTBYTE): Replace -3 with
50         PRINT_INSN_ARG_MEMORY_ERROR.
51         (NEXTULONG): Likewise.
52         (NEXTSINGLE): Likewise.
53         (NEXTDOUBLE): Likewise.
54         (NEXTDOUBLE): Likewise.
55         (NEXTPACKED): Likewise.
56         (FETCH_ARG): Likewise.
57         (FETCH_DATA): Update comments.
58         (print_insn_arg): Update comments. Replace magic numbers with
59         enum.
60         (match_insn_m68k): Likewise.
61
62 2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
63
64         * i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2.
65         * i386-dis-evex.h (evex_table): Updated.
66         * i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS,
67         CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
68         (cpu_flags): Add CpuAVX512_VPOPCNTDQ.
69         * i386-opc.h (enum): (AVX512_VPOPCNTDQ): New.
70         (i386_cpu_flags): Add cpuavx512_vpopcntdq.
71         * i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions.
72         * i386-init.h: Regenerate.
73         * i386-tbl.h: Ditto.
74
75 2017-01-12  Yao Qi  <yao.qi@linaro.org>
76
77         * msp430-dis.c (msp430_singleoperand): Return -1 if
78         msp430dis_opcode_signed returns false.
79         (msp430_doubleoperand): Likewise.
80         (msp430_branchinstr): Return -1 if
81         msp430dis_opcode_unsigned returns false.
82         (msp430x_calla_instr): Likewise.
83         (print_insn_msp430): Likewise.
84
85 2017-01-05  Nick Clifton  <nickc@redhat.com>
86
87         PR 20946
88         * frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name
89         could not be matched.
90         (frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning
91         NULL.
92
93 2017-01-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
94
95         * aarch64-tbl.h (RCPC, RCPC_INSN): Define.
96         (aarch64_opcode_table): Use RCPC_INSN.
97
98 2017-01-03  Kito Cheng  <kito.cheng@gmail.com>
99
100         * riscv-opc.c (riscv-opcodes): Add support for the "q" ISA
101         extension.
102         * riscv-opcodes/all-opcodes: Likewise.
103
104 2017-01-03  Dilyan Palauzov  <dilyan.palauzov@aegee.org>
105
106         * riscv-dis.c (print_insn_args): Add fall through comment.
107
108 2017-01-03  Nick Clifton  <nickc@redhat.com>
109
110         * po/sr.po: New Serbian translation.
111         * configure.ac (ALL_LINGUAS): Add sr.
112         * configure: Regenerate.
113
114 2017-01-02  Alan Modra  <amodra@gmail.com>
115
116         * epiphany-desc.h: Regenerate.
117         * epiphany-opc.h: Regenerate.
118         * fr30-desc.h: Regenerate.
119         * fr30-opc.h: Regenerate.
120         * frv-desc.h: Regenerate.
121         * frv-opc.h: Regenerate.
122         * ip2k-desc.h: Regenerate.
123         * ip2k-opc.h: Regenerate.
124         * iq2000-desc.h: Regenerate.
125         * iq2000-opc.h: Regenerate.
126         * lm32-desc.h: Regenerate.
127         * lm32-opc.h: Regenerate.
128         * m32c-desc.h: Regenerate.
129         * m32c-opc.h: Regenerate.
130         * m32r-desc.h: Regenerate.
131         * m32r-opc.h: Regenerate.
132         * mep-desc.h: Regenerate.
133         * mep-opc.h: Regenerate.
134         * mt-desc.h: Regenerate.
135         * mt-opc.h: Regenerate.
136         * or1k-desc.h: Regenerate.
137         * or1k-opc.h: Regenerate.
138         * xc16x-desc.h: Regenerate.
139         * xc16x-opc.h: Regenerate.
140         * xstormy16-desc.h: Regenerate.
141         * xstormy16-opc.h: Regenerate.
142
143 2017-01-02  Alan Modra  <amodra@gmail.com>
144
145         Update year range in copyright notice of all files.
146
147 For older changes see ChangeLog-2016
148 \f
149 Copyright (C) 2017 Free Software Foundation, Inc.
150
151 Copying and distribution of this file, with or without modification,
152 are permitted in any medium without royalty provided the copyright
153 notice and this notice are preserved.
154
155 Local Variables:
156 mode: change-log
157 left-margin: 8
158 fill-column: 74
159 version-control: never
160 End: