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