1 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
3 * config/tc-i386.c (process_suffix): Check addrprefixopreg
4 instead of addrprefixop0.
6 2018-05-07 Peter Bergner <bergner@vnet.ibm.com.com>
8 * config/tc-ppc.c (ppc_setup_opcodes) <powerpc_opcodes>: Rewrite code
9 to dump the entire opcode table.
10 (ppc_setup_opcodes) <spe2_opcodes>: Likewise.
11 (ppc_setup_opcodes) <vle_opcodes>: Likewise. Fix calculation of
14 2018-05-06 H.J. Lu <hongjiu.lu@intel.com>
16 * testsuite/gas/i386/xmmhi32.d: Also allow dir32 relocation.
18 2018-05-06 H.J. Lu <hongjiu.lu@intel.com>
20 * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0".
21 * testsuite/gas/i386/avx512vl-plain.s: Likewise.
22 * testsuite/gas/i386/bnd.s: Likewise.
23 * testsuite/gas/i386/stN.s: Likewise.
24 * testsuite/gas/i386/avx512f-plain.l: Updated.
25 * testsuite/gas/i386/avx512vl-plain.l: Likewise.
26 * testsuite/gas/i386/bnd.l: Likewise.
27 * testsuite/gas/i386/stN.l: Likewise.
29 2018-05-04 Alan Modra <amodra@gmail.com>
31 * config/obj-evax.c (shorten_identifier): Use memcpy in place
33 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Ensure
34 segname and sectname fields are NUL terminated.
36 2018-05-01 Nick Clifton <nickc@redhat.com>
38 * po/es.po: Updated Spanish translation.
40 2018-04-27 Maciej W. Rozycki <macro@mips.com>
42 * testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target'
43 in place of `istarget' for matching with `target', `not-target',
44 `skip' and `not-skip' options.
46 2018-04-26 Nick Clifton <nickc@redhat.com>
48 * as.c (flag_generate_build_notes): New variable.
49 (show_usage): Add entry for --generate-missing-build-notes.
50 (parse_args): Parse --generate-missing-build-notes.
51 * as.h: Export flag_generate_build_notes.
52 * symbols.c (save_symbol_name): Ensure that the name parameter is
54 * write.c (create_obj_attrs_section): Reformat.
55 (create_note_reloc): New function - creates a relocation for a
56 field in a GNU Build attribute note.
57 (maybe_generate_build_notes): New function - created GNU Build
58 attribute notes if none are present in the output file.
59 (write_object_file): Call maybe_generate_build_notes.
60 * configure.ac (--enable-generate-build-notes): New option.
61 * NEWS: Announce the new feature.
62 * doc/as.textinfo: Document the new option.
63 * config.in: Regenerate.
64 * configure: Regenerate.
66 2018-04-26 Jan Beulich <jbeulich@suse.com>
68 * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set
70 (match_template): Don't set suffix_check when Intel syntax and
71 broadcast. Make check_register a per-operand bitmap.
73 2018-04-26 Jan Beulich <jbeulich@suse.com>
75 * config/tc-i386.c (optimize_encoding): Check for zeroing
77 * testsuite/gas/i386/optimize-1.d,
78 testsuite/gas/i386/optimize-4.d,
79 testsuite/gas/i386/optimize-5.d,
80 testsuite/gas/i386/x86-64-optimize-2.d,
81 testsuite/gas/i386/x86-64-optimize-5.d,
82 testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
84 2018-04-26 Jan Beulich <jbeulich@suse.com>
86 * config/tc-i386.c (parse_real_register): Check .cpuvrex before
87 recording EVEX encoding. Don't check previously specified
89 * testsuite/gas/i386/xmmhi32.s: Add {x,y,z}mm{16,24} cases.
90 * testsuite/gas/i386/xmmhi32.d: Adjust expectations.
91 * testsuite/gas/i386/xmmhi64.s, testsuite/gas/i386/xmmhi64.d:
93 * testsuite/gas/i386/i386.exp: Run new test.
95 2018-04-26 Jan Beulich <jbeulich@suse.com>
97 * testsuite/gas/i386/xsave.s: Add AVX, LWP, MPX, and PKU
99 * testsuite/gas/i386/xsave.d,
100 testsuite/gas/i386/xsave-intel.d: Adjust expecations.
102 2018-04-26 Jan Beulich <jbeulich@suse.com>
104 * config/tc-i386.c (parse_real_register): Re-write {,x,y,z}mm
105 and mask register handling.
106 * testsuite/gas/i386/avx512f-ymm.s, testsuite/gas/i386/avx512f-ymm.d,
107 testsuite/gas/i386/xmmhi32.s, testsuite/gas/i386/xmmhi32.d: New.
108 * testsuite/gas/i386/i386.exp: Run new tests.
110 2018-04-26 Jan Beulich <jbeulich@suse.com>
112 * config/tc-i386.c (parse_real_register): Check bnd<N>
114 * testsuite/gas/i386/bnd.s, testsuite/gas/i386/bnd.l: New.
115 * testsuite/gas/i386/i386.exp: Run new test.
117 2018-04-26 Jan Beulich <jbeulich@suse.com>
119 * config/tc-i386.c (parse_real_register): Check FPU register
121 * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l,
122 testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New.
123 * testsuite/gas/i386/i386.exp: Run new tests.
125 2018-04-26 Jan Beulich <jbeulich@suse.com>
127 * config/tc-i386.c (build_modrm_byte): Use tabs for indentation.
129 2018-04-26 Jan Beulich <jbeulich@suse.com>
131 * config/tc-i386.c (build_modrm_byte): Move and fold
132 source/reg_slot calculations.
134 2018-04-26 Jan Beulich <jbeulich@suse.com>
136 * config/tc-i386.c (build_modrm_byte): Drop .veximmext uses.
137 Move part of the remaining assertion.
139 2018-04-26 Jan Beulich <jbeulich@suse.com>
141 * config/tc-i386.c (build_modrm_byte): Extend assertion in
142 vex_3_sources handling to cover more cases.
144 2018-04-26 Jan Beulich <jbeulich@suse.com>
146 * config/tc-i386.c (build_modrm_byte): Drop code dealing with
147 .veximmext and .immext set at the same time. Drop code dealing
148 with .cpufma when .vexsources == VEX3SOURCES.
150 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
151 Mickaël Guêné <mickael.guene@st.com>
153 * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC,
154 GOTTPOFF_FDIC relocations.
155 (md_apply_fix): Handle the new TLS FDPIC relocations.
156 (tc_gen_reloc): Likewise.
157 (arm_fix_adjustable): Likewise.
159 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
160 Mickaël Guêné <mickael.guene@st.com>
162 * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc,
164 (md_apply_fix): Support the new relocations.
165 (tc_gen_reloc): Likewise.
166 * testsuite/gas/arm/reloc-fdpic.d: New.
167 * testsuite/gas/arm/reloc-fdpic.s: New.
169 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
170 Mickaël Guêné <mickael.guene@st.com>
172 * config/tc-arm.c (arm_fdpic): New.
173 (elf32_arm_target_format): Support FDPIC.
175 (md_longopts): Support FDPIC.
176 (md_parse_option): Likewise.
177 (md_show_usage): Likewise.
179 2018-04-25 Tamar Christina <tamar.christina@arm.com>
181 * testsuite/gas/aarch64/rdma.s: Test for larger register numbers.
182 * testsuite/gas/aarch64/rdma.d: Update results.
183 * testsuite/gas/aarch64/rdma-directive.d: Likewise.
185 2018-04-25 Nick Clifton <nickc@redhat.com>
187 * po/es.po: Updated Spanish translation.
189 2018-04-25 Alan Modra <amodra@gmail.com>
191 * Makefile.am: Remove arm-aout and arm-coff support.
192 * config/tc-arm.c: Likewise.
193 * config/tc-arm.h: Likewise.
194 * configure.tgt: Likewise.
195 * testsuite/gas/aarch64/codealign.d: Likewise.
196 * testsuite/gas/aarch64/mapping.d: Likewise.
197 * testsuite/gas/aarch64/mapping2.d: Likewise.
198 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise.
199 * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise.
200 * testsuite/gas/arm/addsw-bad.d: Likewise.
201 * testsuite/gas/arm/align.d: Likewise.
202 * testsuite/gas/arm/align64.d: Likewise.
203 * testsuite/gas/arm/arch7.d: Likewise.
204 * testsuite/gas/arm/arch7a-mp.d: Likewise.
205 * testsuite/gas/arm/arch7em.d: Likewise.
206 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
207 * testsuite/gas/arm/arm-it-auto-2.d: Likewise.
208 * testsuite/gas/arm/arm-it-auto-3.d: Likewise.
209 * testsuite/gas/arm/arm-it-auto.d: Likewise.
210 * testsuite/gas/arm/arm-it-bad-2.d: Likewise.
211 * testsuite/gas/arm/arm-it.d: Likewise.
212 * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise.
213 * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
214 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise.
215 * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise.
216 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise.
217 * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise.
218 * testsuite/gas/arm/armv8-a+crypto.d: Likewise.
219 * testsuite/gas/arm/armv8-a+fp.d: Likewise.
220 * testsuite/gas/arm/armv8-a+ras.d: Likewise.
221 * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise.
222 * testsuite/gas/arm/armv8-a+rdma.d: Likewise.
223 * testsuite/gas/arm/armv8-a+simd.d: Likewise.
224 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
225 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
226 * testsuite/gas/arm/armv8-r+simd.d: Likewise.
227 * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise.
228 * testsuite/gas/arm/armv8_1-a+simd.d: Likewise.
229 * testsuite/gas/arm/armv8_2+rdma.d: Likewise.
230 * testsuite/gas/arm/armv8_2-a.d: Likewise.
231 * testsuite/gas/arm/armv8_3-a-fp.d: Likewise.
232 * testsuite/gas/arm/armv8_3-a-simd.d: Likewise.
233 * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise.
234 * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise.
235 * testsuite/gas/arm/attr-syntax.d: Likewise.
236 * testsuite/gas/arm/automatic-bw.d: Likewise.
237 * testsuite/gas/arm/automatic-cbz.d: Likewise.
238 * testsuite/gas/arm/automatic-clrex.d: Likewise.
239 * testsuite/gas/arm/automatic-lda.d: Likewise.
240 * testsuite/gas/arm/automatic-ldaex.d: Likewise.
241 * testsuite/gas/arm/automatic-ldaexb.d: Likewise.
242 * testsuite/gas/arm/automatic-ldrex.d: Likewise.
243 * testsuite/gas/arm/automatic-ldrexd.d: Likewise.
244 * testsuite/gas/arm/automatic-movw.d: Likewise.
245 * testsuite/gas/arm/automatic-sdiv.d: Likewise.
246 * testsuite/gas/arm/automatic-strexb.d: Likewise.
247 * testsuite/gas/arm/barrier-bad-thumb.d: Likewise.
248 * testsuite/gas/arm/barrier-bad.d: Likewise.
249 * testsuite/gas/arm/barrier-thumb.d: Likewise.
250 * testsuite/gas/arm/barrier.d: Likewise.
251 * testsuite/gas/arm/bignum1.d: Likewise.
252 * testsuite/gas/arm/blx-bad.d: Likewise.
253 * testsuite/gas/arm/blx-bl-convert.d: Likewise.
254 * testsuite/gas/arm/blx-local.s: Likewise.
255 * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise.
256 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
257 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
258 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
259 * testsuite/gas/arm/dis-data.d: Likewise.
260 * testsuite/gas/arm/dis-data2.d: Likewise.
261 * testsuite/gas/arm/dis-data3.d: Likewise.
262 * testsuite/gas/arm/eabi_attr_1.d: Likewise.
263 * testsuite/gas/arm/fp-save.d: Likewise.
264 * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise.
265 * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise.
266 * testsuite/gas/arm/group-reloc-alu.d: Likewise.
267 * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise.
268 * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise.
269 * testsuite/gas/arm/group-reloc-ldc.d: Likewise.
270 * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise.
271 * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise.
272 * testsuite/gas/arm/group-reloc-ldr.d: Likewise.
273 * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise.
274 * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise.
275 * testsuite/gas/arm/group-reloc-ldrs.d: Likewise.
276 * testsuite/gas/arm/insn-error-a.d: Likewise.
277 * testsuite/gas/arm/insn-error-t.d: Likewise.
278 * testsuite/gas/arm/inst-po-2.d: Likewise.
279 * testsuite/gas/arm/inst-po-3.d: Likewise.
280 * testsuite/gas/arm/inst-po-be.d: Likewise.
281 * testsuite/gas/arm/inst-po.d: Likewise.
282 * testsuite/gas/arm/ldconst.d: Likewise.
283 * testsuite/gas/arm/ldgesb-bad.d: Likewise.
284 * testsuite/gas/arm/ldgesh-bad.d: Likewise.
285 * testsuite/gas/arm/ldst-offset0.d: Likewise.
286 * testsuite/gas/arm/local_function.d: Likewise.
287 * testsuite/gas/arm/local_label_coff.d: Likewise.
288 * testsuite/gas/arm/local_label_elf.d: Likewise.
289 * testsuite/gas/arm/mapping.d: Likewise.
290 * testsuite/gas/arm/mapping2.d: Likewise.
291 * testsuite/gas/arm/mapping3.d: Likewise.
292 * testsuite/gas/arm/mapping4.d: Likewise.
293 * testsuite/gas/arm/mapshort-elf.d: Likewise.
294 * testsuite/gas/arm/mask_1-armv8-a.d: Likewise.
295 * testsuite/gas/arm/mask_1-armv8-r.d: Likewise.
296 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise.
297 * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise.
298 * testsuite/gas/arm/movw-local.d: Likewise.
299 * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
300 * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
301 * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
302 * testsuite/gas/arm/msr-imm-bad.d: Likewise.
303 * testsuite/gas/arm/msr-reg-bad.d: Likewise.
304 * testsuite/gas/arm/msr-reg-thumb.d: Likewise.
305 * testsuite/gas/arm/nomapping.d: Likewise.
306 * testsuite/gas/arm/nops.d: Likewise.
307 * testsuite/gas/arm/pic.d: Likewise.
308 * testsuite/gas/arm/pinsn.d: Likewise.
309 * testsuite/gas/arm/plt-1.d: Likewise.
310 * testsuite/gas/arm/pr21458.d: Likewise.
311 * testsuite/gas/arm/pr9722.d: Likewise.
312 * testsuite/gas/arm/strex-t.d: Likewise.
313 * testsuite/gas/arm/t2-branch-global.d: Likewise.
314 * testsuite/gas/arm/target-reloc-1.d: Likewise.
315 * testsuite/gas/arm/thumb-b-bad.d: Likewise.
316 * testsuite/gas/arm/thumb-w-bad.d: Likewise.
317 * testsuite/gas/arm/thumb-w-good.d: Likewise.
318 * testsuite/gas/arm/thumb.d: Likewise.
319 * testsuite/gas/arm/thumb2_it.d: Likewise.
320 * testsuite/gas/arm/thumb2_it_auto.d: Likewise.
321 * testsuite/gas/arm/thumb2_it_search.d: Likewise.
322 * testsuite/gas/arm/thumb2_ldmstm.d: Likewise.
323 * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise.
324 * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
325 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise.
326 * testsuite/gas/arm/thumb2_pool.d: Likewise.
327 * testsuite/gas/arm/thumb2_vpool.d: Likewise.
328 * testsuite/gas/arm/thumb2_vpool_be.d: Likewise.
329 * testsuite/gas/arm/thumb32.d: Likewise.
330 * testsuite/gas/arm/thumbver.d: Likewise.
331 * testsuite/gas/arm/tls.d: Likewise.
332 * testsuite/gas/arm/tls_vxworks.d: Likewise.
333 * testsuite/gas/arm/undefined.d: Likewise.
334 * testsuite/gas/arm/undefined_coff.d: Likewise.
335 * testsuite/gas/arm/unwind.d: Likewise.
336 * testsuite/gas/arm/v4bx.d: Likewise.
337 * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise.
338 * testsuite/gas/arm/vcvt-bad.d: Likewise.
339 * testsuite/gas/arm/vfma1.d: Likewise.
340 * testsuite/gas/arm/vldconst.d: Likewise.
341 * testsuite/gas/arm/vldconst_be.d: Likewise.
342 * testsuite/gas/arm/vldm-arm.d: Likewise.
343 * testsuite/gas/arm/vldr.d: Likewise.
344 * testsuite/gas/arm/weakdef-1.d: Likewise.
345 * testsuite/gas/arm/weakdef-2.d: Likewise.
346 * config/te-riscix.h: Delete.
347 * Makefile.in: Regenerate.
348 * po/POTFILES.in: Regenerate.
350 2018-04-23 Alan Modra <amodra@gmail.com>
352 * stabs.c (generate_asm_file): Use memcpy rather than strncpy.
353 Remove call to strlen inside loop.
354 * config/tc-cr16.c (getreg_image): Warning fix.
355 * config/tc-crx.c (getreg_image): Warning fix.
357 2018-04-20 Kito Cheng <kito.cheng@gmail.com>
359 * config/tc-riscv.c (options): Add OPTION_RELAX and
361 (md_longopts): New option -mrelax and -mno-relax.
362 (md_parse_option): Handle -mrelax and -mno-relax.
363 * doc/c-riscv.texi: Document for -mrelax and -mno-relax.
364 * testsuite/gas/riscv/no-relax-reloc.d: New.
365 * testsuite/gas/riscv/no-relax-reloc.s: New.
366 * testsuite/gas/riscv/relax-reloc.d: New.
367 * testsuite/gas/riscv/relax-reloc.s: New.
369 2018-04-20 Nick Clifton <nickc@redhat.com>
371 * po/es.po: Updated Spanish translation.
373 2018-04-18 Alan Modra <amodra@gmail.com>
375 * Makefile.am: Remove support for assorted i386 aout and coff targets.
376 * config/obj-elf.c: Likewise.
377 * config/tc-i386.h: Likewise.
378 * configure.ac: Likewise.
379 * configure.tgt: Likewise.
380 * config/te-dynix.h: Delete.
381 * config/te-i386aix.h: Delete.
382 * config/te-mach.h: Delete.
383 * Makefile.in: Regenerate.
384 * config.in: Regenerate.
385 * configure: Regenerate.
386 * po/POTFILES.in: Regenerate.
388 2018-04-18 Alan Modra <amodra@gmail.com>
390 * configure.tgt: Remove *-*-bsd* entry.
392 2018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
394 Microblaze Target: PIC data text relative
396 * gas/config/tc-microblaze.c (Handle new relocs directives in
397 assembler): Handle new relocs from compiler output.
398 (imm_types): add new imm types for data text relative addressing
399 TEXT_OFFSET, TEXT_PC_OFFSET
400 (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
401 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
402 (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
403 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
404 (md_estimate_size_before_relax): estimate size for
405 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
406 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
407 (tc_gen_reloc): generate relocations for
408 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
409 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
411 2018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
413 * testsuite/gas/i386/nops.s: Revert back deleted lines and
414 change encoding to 0x0f1c /1 to map to NOP.
415 * testsuite/gas/i386/x86-64-nops.s: Likewise.
416 * testsuite/gas/i386/nops.d: Likewise.
417 * testsuite/gas/i386/x86-64-nops.d: Likewise.
418 * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.
420 2018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
422 * config/tc-i386.c (cpu_arch): Add .cldemote.
423 * doc/c-i386.texi: Document cldemote/.cldemote.
424 * testsuite/gas/i386/cldemote-intel.d: New.
425 * testsuite/gas/i386/cldemote.d: Likewise.
426 * testsuite/gas/i386/cldemote.s: Likewise.
427 * testsuite/gas/i386/i386.exp: Run new tests.
428 * testsuite/gas/i386/x86-64-cldemote-intel.d: New.
429 * testsuite/gas/i386/x86-64-cldemote.d: Likewise.
430 * testsuite/gas/i386/x86-64-cldemote.s: Likewise.
431 * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
432 NOP encoding that maps to cldemote.
433 * testsuite/gas/i386/nops.d: Likewise.
434 * testsuite/gas/i386/nops.s: Likewise.
435 * testsuite/gas/i386/x86-64-nops.d: Likewise.
436 * testsuite/gas/i386/x86-64-nops.s: Likewise.
438 2018-04-16 Nick Clifton <nickc@redhat.com>
441 * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc
443 (s_if, s_ifb, s_ifc, s_ifeqs): Likewise.
444 * obj-elf.c (elf_adjust_symtab): Check for local symbols before
445 attempting to dereference the sy_next field of a symbol.
446 * stabs.c (get_stab_string_offset): Fail if there is no string
447 following the stab directive.
449 2018-04-16 Alan Modra <amodra@gmail.com>
451 * Makefile.am: Remove arm-epoc-pe support.
452 * config/tc-arm.h: Likewise.
453 * configure.tgt: Likewise.
454 * testsuite/gas/all/gas.exp: Likewise.
455 * testsuite/gas/arm/local_label_coff.d: Likewise.
456 * testsuite/gas/arm/undefined.d: Likewise.
457 * testsuite/gas/arm/undefined_coff.d: Likewise.
458 * config/te-epoc-pe.h: Delete.
459 * Makefile.in: Regenerate.
460 * po/POTFILES.in: Regenerate.
462 2018-04-16 Alan Modra <amodra@gmail.com>
464 * Makefile.am: Remove sparc-aout and sparc-coff support.
465 * config/obj-coff.h: Likewise.
466 * config/tc-sparc.c: Likewise.
467 * config/tc-sparc.h: Likewise.
468 * configure.tgt: Likewise.
469 * config/te-sparcaout.h: Delete.
470 * testsuite/gas/sun4/addend.d: Delete.
471 * testsuite/gas/sun4/addend.exp: Delete.
472 * testsuite/gas/sun4/addend.s: Delete.
473 * Makefile.in: Regenerate.
474 * po/POTFILES.in: Regenerate.
476 2018-04-16 Alan Modra <amodra@gmail.com>
478 * Makefile.am: Remove m68k-aout and m68k-coff support.
479 * config/tc-m68k.c: Likewise.
480 * config/tc-m68k.h: Likewise.
481 * configure.ac: Likewise.
482 * configure.tgt: Likewise.
483 * testsuite/gas/all/weakref1u.d: Likewise.
484 * testsuite/gas/m68k/all.exp: Likewise.
485 * testsuite/gas/m68k/br-isaa.d: Likewise.
486 * testsuite/gas/m68k/br-isab.d: Likewise.
487 * testsuite/gas/m68k/br-isac.d: Likewise.
488 * config/te-psos.h: Delete.
489 * config/te-sun3.h: Delete.
490 * testsuite/gas/m68k-coff/gas.exp: Delete.
491 * testsuite/gas/m68k-coff/p2389.s: Delete.
492 * testsuite/gas/m68k-coff/p2389a.s: Delete.
493 * testsuite/gas/m68k-coff/p2430.s: Delete.
494 * testsuite/gas/m68k-coff/p2430a.s: Delete.
495 * testsuite/gas/m68k-coff/t1.s: Delete.
496 * testsuite/gas/m68k/p3041.d: Delete.
497 * testsuite/gas/m68k/p3041.s: Delete.
498 * testsuite/gas/m68k/p3041data.d: Delete.
499 * testsuite/gas/m68k/p3041data.s: Delete.
500 * testsuite/gas/m68k/p3041pcrel.d: Delete.
501 * testsuite/gas/m68k/p3041pcrel.s: Delete.
502 * testsuite/gas/m68k/t2.d: Delete.
503 * Makefile.in: Regenerate.
504 * config.in: Regenerate.
505 * configure: Regenerate.
506 * po/POTFILES.in: Regenerate.
508 2018-04-16 Alan Modra <amodra@gmail.com>
510 * Makefile.am: Remove sh5 and sh64 support.
511 * config/tc-sh.c: Likewise.
512 * configure.tgt: Likewise.
513 * doc/Makefile.am: Likewise.
514 * doc/as.texinfo: Likewise.
515 * testsuite/gas/cfi/cfi.exp: Likewise.
516 * testsuite/gas/sh/basic.exp: Likewise.
517 * config/tc-sh64.c: Delete.
518 * config/tc-sh64.h: Delete.
519 * doc/c-sh64.texi: Delete.
520 * testsuite/gas/sh/sh64/abi-32.d: Delete.
521 * testsuite/gas/sh/sh64/abi-32.s: Delete.
522 * testsuite/gas/sh/sh64/abi-64.d: Delete.
523 * testsuite/gas/sh/sh64/abi-64.s: Delete.
524 * testsuite/gas/sh/sh64/basic-1.d: Delete.
525 * testsuite/gas/sh/sh64/basic-1.s: Delete.
526 * testsuite/gas/sh/sh64/case-1.d: Delete.
527 * testsuite/gas/sh/sh64/case-1.s: Delete.
528 * testsuite/gas/sh/sh64/case-noexp-1.d: Delete.
529 * testsuite/gas/sh/sh64/crange1-1.d: Delete.
530 * testsuite/gas/sh/sh64/crange1-2.d: Delete.
531 * testsuite/gas/sh/sh64/crange1.s: Delete.
532 * testsuite/gas/sh/sh64/crange2-1.d: Delete.
533 * testsuite/gas/sh/sh64/crange2-2.d: Delete.
534 * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete.
535 * testsuite/gas/sh/sh64/crange2.s: Delete.
536 * testsuite/gas/sh/sh64/crange3-1.d: Delete.
537 * testsuite/gas/sh/sh64/crange3.s: Delete.
538 * testsuite/gas/sh/sh64/crange4-1.d: Delete.
539 * testsuite/gas/sh/sh64/crange4.s: Delete.
540 * testsuite/gas/sh/sh64/crange5-1.d: Delete.
541 * testsuite/gas/sh/sh64/crange5.s: Delete.
542 * testsuite/gas/sh/sh64/creg-1.d: Delete.
543 * testsuite/gas/sh/sh64/creg-1.s: Delete.
544 * testsuite/gas/sh/sh64/creg-2.d: Delete.
545 * testsuite/gas/sh/sh64/creg-2.s: Delete.
546 * testsuite/gas/sh/sh64/datal-1.s: Delete.
547 * testsuite/gas/sh/sh64/datal-2.d: Delete.
548 * testsuite/gas/sh/sh64/datal-2.s: Delete.
549 * testsuite/gas/sh/sh64/datal-3.s: Delete.
550 * testsuite/gas/sh/sh64/datal32-1.d: Delete.
551 * testsuite/gas/sh/sh64/datal32-3.d: Delete.
552 * testsuite/gas/sh/sh64/datal64-1.d: Delete.
553 * testsuite/gas/sh/sh64/datal64-3.d: Delete.
554 * testsuite/gas/sh/sh64/eh-1.d: Delete.
555 * testsuite/gas/sh/sh64/eh-1.s: Delete.
556 * testsuite/gas/sh/sh64/endian-1.d: Delete.
557 * testsuite/gas/sh/sh64/endian-1.s: Delete.
558 * testsuite/gas/sh/sh64/endian-2.d: Delete.
559 * testsuite/gas/sh/sh64/endian-2.s: Delete.
560 * testsuite/gas/sh/sh64/err-1.s: Delete.
561 * testsuite/gas/sh/sh64/err-2.s: Delete.
562 * testsuite/gas/sh/sh64/err-3.s: Delete.
563 * testsuite/gas/sh/sh64/err-4.s: Delete.
564 * testsuite/gas/sh/sh64/err-abi-32.s: Delete.
565 * testsuite/gas/sh/sh64/err-abi-64.s: Delete.
566 * testsuite/gas/sh/sh64/err-dsp.s: Delete.
567 * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete.
568 * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete.
569 * testsuite/gas/sh/sh64/err-pt-1.s: Delete.
570 * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete.
571 * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete.
572 * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete.
573 * testsuite/gas/sh/sh64/err-ptb-1.s: Delete.
574 * testsuite/gas/sh/sh64/err-ptb-2.s: Delete.
575 * testsuite/gas/sh/sh64/err.exp: Delete.
576 * testsuite/gas/sh/sh64/immexpr1.s: Delete.
577 * testsuite/gas/sh/sh64/immexpr2.s: Delete.
578 * testsuite/gas/sh/sh64/immexpr32-1.d: Delete.
579 * testsuite/gas/sh/sh64/immexpr32-2.d: Delete.
580 * testsuite/gas/sh/sh64/immexpr64-1.d: Delete.
581 * testsuite/gas/sh/sh64/immexpr64-2.d: Delete.
582 * testsuite/gas/sh/sh64/lineno.d: Delete.
583 * testsuite/gas/sh/sh64/lineno.s: Delete.
584 * testsuite/gas/sh/sh64/localcom-1.d: Delete.
585 * testsuite/gas/sh/sh64/localcom-1.s: Delete.
586 * testsuite/gas/sh/sh64/mix-1.d: Delete.
587 * testsuite/gas/sh/sh64/mix-1.s: Delete.
588 * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete.
589 * testsuite/gas/sh/sh64/movi-1.s: Delete.
590 * testsuite/gas/sh/sh64/movi-2.s: Delete.
591 * testsuite/gas/sh/sh64/movi-3.d: Delete.
592 * testsuite/gas/sh/sh64/movi-3.s: Delete.
593 * testsuite/gas/sh/sh64/movi32-1.d: Delete.
594 * testsuite/gas/sh/sh64/movi32-2.d: Delete.
595 * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete.
596 * testsuite/gas/sh/sh64/movi64-1.d: Delete.
597 * testsuite/gas/sh/sh64/movi64-2.d: Delete.
598 * testsuite/gas/sh/sh64/movi64-2.s: Delete.
599 * testsuite/gas/sh/sh64/movi64-3.d: Delete.
600 * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete.
601 * testsuite/gas/sh/sh64/pt-1.d: Delete.
602 * testsuite/gas/sh/sh64/pt-1.s: Delete.
603 * testsuite/gas/sh/sh64/pt-2.s: Delete.
604 * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete.
605 * testsuite/gas/sh/sh64/pt32-1.d: Delete.
606 * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete.
607 * testsuite/gas/sh/sh64/pt64-1.d: Delete.
608 * testsuite/gas/sh/sh64/pt64-32-1.d: Delete.
609 * testsuite/gas/sh/sh64/pt64-32-2.d: Delete.
610 * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete.
611 * testsuite/gas/sh/sh64/ptc-1.s: Delete.
612 * testsuite/gas/sh/sh64/ptc32-1.d: Delete.
613 * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete.
614 * testsuite/gas/sh/sh64/ptc64-1.d: Delete.
615 * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete.
616 * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete.
617 * testsuite/gas/sh/sh64/ptext-1.s: Delete.
618 * testsuite/gas/sh/sh64/ptext32-1.d: Delete.
619 * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete.
620 * testsuite/gas/sh/sh64/ptext64-1.d: Delete.
621 * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete.
622 * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete.
623 * testsuite/gas/sh/sh64/rel-1.s: Delete.
624 * testsuite/gas/sh/sh64/rel-2.s: Delete.
625 * testsuite/gas/sh/sh64/rel-3.s: Delete.
626 * testsuite/gas/sh/sh64/rel-4.s: Delete.
627 * testsuite/gas/sh/sh64/rel-5.s: Delete.
628 * testsuite/gas/sh/sh64/rel32-1.d: Delete.
629 * testsuite/gas/sh/sh64/rel32-2.d: Delete.
630 * testsuite/gas/sh/sh64/rel32-3.d: Delete.
631 * testsuite/gas/sh/sh64/rel32-4.d: Delete.
632 * testsuite/gas/sh/sh64/rel32-5.d: Delete.
633 * testsuite/gas/sh/sh64/rel64-1.d: Delete.
634 * testsuite/gas/sh/sh64/rel64-2.d: Delete.
635 * testsuite/gas/sh/sh64/rel64-3.d: Delete.
636 * testsuite/gas/sh/sh64/rel64-4.d: Delete.
637 * testsuite/gas/sh/sh64/rel64-5.d: Delete.
638 * testsuite/gas/sh/sh64/relax-1.d: Delete.
639 * testsuite/gas/sh/sh64/relax-1.s: Delete.
640 * testsuite/gas/sh/sh64/relax-2.d: Delete.
641 * testsuite/gas/sh/sh64/relax-2.s: Delete.
642 * testsuite/gas/sh/sh64/relax-3.d: Delete.
643 * testsuite/gas/sh/sh64/relax-3.s: Delete.
644 * testsuite/gas/sh/sh64/sh64.exp: Delete.
645 * testsuite/gas/sh/sh64/shift-1.s: Delete.
646 * testsuite/gas/sh/sh64/shift-2.s: Delete.
647 * testsuite/gas/sh/sh64/shift-3.s: Delete.
648 * testsuite/gas/sh/sh64/shift32-1.d: Delete.
649 * testsuite/gas/sh/sh64/shift32-3.d: Delete.
650 * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete.
651 * testsuite/gas/sh/sh64/shift64-1.d: Delete.
652 * testsuite/gas/sh/sh64/shift64-2.d: Delete.
653 * testsuite/gas/sh/sh64/shift64-3.d: Delete.
654 * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete.
655 * testsuite/gas/sh/sh64/syntax-1.d: Delete.
656 * testsuite/gas/sh/sh64/syntax-1.s: Delete.
657 * testsuite/gas/sh/sh64/syntax-2.d: Delete.
658 * testsuite/gas/sh/sh64/syntax-2.s: Delete.
659 * testsuite/gas/sh/sh64/ua-1.s: Delete.
660 * testsuite/gas/sh/sh64/ua32-1.d: Delete.
661 * testsuite/gas/sh/sh64/ua64-1.d: Delete.
662 * Makefile.in: Regenerate.
663 * doc/Makefile.in: Regenerate.
664 * po/POTFILES.in: Regenerate.
666 2018-04-16 Alan Modra <amodra@gmail.com>
668 * config/tc-sh.c: Remove sh-symbianelf support.
669 * config/tc-sh.h: Likewise.
670 * configure.ac: Likewise.
671 * configure.tgt: Likewise.
672 * testsuite/gas/sh/reg-prefix.d: Likewise.
673 * testsuite/gas/sh/sh2a-pic.d: Likewise.
674 * config.in: Regenerate.
675 * configure: Regenerate.
677 2018-04-16 Alan Modra <amodra@gmail.com>
679 * configure.ac: Remove m88k support.
680 * config.in: Regenerate.
681 * configure: Regenerate.
683 2018-04-16 Alan Modra <amodra@gmail.com>
685 * Makefile.am: Remove i370 support.
687 * config/obj-elf.c: Likewise.
688 * configure.tgt: Likewise.
689 * doc/Makefile.am: Likewise.
690 * doc/as.texinfo: Likewise.
691 * testsuite/gas/all/gas.exp: Likewise.
692 * testsuite/gas/elf/warn-2.s: Likewise.
693 * testsuite/gas/lns/lns.exp: Likewise.
694 * config/tc-i370.c: Delete.
695 * config/tc-i370.h: Delete.
696 * doc/c-i370.texi: Delete.
697 * Makefile.in: Regenerate.
698 * doc/Makefile.in: Regenerate.
699 * po/POTFILES.in: Regenerate.
701 2018-04-16 Alan Modra <amodra@gmail.com>
703 * config/obj-coff.h: Remove h8500 support.
705 2018-04-16 Alan Modra <amodra@gmail.com>
707 * config/obj-coff.h: Remove h8300-coff support.
708 * config/tc-h8300.c: Likewise.
709 * config/tc-h8300.h: Likewise.
710 * testsuite/gas/h8300/h8300.exp: Likewise.
711 * testsuite/gas/h8300/branch-coff.s: Delete.
712 * testsuite/gas/h8300/branchh-coff.s: Delete.
713 * testsuite/gas/h8300/branchs-coff.s: Delete.
714 * testsuite/gas/h8300/ffxx1-coff.d: Delete.
715 * testsuite/gas/h8300/ffxx1-coff.s: Delete.
716 * testsuite/gas/h8300/h8300-coff.exp: Delete.
718 2018-04-16 Alan Modra <amodra@gmail.com>
720 * app.c: Remove IEEE 695 support.
721 * symbols.c: Likewise.
723 2018-04-16 Alan Modra <amodra@gmail.com>
725 * Makefile.am: Remove netware support.
726 * config/tc-i386.c: Likewise.
727 * configure.tgt: Likewise.
728 * config/te-netware.h: Delete.
729 * Makefile.in: Regenerate.
730 * po/POTFILES.in: Regenerate.
732 2018-04-15 H.J. Lu <hongjiu.lu@intel.com>
734 * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers
735 tests for tpause and umwait.
736 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated.
737 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
739 2018-04-12 John Darrington <john@darrington.wattle.id.au>
741 * as.c (main): Fail if the output is the same as one of the input
743 * testsuite/gas/all/gas.exp: Test the new feature.
745 2018-04-12 Nick Clifton <nickc@redhat.com>
747 * po/es.po: Updated Spanish translation.
748 * po/ru.po: Updated Russian translation.
750 2018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
752 * config/tc-i386.c (cpu_arch): Add WAITPKG.
753 (cpu_noarch): Likewise.
754 * doc/c-i386.texi: Document WAITPKG.
755 * i386/i386.exp: Run WAITPKG tests.
756 * testsuite/gas/i386/waitpkg-intel.d: New test.
757 * testsuite/gas/i386/waitpkg.d: Likewise.
758 * testsuite/gas/i386/waitpkg.s: Likewise.
759 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
760 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
761 * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
763 2018-04-11 Alan Modra <amodra@gmail.com>
765 * config/aout_gnu.h: Delete.
766 * config/tc-i860.c: Delete.
767 * config/tc-i860.h: Delete.
768 * config/tc-i960.c: Delete.
769 * config/tc-i960.h: Delete.
770 * doc/c-i860.texi: Delete.
771 * doc/c-i960.texi: Delete.
772 * testsuite/gas/i860/README.i860: Delete.
773 * testsuite/gas/i860/bitwise.d: Delete.
774 * testsuite/gas/i860/bitwise.s: Delete.
775 * testsuite/gas/i860/branch.d: Delete.
776 * testsuite/gas/i860/branch.s: Delete.
777 * testsuite/gas/i860/bte.d: Delete.
778 * testsuite/gas/i860/bte.s: Delete.
779 * testsuite/gas/i860/dir-align01.d: Delete.
780 * testsuite/gas/i860/dir-align01.s: Delete.
781 * testsuite/gas/i860/dir-intel01.d: Delete.
782 * testsuite/gas/i860/dir-intel01.s: Delete.
783 * testsuite/gas/i860/dir-intel02.d: Delete.
784 * testsuite/gas/i860/dir-intel02.s: Delete.
785 * testsuite/gas/i860/dir-intel03-err.l: Delete.
786 * testsuite/gas/i860/dir-intel03-err.s: Delete.
787 * testsuite/gas/i860/dual01.d: Delete.
788 * testsuite/gas/i860/dual01.s: Delete.
789 * testsuite/gas/i860/dual02-err.l: Delete.
790 * testsuite/gas/i860/dual02-err.s: Delete.
791 * testsuite/gas/i860/dual03.d: Delete.
792 * testsuite/gas/i860/dual03.s: Delete.
793 * testsuite/gas/i860/fldst01.d: Delete.
794 * testsuite/gas/i860/fldst01.s: Delete.
795 * testsuite/gas/i860/fldst02.d: Delete.
796 * testsuite/gas/i860/fldst02.s: Delete.
797 * testsuite/gas/i860/fldst03.d: Delete.
798 * testsuite/gas/i860/fldst03.s: Delete.
799 * testsuite/gas/i860/fldst04.d: Delete.
800 * testsuite/gas/i860/fldst04.s: Delete.
801 * testsuite/gas/i860/fldst05.d: Delete.
802 * testsuite/gas/i860/fldst05.s: Delete.
803 * testsuite/gas/i860/fldst06.d: Delete.
804 * testsuite/gas/i860/fldst06.s: Delete.
805 * testsuite/gas/i860/fldst07.d: Delete.
806 * testsuite/gas/i860/fldst07.s: Delete.
807 * testsuite/gas/i860/fldst08.d: Delete.
808 * testsuite/gas/i860/fldst08.s: Delete.
809 * testsuite/gas/i860/float01.d: Delete.
810 * testsuite/gas/i860/float01.s: Delete.
811 * testsuite/gas/i860/float02.d: Delete.
812 * testsuite/gas/i860/float02.s: Delete.
813 * testsuite/gas/i860/float03.d: Delete.
814 * testsuite/gas/i860/float03.s: Delete.
815 * testsuite/gas/i860/float04.d: Delete.
816 * testsuite/gas/i860/float04.s: Delete.
817 * testsuite/gas/i860/form.d: Delete.
818 * testsuite/gas/i860/form.s: Delete.
819 * testsuite/gas/i860/i860.exp: Delete.
820 * testsuite/gas/i860/iarith.d: Delete.
821 * testsuite/gas/i860/iarith.s: Delete.
822 * testsuite/gas/i860/ldst01.d: Delete.
823 * testsuite/gas/i860/ldst01.s: Delete.
824 * testsuite/gas/i860/ldst02.d: Delete.
825 * testsuite/gas/i860/ldst02.s: Delete.
826 * testsuite/gas/i860/ldst03.d: Delete.
827 * testsuite/gas/i860/ldst03.s: Delete.
828 * testsuite/gas/i860/ldst04.d: Delete.
829 * testsuite/gas/i860/ldst04.s: Delete.
830 * testsuite/gas/i860/ldst05.d: Delete.
831 * testsuite/gas/i860/ldst05.s: Delete.
832 * testsuite/gas/i860/ldst06.d: Delete.
833 * testsuite/gas/i860/ldst06.s: Delete.
834 * testsuite/gas/i860/pfam.d: Delete.
835 * testsuite/gas/i860/pfam.s: Delete.
836 * testsuite/gas/i860/pfmam.d: Delete.
837 * testsuite/gas/i860/pfmam.s: Delete.
838 * testsuite/gas/i860/pfmsm.d: Delete.
839 * testsuite/gas/i860/pfmsm.s: Delete.
840 * testsuite/gas/i860/pfsm.d: Delete.
841 * testsuite/gas/i860/pfsm.s: Delete.
842 * testsuite/gas/i860/pseudo-ops01.d: Delete.
843 * testsuite/gas/i860/pseudo-ops01.s: Delete.
844 * testsuite/gas/i860/regress01.d: Delete.
845 * testsuite/gas/i860/regress01.s: Delete.
846 * testsuite/gas/i860/shift.d: Delete.
847 * testsuite/gas/i860/shift.s: Delete.
848 * testsuite/gas/i860/simd.d: Delete.
849 * testsuite/gas/i860/simd.s: Delete.
850 * testsuite/gas/i860/system.d: Delete.
851 * testsuite/gas/i860/system.s: Delete.
852 * testsuite/gas/i860/xp.d: Delete.
853 * testsuite/gas/i860/xp.s: Delete.
854 * Makefile.am: Remove i860 and i960 support.
855 * configure.tgt: Likewise.
856 * doc/Makefile.am: Likewise.
857 * doc/all.texi: Likewise.
858 * testsuite/gas/all/gas.exp
859 * config/obj-coff.h: Remove i960 support.
860 * doc/internals.texi: Likewise.
865 * testsuite/gas/lns/lns.exp: Likewise.
866 * testsuite/gas/symver/symver.exp: Likewise.
867 * config/tc-m68k.c: Remove BOUT support.
868 * config/tc-score.c: Likewise.
869 * config/tc-score7.c: Likewise.
870 * config/tc-sparc.c: Likewise.
871 * symbols.c: Likewise.
872 * doc/h8.texi: Likewise.
873 * configure.ac: Remove BOUT and i860 support.
874 * doc/as.texinfo: Remove BOUT, i860 and i960 support
875 * Makefile.in: Regenerate.
876 * config.in: Regenerate.
877 * configure: Regenerate.
878 * doc/Makefile.in: Regenerate.
879 * po/POTFILES.in: Regenerate.
881 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
884 * configure: Regenerated.
886 2018-04-04 H.J. Lu <hongjiu.lu@intel.com>
889 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
890 VEX and EVEX prefixes.
891 * testsuite/gas/i386/prefix.d: Updated.
893 2018-03-30 Peter Bergner <bergner@vnet.ibm.com>
896 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
899 2018-03-28 Renlin Li <renlin.li@arm.com>
902 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
903 tprel_lo12_nc with pseudo relocations.
904 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
905 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
906 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
907 (md_apply_fix): Add handling for new relocation.
908 (aarch64_force_relocation): Likewise.
909 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
910 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
911 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
912 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
913 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
914 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
915 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
916 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
917 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
918 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
919 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
920 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
921 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
922 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
923 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
924 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
925 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
926 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
927 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
928 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
929 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
930 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
931 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
932 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
934 2018-03-28 Jan Beulich <jbeulich@suse.com>
936 * config/tc-i386.c (check_VecOperands): Replace uses of
937 .vecesize. Always initialize op.
938 * testsuite/gas/i386/avx512_vpopcntdq.s,
939 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
940 broadcast cases with explicit operand size.
941 * testsuite/gas/i386/avx512_vpopcntdq.d,
942 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
943 testsuite/gas/i386/avx512bitalg_vl.d
944 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
946 2018-03-28 Jan Beulich <jbeulich@suse.com>
948 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
949 (check_VecOperands): Re-write broadcast validation code.
950 (check_VecOperations): Replace BROADCAST_1TO* uses.
951 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
953 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
955 2018-03-28 Jan Beulich <jbeulich@suse.com>
957 * config/tc-i386.c (process_suffix): Check .todword/.toqword
958 before zapping suffix.
960 2018-03-28 Jan Beulich <jbeulich@suse.com>
962 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
963 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
966 2018-03-28 Nick Clifton <nickc@redhat.com>
969 * config/tc-aarch64.c (parse_operands): Add code to handle
970 AARCH64_OPN_SVE_ADDR_R.
971 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
972 with an assumed XZR offset address register.
973 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
975 2018-03-22 Jan Beulich <jbeulich@suse.com>
977 * config/tc-i386.c (check_VecOperands): Latch
978 i.broadcast->operand into op.
980 2018-03-22 Jan Beulich <jbeulich@suse.com>
982 * config/tc-i386.c (match_template): Special case base opcode
983 0xa0 with HLE prefix.
984 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
985 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
988 2018-03-22 Jan Beulich <jbeulich@suse.com>
990 * testsuite/gas/i386/opts.s: Add bndmov cases.
991 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
992 testsuite/gas/i386/sse2avx-opts.d,
993 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
995 2018-03-22 Jan Beulich <jbeulich@suse.com>
997 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
999 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
1001 * testsuite/gas/i386/i386.exp: Run new test.
1003 2018-03-22 Jan Beulich <jbeulich@suse.com>
1005 * config/tc-i386.c (match_template): Also match 2nd and 4th
1006 operand's register sizes.
1007 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
1008 * testsuite/gas/i386/i386.exp: Run new test.
1010 2018-03-19 Nick Clifton <nickc@redhat.com>
1012 * po/uk.po: Updated Ukranian translation.
1014 2018-03-16 Jim Wilson <jimw@sifive.com>
1016 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
1017 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
1018 (riscv_ip): Add new argument to check_absolute_expr calls.
1019 * testsuite/gas/riscv/bad-csr.d: New.
1020 * testsuite/gas/riscv/bad-csr.l: New.
1021 * testsuite/gas/riscv/bad-csr.s: New.
1023 2018-03-14 Kito Cheng <kito.cheng@gmail.com>
1025 * config/tc-riscv.c (opcode_name_list): New.
1026 (opcode_names_hash): Likewise.
1027 (init_opcode_names_hash): Likewise.
1028 (opcode_name_lookup): Likewise.
1029 (validate_riscv_insn): New argument length, and add new format
1030 which used in .insn directive.
1031 (md_begin): Refine hash table initialization logic into
1033 (init_opcode_hash): New.
1034 (my_getOpcodeExpression): Parse opcode name for .insn.
1035 (riscv_ip): New argument hash, able to handle .insn directive.
1036 (s_riscv_insn): Handler for .insn directive.
1037 (riscv_pseudo_table): New entry for .insn.
1038 * doc/c-riscv.texi: Add documentation for .insn directive.
1039 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
1040 * testsuite/gas/riscv/insn.s: Likewise.
1042 2018-03-13 Nick Clifton <nickc@redhat.com>
1044 * po/ru.po: Updated Russian translation.
1046 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
1048 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
1049 with VEX128 if EVEX encoding isn't required.
1050 * testsuite/gas/i386/optimize-1.d: Updated.
1051 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1053 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
1055 * config/tc-i386.c (check_VecOperations): Strip whitespace.
1056 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
1058 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1060 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1062 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
1063 (md_parse_option): Likewise.
1064 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
1065 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
1066 EVEX128 when EVEX encoding is required.
1067 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
1068 x86-64-optimize-5 and x86-64-optimize-6.
1069 * testsuite/gas/i386/optimize-1.d: Updated.
1070 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1071 * testsuite/gas/i386/optimize-4.d: New file.
1072 * testsuite/gas/i386/optimize-4.s: Likewise.
1073 * testsuite/gas/i386/optimize-5.d: Likewise.
1074 * testsuite/gas/i386/optimize-5.s: Likewise.
1075 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1076 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
1077 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1078 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
1080 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1082 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
1083 as "xor reg32, reg32".
1084 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
1085 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
1087 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1089 * NEWS: Mention -mold-gcc removal.
1090 * config/tc-i386.c (i386_error): Remove old_gcc_only.
1092 (match_template): Remove old gcc support.
1093 (OPTION_MOLD_GCC): Removed.
1094 (OPTION_MRELAX_RELOCATIONS): Updated.
1095 (md_longopts): Remove OPTION_MOLD_GCC.
1096 (md_parse_option): Likewise.
1097 (md_show_usage): Remove -mold-gcc.
1098 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
1099 (<= 2.8.1) versions of gcc.
1100 * testsuite/gas/i386/intel.s: Likewise.
1101 * testsuite/gas/i386/general.l: Updated.
1102 * testsuite/gas/i386/intel-intel.d: Likewise.
1103 * testsuite/gas/i386/intel.d: Likewise.
1104 * testsuite/gas/i386/intel.e: Likewise.
1105 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
1107 2018-03-08 Jan Beulich <jbeulich@suse.com>
1109 * config/tc-i386.c (is_evex_encoding): New.
1110 (optimize_encoding, md_assemble, md_assemble,
1111 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
1112 (build_evex_prefix): Derive EVEX length field from actual
1113 operands if the template allows multiple ones.
1115 2018-03-08 Jan Beulich <jbeulich@suse.com>
1117 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
1118 with 3rd (immediate) operand.
1120 2018-03-08 Jan Beulich <jbeulich@suse.com>
1122 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
1123 ZMMWORD_MNEM_SUFFIX): Delete.
1124 (process_suffix): Drop their uses. Re-arrange final part of
1125 logic into a switch() statement. Drop special casing of
1128 2018-03-08 Jan Beulich <jbeulich@suse.com>
1130 * config/tc-i386.c (match_template): Also match register
1131 operands 0 and 2 for 3-operand forms.
1132 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
1134 * testsuite/gas/i386/i386.exp: Run new test.
1136 2018-03-08 Jan Beulich <jbeulich@suse.com>
1138 * config/tc-i386.c (process_suffix): Do common part of register
1141 2018-03-08 Jan Beulich <jbeulich@suse.com>
1143 * config/tc-i386.c (parse_insn): Move success return up. Combine
1146 2018-03-08 Jan Beulich <jbeulich@suse.com>
1148 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
1149 logic. Add respective logic for AVX512F.
1150 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
1151 testsuite/gas/i386/arch-avx-1.d,
1152 testsuite/gas/i386/arch-avx-1-1.l,
1153 testsuite/gas/i386/arch-avx-1-2.l,
1154 testsuite/gas/i386/arch-avx-1-3.l,
1155 testsuite/gas/i386/arch-avx-1-4.l,
1156 testsuite/gas/i386/arch-avx-1-5.l,
1157 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
1158 * testsuite/gas/i386/arch-avx-1-7.l,
1159 testsuite/gas/i386/arch-avx-1-7.s,
1160 testsuite/gas/i386/arch-avx-1-8.l,
1161 testsuite/gas/i386/arch-avx-1-8.s,
1162 testsuite/gas/i386/avx512f-plain.l,
1163 testsuite/gas/i386/avx512f-plain.s,
1164 testsuite/gas/i386/avx512vl-plain.l,
1165 testsuite/gas/i386/avx512vl-plain.s: New.
1166 * testsuite/gas/i386/i386.exp: Run new tests.
1168 2018-03-08 Jan Beulich <jbeulich@suse.com>
1170 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
1172 2018-03-08 Jan Beulich <jbeulich@suse.com>
1174 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
1175 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
1176 CPU_FLAGS_32BIT_MATCH.
1178 2018-03-08 Jan Beulich <jbeulich@suse.com>
1180 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
1181 CPU_FLAGS_PCLMUL_MATCH): Delete.
1182 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
1183 (cpu_flags_match): Combine AVX checks into
1186 2018-03-08 Jan Beulich <jbeulich@suse.com>
1188 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
1189 setting CPU_FLAGS_ARCH_MATCH.
1191 2018-03-08 Jan Beulich <jbeulich@suse.com>
1193 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
1194 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
1195 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
1196 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
1197 testsuite/gas/i386/sse-check-none.d,
1198 testsuite/gas/i386/sse-check-warn.d,
1199 testsuite/gas/i386/x86-64-sse-check.d,
1200 testsuite/gas/i386/x86-64-sse-check-none.d,
1201 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
1202 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
1204 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
1206 * testsuite/gas/i386/sse-check.d: Adjust expectations.
1207 * testsuite/gas/i386/sse-check-error.l,
1208 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
1209 * testsuite/gas/i386/sse-check-warn.e: Likewise.
1211 2018-03-08 Jan Beulich <jbeulich@suse.com>
1213 * config/tc-i386.c (operand_size_match): Drop / replace uses of
1216 2018-03-08 Jan Beulich <jbeulich@suse.com>
1218 * testsuite/gas/i386/intel-intel.d: New.
1219 * testsuite/gas/i386/i386.exp: Run new test.
1221 2018-03-08 Jan Beulich <jbeulich@suse.com>
1223 * config/tc-i386.c (process_operands): Access operands only
1224 after operand count assertion. Sanitize warning text. Fix
1226 * testsuite/gas/i386/avx512_4fmaps-warn.l,
1227 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
1229 2018-03-08 Jan Beulich <jbeulich@suse.com>
1231 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
1232 * testsuite/gas/i386/x86-64-movd.d,
1233 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
1235 2018-03-08 Jan Beulich <jbeulich@suse.com>
1237 * config/tc-i386.c (operand_type_and_not): New.
1238 (build_modrm_byte): Use it to prevent clearing unrelated bits.
1240 2018-03-08 Alan Modra <amodra@gmail.com>
1242 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
1243 don't emit a group terminating nop for power9. Simplify cpu
1246 2018-03-08 Alan Modra <amodra@gmail.com>
1248 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
1249 terminating nop for power9.
1251 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
1254 * config/tc-i386.c (f32_5): Removed.
1266 (jump_31): Likewise.
1267 (alt64_11): Likewise.
1268 (alt64_patt): Likewise.
1270 (jump32_disp32): Likewise.
1271 (jump16_disp32): Likewise.
1273 (f32_patt): Updated.
1274 (f16_patt): Likewise.
1275 (alt_patt): Add alt_11.
1276 (i386_align_code): Merged with ...
1277 (i386_generate_nops): This. Rewritten.
1278 (fits_in_imm7): Moved before i386_generate_nops.
1279 (fits_in_imm31): Likewise.
1280 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
1282 (i386_align_code): Removed.
1283 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
1284 * doc/as.texinfo: Update limits of control byte for x86 .nops
1286 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
1287 * gas/testsuite/gas/i386/noavx-3.l: Updated.
1288 * gas/testsuite/gas/i386/nop-1.d: Likewise.
1289 * gas/testsuite/gas/i386/nop-1.s: Likewise.
1290 * gas/testsuite/gas/i386/nop-2.d: Likewise.
1291 * gas/testsuite/gas/i386/nop-2.s: Likewise.
1292 * gas/testsuite/gas/i386/nop-3.d: Likewise.
1293 * gas/testsuite/gas/i386/nop-4.d: Likewise.
1294 * gas/testsuite/gas/i386/nop-5.d: Likewise.
1295 * gas/testsuite/gas/i386/nop-5.s: Likewise.
1296 * gas/testsuite/gas/i386/nop-6.d: Likewise.
1297 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
1298 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
1299 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
1300 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
1301 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
1302 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
1303 * gas/testsuite/gas/i386/nops-1.d: Likewise.
1304 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
1305 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
1306 * gas/testsuite/gas/i386/nops-2.d: Likewise.
1307 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
1308 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
1309 * gas/testsuite/gas/i386/nops-3.d: Likewise.
1310 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
1311 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
1312 * gas/testsuite/gas/i386/nops-4.d: Likewise.
1313 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
1314 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
1315 * gas/testsuite/gas/i386/nops-5.d: Likewise.
1316 * gas/testsuite/gas/i386/nops-6.d: Likewise.
1317 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
1318 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1319 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1320 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1321 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
1322 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
1323 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
1324 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
1325 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
1326 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
1327 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
1328 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
1329 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
1330 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
1331 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
1332 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
1333 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
1334 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
1335 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
1336 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
1337 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
1338 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
1339 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
1340 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
1341 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
1342 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
1343 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
1344 * gas/testsuite/gas/i386/nops-7.d: New file.
1345 * gas/testsuite/gas/i386/nops-7.s: Likewise.
1346 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
1348 2018-03-07 Alan Modra <amodra@gmail.com>
1350 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
1351 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
1352 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
1354 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1356 * config/tc-arm.c (md_begin): Add NULL pointer check before
1357 dereferencing march_ext_opt.
1359 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1361 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
1362 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
1363 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
1364 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
1365 (dyn_mcpu_ext_opt): Also rename into ...
1366 (mcpu_ext_opt): This.
1367 (dyn_march_ext_opt): Also rename into ...
1368 (march_ext_opt): This.
1369 (object_arch): Also rename into ...
1370 (selected_object_arch): This and make it a plain arm_feature_set
1372 (selected_arch, selected_ext, selected_fpu): New static variables.
1373 (mark_feature_used): Fix comments, feature is marked as used iff it is
1375 (do_bx): Adapt to change in name and type of object_arch.
1376 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
1377 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
1378 Remove dead code to set default FPU if architecture version is greater
1379 than 5. Set all CPU bits of cpu_variant directly in autodection
1380 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
1381 (arm_parse_extension): Take extension feature set pointer parameter by
1382 value rather than by pointer. Remove allocation code. Adapt code
1384 (arm_parse_cpu): Adapt to variable renaming and changes in
1385 arm_parse_extension () signature.
1386 (arm_parse_arch): Likewise.
1387 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
1388 in addition to selected_cpu. Set flags_arch and flags_ext from them
1389 instead of selected_cpu. Adapt to variables renaming and type change.
1390 (arm_md_post_relax): Adapt to variable renaming.
1391 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
1392 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
1393 cpu_variant from selected_cpu and selected_fpu.
1394 (s_arm_arch): Likewise.
1395 (s_arm_object_arch): Adapt to variable renaming.
1396 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
1397 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
1398 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
1400 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
1401 bits if in autodetection mode.
1403 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
1405 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
1406 AVX512 vpsub[bwdq] instructions.
1407 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
1408 AVX512 vpsub[bwdq] instructions.
1409 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1410 * testsuite/gas/i386/optimize-1.d: Updated.
1411 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1413 2018-03-01 Alan Modra <amodra@gmail.com>
1415 * configure.ac (ALL_LINGUAS): Add uk. Sort.
1416 * configure: Regenerate.
1418 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1420 * NEWS: Rename .nop to .nops.
1421 * doc/as.texinfo: Likewise.
1422 * read.c (potable): Add "nops". Remove "nop".
1423 (s_nop): Renamed to ...
1425 * read.h (s_nop): Renamed to ...
1427 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
1428 (md_generate_nops): Likewise.
1429 (relax_segment): Likewise.
1430 * testsuite/gas/i386/nop-1.d: Updated.
1431 * testsuite/gas/i386/nop-1.s: Likewise.
1432 * testsuite/gas/i386/nop-2.d: Likewise.
1433 * testsuite/gas/i386/nop-2.s: Likewise.
1434 * testsuite/gas/i386/nop-3.d: Likewise.
1435 * testsuite/gas/i386/nop-3.s: Likewise.
1436 * testsuite/gas/i386/nop-4.d: Likewise.
1437 * testsuite/gas/i386/nop-4.s: Likewise.
1438 * testsuite/gas/i386/nop-5.d: Likewise.
1439 * testsuite/gas/i386/nop-5.s: Likewise.
1440 * testsuite/gas/i386/nop-6.d: Likewise.
1441 * testsuite/gas/i386/nop-6.s: Likewise.
1442 * testsuite/gas/i386/nop-bad-1.l: Likewise.
1443 * testsuite/gas/i386/nop-bad-1.s: Likewise.
1444 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1445 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1446 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1447 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1448 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1449 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1451 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1454 * NEWS: Mention -O[2|s].
1455 * config/tc-i386.c (_i386_insn): Add no_optimize.
1457 (optimize_for_space): Likewise.
1458 (fits_in_imm7): New function.
1459 (fits_in_imm31): Likewise.
1460 (optimize_encoding): Likewise.
1461 (md_assemble): Call optimize_encoding to optimize encoding.
1462 (parse_insn): Handle {nooptimize}.
1463 (md_shortopts): Append "O::".
1464 (md_parse_option): Handle -On.
1465 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
1467 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
1468 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
1469 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
1470 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
1471 x86-64-optimize-3 and x86-64-optimize-4.
1472 * testsuite/gas/i386/optimize-1.d: New file.
1473 * testsuite/gas/i386/optimize-1.s: Likewise.
1474 * testsuite/gas/i386/optimize-2.d: Likewise.
1475 * testsuite/gas/i386/optimize-2.s: Likewise.
1476 * testsuite/gas/i386/optimize-3.d: Likewise.
1477 * testsuite/gas/i386/optimize-3.s: Likewise.
1478 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
1479 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
1480 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1481 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1482 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1483 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1484 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1485 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1487 2018-02-27 Nick Clifton <nickc@redhat.com>
1489 * po/ru.po: Updated Russian translation.
1491 2018-02-26 Maciej W. Rozycki <macro@mips.com>
1493 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
1496 2018-02-26 Nick Clifton <nickc@redhat.com>
1498 * doc/as.texinfo (Dc): Fix typo.
1500 2018-02-26 Alan Modra <amodra@gmail.com>
1502 * testsuite/gas/mips/reginfo-2.l: Update.
1504 2018-02-23 Alan Modra <amodra@gmail.com>
1506 * testsuite/gas/mips/reginfo-2.l: Update.
1508 2018-02-23 Nick Clifton <nickc@redhat.com>
1510 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
1512 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1514 * config/tc-nds32.c (ict_model): New function. Hook new
1515 directive .ict_model.
1516 (nds32_insert_relax_entry): Tag the bits of entry relocation
1519 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
1521 * config/tc-i386.c (_i386_insn): Add rex_encoding.
1522 (md_assemble): When i.rex_encoding is true, generate a REX byte
1524 (parse_insn): Set i.rex_encoding for {rex}.
1525 * doc/c-i386.texi: Document {rex}.
1526 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
1527 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
1529 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
1532 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
1533 instruction size suffix.
1535 2018-02-20 Maciej W. Rozycki <macro@mips.com>
1537 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
1538 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
1539 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
1540 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
1541 * testsuite/gas/mips/mips.exp: Run the new tests.
1543 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1545 * config/tc-xtensa.c (struct litpool_frag): Add new field
1547 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
1548 (MAX_POOL_LITERALS): New macro definitions.
1549 (auto_litpool_limit): Initialize to 0.
1550 (md_parse_option): Set auto_litpool_limit in the presence of
1551 --auto-litpools option.
1552 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
1553 literal_count field.
1554 (xg_find_litpool): New function. Make sure that found literal
1555 pool size is within the limit.
1556 (xtensa_move_literals): Extract literal pool search code into
1558 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
1559 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
1560 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
1561 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
1563 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
1564 that objdump doesn't get out of sync.
1566 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
1568 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
1569 also the same as -march.
1571 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1573 * NEWS: Mention .nop directive.
1574 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
1575 * read.c (potable): Add .nop.
1576 (s_nop): New function.
1577 * read.h (s_nop): New prototype.
1578 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
1580 (md_generate_nops): New function.
1581 (relax_segment): Likewise.
1582 (write_contents): Use md_generate_nops for rs_fill_nop.
1583 * config/tc-i386.c (alt64_11): New.
1584 (alt64_patt): Likewise.
1585 (md_convert_frag): Handle rs_space_nop.
1586 (i386_output_nops): New function.
1587 (i386_generate_nops): Likewise.
1588 (i386_align_code): Call i386_output_nops.
1589 * config/tc-i386.h (i386_generate_nops): New.
1590 (md_generate_nops): Likewise.
1591 * doc/as.texinfo: Document .nop directive.
1592 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
1593 * testsuite/gas/i386/nop-1.d: New file.
1594 * testsuite/gas/i386/nop-1.s: Likewise.
1595 * testsuite/gas/i386/nop-2.d: Likewise.
1596 * testsuite/gas/i386/nop-2.s: Likewise.
1597 * testsuite/gas/i386/nop-3.d: Likewise.
1598 * testsuite/gas/i386/nop-3.s: Likewise.
1599 * testsuite/gas/i386/nop-4.d: Likewise.
1600 * testsuite/gas/i386/nop-4.s: Likewise.
1601 * testsuite/gas/i386/nop-5.d: Likewise.
1602 * testsuite/gas/i386/nop-5.s: Likewise.
1603 * testsuite/gas/i386/nop-6.d: Likewise.
1604 * testsuite/gas/i386/nop-6.s: Likewise.
1605 * testsuite/gas/i386/nop-bad-1.l: Likewise.
1606 * testsuite/gas/i386/nop-bad-1.s: Likewise.
1607 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1608 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1609 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1610 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1611 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1612 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1614 2018-02-15 Tamar Christina <tamar.christina@arm.com>
1616 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
1617 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
1619 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
1621 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
1622 frag that contains source address.
1624 2018-02-13 Nick Clifton <nickc@redhat.com>
1627 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
1628 instruction before assuming that it is a MOV instruction.
1629 * testsuite/gas/arm/pr22773.s: New test.
1630 * testsuite/gas/arm/pr22773.d: New test driver.
1631 * testsuite/gas/arm/pr22773.l: New expected output.
1633 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1636 * config/tc-i386.c (need_plt32_p): New function.
1637 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
1638 (md_estimate_size_before_relax): Likewise.
1639 * testsuite/gas/i386/reloc64.d: Updated.
1640 * testsuite/gas/i386/x86-64-jump.d: Likewise.
1641 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
1642 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
1643 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
1644 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
1645 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
1646 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1648 2018-02-13 Maciej W. Rozycki <macro@mips.com>
1650 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
1652 2018-02-13 Nick Clifton <nickc@redhat.com>
1655 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
1657 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
1658 (obj_elf_vtable_inherit): New stub function that calls
1659 obj_elf_get_vtable_inherit.
1660 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
1661 (obj_elf_vtable_entry): New stub function that calls
1662 obj_elf_get_vtable_entry.
1663 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
1664 (obj_elf_vtable_entry) Likewise.
1665 (obj_elf_get_vtable_inherit) Likewise.
1666 (obj_elf_get_vtable_entry) Likewise.
1667 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
1668 * config/tc-i386c (md_pseudo_table): Likewise.
1669 * config/tc-hppa.c (pa_vtable_entry): Call
1670 obj_elf_get_vtable_entry.
1671 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
1672 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
1673 with call to dwarf2_get_filename.
1674 * dwarf2dbg.c (dwarf2_directive_file): Rename to
1675 dwarf2_directive_filename.
1676 (dwarf2_directive_file): New stub function that calls
1677 dwarf2_directive_filename.
1678 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
1680 2018-02-12 Maciej W. Rozycki <macro@mips.com>
1682 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
1685 2018-02-12 Henry Wong <henry@stuffedcow.net>
1687 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
1688 * testsuite/gas/mips/r6-n32.d: Likewise.
1689 * testsuite/gas/mips/r6-n64.d: Likewise.
1691 2018-02-12 Nick Clifton <nickc@redhat.com>
1693 * po/ru.po: Updated Russian translation.
1695 2018-02-08 Alan Modra <amodra@gmail.com>
1698 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
1699 (ppc_frag_check): Likewise.
1700 * testsuite/gas/ppc/misalign.d,
1701 * testsuite/gas/ppc/misalign.l,
1702 * testsuite/gas/ppc/misalign.s: New test.
1703 * testsuite/gas/ppc/misalign2.d,
1704 * testsuite/gas/ppc/misalign2.s: New test.
1705 * testsuite/gas/ppc/ppc.exp: Run them.
1707 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1709 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
1710 `expr' parameter to `ep'.
1712 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1714 * testsuite/gas/mips/reginfo-2.d: New test.
1715 * testsuite/gas/mips/reginfo-2-n32.d: New test.
1716 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
1717 * testsuite/gas/mips/reginfo-2.s: New test source.
1718 * testsuite/gas/mips/mips.exp: Run the new tests.
1720 2018-02-05 Nick Clifton <nickc@redhat.com>
1722 * po/ru.po: Updated Russian translation.
1724 2018-01-31 Alan Modra <amodra@gmail.com>
1727 * app.c (last_char): New static var.
1728 (struct app_save): Add last_char field.
1729 (app_push, app_pop): Handle it.
1730 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
1732 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1735 * config/tc-sparc.h (sparc_mach): Declare.
1736 (TARGET_MACH): Define to above.
1737 * config/tc-sparc.c (sparc_mach): New function.
1738 (sparc_md_end): Minor tweak.
1740 2018-01-29 Nick Clifton <nickc@redhat.com>
1742 * po/ru.po: Updated Russian translation.
1744 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1746 * configure.tgt: Use generic emulation for `mips-*-windiss',
1747 overriding the blanket choice made for `*-*-windiss'.
1749 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1751 * configure.tgt: Use `mips-*-sysv4*' rather than
1754 2018-01-24 Renlin Li <renlin.li@arm.com>
1756 * config/tc-aarch64.c (reloc_table): add entries for
1757 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1758 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1759 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1760 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1761 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1762 (md_apply_fix): Likewise
1763 * testsuite/gas/aarch64/prel_g0.s: New.
1764 * testsuite/gas/aarch64/prel_g0.d: New.
1765 * testsuite/gas/aarch64/prel_g0_nc.s: New.
1766 * testsuite/gas/aarch64/prel_g0_nc.d: New.
1767 * testsuite/gas/aarch64/prel_g1.s: New.
1768 * testsuite/gas/aarch64/prel_g1.d: New.
1769 * testsuite/gas/aarch64/prel_g1_nc.s: New.
1770 * testsuite/gas/aarch64/prel_g1_nc.d: New.
1771 * testsuite/gas/aarch64/prel_g2.s: New.
1772 * testsuite/gas/aarch64/prel_g2.d: New.
1773 * testsuite/gas/aarch64/prel_g2_nc.s: New.
1774 * testsuite/gas/aarch64/prel_g2_nc.d: New.
1775 * testsuite/gas/aarch64/prel_g3.s: New.
1776 * testsuite/gas/aarch64/prel_g3.d: New.
1778 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1780 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1782 * configure: Regenerate.
1784 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1786 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1789 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1791 * config/tc-i386.c (cpu_arch): Add .pconfig.
1792 * doc/c-i386.texi: Document .pconfig.
1793 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1794 * testsuite/gas/i386/pconfig-intel.d: New test.
1795 * testsuite/gas/i386/pconfig.d: Likewise.
1796 * testsuite/gas/i386/pconfig.s: Likewise.
1797 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1798 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1799 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1801 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1803 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1804 * doc/c-i386.texi: Document .wbnoinvd.
1805 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1806 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1807 * testsuite/gas/i386/wbnoinvd.d: Likewise.
1808 * testsuite/gas/i386/wbnoinvd.s: Likewise.
1809 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1810 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1811 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1813 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1815 * config/tc-mips.c (md_show_usage): Correctly indicate the
1816 configuration-specific default ABI.
1818 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1820 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1821 `-mno-mips16e2' options.
1823 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1825 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1826 Correct syntax of the `.set nomips16e2' directive description.
1828 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
1831 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1832 * testsuite/gas/rx/pr22737.s: New test.
1833 * testsuite/gas/rx/pr22737.d: Likewise.
1834 * testsuite/gas/rx/rx.exp: Run the new test.
1836 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1838 * config/tc-arm.c (ToC macro): Remove spurious comment.
1839 (ToU macro): Likewise.
1841 2018-01-17 Jim Wilson <jimw@sifive.com>
1843 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1844 (riscv_ip) <'z'>: New.
1846 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1848 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1849 (cpu_noarch): Add noibt, noshstk.
1850 (parse_insn): Change cpucet to cpuibt.
1851 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1852 * testsuite/gas/i386/cet-ibt-inval.l: New test.
1853 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1854 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1855 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1856 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1857 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1858 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1859 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1861 2018-01-16 Nick Clifton <nickc@redhat.com>
1863 * po/fr.po: Updated French translation.
1865 2018-01-15 Jim Wilson <jimw@sifive.com>
1867 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1868 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1870 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1872 * config/tc-arm.c (ToC): Define macro.
1874 (insns): Make use of above macros for new instructions introduced in
1877 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1879 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1880 and vlstm conditionally executable and reindent parameters.
1881 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1882 aforementionned instructions.
1884 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1886 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
1887 profile architecture or if in autodetection mode. Clarify that
1888 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
1889 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
1891 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
1892 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
1893 * testsuite/gas/arm/udf.l: Likewise.
1894 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
1896 2018-01-15 Nick Clifton <nickc@redhat.com>
1898 * po/uk.po: Updated Ukranian translation.
1900 2018-01-13 Nick Clifton <nickc@redhat.com>
1902 * po/gas.pot: Regenerated.
1904 2018-01-13 Nick Clifton <nickc@redhat.com>
1906 * configure: Regenerate.
1908 2018-01-13 Nick Clifton <nickc@redhat.com>
1910 2.30 branch created.
1911 * NEWS: Add marker for 2.30.
1913 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
1915 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
1916 define to 0 and 1. Remove a dangling reference to "AMD 29000"
1919 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1921 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
1922 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
1923 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
1924 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
1925 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
1926 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
1927 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
1928 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
1930 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
1931 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
1932 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
1933 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
1934 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
1935 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
1936 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
1937 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
1939 2018-01-11 Alan Modra <amodra@gmail.com>
1941 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
1942 positive "‘profile’ may be used uninitialized".
1944 2018-01-10 Jan Beulich <jbeulich@suse.com>
1946 * testsuite/gas/i386/avx512_4fmaps.s,
1947 testsuite/gas/i386/avx512_4fmaps_vl.s,
1948 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
1949 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
1950 Disp8 forms (and the transition happening at the right
1952 * testsuite/gas/i386/avx512_4fmaps.d,
1953 testsuite/gas/i386/avx512_4fmaps-intel.d,
1954 testsuite/gas/i386/avx512_4fmaps_vl.d,
1955 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
1956 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
1957 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
1958 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
1959 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
1962 2018-01-10 Jan Beulich <jbeulich@suse.com>
1964 * testsuite/gas/i386/avx512bw.s,
1965 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
1967 * testsuite/gas/i386/avx512bw-intel.d,
1968 testsuite/gas/i386/avx512bw.d,
1969 testsuite/gas/i386/avx512bw_vl-intel.d.
1970 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
1972 2018-01-09 Jim Wilson <jimw@sifive.com>
1974 * testsuite/gas/riscv/auipc-x0.d: New.
1975 * testsuite/gas/riscv/auipc-x0.s: New.
1977 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1979 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
1980 in Arm execution state, and Armv6T2 and above in Thumb execution
1982 * testsuite/gas/arm/csdb.s: New.
1983 * testsuite/gas/arm/csdb.d: New.
1984 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
1985 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
1987 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
1989 * testsuite/gas/aarch64/system.d: Update expected results to expect
1992 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
1995 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
1997 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
1998 * testsuite/gas/i386/x86-64-movd.d: Likewise.
1999 * testsuite/gas/i386/x86-64-movd.s: Likewise.
2001 2018-01-08 Nick Clifton <nickc@redhat.com>
2004 * doc/c-i386.texi (i386-Directives): Document the .largecomm
2007 2018-01-04 Jim Wilson <jimw@sifive.com>
2009 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
2010 * testsuite/gas/riscv/priv-reg.d: Likewise.
2012 2018-01-03 Alan Modra <amodra@gmail.com>
2014 Update year range in copyright notice of all files.
2016 2018-01-02 Nick Clifton <nickc@redhat.com>
2019 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
2020 version of ARM MRS instruction.
2022 For older changes see ChangeLog-2017
2024 Copyright (C) 2018 Free Software Foundation, Inc.
2026 Copying and distribution of this file, with or without modification,
2027 are permitted in any medium without royalty provided the copyright
2028 notice and this notice are preserved.
2034 version-control: never