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