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