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