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