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