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