Prevent a potential illegal memory access in readelf when parsing a note with a zero...
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
10c172ba
WH
12019-01-25 Wu Heng <wu.heng@zte.com.cn>
2
3 PR gas/23940
4 * macro.c (getstring): Check array bound before accessing.
5
0c56b5cf
AM
62019-01-25 Alan Modra <amodra@gmail.com>
7
8 PR 20902
9 PR 24125
10 * read.c (stringer): Delete assertion.
11
375cd423
NC
122019-01-21 Nick Clifton <nickc@redhat.com>
13
14 * po/uk.po: Updated Ukranian translation.
15
f48dfe41
NC
162019-01-19 Nick Clifton <nickc@redhat.com>
17
18 * config.in: Regenerate.
19 * configure: Regenerate.
20 * po/gas.pot: Regenerate.
21
f974f26c
NC
222018-06-24 Nick Clifton <nickc@redhat.com>
23
24 2.32 branch created.
25
dee3ee22
TC
262019-01-17 Tamar Christina <tamar.christina@arm.com>
27
28 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
29 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
30 * testsuite/gas/arm/csdb.d: Skip pe.
31 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
32 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
33 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
34 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
35 * testsuite/gas/arm/udf.d: Skip pe.
36
a4bf3d07
JW
372019-01-16 Kito Cheng <kito@andestech.com>
38
39 * testsuite/gas/riscv/attribute-empty.d: New.
40
2dc8dd17
JW
412019-01-16 Kito Cheng <kito@andestech.com>
42 Nelson Chu <nelson@andestech.com>
43
44 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
45 (riscv_set_options): Add `arch_attr` field.
46 (riscv_opts): Set default value for arch_attr.
47 (riscv_write_out_arch_attr): New.
48 (riscv_set_public_attributes): Likewise.
49 (riscv_md_end): Likewise.
50 (riscv_convert_symbolic_attribute): Likewise.
51 (s_riscv_attribute): Likewise.
52 (explicit_arch_attr): Likewise.
53 (riscv_pseudo_table): Add .attribute to the table.
54 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
55 enumeration constants.
56 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
57 (md_parse_option): Handle the new options.
58 (md_show_usage): Document the `march-attr' option.
59 * config/tc-riscv.h (md_end): Define as riscv_md_end
60 (riscv_md_end): Declare.
61 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
62 riscv_convert_symbolic_attribute.
63 (riscv_convert_symbolic_attribute): Declare.
64 (start_assemble): Declare.
65 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
66 * testsuite/gas/elf/section2.e-riscv: New.
67 * testsuite/gas/riscv/attribute-01.d: New test
68 * testsuite/gas/riscv/attribute-02.d: Likewise.
69 * testsuite/gas/riscv/attribute-03.d: Likewise.
70 * testsuite/gas/riscv/attribute-04.d: Likewise.
71 * testsuite/gas/riscv/attribute-04.s: Likewise.
72 * testsuite/gas/riscv/attribute-05.d: Likewise.
73 * testsuite/gas/riscv/attribute-05.s: Likewise.
74 * testsuite/gas/riscv/attribute-06.d: Likewise.
75 * testsuite/gas/riscv/attribute-06.s: Likewise.
76 * testsuite/gas/riscv/attribute-07.d: Likewise.
77 * testsuite/gas/riscv/attribute-07.s: Likewise.
78 * testsuite/gas/riscv/attribute-08.d: Likewise.
79 * testsuite/gas/riscv/attribute-08.s: Likewise.
80 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
81 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
82 * testsuite/gas/riscv/empty.l: Likewise.
83 * doc/c-riscv.texi (.attribute): Add documentation.
84 * configure.ac (--enable-default-riscv-attribute): New options.
85 * configure: Re-generate.
86 * config.in: Re-generate.
87
d5dcaf1b
JD
882019-01-16 John Darrington <john@darrington.wattle.id.au>
89
e7b47f2e
JD
90 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
91 before the contents.
92 * testsuite/gas/s12z/labels.d: New file.
93 * testsuite/gas/s12z/labels.s: New file.
94 * testsuite/gas/s12z/s12z.exp: Add them.
95 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 96 Also fix message typo and semantics.
e7b47f2e 97 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
98 BFD_RELOC_24.
99 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
100 of R_S12Z_EXT24.
101
55e8aae7
SP
1022019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
103
104 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
105 (insns) [ARM_VARIANT]: Modified.
106 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
107 in ARMv6T2 as well.
108 * testsuite/gas/arm/archv6t2-1.d: New test.
109 * testsuite/gas/arm/archv6t2-1.s: Likewise.
110 * testsuite/gas/arm/archv6t2-2.d: Likewise.
111
c7af41ec
AM
1122019-01-11 Alan Modra <amodra@gmail.com>
113
114 PR 23963
115 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
116 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
117
12add40e
NC
1182019-01-10 Nick Clifton <nickc@redhat.com>
119
120 PR 23963
59aa9b0b
NC
121 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
122 fact that control characters are now displayed as escape
123 sequences.
12add40e
NC
124 * testsuite/gas/mips/mips16-e.d: Likewise.
125 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
126 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
127 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
128 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
129 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
130 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
131 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
132 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
133 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
134 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
135 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
136 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
137 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
138 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
139 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
140 Likewise.
141 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
142 Likewise.
143 * testsuite/gas/mips/mipsel16-e.d: Likewise.
144 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
145 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
146 * testsuite/gas/mips/r6-64-n32.d: Likewise.
147 * testsuite/gas/mips/r6-64-n64.d: Likewise.
148 * testsuite/gas/mips/r6-n32.d: Likewise.
149 * testsuite/gas/mips/r6-n64.d: Likewise.
150 * testsuite/gas/mips/r6.d: Likewise.
151 * testsuite/gas/mips/tmips16-e.d: Likewise.
152 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
153 * testsuite/gas/mn10300/relax.d: Likewise.
154
39f286cd
JD
1552019-01-09 John Darrington <john@darrington.wattle.id.au>
156
157 * testsuite/gas/s12z/jsr.s: New case.
158 * testsuite/gas/s12z/jsr.d: New case.
159
3107326d
AP
1602019-01-09 Andrew Paprocki <andrew@ishiboo.com>
161
162 * configure: Regenerate.
163
c8fcc360
KT
1642019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
165
166 * config/tc-aarch64.c (aarch64_cpus): Add ares.
167 * doc/c-aarch64.texi (-mcpu): Document ares value.
168
171b8e19
AM
1692019-01-08 Alan Modra <amodra@gmail.com>
170
171 * testsuite/gas/rx/rx.exp: Create generated test source in
172 current directory.
173 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
174 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
175 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
176 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
177 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
178 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
179 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
180 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
181 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
182 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
183 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
184 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
185 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
186 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
187 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
188 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
189 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
190 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
191 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
192 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
193 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
194 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
195 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
196 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
197 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
198 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
199 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
200 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
201 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
202 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
203 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
204 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
205 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
206 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
207 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
208 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
209 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
210 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
211 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
212 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
213 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
214 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
215 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
216 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
217 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
218 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
219 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
220 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
221 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
222 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
223 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
224 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
225 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
226 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
227 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
228 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
229 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
230 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
231 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
232 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
233 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
234 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
235 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
236 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
237 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
238 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
239 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
240 * testsuite/gas/rx/xor.d: Add #source line.
241
ef8df4ca
KT
2422019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
243
244 * config/tc-arm.c (arm_cpus): Add ares.
245 * doc/c-arm.texi (-mcpu): Document ares value.
246
6a25bee8
YS
2472019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
248
249 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
250 (rx_bfield): Add prototype.
251 (rx_post): Likewise.
252 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
253 (DSIZE): Define.
254 (POST): Define.
255 (rx_check_v3): New. check v3 type.
256 (rx_check_dfpu): New. check have double support.
257 (double_condition_table): New. dcmp<cond> contiditon.
258 (check_condition): Multiple condition support.
259 (rx_lex): RXv3 instructions support.
260 Add parse dcmp<cond> instruction and Double FPU registers.
261 (immediate): Disable optimize in dmov #imm case.
262 (displacement): Add double displacement in dmov instraction.
263 * config/tc-rx.c (rx_use_conventional_section_names):
264 Invert default value in rx-*-linux target.
265 (cpu_type): Add additional ELF flags.
266 (cpu_type_list): Add RXv3.
267 (md_parse_option): Refer elf_flags from cpu_type_list.
268 (md_show_usage): Add rxv3 and rxv3-dfpu.
269 (rx_bytesT): Add post byte.
270 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
271 (rx_post): New. Set instruction post byte.
272 (md_assemble): Add post byte.
273 doc/c-rx.texi: Add cpu types.
274 * testsuite/gas/rx/Xtod.d: New.
275 * testsuite/gas/rx/Xtod.sm: New.
276 * testsuite/gas/rx/bfmov.d: New.
277 * testsuite/gas/rx/bfmov.sm: New.
278 * testsuite/gas/rx/dabs.d: New.
279 * testsuite/gas/rx/dabs.sm: New.
280 * testsuite/gas/rx/dadd.d: New.
281 * testsuite/gas/rx/dadd.sm: New.
282 * testsuite/gas/rx/dcmp.d: New.
283 * testsuite/gas/rx/dcmp.sm: New.
284 * testsuite/gas/rx/ddiv.d: New.
285 * testsuite/gas/rx/ddiv.sm: New.
286 * testsuite/gas/rx/dmov.d: New.
287 * testsuite/gas/rx/dmov.sm: New.
288 * testsuite/gas/rx/dmul.d: New.
289 * testsuite/gas/rx/dmul.sm: New.
290 * testsuite/gas/rx/dneg.d: New.
291 * testsuite/gas/rx/dneg.sm: New.
292 * testsuite/gas/rx/dpopm.d: New.
293 * testsuite/gas/rx/dpopm.sm: New.
294 * testsuite/gas/rx/dpushm.d: New.
295 * testsuite/gas/rx/dpushm.sm: New.
296 * testsuite/gas/rx/dround.d: New.
297 * testsuite/gas/rx/dround.sm: New.
298 * testsuite/gas/rx/dsqrt.d: New.
299 * testsuite/gas/rx/dsqrt.sm: New.
300 * testsuite/gas/rx/dsub.d: New.
301 * testsuite/gas/rx/dsub.sm: New.
302 * testsuite/gas/rx/dtoX.d: New.
303 * testsuite/gas/rx/dtoX.sm: New.
304 * testsuite/gas/rx/macros.inc: Add double FPU registers.
305 * testsuite/gas/rx/mvfdc.d: New.
306 * testsuite/gas/rx/mvfdc.sm: New.
307 * testsuite/gas/rx/mvfdr.d: New.
308 * testsuite/gas/rx/mvfdr.sm: New.
309 * testsuite/gas/rx/mvtdc.d: New.
310 * testsuite/gas/rx/mvtdc.sm: New.
311 * testsuite/gas/rx/rstr.d: New.
312 * testsuite/gas/rx/rstr.sm: New.
313 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
314 * testsuite/gas/rx/save.d: New.
315 * testsuite/gas/rx/save.sm: New.
316 * testsuite/gas/rx/xor.d: New.
317 * testsuite/gas/rx/xor.sm: Add pattern.
318
1b2ed39c
WH
3192019-01-04 Wu Heng <wu.heng@zte.com.cn>
320
321 PR 24010
322 * macro.c (get_any_string): Check for end of input whilst scanning
323 for separators.
324
bdfb4455
WH
3252019-01-04 Wu Heng <wu.heng@zte.com.cn>
326
327 PR 24009
328 * read.c (stringer): Fix handling of missing '>' character at end
329 of <...> sequence.
330
82704155
AM
3312019-01-01 Alan Modra <amodra@gmail.com>
332
333 Update year range in copyright notice of all files.
334
d5c04e1b 335For older changes see ChangeLog-2018
3499769a 336\f
d5c04e1b 337Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
338
339Copying and distribution of this file, with or without modification,
340are permitted in any medium without royalty provided the copyright
341notice and this notice are preserved.
342
343Local Variables:
344mode: change-log
345left-margin: 8
346fill-column: 74
347version-control: never
348End:
This page took 0.203431 seconds and 4 git commands to generate.