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