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