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