[ARM] Add TLS relocations for FDPIC.
[external/binutils.git] / gas / ChangeLog
1 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
2         Mickaël Guêné  <mickael.guene@st.com>
3
4         * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC,
5         GOTTPOFF_FDIC relocations.
6         (md_apply_fix): Handle the new TLS FDPIC relocations.
7         (tc_gen_reloc): Likewise.
8         (arm_fix_adjustable): Likewise.
9
10 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
11         Mickaël Guêné  <mickael.guene@st.com>
12
13         * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc,
14         funcdesc.
15         (md_apply_fix): Support the new relocations.
16         (tc_gen_reloc): Likewise.
17         * testsuite/gas/arm/reloc-fdpic.d: New.
18         * testsuite/gas/arm/reloc-fdpic.s: New.
19
20 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
21         Mickaël Guêné  <mickael.guene@st.com>
22
23         * config/tc-arm.c (arm_fdpic): New.
24         (elf32_arm_target_format): Support FDPIC.
25         (OPTION_FDPIC): New.
26         (md_longopts): Support FDPIC.
27         (md_parse_option): Likewise.
28         (md_show_usage): Likewise.
29
30 2018-04-25  Tamar Christina  <tamar.christina@arm.com>
31
32         * testsuite/gas/aarch64/rdma.s: Test for larger register numbers.
33         * testsuite/gas/aarch64/rdma.d: Update results.
34         * testsuite/gas/aarch64/rdma-directive.d: Likewise.
35
36 2018-04-25  Nick Clifton  <nickc@redhat.com>
37
38         * po/es.po: Updated Spanish translation.
39
40 2018-04-25  Alan Modra  <amodra@gmail.com>
41
42         * Makefile.am: Remove arm-aout and arm-coff support.
43         * config/tc-arm.c: Likewise.
44         * config/tc-arm.h: Likewise.
45         * configure.tgt: Likewise.
46         * testsuite/gas/aarch64/codealign.d: Likewise.
47         * testsuite/gas/aarch64/mapping.d: Likewise.
48         * testsuite/gas/aarch64/mapping2.d: Likewise.
49         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise.
50         * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise.
51         * testsuite/gas/arm/addsw-bad.d: Likewise.
52         * testsuite/gas/arm/align.d: Likewise.
53         * testsuite/gas/arm/align64.d: Likewise.
54         * testsuite/gas/arm/arch7.d: Likewise.
55         * testsuite/gas/arm/arch7a-mp.d: Likewise.
56         * testsuite/gas/arm/arch7em.d: Likewise.
57         * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
58         * testsuite/gas/arm/arm-it-auto-2.d: Likewise.
59         * testsuite/gas/arm/arm-it-auto-3.d: Likewise.
60         * testsuite/gas/arm/arm-it-auto.d: Likewise.
61         * testsuite/gas/arm/arm-it-bad-2.d: Likewise.
62         * testsuite/gas/arm/arm-it.d: Likewise.
63         * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise.
64         * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
65         * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise.
66         * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise.
67         * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise.
68         * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise.
69         * testsuite/gas/arm/armv8-a+crypto.d: Likewise.
70         * testsuite/gas/arm/armv8-a+fp.d: Likewise.
71         * testsuite/gas/arm/armv8-a+ras.d: Likewise.
72         * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise.
73         * testsuite/gas/arm/armv8-a+rdma.d: Likewise.
74         * testsuite/gas/arm/armv8-a+simd.d: Likewise.
75         * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
76         * testsuite/gas/arm/armv8-r+fp.d: Likewise.
77         * testsuite/gas/arm/armv8-r+simd.d: Likewise.
78         * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise.
79         * testsuite/gas/arm/armv8_1-a+simd.d: Likewise.
80         * testsuite/gas/arm/armv8_2+rdma.d: Likewise.
81         * testsuite/gas/arm/armv8_2-a.d: Likewise.
82         * testsuite/gas/arm/armv8_3-a-fp.d: Likewise.
83         * testsuite/gas/arm/armv8_3-a-simd.d: Likewise.
84         * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise.
85         * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise.
86         * testsuite/gas/arm/attr-syntax.d: Likewise.
87         * testsuite/gas/arm/automatic-bw.d: Likewise.
88         * testsuite/gas/arm/automatic-cbz.d: Likewise.
89         * testsuite/gas/arm/automatic-clrex.d: Likewise.
90         * testsuite/gas/arm/automatic-lda.d: Likewise.
91         * testsuite/gas/arm/automatic-ldaex.d: Likewise.
92         * testsuite/gas/arm/automatic-ldaexb.d: Likewise.
93         * testsuite/gas/arm/automatic-ldrex.d: Likewise.
94         * testsuite/gas/arm/automatic-ldrexd.d: Likewise.
95         * testsuite/gas/arm/automatic-movw.d: Likewise.
96         * testsuite/gas/arm/automatic-sdiv.d: Likewise.
97         * testsuite/gas/arm/automatic-strexb.d: Likewise.
98         * testsuite/gas/arm/barrier-bad-thumb.d: Likewise.
99         * testsuite/gas/arm/barrier-bad.d: Likewise.
100         * testsuite/gas/arm/barrier-thumb.d: Likewise.
101         * testsuite/gas/arm/barrier.d: Likewise.
102         * testsuite/gas/arm/bignum1.d: Likewise.
103         * testsuite/gas/arm/blx-bad.d: Likewise.
104         * testsuite/gas/arm/blx-bl-convert.d: Likewise.
105         * testsuite/gas/arm/blx-local.s: Likewise.
106         * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise.
107         * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
108         * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
109         * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
110         * testsuite/gas/arm/dis-data.d: Likewise.
111         * testsuite/gas/arm/dis-data2.d: Likewise.
112         * testsuite/gas/arm/dis-data3.d: Likewise.
113         * testsuite/gas/arm/eabi_attr_1.d: Likewise.
114         * testsuite/gas/arm/fp-save.d: Likewise.
115         * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise.
116         * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise.
117         * testsuite/gas/arm/group-reloc-alu.d: Likewise.
118         * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise.
119         * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise.
120         * testsuite/gas/arm/group-reloc-ldc.d: Likewise.
121         * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise.
122         * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise.
123         * testsuite/gas/arm/group-reloc-ldr.d: Likewise.
124         * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise.
125         * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise.
126         * testsuite/gas/arm/group-reloc-ldrs.d: Likewise.
127         * testsuite/gas/arm/insn-error-a.d: Likewise.
128         * testsuite/gas/arm/insn-error-t.d: Likewise.
129         * testsuite/gas/arm/inst-po-2.d: Likewise.
130         * testsuite/gas/arm/inst-po-3.d: Likewise.
131         * testsuite/gas/arm/inst-po-be.d: Likewise.
132         * testsuite/gas/arm/inst-po.d: Likewise.
133         * testsuite/gas/arm/ldconst.d: Likewise.
134         * testsuite/gas/arm/ldgesb-bad.d: Likewise.
135         * testsuite/gas/arm/ldgesh-bad.d: Likewise.
136         * testsuite/gas/arm/ldst-offset0.d: Likewise.
137         * testsuite/gas/arm/local_function.d: Likewise.
138         * testsuite/gas/arm/local_label_coff.d: Likewise.
139         * testsuite/gas/arm/local_label_elf.d: Likewise.
140         * testsuite/gas/arm/mapping.d: Likewise.
141         * testsuite/gas/arm/mapping2.d: Likewise.
142         * testsuite/gas/arm/mapping3.d: Likewise.
143         * testsuite/gas/arm/mapping4.d: Likewise.
144         * testsuite/gas/arm/mapshort-elf.d: Likewise.
145         * testsuite/gas/arm/mask_1-armv8-a.d: Likewise.
146         * testsuite/gas/arm/mask_1-armv8-r.d: Likewise.
147         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise.
148         * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise.
149         * testsuite/gas/arm/movw-local.d: Likewise.
150         * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
151         * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
152         * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
153         * testsuite/gas/arm/msr-imm-bad.d: Likewise.
154         * testsuite/gas/arm/msr-reg-bad.d: Likewise.
155         * testsuite/gas/arm/msr-reg-thumb.d: Likewise.
156         * testsuite/gas/arm/nomapping.d: Likewise.
157         * testsuite/gas/arm/nops.d: Likewise.
158         * testsuite/gas/arm/pic.d: Likewise.
159         * testsuite/gas/arm/pinsn.d: Likewise.
160         * testsuite/gas/arm/plt-1.d: Likewise.
161         * testsuite/gas/arm/pr21458.d: Likewise.
162         * testsuite/gas/arm/pr9722.d: Likewise.
163         * testsuite/gas/arm/strex-t.d: Likewise.
164         * testsuite/gas/arm/t2-branch-global.d: Likewise.
165         * testsuite/gas/arm/target-reloc-1.d: Likewise.
166         * testsuite/gas/arm/thumb-b-bad.d: Likewise.
167         * testsuite/gas/arm/thumb-w-bad.d: Likewise.
168         * testsuite/gas/arm/thumb-w-good.d: Likewise.
169         * testsuite/gas/arm/thumb.d: Likewise.
170         * testsuite/gas/arm/thumb2_it.d: Likewise.
171         * testsuite/gas/arm/thumb2_it_auto.d: Likewise.
172         * testsuite/gas/arm/thumb2_it_search.d: Likewise.
173         * testsuite/gas/arm/thumb2_ldmstm.d: Likewise.
174         * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise.
175         * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
176         * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise.
177         * testsuite/gas/arm/thumb2_pool.d: Likewise.
178         * testsuite/gas/arm/thumb2_vpool.d: Likewise.
179         * testsuite/gas/arm/thumb2_vpool_be.d: Likewise.
180         * testsuite/gas/arm/thumb32.d: Likewise.
181         * testsuite/gas/arm/thumbver.d: Likewise.
182         * testsuite/gas/arm/tls.d: Likewise.
183         * testsuite/gas/arm/tls_vxworks.d: Likewise.
184         * testsuite/gas/arm/undefined.d: Likewise.
185         * testsuite/gas/arm/undefined_coff.d: Likewise.
186         * testsuite/gas/arm/unwind.d: Likewise.
187         * testsuite/gas/arm/v4bx.d: Likewise.
188         * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise.
189         * testsuite/gas/arm/vcvt-bad.d: Likewise.
190         * testsuite/gas/arm/vfma1.d: Likewise.
191         * testsuite/gas/arm/vldconst.d: Likewise.
192         * testsuite/gas/arm/vldconst_be.d: Likewise.
193         * testsuite/gas/arm/vldm-arm.d: Likewise.
194         * testsuite/gas/arm/vldr.d: Likewise.
195         * testsuite/gas/arm/weakdef-1.d: Likewise.
196         * testsuite/gas/arm/weakdef-2.d: Likewise.
197         * config/te-riscix.h: Delete.
198         * Makefile.in: Regenerate.
199         * po/POTFILES.in: Regenerate.
200
201 2018-04-23  Alan Modra  <amodra@gmail.com>
202
203         * stabs.c (generate_asm_file): Use memcpy rather than strncpy.
204         Remove call to strlen inside loop.
205         * config/tc-cr16.c (getreg_image): Warning fix.
206         * config/tc-crx.c (getreg_image): Warning fix.
207
208 2018-04-20  Kito Cheng  <kito.cheng@gmail.com>
209
210         * config/tc-riscv.c (options): Add OPTION_RELAX and
211         OPTION_NO_RELAX.
212         (md_longopts): New option -mrelax and -mno-relax.
213         (md_parse_option): Handle -mrelax and -mno-relax.
214         * doc/c-riscv.texi: Document for -mrelax and -mno-relax.
215         * testsuite/gas/riscv/no-relax-reloc.d: New.
216         * testsuite/gas/riscv/no-relax-reloc.s: New.
217         * testsuite/gas/riscv/relax-reloc.d: New.
218         * testsuite/gas/riscv/relax-reloc.s: New.
219
220 2018-04-20  Nick Clifton  <nickc@redhat.com>
221
222         * po/es.po: Updated Spanish translation.
223
224 2018-04-18  Alan Modra  <amodra@gmail.com>
225
226         * Makefile.am: Remove support for assorted i386 aout and coff targets.
227         * config/obj-elf.c: Likewise.
228         * config/tc-i386.h: Likewise.
229         * configure.ac: Likewise.
230         * configure.tgt: Likewise.
231         * config/te-dynix.h: Delete.
232         * config/te-i386aix.h: Delete.
233         * config/te-mach.h: Delete.
234         * Makefile.in: Regenerate.
235         * config.in: Regenerate.
236         * configure: Regenerate.
237         * po/POTFILES.in: Regenerate.
238
239 2018-04-18  Alan Modra  <amodra@gmail.com>
240
241         * configure.tgt: Remove *-*-bsd* entry.
242
243 2018-04-17 Andrew Sadek  <andrew.sadek.se@gmail.com>
244
245         Microblaze Target: PIC data text relative
246
247         * gas/config/tc-microblaze.c (Handle new relocs directives in
248         assembler): Handle new relocs from compiler output.
249         (imm_types): add new imm types for data text relative addressing
250         TEXT_OFFSET, TEXT_PC_OFFSET
251         (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
252         BFD_RELOC_MICROBLAZE_64_TEXTPCREL
253         (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
254         BFD_RELOC_MICROBLAZE_64_TEXTPCREL
255         (md_estimate_size_before_relax): estimate size for
256         BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
257         BFD_RELOC_MICROBLAZE_64_TEXTPCREL
258         (tc_gen_reloc): generate relocations for
259         BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
260         BFD_RELOC_MICROBLAZE_64_TEXTPCREL
261
262 2018-04-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
263
264         * testsuite/gas/i386/nops.s: Revert back deleted lines and
265         change encoding to 0x0f1c /1 to map to NOP.
266         * testsuite/gas/i386/x86-64-nops.s: Likewise.
267         * testsuite/gas/i386/nops.d: Likewise.
268         * testsuite/gas/i386/x86-64-nops.d: Likewise.
269         * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.
270
271 2018-04-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
272
273         * config/tc-i386.c (cpu_arch): Add .cldemote.
274         * doc/c-i386.texi: Document cldemote/.cldemote.
275         * testsuite/gas/i386/cldemote-intel.d: New.
276         * testsuite/gas/i386/cldemote.d: Likewise.
277         * testsuite/gas/i386/cldemote.s: Likewise.
278         * testsuite/gas/i386/i386.exp: Run new tests.
279         * testsuite/gas/i386/x86-64-cldemote-intel.d: New.
280         * testsuite/gas/i386/x86-64-cldemote.d: Likewise.
281         * testsuite/gas/i386/x86-64-cldemote.s: Likewise.
282         * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
283         NOP encoding that maps to cldemote.
284         * testsuite/gas/i386/nops.d: Likewise.
285         * testsuite/gas/i386/nops.s: Likewise.
286         * testsuite/gas/i386/x86-64-nops.d: Likewise.
287         * testsuite/gas/i386/x86-64-nops.s: Likewise.
288
289 2018-04-16  Nick Clifton  <nickc@redhat.com>
290
291         PR 23054
292         * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc
293         followed by memcpy.
294         (s_if, s_ifb, s_ifc, s_ifeqs): Likewise.
295         * obj-elf.c (elf_adjust_symtab): Check for local symbols before
296         attempting to dereference the sy_next field of a symbol.
297         * stabs.c (get_stab_string_offset): Fail if there is no string
298         following the stab directive.
299
300 2018-04-16  Alan Modra  <amodra@gmail.com>
301
302         * Makefile.am: Remove arm-epoc-pe support.
303         * config/tc-arm.h: Likewise.
304         * configure.tgt: Likewise.
305         * testsuite/gas/all/gas.exp: Likewise.
306         * testsuite/gas/arm/local_label_coff.d: Likewise.
307         * testsuite/gas/arm/undefined.d: Likewise.
308         * testsuite/gas/arm/undefined_coff.d: Likewise.
309         * config/te-epoc-pe.h: Delete.
310         * Makefile.in: Regenerate.
311         * po/POTFILES.in: Regenerate.
312
313 2018-04-16  Alan Modra  <amodra@gmail.com>
314
315         * Makefile.am: Remove sparc-aout and sparc-coff support.
316         * config/obj-coff.h: Likewise.
317         * config/tc-sparc.c: Likewise.
318         * config/tc-sparc.h: Likewise.
319         * configure.tgt: Likewise.
320         * config/te-sparcaout.h: Delete.
321         * testsuite/gas/sun4/addend.d: Delete.
322         * testsuite/gas/sun4/addend.exp: Delete.
323         * testsuite/gas/sun4/addend.s: Delete.
324         * Makefile.in: Regenerate.
325         * po/POTFILES.in: Regenerate.
326
327 2018-04-16  Alan Modra  <amodra@gmail.com>
328
329         * Makefile.am: Remove m68k-aout and m68k-coff support.
330         * config/tc-m68k.c: Likewise.
331         * config/tc-m68k.h: Likewise.
332         * configure.ac: Likewise.
333         * configure.tgt: Likewise.
334         * testsuite/gas/all/weakref1u.d: Likewise.
335         * testsuite/gas/m68k/all.exp: Likewise.
336         * testsuite/gas/m68k/br-isaa.d: Likewise.
337         * testsuite/gas/m68k/br-isab.d: Likewise.
338         * testsuite/gas/m68k/br-isac.d: Likewise.
339         * config/te-psos.h: Delete.
340         * config/te-sun3.h: Delete.
341         * testsuite/gas/m68k-coff/gas.exp: Delete.
342         * testsuite/gas/m68k-coff/p2389.s: Delete.
343         * testsuite/gas/m68k-coff/p2389a.s: Delete.
344         * testsuite/gas/m68k-coff/p2430.s: Delete.
345         * testsuite/gas/m68k-coff/p2430a.s: Delete.
346         * testsuite/gas/m68k-coff/t1.s: Delete.
347         * testsuite/gas/m68k/p3041.d: Delete.
348         * testsuite/gas/m68k/p3041.s: Delete.
349         * testsuite/gas/m68k/p3041data.d: Delete.
350         * testsuite/gas/m68k/p3041data.s: Delete.
351         * testsuite/gas/m68k/p3041pcrel.d: Delete.
352         * testsuite/gas/m68k/p3041pcrel.s: Delete.
353         * testsuite/gas/m68k/t2.d: Delete.
354         * Makefile.in: Regenerate.
355         * config.in: Regenerate.
356         * configure: Regenerate.
357         * po/POTFILES.in: Regenerate.
358
359 2018-04-16  Alan Modra  <amodra@gmail.com>
360
361         * Makefile.am: Remove sh5 and sh64 support.
362         * config/tc-sh.c: Likewise.
363         * configure.tgt: Likewise.
364         * doc/Makefile.am: Likewise.
365         * doc/as.texinfo: Likewise.
366         * testsuite/gas/cfi/cfi.exp: Likewise.
367         * testsuite/gas/sh/basic.exp: Likewise.
368         * config/tc-sh64.c: Delete.
369         * config/tc-sh64.h: Delete.
370         * doc/c-sh64.texi: Delete.
371         * testsuite/gas/sh/sh64/abi-32.d: Delete.
372         * testsuite/gas/sh/sh64/abi-32.s: Delete.
373         * testsuite/gas/sh/sh64/abi-64.d: Delete.
374         * testsuite/gas/sh/sh64/abi-64.s: Delete.
375         * testsuite/gas/sh/sh64/basic-1.d: Delete.
376         * testsuite/gas/sh/sh64/basic-1.s: Delete.
377         * testsuite/gas/sh/sh64/case-1.d: Delete.
378         * testsuite/gas/sh/sh64/case-1.s: Delete.
379         * testsuite/gas/sh/sh64/case-noexp-1.d: Delete.
380         * testsuite/gas/sh/sh64/crange1-1.d: Delete.
381         * testsuite/gas/sh/sh64/crange1-2.d: Delete.
382         * testsuite/gas/sh/sh64/crange1.s: Delete.
383         * testsuite/gas/sh/sh64/crange2-1.d: Delete.
384         * testsuite/gas/sh/sh64/crange2-2.d: Delete.
385         * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete.
386         * testsuite/gas/sh/sh64/crange2.s: Delete.
387         * testsuite/gas/sh/sh64/crange3-1.d: Delete.
388         * testsuite/gas/sh/sh64/crange3.s: Delete.
389         * testsuite/gas/sh/sh64/crange4-1.d: Delete.
390         * testsuite/gas/sh/sh64/crange4.s: Delete.
391         * testsuite/gas/sh/sh64/crange5-1.d: Delete.
392         * testsuite/gas/sh/sh64/crange5.s: Delete.
393         * testsuite/gas/sh/sh64/creg-1.d: Delete.
394         * testsuite/gas/sh/sh64/creg-1.s: Delete.
395         * testsuite/gas/sh/sh64/creg-2.d: Delete.
396         * testsuite/gas/sh/sh64/creg-2.s: Delete.
397         * testsuite/gas/sh/sh64/datal-1.s: Delete.
398         * testsuite/gas/sh/sh64/datal-2.d: Delete.
399         * testsuite/gas/sh/sh64/datal-2.s: Delete.
400         * testsuite/gas/sh/sh64/datal-3.s: Delete.
401         * testsuite/gas/sh/sh64/datal32-1.d: Delete.
402         * testsuite/gas/sh/sh64/datal32-3.d: Delete.
403         * testsuite/gas/sh/sh64/datal64-1.d: Delete.
404         * testsuite/gas/sh/sh64/datal64-3.d: Delete.
405         * testsuite/gas/sh/sh64/eh-1.d: Delete.
406         * testsuite/gas/sh/sh64/eh-1.s: Delete.
407         * testsuite/gas/sh/sh64/endian-1.d: Delete.
408         * testsuite/gas/sh/sh64/endian-1.s: Delete.
409         * testsuite/gas/sh/sh64/endian-2.d: Delete.
410         * testsuite/gas/sh/sh64/endian-2.s: Delete.
411         * testsuite/gas/sh/sh64/err-1.s: Delete.
412         * testsuite/gas/sh/sh64/err-2.s: Delete.
413         * testsuite/gas/sh/sh64/err-3.s: Delete.
414         * testsuite/gas/sh/sh64/err-4.s: Delete.
415         * testsuite/gas/sh/sh64/err-abi-32.s: Delete.
416         * testsuite/gas/sh/sh64/err-abi-64.s: Delete.
417         * testsuite/gas/sh/sh64/err-dsp.s: Delete.
418         * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete.
419         * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete.
420         * testsuite/gas/sh/sh64/err-pt-1.s: Delete.
421         * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete.
422         * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete.
423         * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete.
424         * testsuite/gas/sh/sh64/err-ptb-1.s: Delete.
425         * testsuite/gas/sh/sh64/err-ptb-2.s: Delete.
426         * testsuite/gas/sh/sh64/err.exp: Delete.
427         * testsuite/gas/sh/sh64/immexpr1.s: Delete.
428         * testsuite/gas/sh/sh64/immexpr2.s: Delete.
429         * testsuite/gas/sh/sh64/immexpr32-1.d: Delete.
430         * testsuite/gas/sh/sh64/immexpr32-2.d: Delete.
431         * testsuite/gas/sh/sh64/immexpr64-1.d: Delete.
432         * testsuite/gas/sh/sh64/immexpr64-2.d: Delete.
433         * testsuite/gas/sh/sh64/lineno.d: Delete.
434         * testsuite/gas/sh/sh64/lineno.s: Delete.
435         * testsuite/gas/sh/sh64/localcom-1.d: Delete.
436         * testsuite/gas/sh/sh64/localcom-1.s: Delete.
437         * testsuite/gas/sh/sh64/mix-1.d: Delete.
438         * testsuite/gas/sh/sh64/mix-1.s: Delete.
439         * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete.
440         * testsuite/gas/sh/sh64/movi-1.s: Delete.
441         * testsuite/gas/sh/sh64/movi-2.s: Delete.
442         * testsuite/gas/sh/sh64/movi-3.d: Delete.
443         * testsuite/gas/sh/sh64/movi-3.s: Delete.
444         * testsuite/gas/sh/sh64/movi32-1.d: Delete.
445         * testsuite/gas/sh/sh64/movi32-2.d: Delete.
446         * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete.
447         * testsuite/gas/sh/sh64/movi64-1.d: Delete.
448         * testsuite/gas/sh/sh64/movi64-2.d: Delete.
449         * testsuite/gas/sh/sh64/movi64-2.s: Delete.
450         * testsuite/gas/sh/sh64/movi64-3.d: Delete.
451         * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete.
452         * testsuite/gas/sh/sh64/pt-1.d: Delete.
453         * testsuite/gas/sh/sh64/pt-1.s: Delete.
454         * testsuite/gas/sh/sh64/pt-2.s: Delete.
455         * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete.
456         * testsuite/gas/sh/sh64/pt32-1.d: Delete.
457         * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete.
458         * testsuite/gas/sh/sh64/pt64-1.d: Delete.
459         * testsuite/gas/sh/sh64/pt64-32-1.d: Delete.
460         * testsuite/gas/sh/sh64/pt64-32-2.d: Delete.
461         * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete.
462         * testsuite/gas/sh/sh64/ptc-1.s: Delete.
463         * testsuite/gas/sh/sh64/ptc32-1.d: Delete.
464         * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete.
465         * testsuite/gas/sh/sh64/ptc64-1.d: Delete.
466         * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete.
467         * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete.
468         * testsuite/gas/sh/sh64/ptext-1.s: Delete.
469         * testsuite/gas/sh/sh64/ptext32-1.d: Delete.
470         * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete.
471         * testsuite/gas/sh/sh64/ptext64-1.d: Delete.
472         * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete.
473         * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete.
474         * testsuite/gas/sh/sh64/rel-1.s: Delete.
475         * testsuite/gas/sh/sh64/rel-2.s: Delete.
476         * testsuite/gas/sh/sh64/rel-3.s: Delete.
477         * testsuite/gas/sh/sh64/rel-4.s: Delete.
478         * testsuite/gas/sh/sh64/rel-5.s: Delete.
479         * testsuite/gas/sh/sh64/rel32-1.d: Delete.
480         * testsuite/gas/sh/sh64/rel32-2.d: Delete.
481         * testsuite/gas/sh/sh64/rel32-3.d: Delete.
482         * testsuite/gas/sh/sh64/rel32-4.d: Delete.
483         * testsuite/gas/sh/sh64/rel32-5.d: Delete.
484         * testsuite/gas/sh/sh64/rel64-1.d: Delete.
485         * testsuite/gas/sh/sh64/rel64-2.d: Delete.
486         * testsuite/gas/sh/sh64/rel64-3.d: Delete.
487         * testsuite/gas/sh/sh64/rel64-4.d: Delete.
488         * testsuite/gas/sh/sh64/rel64-5.d: Delete.
489         * testsuite/gas/sh/sh64/relax-1.d: Delete.
490         * testsuite/gas/sh/sh64/relax-1.s: Delete.
491         * testsuite/gas/sh/sh64/relax-2.d: Delete.
492         * testsuite/gas/sh/sh64/relax-2.s: Delete.
493         * testsuite/gas/sh/sh64/relax-3.d: Delete.
494         * testsuite/gas/sh/sh64/relax-3.s: Delete.
495         * testsuite/gas/sh/sh64/sh64.exp: Delete.
496         * testsuite/gas/sh/sh64/shift-1.s: Delete.
497         * testsuite/gas/sh/sh64/shift-2.s: Delete.
498         * testsuite/gas/sh/sh64/shift-3.s: Delete.
499         * testsuite/gas/sh/sh64/shift32-1.d: Delete.
500         * testsuite/gas/sh/sh64/shift32-3.d: Delete.
501         * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete.
502         * testsuite/gas/sh/sh64/shift64-1.d: Delete.
503         * testsuite/gas/sh/sh64/shift64-2.d: Delete.
504         * testsuite/gas/sh/sh64/shift64-3.d: Delete.
505         * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete.
506         * testsuite/gas/sh/sh64/syntax-1.d: Delete.
507         * testsuite/gas/sh/sh64/syntax-1.s: Delete.
508         * testsuite/gas/sh/sh64/syntax-2.d: Delete.
509         * testsuite/gas/sh/sh64/syntax-2.s: Delete.
510         * testsuite/gas/sh/sh64/ua-1.s: Delete.
511         * testsuite/gas/sh/sh64/ua32-1.d: Delete.
512         * testsuite/gas/sh/sh64/ua64-1.d: Delete.
513         * Makefile.in: Regenerate.
514         * doc/Makefile.in: Regenerate.
515         * po/POTFILES.in: Regenerate.
516
517 2018-04-16  Alan Modra  <amodra@gmail.com>
518
519         * config/tc-sh.c: Remove sh-symbianelf support.
520         * config/tc-sh.h: Likewise.
521         * configure.ac: Likewise.
522         * configure.tgt: Likewise.
523         * testsuite/gas/sh/reg-prefix.d: Likewise.
524         * testsuite/gas/sh/sh2a-pic.d: Likewise.
525         * config.in: Regenerate.
526         * configure: Regenerate.
527
528 2018-04-16  Alan Modra  <amodra@gmail.com>
529
530         * configure.ac: Remove m88k support.
531         * config.in: Regenerate.
532         * configure: Regenerate.
533
534 2018-04-16  Alan Modra  <amodra@gmail.com>
535
536         * Makefile.am: Remove i370 support.
537         * app.c: Likewise.
538         * config/obj-elf.c: Likewise.
539         * configure.tgt: Likewise.
540         * doc/Makefile.am: Likewise.
541         * doc/as.texinfo: Likewise.
542         * testsuite/gas/all/gas.exp: Likewise.
543         * testsuite/gas/elf/warn-2.s: Likewise.
544         * testsuite/gas/lns/lns.exp: Likewise.
545         * config/tc-i370.c: Delete.
546         * config/tc-i370.h: Delete.
547         * doc/c-i370.texi: Delete.
548         * Makefile.in: Regenerate.
549         * doc/Makefile.in: Regenerate.
550         * po/POTFILES.in: Regenerate.
551
552 2018-04-16  Alan Modra  <amodra@gmail.com>
553
554         * config/obj-coff.h: Remove h8500 support.
555
556 2018-04-16  Alan Modra  <amodra@gmail.com>
557
558         * config/obj-coff.h: Remove h8300-coff support.
559         * config/tc-h8300.c: Likewise.
560         * config/tc-h8300.h: Likewise.
561         * testsuite/gas/h8300/h8300.exp: Likewise.
562         * testsuite/gas/h8300/branch-coff.s: Delete.
563         * testsuite/gas/h8300/branchh-coff.s: Delete.
564         * testsuite/gas/h8300/branchs-coff.s: Delete.
565         * testsuite/gas/h8300/ffxx1-coff.d: Delete.
566         * testsuite/gas/h8300/ffxx1-coff.s: Delete.
567         * testsuite/gas/h8300/h8300-coff.exp: Delete.
568
569 2018-04-16  Alan Modra  <amodra@gmail.com>
570
571         * app.c: Remove IEEE 695 support.
572         * symbols.c: Likewise.
573
574 2018-04-16  Alan Modra  <amodra@gmail.com>
575
576         * Makefile.am: Remove netware support.
577         * config/tc-i386.c: Likewise.
578         * configure.tgt: Likewise.
579         * config/te-netware.h: Delete.
580         * Makefile.in: Regenerate.
581         * po/POTFILES.in: Regenerate.
582
583 2018-04-15  H.J. Lu  <hongjiu.lu@intel.com>
584
585         * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers
586         tests for tpause and umwait.
587         * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated.
588         * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
589
590 2018-04-12  John Darrington  <john@darrington.wattle.id.au>
591
592         * as.c (main): Fail if the output is the same as one of the input
593         files.
594         * testsuite/gas/all/gas.exp: Test the new feature.
595
596 2018-04-12  Nick Clifton  <nickc@redhat.com>
597
598         * po/es.po: Updated Spanish translation.
599         * po/ru.po: Updated Russian translation.
600
601 2018-04-11  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
602
603         * config/tc-i386.c (cpu_arch): Add WAITPKG.
604         (cpu_noarch): Likewise.
605         * doc/c-i386.texi: Document WAITPKG.
606         * i386/i386.exp: Run WAITPKG tests.
607         * testsuite/gas/i386/waitpkg-intel.d: New test.
608         * testsuite/gas/i386/waitpkg.d: Likewise.
609         * testsuite/gas/i386/waitpkg.s: Likewise.
610         * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
611         * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
612         * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
613
614 2018-04-11  Alan Modra  <amodra@gmail.com>
615
616         * config/aout_gnu.h: Delete.
617         * config/tc-i860.c: Delete.
618         * config/tc-i860.h: Delete.
619         * config/tc-i960.c: Delete.
620         * config/tc-i960.h: Delete.
621         * doc/c-i860.texi: Delete.
622         * doc/c-i960.texi: Delete.
623         * testsuite/gas/i860/README.i860: Delete.
624         * testsuite/gas/i860/bitwise.d: Delete.
625         * testsuite/gas/i860/bitwise.s: Delete.
626         * testsuite/gas/i860/branch.d: Delete.
627         * testsuite/gas/i860/branch.s: Delete.
628         * testsuite/gas/i860/bte.d: Delete.
629         * testsuite/gas/i860/bte.s: Delete.
630         * testsuite/gas/i860/dir-align01.d: Delete.
631         * testsuite/gas/i860/dir-align01.s: Delete.
632         * testsuite/gas/i860/dir-intel01.d: Delete.
633         * testsuite/gas/i860/dir-intel01.s: Delete.
634         * testsuite/gas/i860/dir-intel02.d: Delete.
635         * testsuite/gas/i860/dir-intel02.s: Delete.
636         * testsuite/gas/i860/dir-intel03-err.l: Delete.
637         * testsuite/gas/i860/dir-intel03-err.s: Delete.
638         * testsuite/gas/i860/dual01.d: Delete.
639         * testsuite/gas/i860/dual01.s: Delete.
640         * testsuite/gas/i860/dual02-err.l: Delete.
641         * testsuite/gas/i860/dual02-err.s: Delete.
642         * testsuite/gas/i860/dual03.d: Delete.
643         * testsuite/gas/i860/dual03.s: Delete.
644         * testsuite/gas/i860/fldst01.d: Delete.
645         * testsuite/gas/i860/fldst01.s: Delete.
646         * testsuite/gas/i860/fldst02.d: Delete.
647         * testsuite/gas/i860/fldst02.s: Delete.
648         * testsuite/gas/i860/fldst03.d: Delete.
649         * testsuite/gas/i860/fldst03.s: Delete.
650         * testsuite/gas/i860/fldst04.d: Delete.
651         * testsuite/gas/i860/fldst04.s: Delete.
652         * testsuite/gas/i860/fldst05.d: Delete.
653         * testsuite/gas/i860/fldst05.s: Delete.
654         * testsuite/gas/i860/fldst06.d: Delete.
655         * testsuite/gas/i860/fldst06.s: Delete.
656         * testsuite/gas/i860/fldst07.d: Delete.
657         * testsuite/gas/i860/fldst07.s: Delete.
658         * testsuite/gas/i860/fldst08.d: Delete.
659         * testsuite/gas/i860/fldst08.s: Delete.
660         * testsuite/gas/i860/float01.d: Delete.
661         * testsuite/gas/i860/float01.s: Delete.
662         * testsuite/gas/i860/float02.d: Delete.
663         * testsuite/gas/i860/float02.s: Delete.
664         * testsuite/gas/i860/float03.d: Delete.
665         * testsuite/gas/i860/float03.s: Delete.
666         * testsuite/gas/i860/float04.d: Delete.
667         * testsuite/gas/i860/float04.s: Delete.
668         * testsuite/gas/i860/form.d: Delete.
669         * testsuite/gas/i860/form.s: Delete.
670         * testsuite/gas/i860/i860.exp: Delete.
671         * testsuite/gas/i860/iarith.d: Delete.
672         * testsuite/gas/i860/iarith.s: Delete.
673         * testsuite/gas/i860/ldst01.d: Delete.
674         * testsuite/gas/i860/ldst01.s: Delete.
675         * testsuite/gas/i860/ldst02.d: Delete.
676         * testsuite/gas/i860/ldst02.s: Delete.
677         * testsuite/gas/i860/ldst03.d: Delete.
678         * testsuite/gas/i860/ldst03.s: Delete.
679         * testsuite/gas/i860/ldst04.d: Delete.
680         * testsuite/gas/i860/ldst04.s: Delete.
681         * testsuite/gas/i860/ldst05.d: Delete.
682         * testsuite/gas/i860/ldst05.s: Delete.
683         * testsuite/gas/i860/ldst06.d: Delete.
684         * testsuite/gas/i860/ldst06.s: Delete.
685         * testsuite/gas/i860/pfam.d: Delete.
686         * testsuite/gas/i860/pfam.s: Delete.
687         * testsuite/gas/i860/pfmam.d: Delete.
688         * testsuite/gas/i860/pfmam.s: Delete.
689         * testsuite/gas/i860/pfmsm.d: Delete.
690         * testsuite/gas/i860/pfmsm.s: Delete.
691         * testsuite/gas/i860/pfsm.d: Delete.
692         * testsuite/gas/i860/pfsm.s: Delete.
693         * testsuite/gas/i860/pseudo-ops01.d: Delete.
694         * testsuite/gas/i860/pseudo-ops01.s: Delete.
695         * testsuite/gas/i860/regress01.d: Delete.
696         * testsuite/gas/i860/regress01.s: Delete.
697         * testsuite/gas/i860/shift.d: Delete.
698         * testsuite/gas/i860/shift.s: Delete.
699         * testsuite/gas/i860/simd.d: Delete.
700         * testsuite/gas/i860/simd.s: Delete.
701         * testsuite/gas/i860/system.d: Delete.
702         * testsuite/gas/i860/system.s: Delete.
703         * testsuite/gas/i860/xp.d: Delete.
704         * testsuite/gas/i860/xp.s: Delete.
705         * Makefile.am: Remove i860 and i960 support.
706         * configure.tgt: Likewise.
707         * doc/Makefile.am: Likewise.
708         * doc/all.texi: Likewise.
709         * testsuite/gas/all/gas.exp
710         * config/obj-coff.h: Remove i960 support.
711         * doc/internals.texi: Likewise.
712         * expr.c: Likewise.
713         * read.c: Likewise.
714         * write.c: Likewise.
715         * write.h: Likewise.
716         * testsuite/gas/lns/lns.exp: Likewise.
717         * testsuite/gas/symver/symver.exp: Likewise.
718         * config/tc-m68k.c: Remove BOUT support.
719         * config/tc-score.c: Likewise.
720         * config/tc-score7.c: Likewise.
721         * config/tc-sparc.c: Likewise.
722         * symbols.c: Likewise.
723         * doc/h8.texi: Likewise.
724         * configure.ac: Remove BOUT and i860 support.
725         * doc/as.texinfo: Remove BOUT, i860 and i960 support
726         * Makefile.in: Regenerate.
727         * config.in: Regenerate.
728         * configure: Regenerate.
729         * doc/Makefile.in: Regenerate.
730         * po/POTFILES.in: Regenerate.
731
732 2018-04-05  H.J. Lu  <hongjiu.lu@intel.com>
733
734         PR gas/22318
735         * configure: Regenerated.
736
737 2018-04-04  H.J. Lu  <hongjiu.lu@intel.com>
738
739         PR binutils/23025
740         * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
741         VEX and EVEX prefixes.
742         * testsuite/gas/i386/prefix.d: Updated.
743
744 2018-03-30  Peter Bergner <bergner@vnet.ibm.com>
745
746         PR binutils/23013
747         * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
748         and little endian.
749
750 2018-03-28  Renlin Li  <renlin.li@arm.com>
751
752         PR ld/22970
753         * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
754         tprel_lo12_nc with pseudo relocations.
755         (ldst_lo12_determine_real_reloc_type): Add new relocations support.
756         (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
757         BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
758         (md_apply_fix): Add handling for new relocation.
759         (aarch64_force_relocation): Likewise.
760         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
761         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
762         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
763         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
764         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
765         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
766         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
767         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
768         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
769         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
770         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
771         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
772         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
773         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
774         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
775         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
776         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
777         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
778         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
779         * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
780         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
781         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
782         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
783         * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
784
785 2018-03-28  Jan Beulich  <jbeulich@suse.com>
786
787         * config/tc-i386.c (check_VecOperands): Replace uses of
788         .vecesize. Always initialize op.
789         * testsuite/gas/i386/avx512_vpopcntdq.s,
790         testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
791         broadcast cases with explicit operand size.
792         * testsuite/gas/i386/avx512_vpopcntdq.d,
793         testsuite/gas/i386/avx512_vpopcntdq-intel.d,
794         testsuite/gas/i386/avx512bitalg_vl.d
795         testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
796
797 2018-03-28  Jan Beulich  <jbeulich@suse.com>
798
799         * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
800         (check_VecOperands): Re-write broadcast validation code.
801         (check_VecOperations): Replace BROADCAST_1TO* uses.
802         * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
803         cases.
804         * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
805
806 2018-03-28  Jan Beulich  <jbeulich@suse.com>
807
808         * config/tc-i386.c (process_suffix): Check .todword/.toqword
809         before zapping suffix.
810
811 2018-03-28  Jan Beulich  <jbeulich@suse.com>
812
813         * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
814         testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
815         cvt*2si.
816
817 2018-03-28  Nick Clifton  <nickc@redhat.com>
818
819         PR 22988
820         * config/tc-aarch64.c (parse_operands): Add code to handle
821         AARCH64_OPN_SVE_ADDR_R.
822         * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
823         with an assumed XZR offset address register.
824         * testsuite/gas/aarch64/sve.d: Update expected disassembly.
825
826 2018-03-22  Jan Beulich  <jbeulich@suse.com>
827
828         * config/tc-i386.c (check_VecOperands): Latch
829         i.broadcast->operand into op.
830
831 2018-03-22  Jan Beulich  <jbeulich@suse.com>
832
833         * config/tc-i386.c (match_template): Special case base opcode
834         0xa0 with HLE prefix.
835         * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
836         * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
837         Adjust expectations.
838
839 2018-03-22  Jan Beulich  <jbeulich@suse.com>
840
841         * testsuite/gas/i386/opts.s: Add bndmov cases.
842         * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
843         testsuite/gas/i386/sse2avx-opts.d,
844         testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
845
846 2018-03-22  Jan Beulich  <jbeulich@suse.com>
847
848         * config/tc-i386.c (match_mem_size): Extend sub-xmmword
849         exceptions.
850         * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
851         New.
852         * testsuite/gas/i386/i386.exp: Run new test.
853
854 2018-03-22  Jan Beulich  <jbeulich@suse.com>
855
856         * config/tc-i386.c (match_template): Also match 2nd and 4th
857         operand's register sizes.
858         * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
859         * testsuite/gas/i386/i386.exp: Run new test.
860
861 2018-03-19  Nick Clifton  <nickc@redhat.com>
862
863         * po/uk.po: Updated Ukranian translation.
864
865 2018-03-16  Jim Wilson  <jimw@sifive.com>
866
867         * config/tc-riscv.c (check_absolute_expr): Expand comment.  New
868         parameter maybe_csr.  If maybe_csr and O_symbol, print CSR name.
869         (riscv_ip): Add new argument to check_absolute_expr calls.
870         * testsuite/gas/riscv/bad-csr.d: New.
871         * testsuite/gas/riscv/bad-csr.l: New.
872         * testsuite/gas/riscv/bad-csr.s: New.
873
874 2018-03-14  Kito Cheng  <kito.cheng@gmail.com>
875
876         * config/tc-riscv.c (opcode_name_list): New.
877         (opcode_names_hash): Likewise.
878         (init_opcode_names_hash): Likewise.
879         (opcode_name_lookup): Likewise.
880         (validate_riscv_insn): New argument length, and add new format
881         which used in .insn directive.
882         (md_begin): Refine hash table initialization logic into
883         init_opcode_hash.
884         (init_opcode_hash): New.
885         (my_getOpcodeExpression): Parse opcode name for .insn.
886         (riscv_ip): New argument hash, able to handle .insn directive.
887         (s_riscv_insn): Handler for .insn directive.
888         (riscv_pseudo_table): New entry for .insn.
889         * doc/c-riscv.texi: Add documentation for .insn directive.
890         * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
891         * testsuite/gas/riscv/insn.s: Likewise.
892
893 2018-03-13  Nick Clifton  <nickc@redhat.com>
894
895         * po/ru.po: Updated Russian translation.
896
897 2018-03-09  H.J. Lu  <hongjiu.lu@intel.com>
898
899         * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
900         with VEX128 if EVEX encoding isn't required.
901         * testsuite/gas/i386/optimize-1.d: Updated.
902         * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
903
904 2018-03-09  H.J. Lu  <hongjiu.lu@intel.com>
905
906         * config/tc-i386.c (check_VecOperations): Strip whitespace.
907         * testsuite/gas/i386/optimize-1.s: Add whitespaces before
908         {%k7} and {z},
909         * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
910
911 2018-03-08  H.J. Lu  <hongjiu.lu@intel.com>
912
913         * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
914         (md_parse_option): Likewise.
915         (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
916         for cpuavx512vl instead of cpu_arch_flags.  Optimize EVEX with
917         EVEX128 when EVEX encoding is required.
918         * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
919         x86-64-optimize-5 and x86-64-optimize-6.
920         * testsuite/gas/i386/optimize-1.d: Updated.
921         * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
922         * testsuite/gas/i386/optimize-4.d: New file.
923         * testsuite/gas/i386/optimize-4.s: Likewise.
924         * testsuite/gas/i386/optimize-5.d: Likewise.
925         * testsuite/gas/i386/optimize-5.s: Likewise.
926         * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
927         * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
928         * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
929         * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
930
931 2018-03-08  H.J. Lu  <hongjiu.lu@intel.com>
932
933         * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
934         as "xor reg32, reg32".
935         * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
936         * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
937
938 2018-03-08  H.J. Lu  <hongjiu.lu@intel.com>
939
940         * NEWS: Mention -mold-gcc removal.
941         * config/tc-i386.c (i386_error): Remove old_gcc_only.
942         (old_gcc): Removed.
943         (match_template): Remove old gcc support.
944         (OPTION_MOLD_GCC): Removed.
945         (OPTION_MRELAX_RELOCATIONS): Updated.
946         (md_longopts): Remove OPTION_MOLD_GCC.
947         (md_parse_option): Likewise.
948         (md_show_usage): Remove -mold-gcc.
949         * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
950         (<= 2.8.1) versions of gcc.
951         * testsuite/gas/i386/intel.s: Likewise.
952         * testsuite/gas/i386/general.l: Updated.
953         * testsuite/gas/i386/intel-intel.d: Likewise.
954         * testsuite/gas/i386/intel.d: Likewise.
955         * testsuite/gas/i386/intel.e: Likewise.
956         * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
957
958 2018-03-08  Jan Beulich  <jbeulich@suse.com>
959
960         * config/tc-i386.c (is_evex_encoding): New.
961         (optimize_encoding, md_assemble, md_assemble,
962         VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
963         (build_evex_prefix): Derive EVEX length field from actual
964         operands if the template allows multiple ones.
965
966 2018-03-08  Jan Beulich  <jbeulich@suse.com>
967
968         * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
969         with 3rd (immediate) operand.
970
971 2018-03-08  Jan Beulich  <jbeulich@suse.com>
972
973         * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
974         ZMMWORD_MNEM_SUFFIX): Delete.
975         (process_suffix): Drop their uses. Re-arrange final part of
976         logic into a switch() statement. Drop special casing of
977         cmpxchg8b.
978
979 2018-03-08  Jan Beulich  <jbeulich@suse.com>
980
981         * config/tc-i386.c (match_template): Also match register
982         operands 0 and 2 for 3-operand forms.
983         * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
984         New.
985         * testsuite/gas/i386/i386.exp: Run new test.
986
987 2018-03-08  Jan Beulich  <jbeulich@suse.com>
988
989         * config/tc-i386.c (process_suffix): Do common part of register
990         checks first.
991
992 2018-03-08  Jan Beulich  <jbeulich@suse.com>
993
994         * config/tc-i386.c (parse_insn): Move success return up. Combine
995         failure returns.
996
997 2018-03-08  Jan Beulich  <jbeulich@suse.com>
998
999         * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
1000         logic. Add respective logic for AVX512F.
1001         * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
1002         testsuite/gas/i386/arch-avx-1.d,
1003         testsuite/gas/i386/arch-avx-1-1.l,
1004         testsuite/gas/i386/arch-avx-1-2.l,
1005         testsuite/gas/i386/arch-avx-1-3.l,
1006         testsuite/gas/i386/arch-avx-1-4.l,
1007         testsuite/gas/i386/arch-avx-1-5.l,
1008         testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
1009         * testsuite/gas/i386/arch-avx-1-7.l,
1010         testsuite/gas/i386/arch-avx-1-7.s,
1011         testsuite/gas/i386/arch-avx-1-8.l,
1012         testsuite/gas/i386/arch-avx-1-8.s,
1013         testsuite/gas/i386/avx512f-plain.l,
1014         testsuite/gas/i386/avx512f-plain.s,
1015         testsuite/gas/i386/avx512vl-plain.l,
1016         testsuite/gas/i386/avx512vl-plain.s: New.
1017         * testsuite/gas/i386/i386.exp: Run new tests.
1018
1019 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1020
1021         * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
1022
1023 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1024
1025         * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
1026         (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
1027         CPU_FLAGS_32BIT_MATCH.
1028
1029 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1030
1031         * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
1032         CPU_FLAGS_PCLMUL_MATCH): Delete.
1033         (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
1034         (cpu_flags_match): Combine AVX checks into
1035         single if().
1036
1037 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1038
1039         * config/tc-i386.c (cpu_flags_match): Drop "else" branches
1040         setting CPU_FLAGS_ARCH_MATCH.
1041
1042 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1043
1044         * config/tc-i386.c (md_assemble): Extend SSE check conditional.
1045         * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
1046         testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
1047         testsuite/gas/i386/ilp32/x86-64-sse-check.d,
1048         testsuite/gas/i386/sse-check-none.d,
1049         testsuite/gas/i386/sse-check-warn.d,
1050         testsuite/gas/i386/x86-64-sse-check.d,
1051         testsuite/gas/i386/x86-64-sse-check-none.d,
1052         testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
1053         * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
1054         tests.
1055         * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
1056         of sse-check.s.
1057         * testsuite/gas/i386/sse-check.d: Adjust expectations.
1058         * testsuite/gas/i386/sse-check-error.l,
1059         testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
1060         * testsuite/gas/i386/sse-check-warn.e: Likewise.
1061
1062 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1063
1064         * config/tc-i386.c (operand_size_match): Drop / replace uses of
1065         .floatd.
1066
1067 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1068
1069         * testsuite/gas/i386/intel-intel.d: New.
1070         * testsuite/gas/i386/i386.exp: Run new test.
1071
1072 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1073
1074         * config/tc-i386.c (process_operands): Access operands only
1075         after operand count assertion. Sanitize warning text. Fix
1076         indentation.
1077         * testsuite/gas/i386/avx512_4fmaps-warn.l,
1078         gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
1079
1080 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1081
1082         * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
1083         * testsuite/gas/i386/x86-64-movd.d,
1084         testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
1085
1086 2018-03-08  Jan Beulich  <jbeulich@suse.com>
1087
1088         * config/tc-i386.c (operand_type_and_not): New.
1089         (build_modrm_byte): Use it to prevent clearing unrelated bits.
1090
1091 2018-03-08  Alan Modra  <amodra@gmail.com>
1092
1093         * config/tc-ppc.c (ppc_handle_align): Correct last patch.  Really
1094         don't emit a group terminating nop for power9.  Simplify cpu
1095         tests.
1096
1097 2018-03-08  Alan Modra  <amodra@gmail.com>
1098
1099         * config/tc-ppc.c (ppc_handle_align): Don't emit a group
1100         terminating nop for power9.
1101
1102 2018-03-07  H.J. Lu  <hongjiu.lu@intel.com>
1103
1104         PR gas/22874
1105         * config/tc-i386.c (f32_5): Removed.
1106         (f32_8): Likewise.
1107         (f32_9): Likewise.
1108         (f32_10): Likewise.
1109         (f32_11): Likewise.
1110         (f32_12): Likewise.
1111         (f32_13): Likewise.
1112         (f32_14): Likewise.
1113         (f16_5): Likewise.
1114         (f16_6): Likewise.
1115         (f16_7): Likewise.
1116         (f16_8): Likewise.
1117         (jump_31): Likewise.
1118         (alt64_11): Likewise.
1119         (alt64_patt): Likewise.
1120         (jump_disp8): New.
1121         (jump32_disp32): Likewise.
1122         (jump16_disp32): Likewise.
1123         (alt_11): Likewise.
1124         (f32_patt): Updated.
1125         (f16_patt): Likewise.
1126         (alt_patt): Add alt_11.
1127         (i386_align_code): Merged with ...
1128         (i386_generate_nops): This.  Rewritten.
1129         (fits_in_imm7): Moved before i386_generate_nops.
1130         (fits_in_imm31): Likewise.
1131         * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
1132         4095.
1133         (i386_align_code): Removed.
1134         (HANDLE_ALIGN): Rewritten with i386_generate_nops.
1135         * doc/as.texinfo: Update limits of control byte for x86 .nops
1136         directive.
1137         * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
1138         * gas/testsuite/gas/i386/noavx-3.l: Updated.
1139         * gas/testsuite/gas/i386/nop-1.d: Likewise.
1140         * gas/testsuite/gas/i386/nop-1.s: Likewise.
1141         * gas/testsuite/gas/i386/nop-2.d: Likewise.
1142         * gas/testsuite/gas/i386/nop-2.s: Likewise.
1143         * gas/testsuite/gas/i386/nop-3.d: Likewise.
1144         * gas/testsuite/gas/i386/nop-4.d: Likewise.
1145         * gas/testsuite/gas/i386/nop-5.d: Likewise.
1146         * gas/testsuite/gas/i386/nop-5.s: Likewise.
1147         * gas/testsuite/gas/i386/nop-6.d: Likewise.
1148         * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
1149         * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
1150         * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
1151         * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
1152         * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
1153         * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
1154         * gas/testsuite/gas/i386/nops-1.d: Likewise.
1155         * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
1156         * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
1157         * gas/testsuite/gas/i386/nops-2.d: Likewise.
1158         * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
1159         * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
1160         * gas/testsuite/gas/i386/nops-3.d: Likewise.
1161         * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
1162         * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
1163         * gas/testsuite/gas/i386/nops-4.d: Likewise.
1164         * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
1165         * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
1166         * gas/testsuite/gas/i386/nops-5.d: Likewise.
1167         * gas/testsuite/gas/i386/nops-6.d: Likewise.
1168         * gas/testsuite/gas/i386/nops16-1.d: Likewise.
1169         * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1170         * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1171         * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1172         * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
1173         * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
1174         * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
1175         * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
1176         * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
1177         * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
1178         * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
1179         * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
1180         * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
1181         * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
1182         * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
1183         * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
1184         * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
1185         * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
1186         * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
1187         * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
1188         * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
1189         * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
1190         * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
1191         * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
1192         * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
1193         * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
1194         * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
1195         * gas/testsuite/gas/i386/nops-7.d: New file.
1196         * gas/testsuite/gas/i386/nops-7.s: Likewise.
1197         * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
1198
1199 2018-03-07  Alan Modra  <amodra@gmail.com>
1200
1201         * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
1202         * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
1203         * testsuite/gas/ppc/machine.d: Don't run for PE targets.
1204
1205 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1206
1207         * config/tc-arm.c (md_begin): Add NULL pointer check before
1208         dereferencing march_ext_opt.
1209
1210 2018-03-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1211
1212         * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
1213         legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
1214         mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
1215         mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
1216         (dyn_mcpu_ext_opt): Also rename into ...
1217         (mcpu_ext_opt): This.
1218         (dyn_march_ext_opt): Also rename into ...
1219         (march_ext_opt): This.
1220         (object_arch): Also rename into ...
1221         (selected_object_arch): This and make it a plain arm_feature_set
1222         structure.
1223         (selected_arch, selected_ext, selected_fpu): New static variables.
1224         (mark_feature_used): Fix comments, feature is marked as used iff it is
1225         currently allowed.
1226         (do_bx): Adapt to change in name and type of object_arch.
1227         (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
1228         rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
1229         Remove dead code to set default FPU if architecture version is greater
1230         than 5.  Set all CPU bits of cpu_variant directly in autodection
1231         leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
1232         (arm_parse_extension): Take extension feature set pointer parameter by
1233         value rather than by pointer.  Remove allocation code.  Adapt code
1234         accordingly.
1235         (arm_parse_cpu): Adapt to variable renaming and changes in
1236         arm_parse_extension () signature.
1237         (arm_parse_arch): Likewise.
1238         (aeabi_set_public_attributes): Also set selected_arch and selected_ext
1239         in addition to selected_cpu.  Set flags_arch and flags_ext from them
1240         instead of selected_cpu.  Adapt to variables renaming and type change.
1241         (arm_md_post_relax): Adapt to variable renaming.
1242         (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
1243         mcpu_cpu_opt and dyn_mcpu_ext_opt.  Set selected_cpu from them and
1244         cpu_variant from selected_cpu and selected_fpu.
1245         (s_arm_arch): Likewise.
1246         (s_arm_object_arch): Adapt to variable renaming.
1247         (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
1248         set against arm_any.  Check selected_arch rather than *mcpu_cpu_opt.
1249         Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
1250         code.
1251         (s_arm_fpu): Set selected_fpu instead of mfpu_opt.  Set all CPU feature
1252         bits if in autodetection mode.
1253
1254 2018-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1255
1256         * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
1257         AVX512 vpsub[bwdq] instructions.
1258         * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
1259         AVX512 vpsub[bwdq] instructions.
1260         * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1261         * testsuite/gas/i386/optimize-1.d: Updated.
1262         * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1263
1264 2018-03-01  Alan Modra  <amodra@gmail.com>
1265
1266         * configure.ac (ALL_LINGUAS): Add uk.  Sort.
1267         * configure: Regenerate.
1268
1269 2018-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1270
1271         * NEWS: Rename .nop to .nops.
1272         * doc/as.texinfo: Likewise.
1273         * read.c (potable): Add "nops".  Remove "nop".
1274         (s_nop): Renamed to ...
1275         (s_nops): This.
1276         * read.h (s_nop): Renamed to ...
1277         (s_nops): This.
1278         * write.c (cvt_frag_to_fill): Rename .nop to .nops.
1279         (md_generate_nops): Likewise.
1280         (relax_segment): Likewise.
1281         * testsuite/gas/i386/nop-1.d: Updated.
1282         * testsuite/gas/i386/nop-1.s: Likewise.
1283         * testsuite/gas/i386/nop-2.d: Likewise.
1284         * testsuite/gas/i386/nop-2.s: Likewise.
1285         * testsuite/gas/i386/nop-3.d: Likewise.
1286         * testsuite/gas/i386/nop-3.s: Likewise.
1287         * testsuite/gas/i386/nop-4.d: Likewise.
1288         * testsuite/gas/i386/nop-4.s: Likewise.
1289         * testsuite/gas/i386/nop-5.d: Likewise.
1290         * testsuite/gas/i386/nop-5.s: Likewise.
1291         * testsuite/gas/i386/nop-6.d: Likewise.
1292         * testsuite/gas/i386/nop-6.s: Likewise.
1293         * testsuite/gas/i386/nop-bad-1.l: Likewise.
1294         * testsuite/gas/i386/nop-bad-1.s: Likewise.
1295         * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1296         * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1297         * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1298         * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1299         * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1300         * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1301
1302 2018-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1303
1304         PR gas/22871
1305         * NEWS: Mention -O[2|s].
1306         * config/tc-i386.c (_i386_insn): Add no_optimize.
1307         (optimize): New.
1308         (optimize_for_space): Likewise.
1309         (fits_in_imm7): New function.
1310         (fits_in_imm31): Likewise.
1311         (optimize_encoding): Likewise.
1312         (md_assemble): Call optimize_encoding to optimize encoding.
1313         (parse_insn): Handle {nooptimize}.
1314         (md_shortopts): Append "O::".
1315         (md_parse_option): Handle -On.
1316         * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
1317         as {nooptimize}.
1318         * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
1319         * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
1320         * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
1321         optimize-3, x86-64-optimize-1, x86-64-optimize-2,
1322         x86-64-optimize-3 and x86-64-optimize-4.
1323         * testsuite/gas/i386/optimize-1.d: New file.
1324         * testsuite/gas/i386/optimize-1.s: Likewise.
1325         * testsuite/gas/i386/optimize-2.d: Likewise.
1326         * testsuite/gas/i386/optimize-2.s: Likewise.
1327         * testsuite/gas/i386/optimize-3.d: Likewise.
1328         * testsuite/gas/i386/optimize-3.s: Likewise.
1329         * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
1330         * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
1331         * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1332         * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1333         * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1334         * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1335         * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1336         * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1337
1338 2018-02-27  Nick Clifton  <nickc@redhat.com>
1339
1340         * po/ru.po: Updated Russian translation.
1341
1342 2018-02-26  Maciej W. Rozycki  <macro@mips.com>
1343
1344         * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
1345         descriptions.
1346
1347 2018-02-26  Nick Clifton  <nickc@redhat.com>
1348
1349         * doc/as.texinfo (Dc): Fix typo.
1350
1351 2018-02-26  Alan Modra  <amodra@gmail.com>
1352
1353         * testsuite/gas/mips/reginfo-2.l: Update.
1354
1355 2018-02-23  Alan Modra  <amodra@gmail.com>
1356
1357         * testsuite/gas/mips/reginfo-2.l: Update.
1358
1359 2018-02-23  Nick Clifton  <nickc@redhat.com>
1360
1361         * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
1362
1363 2018-02-23  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1364
1365         * config/tc-nds32.c (ict_model): New function. Hook new
1366         directive .ict_model.
1367         (nds32_insert_relax_entry): Tag the bits of entry relocation
1368         for .ict_model.
1369
1370 2018-02-22  H.J. Lu  <hongjiu.lu@intel.com>
1371
1372         * config/tc-i386.c (_i386_insn): Add rex_encoding.
1373         (md_assemble): When i.rex_encoding is true, generate a REX byte
1374         if possible.
1375         (parse_insn): Set i.rex_encoding for {rex}.
1376         * doc/c-i386.texi: Document {rex}.
1377         * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
1378         * testsuite/gas/i386/x86-64-pseudos.d: Updated.
1379
1380 2018-02-22  A. Wilcox  <awilfox@adelielinux.org>
1381
1382         PR 22014
1383         * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
1384         instruction size suffix.
1385
1386 2018-02-20  Maciej W. Rozycki  <macro@mips.com>
1387
1388         * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
1389         * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
1390         * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
1391         * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
1392         * testsuite/gas/mips/mips.exp: Run the new tests.
1393
1394 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
1395
1396         * config/tc-xtensa.c (struct litpool_frag): Add new field
1397         literal_count.
1398         (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
1399         (MAX_POOL_LITERALS): New macro definitions.
1400         (auto_litpool_limit): Initialize to 0.
1401         (md_parse_option): Set auto_litpool_limit in the presence of
1402         --auto-litpools option.
1403         (xtensa_maybe_create_literal_pool_frag): Zero-initialize
1404         literal_count field.
1405         (xg_find_litpool): New function. Make sure that found literal
1406         pool size is within the limit.
1407         (xtensa_move_literals): Extract literal pool search code into
1408         the new function.
1409         * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
1410         * testsuite/gas/xtensa/auto-litpools-2.d: New file.
1411         * testsuite/gas/xtensa/auto-litpools-2.s: New file.
1412         * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
1413         addresses.
1414         * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
1415         that objdump doesn't get out of sync.
1416
1417 2018-02-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1418
1419         * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
1420         also the same as -march.
1421
1422 2018-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1423
1424         * NEWS: Mention .nop directive.
1425         * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
1426         * read.c (potable): Add .nop.
1427         (s_nop): New function.
1428         * read.h (s_nop): New prototype.
1429         * write.c (cvt_frag_to_fill): Handle rs_space_nop and
1430         rs_fill_nop.
1431         (md_generate_nops): New function.
1432         (relax_segment): Likewise.
1433         (write_contents): Use md_generate_nops for rs_fill_nop.
1434         * config/tc-i386.c (alt64_11): New.
1435         (alt64_patt): Likewise.
1436         (md_convert_frag): Handle rs_space_nop.
1437         (i386_output_nops): New function.
1438         (i386_generate_nops): Likewise.
1439         (i386_align_code): Call i386_output_nops.
1440         * config/tc-i386.h (i386_generate_nops): New.
1441         (md_generate_nops): Likewise.
1442         * doc/as.texinfo: Document .nop directive.
1443         * testsuite/gas/i386/i386.exp: Run .nop directive tests.
1444         * testsuite/gas/i386/nop-1.d: New file.
1445         * testsuite/gas/i386/nop-1.s: Likewise.
1446         * testsuite/gas/i386/nop-2.d: Likewise.
1447         * testsuite/gas/i386/nop-2.s: Likewise.
1448         * testsuite/gas/i386/nop-3.d: Likewise.
1449         * testsuite/gas/i386/nop-3.s: Likewise.
1450         * testsuite/gas/i386/nop-4.d: Likewise.
1451         * testsuite/gas/i386/nop-4.s: Likewise.
1452         * testsuite/gas/i386/nop-5.d: Likewise.
1453         * testsuite/gas/i386/nop-5.s: Likewise.
1454         * testsuite/gas/i386/nop-6.d: Likewise.
1455         * testsuite/gas/i386/nop-6.s: Likewise.
1456         * testsuite/gas/i386/nop-bad-1.l: Likewise.
1457         * testsuite/gas/i386/nop-bad-1.s: Likewise.
1458         * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1459         * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1460         * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1461         * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1462         * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1463         * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1464
1465 2018-02-15  Tamar Christina  <tamar.christina@arm.com>
1466
1467         * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
1468         * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
1469
1470 2018-02-13  Max Filippov  <jcmvbkbc@gmail.com>
1471
1472         * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
1473         frag that contains source address.
1474
1475 2018-02-13  Nick Clifton  <nickc@redhat.com>
1476
1477         PR 22773
1478         * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
1479         instruction before assuming that it is a MOV instruction.
1480         * testsuite/gas/arm/pr22773.s: New test.
1481         * testsuite/gas/arm/pr22773.d: New test driver.
1482         * testsuite/gas/arm/pr22773.l: New expected output.
1483
1484 2018-02-13  H.J. Lu  <hongjiu.lu@intel.com>
1485
1486         PR gas/22791
1487         * config/tc-i386.c (need_plt32_p): New function.
1488         (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
1489         (md_estimate_size_before_relax): Likewise.
1490         * testsuite/gas/i386/reloc64.d: Updated.
1491         * testsuite/gas/i386/x86-64-jump.d: Likewise.
1492         * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
1493         * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
1494         * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
1495         * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
1496         * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
1497         * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1498
1499 2018-02-13  Maciej W. Rozycki  <macro@mips.com>
1500
1501         * testsuite/gas/mips/loongson-3a-2.d: Rename test.
1502
1503 2018-02-13  Nick Clifton  <nickc@redhat.com>
1504
1505         PR 22823
1506         * config/obj-elf.c (elf_pseudo_table): Remove now redundant
1507         casts.
1508         (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
1509         (obj_elf_vtable_inherit): New stub function that calls
1510         obj_elf_get_vtable_inherit.
1511         (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
1512         (obj_elf_vtable_entry): New stub function that calls
1513         obj_elf_get_vtable_entry.
1514         * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
1515         (obj_elf_vtable_entry) Likewise.
1516         (obj_elf_get_vtable_inherit) Likewise.
1517         (obj_elf_get_vtable_entry) Likewise.
1518         * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
1519         * config/tc-i386c (md_pseudo_table): Likewise.
1520         * config/tc-hppa.c (pa_vtable_entry): Call
1521         obj_elf_get_vtable_entry.
1522         (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
1523         * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
1524         with call to dwarf2_get_filename.
1525         * dwarf2dbg.c (dwarf2_directive_file): Rename to
1526         dwarf2_directive_filename.
1527         (dwarf2_directive_file): New stub function that calls
1528         dwarf2_directive_filename.
1529         * dwarf2dbg.h: Prototype dwarf2_directive_filename.
1530
1531 2018-02-12  Maciej W. Rozycki  <macro@mips.com>
1532
1533         * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
1534         `as' flags.
1535
1536 2018-02-12  Henry Wong <henry@stuffedcow.net>
1537
1538         * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
1539         * testsuite/gas/mips/r6-n32.d: Likewise.
1540         * testsuite/gas/mips/r6-n64.d: Likewise.
1541
1542 2018-02-12  Nick Clifton  <nickc@redhat.com>
1543
1544         * po/ru.po: Updated Russian translation.
1545
1546 2018-02-08  Alan Modra  <amodra@gmail.com>
1547
1548         PR 22819
1549         * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
1550         (ppc_frag_check): Likewise.
1551         * testsuite/gas/ppc/misalign.d,
1552         * testsuite/gas/ppc/misalign.l,
1553         * testsuite/gas/ppc/misalign.s: New test.
1554         * testsuite/gas/ppc/misalign2.d,
1555         * testsuite/gas/ppc/misalign2.s: New test.
1556         * testsuite/gas/ppc/ppc.exp: Run them.
1557
1558 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
1559
1560         * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
1561         `expr' parameter to `ep'.
1562
1563 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
1564
1565         * testsuite/gas/mips/reginfo-2.d: New test.
1566         * testsuite/gas/mips/reginfo-2-n32.d: New test.
1567         * testsuite/gas/mips/reginfo-2.l: New test stderr output.
1568         * testsuite/gas/mips/reginfo-2.s: New test source.
1569         * testsuite/gas/mips/mips.exp: Run the new tests.
1570
1571 2018-02-05  Nick Clifton  <nickc@redhat.com>
1572
1573         * po/ru.po: Updated Russian translation.
1574
1575 2018-01-31  Alan Modra  <amodra@gmail.com>
1576
1577         PR 22714
1578         * app.c (last_char): New static var.
1579         (struct app_save): Add last_char field.
1580         (app_push, app_pop): Handle it.
1581         (do_scrub_chars): Use last_char in test for "\@".  Set last_char.
1582
1583 2018-01-29  Eric Botcazou  <ebotcazou@adacore.com>
1584
1585         PR gas/22738
1586         * config/tc-sparc.h (sparc_mach): Declare.
1587         (TARGET_MACH): Define to above.
1588         * config/tc-sparc.c (sparc_mach): New function.
1589         (sparc_md_end): Minor tweak.
1590
1591 2018-01-29  Nick Clifton  <nickc@redhat.com>
1592
1593         * po/ru.po: Updated Russian translation.
1594
1595 2018-01-26  Maciej W. Rozycki  <macro@mips.com>
1596
1597         * configure.tgt: Use generic emulation for `mips-*-windiss',
1598         overriding the blanket choice made for `*-*-windiss'.
1599
1600 2018-01-26  Maciej W. Rozycki  <macro@mips.com>
1601
1602         * configure.tgt: Use `mips-*-sysv4*' rather than
1603         `mips-*-sysv4*MP*'.
1604
1605 2018-01-24  Renlin Li  <renlin.li@arm.com>
1606
1607         * config/tc-aarch64.c (reloc_table): add entries for
1608         BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1609         BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1610         BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1611         BFD_RELOC_AARCH64_MOVW_PREL_G3.
1612         (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1613         (md_apply_fix): Likewise
1614         * testsuite/gas/aarch64/prel_g0.s: New.
1615         * testsuite/gas/aarch64/prel_g0.d: New.
1616         * testsuite/gas/aarch64/prel_g0_nc.s: New.
1617         * testsuite/gas/aarch64/prel_g0_nc.d: New.
1618         * testsuite/gas/aarch64/prel_g1.s: New.
1619         * testsuite/gas/aarch64/prel_g1.d: New.
1620         * testsuite/gas/aarch64/prel_g1_nc.s: New.
1621         * testsuite/gas/aarch64/prel_g1_nc.d: New.
1622         * testsuite/gas/aarch64/prel_g2.s: New.
1623         * testsuite/gas/aarch64/prel_g2.d: New.
1624         * testsuite/gas/aarch64/prel_g2_nc.s: New.
1625         * testsuite/gas/aarch64/prel_g2_nc.d: New.
1626         * testsuite/gas/aarch64/prel_g3.s: New.
1627         * testsuite/gas/aarch64/prel_g3.d: New.
1628
1629 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
1630
1631         * configure.ac: Also set `mips_default_abi' to N32_ABI for
1632         `mips64*-ps2-elf*'.
1633         * configure: Regenerate.
1634
1635 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
1636
1637         * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1638         enum value.
1639
1640 2018-01-23  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1641
1642         * config/tc-i386.c (cpu_arch): Add .pconfig.
1643         * doc/c-i386.texi: Document .pconfig.
1644         * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1645         * testsuite/gas/i386/pconfig-intel.d: New test.
1646         * testsuite/gas/i386/pconfig.d: Likewise.
1647         * testsuite/gas/i386/pconfig.s: Likewise.
1648         * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1649         * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1650         * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1651
1652 2018-01-23  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1653
1654         * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1655         * doc/c-i386.texi: Document .wbnoinvd.
1656         * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1657         * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1658         * testsuite/gas/i386/wbnoinvd.d: Likewise.
1659         * testsuite/gas/i386/wbnoinvd.s: Likewise.
1660         * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1661         * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1662         * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1663
1664 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
1665
1666         * config/tc-mips.c (md_show_usage): Correctly indicate the
1667         configuration-specific default ABI.
1668
1669 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
1670
1671         * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1672         `-mno-mips16e2' options.
1673
1674 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
1675
1676         * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1677         Correct syntax of the `.set nomips16e2' directive description.
1678
1679 2018-01-22  Oleg Endo  <olegendo@gcc.gnu.org>
1680
1681         PR 22737
1682         * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1683         * testsuite/gas/rx/pr22737.s: New test.
1684         * testsuite/gas/rx/pr22737.d: Likewise.
1685         * testsuite/gas/rx/rx.exp: Run the new test.
1686
1687 2018-01-19  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1688
1689         * config/tc-arm.c (ToC macro): Remove spurious comment.
1690         (ToU macro): Likewise.
1691
1692 2018-01-17  Jim Wilson  <jimw@sifive.com>
1693
1694         * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1695         (riscv_ip) <'z'>: New.
1696
1697 2018-01-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1698
1699         * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1700         (cpu_noarch): Add noibt, noshstk.
1701         (parse_insn): Change cpucet to cpuibt.
1702         * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1703         * testsuite/gas/i386/cet-ibt-inval.l: New test.
1704         * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1705         * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1706         * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1707         * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1708         * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1709         * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1710         * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1711
1712 2018-01-16  Nick Clifton  <nickc@redhat.com>
1713
1714         * po/fr.po: Updated French translation.
1715
1716 2018-01-15  Jim Wilson  <jimw@sifive.com>
1717
1718         * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1719         * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1720
1721 2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1722
1723         * config/tc-arm.c (ToC): Define macro.
1724         (ToU): Likewise.
1725         (insns): Make use of above macros for new instructions introduced in
1726         Armv8-M.
1727
1728 2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1729
1730         * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1731         and vlstm conditionally executable and reindent parameters.
1732         * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1733         aforementionned instructions.
1734
1735 2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1736
1737         * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1738         profile architecture or if in autodetection mode.  Clarify that
1739         deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1740         * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1741         message.
1742         * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1743         * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1744         * testsuite/gas/arm/udf.l: Likewise.
1745         * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1746
1747 2018-01-15  Nick Clifton  <nickc@redhat.com>
1748
1749         * po/uk.po: Updated Ukranian translation.
1750
1751 2018-01-13  Nick Clifton  <nickc@redhat.com>
1752
1753         * po/gas.pot: Regenerated.
1754
1755 2018-01-13  Nick Clifton  <nickc@redhat.com>
1756
1757         * configure: Regenerate.
1758
1759 2018-01-13  Nick Clifton  <nickc@redhat.com>
1760
1761         2.30 branch created.
1762         * NEWS: Add marker for 2.30.
1763
1764 2018-01-12  Gunther Nikl  <gnikl@users.sourceforge.net>
1765
1766         * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1767         define to 0 and 1. Remove a dangling reference to "AMD 29000"
1768         in a comment.
1769
1770 2018-01-11  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1771
1772         * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1773         * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1774         * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1775         * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1776         * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1777         * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1778         * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1779         * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1780         tests.
1781         * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1782         * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1783         * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1784         * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1785         * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1786         * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1787         * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1788         * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1789
1790 2018-01-11  Alan Modra  <amodra@gmail.com>
1791
1792         * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1793         positive "‘profile’ may be used uninitialized".
1794
1795 2018-01-10  Jan Beulich  <jbeulich@suse.com>
1796
1797         * testsuite/gas/i386/avx512_4fmaps.s,
1798         testsuite/gas/i386/avx512_4fmaps_vl.s,
1799         testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1800         testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1801         Disp8 forms (and the transition happening at the right
1802         boundary).
1803         * testsuite/gas/i386/avx512_4fmaps.d,
1804         testsuite/gas/i386/avx512_4fmaps-intel.d,
1805         testsuite/gas/i386/avx512_4fmaps_vl.d,
1806         testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1807         testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1808         testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1809         testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1810         testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1811         expectations.
1812
1813 2018-01-10  Jan Beulich  <jbeulich@suse.com>
1814
1815         * testsuite/gas/i386/avx512bw.s,
1816         testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1817         operands.
1818         * testsuite/gas/i386/avx512bw-intel.d,
1819         testsuite/gas/i386/avx512bw.d,
1820         testsuite/gas/i386/avx512bw_vl-intel.d.
1821         testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1822
1823 2018-01-09  Jim Wilson  <jimw@sifive.com>
1824
1825         * testsuite/gas/riscv/auipc-x0.d: New.
1826         * testsuite/gas/riscv/auipc-x0.s: New.
1827
1828 2018-01-09  James Greenhalgh  <james.greenhalgh@arm.com>
1829
1830         * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1831         in Arm execution state, and Armv6T2 and above in Thumb execution
1832         state.
1833         * testsuite/gas/arm/csdb.s: New.
1834         * testsuite/gas/arm/csdb.d: New.
1835         * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1836         * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1837
1838 2018-01-09  James Greenhalgh  <james.greenhalgh@arm.com>
1839
1840         * testsuite/gas/aarch64/system.d: Update expected results to expect
1841         CSDB for hint 0x14.
1842
1843 2018-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1844
1845         PR gas/22681
1846         * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1847         x86-64-movd-intel.
1848         * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1849         * testsuite/gas/i386/x86-64-movd.d: Likewise.
1850         * testsuite/gas/i386/x86-64-movd.s: Likewise.
1851
1852 2018-01-08  Nick Clifton  <nickc@redhat.com>
1853
1854         PR 22553
1855         * doc/c-i386.texi (i386-Directives): Document the .largecomm
1856         directive.
1857
1858 2018-01-04  Jim Wilson  <jimw@sifive.com>
1859
1860         * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
1861         * testsuite/gas/riscv/priv-reg.d: Likewise.
1862
1863 2018-01-03  Alan Modra  <amodra@gmail.com>
1864
1865         Update year range in copyright notice of all files.
1866
1867 2018-01-02  Nick Clifton  <nickc@redhat.com>
1868
1869         PR 18119
1870         * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
1871         version of ARM MRS instruction.
1872
1873 For older changes see ChangeLog-2017
1874 \f
1875 Copyright (C) 2018 Free Software Foundation, Inc.
1876
1877 Copying and distribution of this file, with or without modification,
1878 are permitted in any medium without royalty provided the copyright
1879 notice and this notice are preserved.
1880
1881 Local Variables:
1882 mode: change-log
1883 left-margin: 8
1884 fill-column: 74
1885 version-control: never
1886 End: