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