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