1 2018-05-15 Tamar Christina <tamar.christina@arm.com>
4 * testsuite/gas/aarch64/illegal-sysreg-2.s: Fix pmbidr_el1 test.
5 * testsuite/gas/aarch64/illegal-sysreg-2.l: Likewise.
6 * testsuite/gas/aarch64/illegal-sysreg-2.d: Likewise.
7 * testsuite/gas/aarch64/sysreg-diagnostic.s: New.
8 * testsuite/gas/aarch64/sysreg-diagnostic.l: New.
9 * testsuite/gas/aarch64/sysreg-diagnostic.d: New.
11 2018-05-15 Tamar Christina <tamar.christina@arm.com>
14 * config/tc-aarch64.c (print_operands): Indicate no notes.
15 (output_operand_error_record): Support non-fatal errors.
16 (output_operand_error_report, warn_unpredictable_ldst, md_assemble):
19 2018-05-15 Tamar Christina <tamar.christina@arm.com>
22 * config/tc-aarch64.c (parse_sys_reg): Return register flags.
23 (parse_operands): Fill in register flags.
25 2018-05-14 Nick Clifton <nickc@redhat.com>
27 * write.c (maybe_generate_build_notes): Generate notes on a
28 per-code-section basis. Skip linkonce sections.
30 2018-05-14 Nick Clifton <nickc@redhat.com>
33 * as.c (main): When checking for an output file that is also an
34 input file, also check that the inode is not zero.
36 2018-05-12 Alan Modra <amodra@gmail.com>
38 * config/tc-score.c (s3_do_macro_bcmp): Don't use fixed size
40 (s3_do_macro_bcmpz): Likewise.
42 2018-05-10 Tamar Christina <tamar.christina@arm.com>
44 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove restrictions.
45 * testsuite/gas/aarch64/diagnostic.s: Move fmov int test to..
46 * testsuite/gas/aarch64/fpmov.s: Here.
47 * testsuite/gas/aarch64/fpmov.d: Update results with fmov.
48 * testsuite/gas/aarch64/diagnostic.l: Remove fmov values.
49 * testsuite/gas/aarch64/sve-invalid.s: Update test files.
50 * testsuite/gas/aarch64/sve-invalid.l: Likewise
52 2018-05-10 Tamar Christina <tamar.christina@arm.com>
54 * gas/config/tc-arm.c (do_neon_mov): Allow integer literal for float
56 * testsuite/gas/arm/vfp-mov-enc.s: New.
57 * testsuite/gas/arm/vfp-mov-enc.d: New.
59 2018-05-09 Max Filippov <jcmvbkbc@gmail.com>
61 * config/tc-xtensa.c (xtensa_is_init_fini): New function.
62 (xtensa_move_literals): Only attempt to assign literal pool to
63 literals with tc_frag_data.is_literal mark and not in .init or
65 Join nested 'if' conditions to simplify function structure.
66 (xtensa_switch_to_non_abs_literal_fragment): Use
67 xtensa_is_init_fini to test for .init/.fini sections.
68 * testsuite/gas/xtensa/all.exp (auto-litpools-3)
69 (auto-litpools-4, text-section-literals-1): New tests.
70 * testsuite/gas/xtensa/auto-litpools-3.d: New test results.
71 * testsuite/gas/xtensa/auto-litpools-3.s: New test source.
72 * testsuite/gas/xtensa/auto-litpools-4.d: New test results.
73 * testsuite/gas/xtensa/auto-litpools-4.s: New test source.
74 * testsuite/gas/xtensa/text-section-literals-1.d: New test results.
75 * testsuite/gas/xtensa/text-section-literals-1.s: New test source.
77 2018-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
79 * config/tc-pru.c (md_apply_fix): Make LDI32 relocation conformant
81 (pru_assemble_arg_i): Likewise.
82 (output_insn_ldi32): Likewise.
83 * testsuite/gas/pru/ldi.d: Update test for the now fixed LDI32.
84 * gas/config/tc-pru.c (pru_assemble_arg_b): Check imm8 operand range.
85 * gas/testsuite/gas/pru/illegal2.l: New test.
86 * gas/testsuite/gas/pru/illegal2.s: New test.
87 * gas/testsuite/gas/pru/pru.exp: Register new illegal2 test.
89 2018-05-08 Jim Wilson <jimw@sifive.com>
91 * testsuite/gas/riscv/c-zero-imm.d: Add more tests.
92 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
93 * testsuite/gas/riscv/c-zero-reg.d: Fix typo in test. Add disabled
94 future test for RV128 support.
95 * testsuite/gas/riscv/c-zero-reg.s: Likewise.
97 2018-05-07 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
98 H.J. Lu <hongjiu.lu@intel.com>
100 * config/tc-i386.c (cpu_arch): Add .movdir, .movdir64b.
101 (cpu_noarch): Likewise.
102 (process_suffix): Add check for register size.
103 * doc/c-i386.texi: Document movdiri, movdir64b.
104 * testsuite/gas/i386/i386.exp: Run MOVDIR{I,64B} tests.
105 * testsuite/gas/i386/movdir-intel.d: New file.
106 * testsuite/gas/i386/movdir.d: Likewise.
107 * testsuite/gas/i386/movdir.s: Likewise.
108 * testsuite/gas/i386/movdir64b-reg.s: Likewise.
109 * testsuite/gas/i386/movdir64b-reg.l: Likewise.
110 * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
111 * testsuite/gas/i386/x86-64-movdir.d: Likewise.
112 * testsuite/gas/i386/x86-64-movdir.s: Likewise.
113 * testsuite/gas/i386/x86-64-movdir64b-reg.s: Likewise.
114 * testsuite/gas/i386/x86-64-movdir64b-reg.l: Likewise.
116 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
118 * config/tc-i386.c (process_suffix): Check addrprefixopreg
119 instead of addrprefixop0.
121 2018-05-07 Peter Bergner <bergner@vnet.ibm.com.com>
123 * config/tc-ppc.c (ppc_setup_opcodes) <powerpc_opcodes>: Rewrite code
124 to dump the entire opcode table.
125 (ppc_setup_opcodes) <spe2_opcodes>: Likewise.
126 (ppc_setup_opcodes) <vle_opcodes>: Likewise. Fix calculation of
129 2018-05-06 H.J. Lu <hongjiu.lu@intel.com>
131 * testsuite/gas/i386/xmmhi32.d: Also allow dir32 relocation.
133 2018-05-06 H.J. Lu <hongjiu.lu@intel.com>
135 * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0".
136 * testsuite/gas/i386/avx512vl-plain.s: Likewise.
137 * testsuite/gas/i386/bnd.s: Likewise.
138 * testsuite/gas/i386/stN.s: Likewise.
139 * testsuite/gas/i386/avx512f-plain.l: Updated.
140 * testsuite/gas/i386/avx512vl-plain.l: Likewise.
141 * testsuite/gas/i386/bnd.l: Likewise.
142 * testsuite/gas/i386/stN.l: Likewise.
144 2018-05-04 Alan Modra <amodra@gmail.com>
146 * config/obj-evax.c (shorten_identifier): Use memcpy in place
148 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Ensure
149 segname and sectname fields are NUL terminated.
151 2018-05-01 Nick Clifton <nickc@redhat.com>
153 * po/es.po: Updated Spanish translation.
155 2018-04-27 Maciej W. Rozycki <macro@mips.com>
157 * testsuite/lib/gas-defs.exp (run_dump_test): Use `match_target'
158 in place of `istarget' for matching with `target', `not-target',
159 `skip' and `not-skip' options.
161 2018-04-26 Nick Clifton <nickc@redhat.com>
163 * as.c (flag_generate_build_notes): New variable.
164 (show_usage): Add entry for --generate-missing-build-notes.
165 (parse_args): Parse --generate-missing-build-notes.
166 * as.h: Export flag_generate_build_notes.
167 * symbols.c (save_symbol_name): Ensure that the name parameter is
169 * write.c (create_obj_attrs_section): Reformat.
170 (create_note_reloc): New function - creates a relocation for a
171 field in a GNU Build attribute note.
172 (maybe_generate_build_notes): New function - created GNU Build
173 attribute notes if none are present in the output file.
174 (write_object_file): Call maybe_generate_build_notes.
175 * configure.ac (--enable-generate-build-notes): New option.
176 * NEWS: Announce the new feature.
177 * doc/as.textinfo: Document the new option.
178 * config.in: Regenerate.
179 * configure: Regenerate.
181 2018-04-26 Jan Beulich <jbeulich@suse.com>
183 * config/tc-i386.c (check_VecOperands): Add AVX512VL check. Set
185 (match_template): Don't set suffix_check when Intel syntax and
186 broadcast. Make check_register a per-operand bitmap.
188 2018-04-26 Jan Beulich <jbeulich@suse.com>
190 * config/tc-i386.c (optimize_encoding): Check for zeroing
192 * testsuite/gas/i386/optimize-1.d,
193 testsuite/gas/i386/optimize-4.d,
194 testsuite/gas/i386/optimize-5.d,
195 testsuite/gas/i386/x86-64-optimize-2.d,
196 testsuite/gas/i386/x86-64-optimize-5.d,
197 testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
199 2018-04-26 Jan Beulich <jbeulich@suse.com>
201 * config/tc-i386.c (parse_real_register): Check .cpuvrex before
202 recording EVEX encoding. Don't check previously specified
204 * testsuite/gas/i386/xmmhi32.s: Add {x,y,z}mm{16,24} cases.
205 * testsuite/gas/i386/xmmhi32.d: Adjust expectations.
206 * testsuite/gas/i386/xmmhi64.s, testsuite/gas/i386/xmmhi64.d:
208 * testsuite/gas/i386/i386.exp: Run new test.
210 2018-04-26 Jan Beulich <jbeulich@suse.com>
212 * testsuite/gas/i386/xsave.s: Add AVX, LWP, MPX, and PKU
214 * testsuite/gas/i386/xsave.d,
215 testsuite/gas/i386/xsave-intel.d: Adjust expecations.
217 2018-04-26 Jan Beulich <jbeulich@suse.com>
219 * config/tc-i386.c (parse_real_register): Re-write {,x,y,z}mm
220 and mask register handling.
221 * testsuite/gas/i386/avx512f-ymm.s, testsuite/gas/i386/avx512f-ymm.d,
222 testsuite/gas/i386/xmmhi32.s, testsuite/gas/i386/xmmhi32.d: New.
223 * testsuite/gas/i386/i386.exp: Run new tests.
225 2018-04-26 Jan Beulich <jbeulich@suse.com>
227 * config/tc-i386.c (parse_real_register): Check bnd<N>
229 * testsuite/gas/i386/bnd.s, testsuite/gas/i386/bnd.l: New.
230 * testsuite/gas/i386/i386.exp: Run new test.
232 2018-04-26 Jan Beulich <jbeulich@suse.com>
234 * config/tc-i386.c (parse_real_register): Check FPU register
236 * testsuite/gas/i386/fpu.s, testsuite/gas/i386/fpu.l,
237 testsuite/gas/i386/stN.s, testsuite/gas/i386/stN.l: New.
238 * testsuite/gas/i386/i386.exp: Run new tests.
240 2018-04-26 Jan Beulich <jbeulich@suse.com>
242 * config/tc-i386.c (build_modrm_byte): Use tabs for indentation.
244 2018-04-26 Jan Beulich <jbeulich@suse.com>
246 * config/tc-i386.c (build_modrm_byte): Move and fold
247 source/reg_slot calculations.
249 2018-04-26 Jan Beulich <jbeulich@suse.com>
251 * config/tc-i386.c (build_modrm_byte): Drop .veximmext uses.
252 Move part of the remaining assertion.
254 2018-04-26 Jan Beulich <jbeulich@suse.com>
256 * config/tc-i386.c (build_modrm_byte): Extend assertion in
257 vex_3_sources handling to cover more cases.
259 2018-04-26 Jan Beulich <jbeulich@suse.com>
261 * config/tc-i386.c (build_modrm_byte): Drop code dealing with
262 .veximmext and .immext set at the same time. Drop code dealing
263 with .cpufma when .vexsources == VEX3SOURCES.
265 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
266 Mickaël Guêné <mickael.guene@st.com>
268 * config/tc-arm.c (reloc_names): Add TLSGD_FDPIC, TLSLDM_FDPIC,
269 GOTTPOFF_FDIC relocations.
270 (md_apply_fix): Handle the new TLS FDPIC relocations.
271 (tc_gen_reloc): Likewise.
272 (arm_fix_adjustable): Likewise.
274 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
275 Mickaël Guêné <mickael.guene@st.com>
277 * config/tc-arm.c (reloc_names): Add gotfuncdesc, gotofffuncdesc,
279 (md_apply_fix): Support the new relocations.
280 (tc_gen_reloc): Likewise.
281 * testsuite/gas/arm/reloc-fdpic.d: New.
282 * testsuite/gas/arm/reloc-fdpic.s: New.
284 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
285 Mickaël Guêné <mickael.guene@st.com>
287 * config/tc-arm.c (arm_fdpic): New.
288 (elf32_arm_target_format): Support FDPIC.
290 (md_longopts): Support FDPIC.
291 (md_parse_option): Likewise.
292 (md_show_usage): Likewise.
294 2018-04-25 Tamar Christina <tamar.christina@arm.com>
296 * testsuite/gas/aarch64/rdma.s: Test for larger register numbers.
297 * testsuite/gas/aarch64/rdma.d: Update results.
298 * testsuite/gas/aarch64/rdma-directive.d: Likewise.
300 2018-04-25 Nick Clifton <nickc@redhat.com>
302 * po/es.po: Updated Spanish translation.
304 2018-04-25 Alan Modra <amodra@gmail.com>
306 * Makefile.am: Remove arm-aout and arm-coff support.
307 * config/tc-arm.c: Likewise.
308 * config/tc-arm.h: Likewise.
309 * configure.tgt: Likewise.
310 * testsuite/gas/aarch64/codealign.d: Likewise.
311 * testsuite/gas/aarch64/mapping.d: Likewise.
312 * testsuite/gas/aarch64/mapping2.d: Likewise.
313 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: Likewise.
314 * testsuite/gas/arm/adds-thumb1-reloc-local.d: Likewise.
315 * testsuite/gas/arm/addsw-bad.d: Likewise.
316 * testsuite/gas/arm/align.d: Likewise.
317 * testsuite/gas/arm/align64.d: Likewise.
318 * testsuite/gas/arm/arch7.d: Likewise.
319 * testsuite/gas/arm/arch7a-mp.d: Likewise.
320 * testsuite/gas/arm/arch7em.d: Likewise.
321 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
322 * testsuite/gas/arm/arm-it-auto-2.d: Likewise.
323 * testsuite/gas/arm/arm-it-auto-3.d: Likewise.
324 * testsuite/gas/arm/arm-it-auto.d: Likewise.
325 * testsuite/gas/arm/arm-it-bad-2.d: Likewise.
326 * testsuite/gas/arm/arm-it.d: Likewise.
327 * testsuite/gas/arm/armv7e-m+fpv5-d16.d: Likewise.
328 * testsuite/gas/arm/armv7e-m+fpv5-sp-d16.d: Likewise.
329 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: Likewise.
330 * testsuite/gas/arm/armv8-2-fp16-scalar.d: Likewise.
331 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise.
332 * testsuite/gas/arm/armv8-2-fp16-simd.d: Likewise.
333 * testsuite/gas/arm/armv8-a+crypto.d: Likewise.
334 * testsuite/gas/arm/armv8-a+fp.d: Likewise.
335 * testsuite/gas/arm/armv8-a+ras.d: Likewise.
336 * testsuite/gas/arm/armv8-a+rdma-warning.d: Likewise.
337 * testsuite/gas/arm/armv8-a+rdma.d: Likewise.
338 * testsuite/gas/arm/armv8-a+simd.d: Likewise.
339 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
340 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
341 * testsuite/gas/arm/armv8-r+simd.d: Likewise.
342 * testsuite/gas/arm/armv8-r-barrier-thumb.d: Likewise.
343 * testsuite/gas/arm/armv8_1-a+simd.d: Likewise.
344 * testsuite/gas/arm/armv8_2+rdma.d: Likewise.
345 * testsuite/gas/arm/armv8_2-a.d: Likewise.
346 * testsuite/gas/arm/armv8_3-a-fp.d: Likewise.
347 * testsuite/gas/arm/armv8_3-a-simd.d: Likewise.
348 * testsuite/gas/arm/armv8a-automatic-hlt.d: Likewise.
349 * testsuite/gas/arm/armv8a-automatic-lda.d: Likewise.
350 * testsuite/gas/arm/attr-syntax.d: Likewise.
351 * testsuite/gas/arm/automatic-bw.d: Likewise.
352 * testsuite/gas/arm/automatic-cbz.d: Likewise.
353 * testsuite/gas/arm/automatic-clrex.d: Likewise.
354 * testsuite/gas/arm/automatic-lda.d: Likewise.
355 * testsuite/gas/arm/automatic-ldaex.d: Likewise.
356 * testsuite/gas/arm/automatic-ldaexb.d: Likewise.
357 * testsuite/gas/arm/automatic-ldrex.d: Likewise.
358 * testsuite/gas/arm/automatic-ldrexd.d: Likewise.
359 * testsuite/gas/arm/automatic-movw.d: Likewise.
360 * testsuite/gas/arm/automatic-sdiv.d: Likewise.
361 * testsuite/gas/arm/automatic-strexb.d: Likewise.
362 * testsuite/gas/arm/barrier-bad-thumb.d: Likewise.
363 * testsuite/gas/arm/barrier-bad.d: Likewise.
364 * testsuite/gas/arm/barrier-thumb.d: Likewise.
365 * testsuite/gas/arm/barrier.d: Likewise.
366 * testsuite/gas/arm/bignum1.d: Likewise.
367 * testsuite/gas/arm/blx-bad.d: Likewise.
368 * testsuite/gas/arm/blx-bl-convert.d: Likewise.
369 * testsuite/gas/arm/blx-local.s: Likewise.
370 * testsuite/gas/arm/crc32-armv8-a-bad.d: Likewise.
371 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
372 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
373 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
374 * testsuite/gas/arm/dis-data.d: Likewise.
375 * testsuite/gas/arm/dis-data2.d: Likewise.
376 * testsuite/gas/arm/dis-data3.d: Likewise.
377 * testsuite/gas/arm/eabi_attr_1.d: Likewise.
378 * testsuite/gas/arm/fp-save.d: Likewise.
379 * testsuite/gas/arm/group-reloc-alu-encoding-bad.d: Likewise.
380 * testsuite/gas/arm/group-reloc-alu-parsing-bad.d: Likewise.
381 * testsuite/gas/arm/group-reloc-alu.d: Likewise.
382 * testsuite/gas/arm/group-reloc-ldc-encoding-bad.d: Likewise.
383 * testsuite/gas/arm/group-reloc-ldc-parsing-bad.d: Likewise.
384 * testsuite/gas/arm/group-reloc-ldc.d: Likewise.
385 * testsuite/gas/arm/group-reloc-ldr-encoding-bad.d: Likewise.
386 * testsuite/gas/arm/group-reloc-ldr-parsing-bad.d: Likewise.
387 * testsuite/gas/arm/group-reloc-ldr.d: Likewise.
388 * testsuite/gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise.
389 * testsuite/gas/arm/group-reloc-ldrs-parsing-bad.d: Likewise.
390 * testsuite/gas/arm/group-reloc-ldrs.d: Likewise.
391 * testsuite/gas/arm/insn-error-a.d: Likewise.
392 * testsuite/gas/arm/insn-error-t.d: Likewise.
393 * testsuite/gas/arm/inst-po-2.d: Likewise.
394 * testsuite/gas/arm/inst-po-3.d: Likewise.
395 * testsuite/gas/arm/inst-po-be.d: Likewise.
396 * testsuite/gas/arm/inst-po.d: Likewise.
397 * testsuite/gas/arm/ldconst.d: Likewise.
398 * testsuite/gas/arm/ldgesb-bad.d: Likewise.
399 * testsuite/gas/arm/ldgesh-bad.d: Likewise.
400 * testsuite/gas/arm/ldst-offset0.d: Likewise.
401 * testsuite/gas/arm/local_function.d: Likewise.
402 * testsuite/gas/arm/local_label_coff.d: Likewise.
403 * testsuite/gas/arm/local_label_elf.d: Likewise.
404 * testsuite/gas/arm/mapping.d: Likewise.
405 * testsuite/gas/arm/mapping2.d: Likewise.
406 * testsuite/gas/arm/mapping3.d: Likewise.
407 * testsuite/gas/arm/mapping4.d: Likewise.
408 * testsuite/gas/arm/mapshort-elf.d: Likewise.
409 * testsuite/gas/arm/mask_1-armv8-a.d: Likewise.
410 * testsuite/gas/arm/mask_1-armv8-r.d: Likewise.
411 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: Likewise.
412 * testsuite/gas/arm/movs-thumb1-reloc-local.d: Likewise.
413 * testsuite/gas/arm/movw-local.d: Likewise.
414 * testsuite/gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
415 * testsuite/gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
416 * testsuite/gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
417 * testsuite/gas/arm/msr-imm-bad.d: Likewise.
418 * testsuite/gas/arm/msr-reg-bad.d: Likewise.
419 * testsuite/gas/arm/msr-reg-thumb.d: Likewise.
420 * testsuite/gas/arm/nomapping.d: Likewise.
421 * testsuite/gas/arm/nops.d: Likewise.
422 * testsuite/gas/arm/pic.d: Likewise.
423 * testsuite/gas/arm/pinsn.d: Likewise.
424 * testsuite/gas/arm/plt-1.d: Likewise.
425 * testsuite/gas/arm/pr21458.d: Likewise.
426 * testsuite/gas/arm/pr9722.d: Likewise.
427 * testsuite/gas/arm/strex-t.d: Likewise.
428 * testsuite/gas/arm/t2-branch-global.d: Likewise.
429 * testsuite/gas/arm/target-reloc-1.d: Likewise.
430 * testsuite/gas/arm/thumb-b-bad.d: Likewise.
431 * testsuite/gas/arm/thumb-w-bad.d: Likewise.
432 * testsuite/gas/arm/thumb-w-good.d: Likewise.
433 * testsuite/gas/arm/thumb.d: Likewise.
434 * testsuite/gas/arm/thumb2_it.d: Likewise.
435 * testsuite/gas/arm/thumb2_it_auto.d: Likewise.
436 * testsuite/gas/arm/thumb2_it_search.d: Likewise.
437 * testsuite/gas/arm/thumb2_ldmstm.d: Likewise.
438 * testsuite/gas/arm/thumb2_ldr_immediate_armv6.d: Likewise.
439 * testsuite/gas/arm/thumb2_ldr_immediate_armv6t2.d: Likewise.
440 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Likewise.
441 * testsuite/gas/arm/thumb2_pool.d: Likewise.
442 * testsuite/gas/arm/thumb2_vpool.d: Likewise.
443 * testsuite/gas/arm/thumb2_vpool_be.d: Likewise.
444 * testsuite/gas/arm/thumb32.d: Likewise.
445 * testsuite/gas/arm/thumbver.d: Likewise.
446 * testsuite/gas/arm/tls.d: Likewise.
447 * testsuite/gas/arm/tls_vxworks.d: Likewise.
448 * testsuite/gas/arm/undefined.d: Likewise.
449 * testsuite/gas/arm/undefined_coff.d: Likewise.
450 * testsuite/gas/arm/unwind.d: Likewise.
451 * testsuite/gas/arm/v4bx.d: Likewise.
452 * testsuite/gas/arm/vcmp-noprefix-imm.d: Likewise.
453 * testsuite/gas/arm/vcvt-bad.d: Likewise.
454 * testsuite/gas/arm/vfma1.d: Likewise.
455 * testsuite/gas/arm/vldconst.d: Likewise.
456 * testsuite/gas/arm/vldconst_be.d: Likewise.
457 * testsuite/gas/arm/vldm-arm.d: Likewise.
458 * testsuite/gas/arm/vldr.d: Likewise.
459 * testsuite/gas/arm/weakdef-1.d: Likewise.
460 * testsuite/gas/arm/weakdef-2.d: Likewise.
461 * config/te-riscix.h: Delete.
462 * Makefile.in: Regenerate.
463 * po/POTFILES.in: Regenerate.
465 2018-04-23 Alan Modra <amodra@gmail.com>
467 * stabs.c (generate_asm_file): Use memcpy rather than strncpy.
468 Remove call to strlen inside loop.
469 * config/tc-cr16.c (getreg_image): Warning fix.
470 * config/tc-crx.c (getreg_image): Warning fix.
472 2018-04-20 Kito Cheng <kito.cheng@gmail.com>
474 * config/tc-riscv.c (options): Add OPTION_RELAX and
476 (md_longopts): New option -mrelax and -mno-relax.
477 (md_parse_option): Handle -mrelax and -mno-relax.
478 * doc/c-riscv.texi: Document for -mrelax and -mno-relax.
479 * testsuite/gas/riscv/no-relax-reloc.d: New.
480 * testsuite/gas/riscv/no-relax-reloc.s: New.
481 * testsuite/gas/riscv/relax-reloc.d: New.
482 * testsuite/gas/riscv/relax-reloc.s: New.
484 2018-04-20 Nick Clifton <nickc@redhat.com>
486 * po/es.po: Updated Spanish translation.
488 2018-04-18 Alan Modra <amodra@gmail.com>
490 * Makefile.am: Remove support for assorted i386 aout and coff targets.
491 * config/obj-elf.c: Likewise.
492 * config/tc-i386.h: Likewise.
493 * configure.ac: Likewise.
494 * configure.tgt: Likewise.
495 * config/te-dynix.h: Delete.
496 * config/te-i386aix.h: Delete.
497 * config/te-mach.h: Delete.
498 * Makefile.in: Regenerate.
499 * config.in: Regenerate.
500 * configure: Regenerate.
501 * po/POTFILES.in: Regenerate.
503 2018-04-18 Alan Modra <amodra@gmail.com>
505 * configure.tgt: Remove *-*-bsd* entry.
507 2018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
509 Microblaze Target: PIC data text relative
511 * gas/config/tc-microblaze.c (Handle new relocs directives in
512 assembler): Handle new relocs from compiler output.
513 (imm_types): add new imm types for data text relative addressing
514 TEXT_OFFSET, TEXT_PC_OFFSET
515 (md_convert_frag): conversion for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
516 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
517 (md_apply_fix): apply fix for BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
518 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
519 (md_estimate_size_before_relax): estimate size for
520 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
521 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
522 (tc_gen_reloc): generate relocations for
523 BFD_RELOC_MICROBLAZE_64_TEXTPCREL,
524 BFD_RELOC_MICROBLAZE_64_TEXTPCREL
526 2018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
528 * testsuite/gas/i386/nops.s: Revert back deleted lines and
529 change encoding to 0x0f1c /1 to map to NOP.
530 * testsuite/gas/i386/x86-64-nops.s: Likewise.
531 * testsuite/gas/i386/nops.d: Likewise.
532 * testsuite/gas/i386/x86-64-nops.d: Likewise.
533 * testsuite/gas/i386/ilp32/x86-64-nops.d: Likewis.
535 2018-04-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
537 * config/tc-i386.c (cpu_arch): Add .cldemote.
538 * doc/c-i386.texi: Document cldemote/.cldemote.
539 * testsuite/gas/i386/cldemote-intel.d: New.
540 * testsuite/gas/i386/cldemote.d: Likewise.
541 * testsuite/gas/i386/cldemote.s: Likewise.
542 * testsuite/gas/i386/i386.exp: Run new tests.
543 * testsuite/gas/i386/x86-64-cldemote-intel.d: New.
544 * testsuite/gas/i386/x86-64-cldemote.d: Likewise.
545 * testsuite/gas/i386/x86-64-cldemote.s: Likewise.
546 * testsuite/gas/i386/ilp32/x86-64-nops.d: Remove 0x0f1c
547 NOP encoding that maps to cldemote.
548 * testsuite/gas/i386/nops.d: Likewise.
549 * testsuite/gas/i386/nops.s: Likewise.
550 * testsuite/gas/i386/x86-64-nops.d: Likewise.
551 * testsuite/gas/i386/x86-64-nops.s: Likewise.
553 2018-04-16 Nick Clifton <nickc@redhat.com>
556 * cond.c (s_ifsef): Replace use of obstack_copy with obstack_alloc
558 (s_if, s_ifb, s_ifc, s_ifeqs): Likewise.
559 * obj-elf.c (elf_adjust_symtab): Check for local symbols before
560 attempting to dereference the sy_next field of a symbol.
561 * stabs.c (get_stab_string_offset): Fail if there is no string
562 following the stab directive.
564 2018-04-16 Alan Modra <amodra@gmail.com>
566 * Makefile.am: Remove arm-epoc-pe support.
567 * config/tc-arm.h: Likewise.
568 * configure.tgt: Likewise.
569 * testsuite/gas/all/gas.exp: Likewise.
570 * testsuite/gas/arm/local_label_coff.d: Likewise.
571 * testsuite/gas/arm/undefined.d: Likewise.
572 * testsuite/gas/arm/undefined_coff.d: Likewise.
573 * config/te-epoc-pe.h: Delete.
574 * Makefile.in: Regenerate.
575 * po/POTFILES.in: Regenerate.
577 2018-04-16 Alan Modra <amodra@gmail.com>
579 * Makefile.am: Remove sparc-aout and sparc-coff support.
580 * config/obj-coff.h: Likewise.
581 * config/tc-sparc.c: Likewise.
582 * config/tc-sparc.h: Likewise.
583 * configure.tgt: Likewise.
584 * config/te-sparcaout.h: Delete.
585 * testsuite/gas/sun4/addend.d: Delete.
586 * testsuite/gas/sun4/addend.exp: Delete.
587 * testsuite/gas/sun4/addend.s: Delete.
588 * Makefile.in: Regenerate.
589 * po/POTFILES.in: Regenerate.
591 2018-04-16 Alan Modra <amodra@gmail.com>
593 * Makefile.am: Remove m68k-aout and m68k-coff support.
594 * config/tc-m68k.c: Likewise.
595 * config/tc-m68k.h: Likewise.
596 * configure.ac: Likewise.
597 * configure.tgt: Likewise.
598 * testsuite/gas/all/weakref1u.d: Likewise.
599 * testsuite/gas/m68k/all.exp: Likewise.
600 * testsuite/gas/m68k/br-isaa.d: Likewise.
601 * testsuite/gas/m68k/br-isab.d: Likewise.
602 * testsuite/gas/m68k/br-isac.d: Likewise.
603 * config/te-psos.h: Delete.
604 * config/te-sun3.h: Delete.
605 * testsuite/gas/m68k-coff/gas.exp: Delete.
606 * testsuite/gas/m68k-coff/p2389.s: Delete.
607 * testsuite/gas/m68k-coff/p2389a.s: Delete.
608 * testsuite/gas/m68k-coff/p2430.s: Delete.
609 * testsuite/gas/m68k-coff/p2430a.s: Delete.
610 * testsuite/gas/m68k-coff/t1.s: Delete.
611 * testsuite/gas/m68k/p3041.d: Delete.
612 * testsuite/gas/m68k/p3041.s: Delete.
613 * testsuite/gas/m68k/p3041data.d: Delete.
614 * testsuite/gas/m68k/p3041data.s: Delete.
615 * testsuite/gas/m68k/p3041pcrel.d: Delete.
616 * testsuite/gas/m68k/p3041pcrel.s: Delete.
617 * testsuite/gas/m68k/t2.d: Delete.
618 * Makefile.in: Regenerate.
619 * config.in: Regenerate.
620 * configure: Regenerate.
621 * po/POTFILES.in: Regenerate.
623 2018-04-16 Alan Modra <amodra@gmail.com>
625 * Makefile.am: Remove sh5 and sh64 support.
626 * config/tc-sh.c: Likewise.
627 * configure.tgt: Likewise.
628 * doc/Makefile.am: Likewise.
629 * doc/as.texinfo: Likewise.
630 * testsuite/gas/cfi/cfi.exp: Likewise.
631 * testsuite/gas/sh/basic.exp: Likewise.
632 * config/tc-sh64.c: Delete.
633 * config/tc-sh64.h: Delete.
634 * doc/c-sh64.texi: Delete.
635 * testsuite/gas/sh/sh64/abi-32.d: Delete.
636 * testsuite/gas/sh/sh64/abi-32.s: Delete.
637 * testsuite/gas/sh/sh64/abi-64.d: Delete.
638 * testsuite/gas/sh/sh64/abi-64.s: Delete.
639 * testsuite/gas/sh/sh64/basic-1.d: Delete.
640 * testsuite/gas/sh/sh64/basic-1.s: Delete.
641 * testsuite/gas/sh/sh64/case-1.d: Delete.
642 * testsuite/gas/sh/sh64/case-1.s: Delete.
643 * testsuite/gas/sh/sh64/case-noexp-1.d: Delete.
644 * testsuite/gas/sh/sh64/crange1-1.d: Delete.
645 * testsuite/gas/sh/sh64/crange1-2.d: Delete.
646 * testsuite/gas/sh/sh64/crange1.s: Delete.
647 * testsuite/gas/sh/sh64/crange2-1.d: Delete.
648 * testsuite/gas/sh/sh64/crange2-2.d: Delete.
649 * testsuite/gas/sh/sh64/crange2-noexp-1.d: Delete.
650 * testsuite/gas/sh/sh64/crange2.s: Delete.
651 * testsuite/gas/sh/sh64/crange3-1.d: Delete.
652 * testsuite/gas/sh/sh64/crange3.s: Delete.
653 * testsuite/gas/sh/sh64/crange4-1.d: Delete.
654 * testsuite/gas/sh/sh64/crange4.s: Delete.
655 * testsuite/gas/sh/sh64/crange5-1.d: Delete.
656 * testsuite/gas/sh/sh64/crange5.s: Delete.
657 * testsuite/gas/sh/sh64/creg-1.d: Delete.
658 * testsuite/gas/sh/sh64/creg-1.s: Delete.
659 * testsuite/gas/sh/sh64/creg-2.d: Delete.
660 * testsuite/gas/sh/sh64/creg-2.s: Delete.
661 * testsuite/gas/sh/sh64/datal-1.s: Delete.
662 * testsuite/gas/sh/sh64/datal-2.d: Delete.
663 * testsuite/gas/sh/sh64/datal-2.s: Delete.
664 * testsuite/gas/sh/sh64/datal-3.s: Delete.
665 * testsuite/gas/sh/sh64/datal32-1.d: Delete.
666 * testsuite/gas/sh/sh64/datal32-3.d: Delete.
667 * testsuite/gas/sh/sh64/datal64-1.d: Delete.
668 * testsuite/gas/sh/sh64/datal64-3.d: Delete.
669 * testsuite/gas/sh/sh64/eh-1.d: Delete.
670 * testsuite/gas/sh/sh64/eh-1.s: Delete.
671 * testsuite/gas/sh/sh64/endian-1.d: Delete.
672 * testsuite/gas/sh/sh64/endian-1.s: Delete.
673 * testsuite/gas/sh/sh64/endian-2.d: Delete.
674 * testsuite/gas/sh/sh64/endian-2.s: Delete.
675 * testsuite/gas/sh/sh64/err-1.s: Delete.
676 * testsuite/gas/sh/sh64/err-2.s: Delete.
677 * testsuite/gas/sh/sh64/err-3.s: Delete.
678 * testsuite/gas/sh/sh64/err-4.s: Delete.
679 * testsuite/gas/sh/sh64/err-abi-32.s: Delete.
680 * testsuite/gas/sh/sh64/err-abi-64.s: Delete.
681 * testsuite/gas/sh/sh64/err-dsp.s: Delete.
682 * testsuite/gas/sh/sh64/err-movi-noexp-1.s: Delete.
683 * testsuite/gas/sh/sh64/err-noexp-cmd1.s: Delete.
684 * testsuite/gas/sh/sh64/err-pt-1.s: Delete.
685 * testsuite/gas/sh/sh64/err-pt32-cmd1.s: Delete.
686 * testsuite/gas/sh/sh64/err-pt32-cmd2.s: Delete.
687 * testsuite/gas/sh/sh64/err-pt32-cmd3.s: Delete.
688 * testsuite/gas/sh/sh64/err-ptb-1.s: Delete.
689 * testsuite/gas/sh/sh64/err-ptb-2.s: Delete.
690 * testsuite/gas/sh/sh64/err.exp: Delete.
691 * testsuite/gas/sh/sh64/immexpr1.s: Delete.
692 * testsuite/gas/sh/sh64/immexpr2.s: Delete.
693 * testsuite/gas/sh/sh64/immexpr32-1.d: Delete.
694 * testsuite/gas/sh/sh64/immexpr32-2.d: Delete.
695 * testsuite/gas/sh/sh64/immexpr64-1.d: Delete.
696 * testsuite/gas/sh/sh64/immexpr64-2.d: Delete.
697 * testsuite/gas/sh/sh64/lineno.d: Delete.
698 * testsuite/gas/sh/sh64/lineno.s: Delete.
699 * testsuite/gas/sh/sh64/localcom-1.d: Delete.
700 * testsuite/gas/sh/sh64/localcom-1.s: Delete.
701 * testsuite/gas/sh/sh64/mix-1.d: Delete.
702 * testsuite/gas/sh/sh64/mix-1.s: Delete.
703 * testsuite/gas/sh/sh64/mix-noexp-1.d: Delete.
704 * testsuite/gas/sh/sh64/movi-1.s: Delete.
705 * testsuite/gas/sh/sh64/movi-2.s: Delete.
706 * testsuite/gas/sh/sh64/movi-3.d: Delete.
707 * testsuite/gas/sh/sh64/movi-3.s: Delete.
708 * testsuite/gas/sh/sh64/movi32-1.d: Delete.
709 * testsuite/gas/sh/sh64/movi32-2.d: Delete.
710 * testsuite/gas/sh/sh64/movi32-noexp-2.d: Delete.
711 * testsuite/gas/sh/sh64/movi64-1.d: Delete.
712 * testsuite/gas/sh/sh64/movi64-2.d: Delete.
713 * testsuite/gas/sh/sh64/movi64-2.s: Delete.
714 * testsuite/gas/sh/sh64/movi64-3.d: Delete.
715 * testsuite/gas/sh/sh64/movi64-noexp-2.d: Delete.
716 * testsuite/gas/sh/sh64/pt-1.d: Delete.
717 * testsuite/gas/sh/sh64/pt-1.s: Delete.
718 * testsuite/gas/sh/sh64/pt-2.s: Delete.
719 * testsuite/gas/sh/sh64/pt-noexp-1.d: Delete.
720 * testsuite/gas/sh/sh64/pt32-1.d: Delete.
721 * testsuite/gas/sh/sh64/pt32-noexp-2.d: Delete.
722 * testsuite/gas/sh/sh64/pt64-1.d: Delete.
723 * testsuite/gas/sh/sh64/pt64-32-1.d: Delete.
724 * testsuite/gas/sh/sh64/pt64-32-2.d: Delete.
725 * testsuite/gas/sh/sh64/pt64-noexp-2.d: Delete.
726 * testsuite/gas/sh/sh64/ptc-1.s: Delete.
727 * testsuite/gas/sh/sh64/ptc32-1.d: Delete.
728 * testsuite/gas/sh/sh64/ptc32-noexp-1.d: Delete.
729 * testsuite/gas/sh/sh64/ptc64-1.d: Delete.
730 * testsuite/gas/sh/sh64/ptc64-32-1.d: Delete.
731 * testsuite/gas/sh/sh64/ptc64-noexp-1.d: Delete.
732 * testsuite/gas/sh/sh64/ptext-1.s: Delete.
733 * testsuite/gas/sh/sh64/ptext32-1.d: Delete.
734 * testsuite/gas/sh/sh64/ptext32-noexp-1.d: Delete.
735 * testsuite/gas/sh/sh64/ptext64-1.d: Delete.
736 * testsuite/gas/sh/sh64/ptext64-32-1.d: Delete.
737 * testsuite/gas/sh/sh64/ptext64-noexp-1.d: Delete.
738 * testsuite/gas/sh/sh64/rel-1.s: Delete.
739 * testsuite/gas/sh/sh64/rel-2.s: Delete.
740 * testsuite/gas/sh/sh64/rel-3.s: Delete.
741 * testsuite/gas/sh/sh64/rel-4.s: Delete.
742 * testsuite/gas/sh/sh64/rel-5.s: Delete.
743 * testsuite/gas/sh/sh64/rel32-1.d: Delete.
744 * testsuite/gas/sh/sh64/rel32-2.d: Delete.
745 * testsuite/gas/sh/sh64/rel32-3.d: Delete.
746 * testsuite/gas/sh/sh64/rel32-4.d: Delete.
747 * testsuite/gas/sh/sh64/rel32-5.d: Delete.
748 * testsuite/gas/sh/sh64/rel64-1.d: Delete.
749 * testsuite/gas/sh/sh64/rel64-2.d: Delete.
750 * testsuite/gas/sh/sh64/rel64-3.d: Delete.
751 * testsuite/gas/sh/sh64/rel64-4.d: Delete.
752 * testsuite/gas/sh/sh64/rel64-5.d: Delete.
753 * testsuite/gas/sh/sh64/relax-1.d: Delete.
754 * testsuite/gas/sh/sh64/relax-1.s: Delete.
755 * testsuite/gas/sh/sh64/relax-2.d: Delete.
756 * testsuite/gas/sh/sh64/relax-2.s: Delete.
757 * testsuite/gas/sh/sh64/relax-3.d: Delete.
758 * testsuite/gas/sh/sh64/relax-3.s: Delete.
759 * testsuite/gas/sh/sh64/sh64.exp: Delete.
760 * testsuite/gas/sh/sh64/shift-1.s: Delete.
761 * testsuite/gas/sh/sh64/shift-2.s: Delete.
762 * testsuite/gas/sh/sh64/shift-3.s: Delete.
763 * testsuite/gas/sh/sh64/shift32-1.d: Delete.
764 * testsuite/gas/sh/sh64/shift32-3.d: Delete.
765 * testsuite/gas/sh/sh64/shift32-noexp-3.d: Delete.
766 * testsuite/gas/sh/sh64/shift64-1.d: Delete.
767 * testsuite/gas/sh/sh64/shift64-2.d: Delete.
768 * testsuite/gas/sh/sh64/shift64-3.d: Delete.
769 * testsuite/gas/sh/sh64/shift64-noexp-3.d: Delete.
770 * testsuite/gas/sh/sh64/syntax-1.d: Delete.
771 * testsuite/gas/sh/sh64/syntax-1.s: Delete.
772 * testsuite/gas/sh/sh64/syntax-2.d: Delete.
773 * testsuite/gas/sh/sh64/syntax-2.s: Delete.
774 * testsuite/gas/sh/sh64/ua-1.s: Delete.
775 * testsuite/gas/sh/sh64/ua32-1.d: Delete.
776 * testsuite/gas/sh/sh64/ua64-1.d: Delete.
777 * Makefile.in: Regenerate.
778 * doc/Makefile.in: Regenerate.
779 * po/POTFILES.in: Regenerate.
781 2018-04-16 Alan Modra <amodra@gmail.com>
783 * config/tc-sh.c: Remove sh-symbianelf support.
784 * config/tc-sh.h: Likewise.
785 * configure.ac: Likewise.
786 * configure.tgt: Likewise.
787 * testsuite/gas/sh/reg-prefix.d: Likewise.
788 * testsuite/gas/sh/sh2a-pic.d: Likewise.
789 * config.in: Regenerate.
790 * configure: Regenerate.
792 2018-04-16 Alan Modra <amodra@gmail.com>
794 * configure.ac: Remove m88k support.
795 * config.in: Regenerate.
796 * configure: Regenerate.
798 2018-04-16 Alan Modra <amodra@gmail.com>
800 * Makefile.am: Remove i370 support.
802 * config/obj-elf.c: Likewise.
803 * configure.tgt: Likewise.
804 * doc/Makefile.am: Likewise.
805 * doc/as.texinfo: Likewise.
806 * testsuite/gas/all/gas.exp: Likewise.
807 * testsuite/gas/elf/warn-2.s: Likewise.
808 * testsuite/gas/lns/lns.exp: Likewise.
809 * config/tc-i370.c: Delete.
810 * config/tc-i370.h: Delete.
811 * doc/c-i370.texi: Delete.
812 * Makefile.in: Regenerate.
813 * doc/Makefile.in: Regenerate.
814 * po/POTFILES.in: Regenerate.
816 2018-04-16 Alan Modra <amodra@gmail.com>
818 * config/obj-coff.h: Remove h8500 support.
820 2018-04-16 Alan Modra <amodra@gmail.com>
822 * config/obj-coff.h: Remove h8300-coff support.
823 * config/tc-h8300.c: Likewise.
824 * config/tc-h8300.h: Likewise.
825 * testsuite/gas/h8300/h8300.exp: Likewise.
826 * testsuite/gas/h8300/branch-coff.s: Delete.
827 * testsuite/gas/h8300/branchh-coff.s: Delete.
828 * testsuite/gas/h8300/branchs-coff.s: Delete.
829 * testsuite/gas/h8300/ffxx1-coff.d: Delete.
830 * testsuite/gas/h8300/ffxx1-coff.s: Delete.
831 * testsuite/gas/h8300/h8300-coff.exp: Delete.
833 2018-04-16 Alan Modra <amodra@gmail.com>
835 * app.c: Remove IEEE 695 support.
836 * symbols.c: Likewise.
838 2018-04-16 Alan Modra <amodra@gmail.com>
840 * Makefile.am: Remove netware support.
841 * config/tc-i386.c: Likewise.
842 * configure.tgt: Likewise.
843 * config/te-netware.h: Delete.
844 * Makefile.in: Regenerate.
845 * po/POTFILES.in: Regenerate.
847 2018-04-15 H.J. Lu <hongjiu.lu@intel.com>
849 * testsuite/gas/i386/x86-64-waitpkg.s: Add 32-bit registers
850 tests for tpause and umwait.
851 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Updated.
852 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
854 2018-04-12 John Darrington <john@darrington.wattle.id.au>
856 * as.c (main): Fail if the output is the same as one of the input
858 * testsuite/gas/all/gas.exp: Test the new feature.
860 2018-04-12 Nick Clifton <nickc@redhat.com>
862 * po/es.po: Updated Spanish translation.
863 * po/ru.po: Updated Russian translation.
865 2018-04-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
867 * config/tc-i386.c (cpu_arch): Add WAITPKG.
868 (cpu_noarch): Likewise.
869 * doc/c-i386.texi: Document WAITPKG.
870 * i386/i386.exp: Run WAITPKG tests.
871 * testsuite/gas/i386/waitpkg-intel.d: New test.
872 * testsuite/gas/i386/waitpkg.d: Likewise.
873 * testsuite/gas/i386/waitpkg.s: Likewise.
874 * testsuite/gas/i386/x86-64-waitpkg-intel.d: Likewise.
875 * testsuite/gas/i386/x86-64-waitpkg.d: Likewise.
876 * testsuite/gas/i386/x86-64-waitpkg.s: Likewise.
878 2018-04-11 Alan Modra <amodra@gmail.com>
880 * config/aout_gnu.h: Delete.
881 * config/tc-i860.c: Delete.
882 * config/tc-i860.h: Delete.
883 * config/tc-i960.c: Delete.
884 * config/tc-i960.h: Delete.
885 * doc/c-i860.texi: Delete.
886 * doc/c-i960.texi: Delete.
887 * testsuite/gas/i860/README.i860: Delete.
888 * testsuite/gas/i860/bitwise.d: Delete.
889 * testsuite/gas/i860/bitwise.s: Delete.
890 * testsuite/gas/i860/branch.d: Delete.
891 * testsuite/gas/i860/branch.s: Delete.
892 * testsuite/gas/i860/bte.d: Delete.
893 * testsuite/gas/i860/bte.s: Delete.
894 * testsuite/gas/i860/dir-align01.d: Delete.
895 * testsuite/gas/i860/dir-align01.s: Delete.
896 * testsuite/gas/i860/dir-intel01.d: Delete.
897 * testsuite/gas/i860/dir-intel01.s: Delete.
898 * testsuite/gas/i860/dir-intel02.d: Delete.
899 * testsuite/gas/i860/dir-intel02.s: Delete.
900 * testsuite/gas/i860/dir-intel03-err.l: Delete.
901 * testsuite/gas/i860/dir-intel03-err.s: Delete.
902 * testsuite/gas/i860/dual01.d: Delete.
903 * testsuite/gas/i860/dual01.s: Delete.
904 * testsuite/gas/i860/dual02-err.l: Delete.
905 * testsuite/gas/i860/dual02-err.s: Delete.
906 * testsuite/gas/i860/dual03.d: Delete.
907 * testsuite/gas/i860/dual03.s: Delete.
908 * testsuite/gas/i860/fldst01.d: Delete.
909 * testsuite/gas/i860/fldst01.s: Delete.
910 * testsuite/gas/i860/fldst02.d: Delete.
911 * testsuite/gas/i860/fldst02.s: Delete.
912 * testsuite/gas/i860/fldst03.d: Delete.
913 * testsuite/gas/i860/fldst03.s: Delete.
914 * testsuite/gas/i860/fldst04.d: Delete.
915 * testsuite/gas/i860/fldst04.s: Delete.
916 * testsuite/gas/i860/fldst05.d: Delete.
917 * testsuite/gas/i860/fldst05.s: Delete.
918 * testsuite/gas/i860/fldst06.d: Delete.
919 * testsuite/gas/i860/fldst06.s: Delete.
920 * testsuite/gas/i860/fldst07.d: Delete.
921 * testsuite/gas/i860/fldst07.s: Delete.
922 * testsuite/gas/i860/fldst08.d: Delete.
923 * testsuite/gas/i860/fldst08.s: Delete.
924 * testsuite/gas/i860/float01.d: Delete.
925 * testsuite/gas/i860/float01.s: Delete.
926 * testsuite/gas/i860/float02.d: Delete.
927 * testsuite/gas/i860/float02.s: Delete.
928 * testsuite/gas/i860/float03.d: Delete.
929 * testsuite/gas/i860/float03.s: Delete.
930 * testsuite/gas/i860/float04.d: Delete.
931 * testsuite/gas/i860/float04.s: Delete.
932 * testsuite/gas/i860/form.d: Delete.
933 * testsuite/gas/i860/form.s: Delete.
934 * testsuite/gas/i860/i860.exp: Delete.
935 * testsuite/gas/i860/iarith.d: Delete.
936 * testsuite/gas/i860/iarith.s: Delete.
937 * testsuite/gas/i860/ldst01.d: Delete.
938 * testsuite/gas/i860/ldst01.s: Delete.
939 * testsuite/gas/i860/ldst02.d: Delete.
940 * testsuite/gas/i860/ldst02.s: Delete.
941 * testsuite/gas/i860/ldst03.d: Delete.
942 * testsuite/gas/i860/ldst03.s: Delete.
943 * testsuite/gas/i860/ldst04.d: Delete.
944 * testsuite/gas/i860/ldst04.s: Delete.
945 * testsuite/gas/i860/ldst05.d: Delete.
946 * testsuite/gas/i860/ldst05.s: Delete.
947 * testsuite/gas/i860/ldst06.d: Delete.
948 * testsuite/gas/i860/ldst06.s: Delete.
949 * testsuite/gas/i860/pfam.d: Delete.
950 * testsuite/gas/i860/pfam.s: Delete.
951 * testsuite/gas/i860/pfmam.d: Delete.
952 * testsuite/gas/i860/pfmam.s: Delete.
953 * testsuite/gas/i860/pfmsm.d: Delete.
954 * testsuite/gas/i860/pfmsm.s: Delete.
955 * testsuite/gas/i860/pfsm.d: Delete.
956 * testsuite/gas/i860/pfsm.s: Delete.
957 * testsuite/gas/i860/pseudo-ops01.d: Delete.
958 * testsuite/gas/i860/pseudo-ops01.s: Delete.
959 * testsuite/gas/i860/regress01.d: Delete.
960 * testsuite/gas/i860/regress01.s: Delete.
961 * testsuite/gas/i860/shift.d: Delete.
962 * testsuite/gas/i860/shift.s: Delete.
963 * testsuite/gas/i860/simd.d: Delete.
964 * testsuite/gas/i860/simd.s: Delete.
965 * testsuite/gas/i860/system.d: Delete.
966 * testsuite/gas/i860/system.s: Delete.
967 * testsuite/gas/i860/xp.d: Delete.
968 * testsuite/gas/i860/xp.s: Delete.
969 * Makefile.am: Remove i860 and i960 support.
970 * configure.tgt: Likewise.
971 * doc/Makefile.am: Likewise.
972 * doc/all.texi: Likewise.
973 * testsuite/gas/all/gas.exp
974 * config/obj-coff.h: Remove i960 support.
975 * doc/internals.texi: Likewise.
980 * testsuite/gas/lns/lns.exp: Likewise.
981 * testsuite/gas/symver/symver.exp: Likewise.
982 * config/tc-m68k.c: Remove BOUT support.
983 * config/tc-score.c: Likewise.
984 * config/tc-score7.c: Likewise.
985 * config/tc-sparc.c: Likewise.
986 * symbols.c: Likewise.
987 * doc/h8.texi: Likewise.
988 * configure.ac: Remove BOUT and i860 support.
989 * doc/as.texinfo: Remove BOUT, i860 and i960 support
990 * Makefile.in: Regenerate.
991 * config.in: Regenerate.
992 * configure: Regenerate.
993 * doc/Makefile.in: Regenerate.
994 * po/POTFILES.in: Regenerate.
996 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
999 * configure: Regenerated.
1001 2018-04-04 H.J. Lu <hongjiu.lu@intel.com>
1004 * testsuite/gas/i386/prefix.s: Add tests for vcvtpd2dq with
1005 VEX and EVEX prefixes.
1006 * testsuite/gas/i386/prefix.d: Updated.
1008 2018-03-30 Peter Bergner <bergner@vnet.ibm.com>
1011 * config/tc-ppc.c (ppc_set_cpu): Select appropriate cpu when ppc_obj64
1014 2018-03-28 Renlin Li <renlin.li@arm.com>
1017 * config/tc-aarch64.c (reloc_table): Update entry for tprel_lo12 and
1018 tprel_lo12_nc with pseudo relocations.
1019 (ldst_lo12_determine_real_reloc_type): Add new relocations support.
1020 (parse_operands): Handle BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12 and
1021 BFD_RELOC_AARCH64_TLSLE_LDST_TPREL_LO12_NC pseudo relocations.
1022 (md_apply_fix): Add handling for new relocation.
1023 (aarch64_force_relocation): Likewise.
1024 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.d: New.
1025 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16.s: New.
1026 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.d: New.
1027 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32.s: New.
1028 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.d: New.
1029 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64.s: New.
1030 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.d: New.
1031 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8.s: New.
1032 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.d: New.
1033 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16.s: New.
1034 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.d: New.
1035 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32.s: New.
1036 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.d: New.
1037 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64.s: New.
1038 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.d: New.
1039 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8.s: New.
1040 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst16-ilp32.d: New.
1041 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst32-ilp32.d: New.
1042 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst64-ilp32.d: New.
1043 * testsuite/gas/aarch64/reloc-tprel_lo12-ldst8-ilp32.d: New.
1044 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst16-ilp32.d: New.
1045 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst32-ilp32.d: New.
1046 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst64-ilp32.d: New.
1047 * testsuite/gas/aarch64/reloc-tprel_lo12_nc-ldst8-ilp32.d: New.
1049 2018-03-28 Jan Beulich <jbeulich@suse.com>
1051 * config/tc-i386.c (check_VecOperands): Replace uses of
1052 .vecesize. Always initialize op.
1053 * testsuite/gas/i386/avx512_vpopcntdq.s,
1054 testsuite/gas/i386/avx512bitalg_vl.s: Add Intel syntax vpopcnt
1055 broadcast cases with explicit operand size.
1056 * testsuite/gas/i386/avx512_vpopcntdq.d,
1057 testsuite/gas/i386/avx512_vpopcntdq-intel.d,
1058 testsuite/gas/i386/avx512bitalg_vl.d
1059 testsuite/gas/i386/avx512bitalg_vl-intel.d: Adjust expectations.
1061 2018-03-28 Jan Beulich <jbeulich@suse.com>
1063 * config/tc-i386.c (struct Broadcast_Operation): Adjust comment.
1064 (check_VecOperands): Re-write broadcast validation code.
1065 (check_VecOperations): Replace BROADCAST_1TO* uses.
1066 * testsuite/gas/i386/inval-avx512f.s: Add various broadcast
1068 * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
1070 2018-03-28 Jan Beulich <jbeulich@suse.com>
1072 * config/tc-i386.c (process_suffix): Check .todword/.toqword
1073 before zapping suffix.
1075 2018-03-28 Jan Beulich <jbeulich@suse.com>
1077 * testsuite/gas/i386/ilp32/x86-64-simd-suffix.d,
1078 testsuite/gas/i386/x86-64-simd-suffix.d: Drop q suffix from
1081 2018-03-28 Nick Clifton <nickc@redhat.com>
1084 * config/tc-aarch64.c (parse_operands): Add code to handle
1085 AARCH64_OPN_SVE_ADDR_R.
1086 * testsuite/gas/aarch64/sve.s: Add tests for LDFF1xx instructions
1087 with an assumed XZR offset address register.
1088 * testsuite/gas/aarch64/sve.d: Update expected disassembly.
1090 2018-03-22 Jan Beulich <jbeulich@suse.com>
1092 * config/tc-i386.c (check_VecOperands): Latch
1093 i.broadcast->operand into op.
1095 2018-03-22 Jan Beulich <jbeulich@suse.com>
1097 * config/tc-i386.c (match_template): Special case base opcode
1098 0xa0 with HLE prefix.
1099 * testsuite/gas/i386/hle.s: Add mov-accumulator-to-disp cases.
1100 * testsuite/gas/i386/hle.d, testsuite/gas/i386/hle-intel.d:
1101 Adjust expectations.
1103 2018-03-22 Jan Beulich <jbeulich@suse.com>
1105 * testsuite/gas/i386/opts.s: Add bndmov cases.
1106 * testsuite/gas/i386/opts.d, testsuite/gas/i386/opts-intel.d,
1107 testsuite/gas/i386/sse2avx-opts.d,
1108 testsuite/gas/i386/sse2avx-opts-intel.d: Adjust expectations.
1110 2018-03-22 Jan Beulich <jbeulich@suse.com>
1112 * config/tc-i386.c (match_mem_size): Extend sub-xmmword
1114 * testsuite/gas/i386/xmmword.l, testsuite/gas/i386/xmmword.s:
1116 * testsuite/gas/i386/i386.exp: Run new test.
1118 2018-03-22 Jan Beulich <jbeulich@suse.com>
1120 * config/tc-i386.c (match_template): Also match 2nd and 4th
1121 operand's register sizes.
1122 * testsuite/gas/i386/unspec.l, testsuite/gas/i386/unspec.s: New.
1123 * testsuite/gas/i386/i386.exp: Run new test.
1125 2018-03-19 Nick Clifton <nickc@redhat.com>
1127 * po/uk.po: Updated Ukranian translation.
1129 2018-03-16 Jim Wilson <jimw@sifive.com>
1131 * config/tc-riscv.c (check_absolute_expr): Expand comment. New
1132 parameter maybe_csr. If maybe_csr and O_symbol, print CSR name.
1133 (riscv_ip): Add new argument to check_absolute_expr calls.
1134 * testsuite/gas/riscv/bad-csr.d: New.
1135 * testsuite/gas/riscv/bad-csr.l: New.
1136 * testsuite/gas/riscv/bad-csr.s: New.
1138 2018-03-14 Kito Cheng <kito.cheng@gmail.com>
1140 * config/tc-riscv.c (opcode_name_list): New.
1141 (opcode_names_hash): Likewise.
1142 (init_opcode_names_hash): Likewise.
1143 (opcode_name_lookup): Likewise.
1144 (validate_riscv_insn): New argument length, and add new format
1145 which used in .insn directive.
1146 (md_begin): Refine hash table initialization logic into
1148 (init_opcode_hash): New.
1149 (my_getOpcodeExpression): Parse opcode name for .insn.
1150 (riscv_ip): New argument hash, able to handle .insn directive.
1151 (s_riscv_insn): Handler for .insn directive.
1152 (riscv_pseudo_table): New entry for .insn.
1153 * doc/c-riscv.texi: Add documentation for .insn directive.
1154 * testsuite/gas/riscv/insn.d: Add testcase for .insn directive.
1155 * testsuite/gas/riscv/insn.s: Likewise.
1157 2018-03-13 Nick Clifton <nickc@redhat.com>
1159 * po/ru.po: Updated Russian translation.
1161 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
1163 * config/tc-i386.c (optimize_encoding): Encode EVEX instructions
1164 with VEX128 if EVEX encoding isn't required.
1165 * testsuite/gas/i386/optimize-1.d: Updated.
1166 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1168 2018-03-09 H.J. Lu <hongjiu.lu@intel.com>
1170 * config/tc-i386.c (check_VecOperations): Strip whitespace.
1171 * testsuite/gas/i386/optimize-1.s: Add whitespaces before
1173 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1175 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1177 * config/tc-i386.c (set_cpu_arch): Set cpu_arch_isa_flags.
1178 (md_parse_option): Likewise.
1179 (optimize_encoding): Check i.tm.cpu_flags and cpu_arch_isa_flags
1180 for cpuavx512vl instead of cpu_arch_flags. Optimize EVEX with
1181 EVEX128 when EVEX encoding is required.
1182 * testsuite/gas/i386/i386.exp: Run optimize-4, optimize-5,
1183 x86-64-optimize-5 and x86-64-optimize-6.
1184 * testsuite/gas/i386/optimize-1.d: Updated.
1185 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1186 * testsuite/gas/i386/optimize-4.d: New file.
1187 * testsuite/gas/i386/optimize-4.s: Likewise.
1188 * testsuite/gas/i386/optimize-5.d: Likewise.
1189 * testsuite/gas/i386/optimize-5.s: Likewise.
1190 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1191 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
1192 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1193 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
1195 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1197 * config/tc-i386.c (optimize_encoding): Also encode "clr reg64"
1198 as "xor reg32, reg32".
1199 * testsuite/gas/i386/x86-64-optimize-1.s: Add "clr reg64" tests.
1200 * testsuite/gas/i386/x86-64-optimize-1.d: Updated.
1202 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1204 * NEWS: Mention -mold-gcc removal.
1205 * config/tc-i386.c (i386_error): Remove old_gcc_only.
1207 (match_template): Remove old gcc support.
1208 (OPTION_MOLD_GCC): Removed.
1209 (OPTION_MRELAX_RELOCATIONS): Updated.
1210 (md_longopts): Remove OPTION_MOLD_GCC.
1211 (md_parse_option): Likewise.
1212 (md_show_usage): Remove -mold-gcc.
1213 * testsuite/gas/i386/general.s: Convert fsub/fdiv tests for old
1214 (<= 2.8.1) versions of gcc.
1215 * testsuite/gas/i386/intel.s: Likewise.
1216 * testsuite/gas/i386/general.l: Updated.
1217 * testsuite/gas/i386/intel-intel.d: Likewise.
1218 * testsuite/gas/i386/intel.d: Likewise.
1219 * testsuite/gas/i386/intel.e: Likewise.
1220 * testsuite/gas/i386/i386.exp: Don't pass -mold-gcc to general.
1222 2018-03-08 Jan Beulich <jbeulich@suse.com>
1224 * config/tc-i386.c (is_evex_encoding): New.
1225 (optimize_encoding, md_assemble, md_assemble,
1226 VEX_check_operands, build_modrm_byte): Use is_evex_encoding.
1227 (build_evex_prefix): Derive EVEX length field from actual
1228 operands if the template allows multiple ones.
1230 2018-03-08 Jan Beulich <jbeulich@suse.com>
1232 * config/tc-i386.c (build_modrm_byte): Make VexNDD handling cope
1233 with 3rd (immediate) operand.
1235 2018-03-08 Jan Beulich <jbeulich@suse.com>
1237 * config/tc-i386.c (XMMWORD_MNEM_SUFFIX, YMMWORD_MNEM_SUFFIX,
1238 ZMMWORD_MNEM_SUFFIX): Delete.
1239 (process_suffix): Drop their uses. Re-arrange final part of
1240 logic into a switch() statement. Drop special casing of
1243 2018-03-08 Jan Beulich <jbeulich@suse.com>
1245 * config/tc-i386.c (match_template): Also match register
1246 operands 0 and 2 for 3-operand forms.
1247 * testsuite/gas/i386/unspec64.l, testsuite/gas/i386/unspec64.s:
1249 * testsuite/gas/i386/i386.exp: Run new test.
1251 2018-03-08 Jan Beulich <jbeulich@suse.com>
1253 * config/tc-i386.c (process_suffix): Do common part of register
1256 2018-03-08 Jan Beulich <jbeulich@suse.com>
1258 * config/tc-i386.c (parse_insn): Move success return up. Combine
1261 2018-03-08 Jan Beulich <jbeulich@suse.com>
1263 * config/tc-i386.c (cpu_flags_match): Add GFNI check to AVX
1264 logic. Add respective logic for AVX512F.
1265 * testsuite/gas/i386/arch-avx-1.s: Add GFNI test.
1266 testsuite/gas/i386/arch-avx-1.d,
1267 testsuite/gas/i386/arch-avx-1-1.l,
1268 testsuite/gas/i386/arch-avx-1-2.l,
1269 testsuite/gas/i386/arch-avx-1-3.l,
1270 testsuite/gas/i386/arch-avx-1-4.l,
1271 testsuite/gas/i386/arch-avx-1-5.l,
1272 testsuite/gas/i386/arch-avx-1-6.l: Adjust expectations.
1273 * testsuite/gas/i386/arch-avx-1-7.l,
1274 testsuite/gas/i386/arch-avx-1-7.s,
1275 testsuite/gas/i386/arch-avx-1-8.l,
1276 testsuite/gas/i386/arch-avx-1-8.s,
1277 testsuite/gas/i386/avx512f-plain.l,
1278 testsuite/gas/i386/avx512f-plain.s,
1279 testsuite/gas/i386/avx512vl-plain.l,
1280 testsuite/gas/i386/avx512vl-plain.s: New.
1281 * testsuite/gas/i386/i386.exp: Run new tests.
1283 2018-03-08 Jan Beulich <jbeulich@suse.com>
1285 * config/tc-i386.c (cpu_flags_match): Move AVX512VL check ahead.
1287 2018-03-08 Jan Beulich <jbeulich@suse.com>
1289 * config/tc-i386.c (CPU_FLAGS_32BIT_MATCH): Delete.
1290 (cpu_flags_match): Use CPU_FLAGS_ARCH_MATCH instead of
1291 CPU_FLAGS_32BIT_MATCH.
1293 2018-03-08 Jan Beulich <jbeulich@suse.com>
1295 * config/tc-i386.c (CPU_FLAGS_AES_MATCH, CPU_FLAGS_AVX_MATCH,
1296 CPU_FLAGS_PCLMUL_MATCH): Delete.
1297 (CPU_FLAGS_32BIT_MATCH): Drop uses of deleted CPU_FLAGS_*_MATCH.
1298 (cpu_flags_match): Combine AVX checks into
1301 2018-03-08 Jan Beulich <jbeulich@suse.com>
1303 * config/tc-i386.c (cpu_flags_match): Drop "else" branches
1304 setting CPU_FLAGS_ARCH_MATCH.
1306 2018-03-08 Jan Beulich <jbeulich@suse.com>
1308 * config/tc-i386.c (md_assemble): Extend SSE check conditional.
1309 * testsuite/gas/i386/ilp32/x86-64-sse-check-none.d,
1310 testsuite/gas/i386/ilp32/x86-64-sse-check-warn.d,
1311 testsuite/gas/i386/ilp32/x86-64-sse-check.d,
1312 testsuite/gas/i386/sse-check-none.d,
1313 testsuite/gas/i386/sse-check-warn.d,
1314 testsuite/gas/i386/x86-64-sse-check.d,
1315 testsuite/gas/i386/x86-64-sse-check-none.d,
1316 testsuite/gas/i386/x86-64-sse-check-warn.d: Refer to sse-check.d.
1317 * testsuite/gas/i386/sse-check.s: Add AES, GFNI, and PCLMUL
1319 * testsuite/gas/i386/sse-check-none.s: Replace code by inclusion
1321 * testsuite/gas/i386/sse-check.d: Adjust expectations.
1322 * testsuite/gas/i386/sse-check-error.l,
1323 testsuite/gas/i386/x86-64-sse-check-error.l: Likewise.
1324 * testsuite/gas/i386/sse-check-warn.e: Likewise.
1326 2018-03-08 Jan Beulich <jbeulich@suse.com>
1328 * config/tc-i386.c (operand_size_match): Drop / replace uses of
1331 2018-03-08 Jan Beulich <jbeulich@suse.com>
1333 * testsuite/gas/i386/intel-intel.d: New.
1334 * testsuite/gas/i386/i386.exp: Run new test.
1336 2018-03-08 Jan Beulich <jbeulich@suse.com>
1338 * config/tc-i386.c (process_operands): Access operands only
1339 after operand count assertion. Sanitize warning text. Fix
1341 * testsuite/gas/i386/avx512_4fmaps-warn.l,
1342 gas/i386/x86-64-avx512_4fmaps-warn.l: Adjust expectations.
1344 2018-03-08 Jan Beulich <jbeulich@suse.com>
1346 * testsuite/gas/i386/x86-64-movd.s: Drop bogus vmovd memory forms.
1347 * testsuite/gas/i386/x86-64-movd.d,
1348 testsuite/gas/i386/x86-64-movd-intel.d: Adjust expectations.
1350 2018-03-08 Jan Beulich <jbeulich@suse.com>
1352 * config/tc-i386.c (operand_type_and_not): New.
1353 (build_modrm_byte): Use it to prevent clearing unrelated bits.
1355 2018-03-08 Alan Modra <amodra@gmail.com>
1357 * config/tc-ppc.c (ppc_handle_align): Correct last patch. Really
1358 don't emit a group terminating nop for power9. Simplify cpu
1361 2018-03-08 Alan Modra <amodra@gmail.com>
1363 * config/tc-ppc.c (ppc_handle_align): Don't emit a group
1364 terminating nop for power9.
1366 2018-03-07 H.J. Lu <hongjiu.lu@intel.com>
1369 * config/tc-i386.c (f32_5): Removed.
1381 (jump_31): Likewise.
1382 (alt64_11): Likewise.
1383 (alt64_patt): Likewise.
1385 (jump32_disp32): Likewise.
1386 (jump16_disp32): Likewise.
1388 (f32_patt): Updated.
1389 (f16_patt): Likewise.
1390 (alt_patt): Add alt_11.
1391 (i386_align_code): Merged with ...
1392 (i386_generate_nops): This. Rewritten.
1393 (fits_in_imm7): Moved before i386_generate_nops.
1394 (fits_in_imm31): Likewise.
1395 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Updated to
1397 (i386_align_code): Removed.
1398 (HANDLE_ALIGN): Rewritten with i386_generate_nops.
1399 * doc/as.texinfo: Update limits of control byte for x86 .nops
1401 * testsuite/gas/i386/i386.exp: Run nops-7 and x86-64-nops-7.
1402 * gas/testsuite/gas/i386/noavx-3.l: Updated.
1403 * gas/testsuite/gas/i386/nop-1.d: Likewise.
1404 * gas/testsuite/gas/i386/nop-1.s: Likewise.
1405 * gas/testsuite/gas/i386/nop-2.d: Likewise.
1406 * gas/testsuite/gas/i386/nop-2.s: Likewise.
1407 * gas/testsuite/gas/i386/nop-3.d: Likewise.
1408 * gas/testsuite/gas/i386/nop-4.d: Likewise.
1409 * gas/testsuite/gas/i386/nop-5.d: Likewise.
1410 * gas/testsuite/gas/i386/nop-5.s: Likewise.
1411 * gas/testsuite/gas/i386/nop-6.d: Likewise.
1412 * gas/testsuite/gas/i386/nop-bad-1.l: Likewise.
1413 * gas/testsuite/gas/i386/nops-1-core2.d: Likewise.
1414 * gas/testsuite/gas/i386/nops-1-i386-i686.d: Likewise.
1415 * gas/testsuite/gas/i386/nops-1-i386.d: Likewise.
1416 * gas/testsuite/gas/i386/nops-1-i686.d: Likewise.
1417 * gas/testsuite/gas/i386/nops-1-k8.d: Likewise.
1418 * gas/testsuite/gas/i386/nops-1.d: Likewise.
1419 * gas/testsuite/gas/i386/nops-2-core2.d: Likewise.
1420 * gas/testsuite/gas/i386/nops-2-i386.d: Likewise.
1421 * gas/testsuite/gas/i386/nops-2.d: Likewise.
1422 * gas/testsuite/gas/i386/nops-3-i386.d: Likewise.
1423 * gas/testsuite/gas/i386/nops-3-i686.d: Likewise.
1424 * gas/testsuite/gas/i386/nops-3.d: Likewise.
1425 * gas/testsuite/gas/i386/nops-4-i386.d: Likewise.
1426 * gas/testsuite/gas/i386/nops-4-i686.d: Likewise.
1427 * gas/testsuite/gas/i386/nops-4.d: Likewise.
1428 * gas/testsuite/gas/i386/nops-4a-i686.d: Likewise.
1429 * gas/testsuite/gas/i386/nops-5-i686.d: Likewise.
1430 * gas/testsuite/gas/i386/nops-5.d: Likewise.
1431 * gas/testsuite/gas/i386/nops-6.d: Likewise.
1432 * gas/testsuite/gas/i386/nops16-1.d: Likewise.
1433 * gas/testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1434 * gas/testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1435 * gas/testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1436 * gas/testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
1437 * gas/testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
1438 * gas/testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
1439 * gas/testsuite/gas/i386/x86-64-nops-1-pentium.d: Likewise.
1440 * gas/testsuite/gas/i386/x86-64-nops-1.d: Likewise.
1441 * gas/testsuite/gas/i386/x86-64-nops-2.d: Likewise.
1442 * gas/testsuite/gas/i386/x86-64-nops-3.d: Likewise.
1443 * gas/testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
1444 * gas/testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
1445 * gas/testsuite/gas/i386/x86-64-nops-4.d: Likewise.
1446 * gas/testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
1447 * gas/testsuite/gas/i386/x86-64-nops-5.d: Likewise.
1448 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
1449 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
1450 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1-pentium.d: Likewise.
1451 * gas/testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
1452 * gas/testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
1453 * gas/testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
1454 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
1455 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
1456 * gas/testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
1457 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
1458 * gas/testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
1459 * gas/testsuite/gas/i386/nops-7.d: New file.
1460 * gas/testsuite/gas/i386/nops-7.s: Likewise.
1461 * gas/testsuite/gas/i386/x86-64-nops-7.d: Likewise.
1463 2018-03-07 Alan Modra <amodra@gmail.com>
1465 * testsuite/gas/ppc/aix.exp: Run for rs6000 too.
1466 * testsuite/gas/ppc/ppc.exp: Run more tests for non-ELF targets.
1467 * testsuite/gas/ppc/machine.d: Don't run for PE targets.
1469 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1471 * config/tc-arm.c (md_begin): Add NULL pointer check before
1472 dereferencing march_ext_opt.
1474 2018-03-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1476 * config/tc-arm.c (cpu_variant, arm_arch_used, thumb_arch_used,
1477 legacy_cpu, legacy_fpu, mcpu_cpu_opt, dyn_mcpu_ext_opt,
1478 mcpu_fpu_opt, march_cpu_opt, dyn_march_ext_opt, march_fpu_opt,
1479 mfpu_opt, object_arch, selected_cpu): Comment meaning of variables.
1480 (dyn_mcpu_ext_opt): Also rename into ...
1481 (mcpu_ext_opt): This.
1482 (dyn_march_ext_opt): Also rename into ...
1483 (march_ext_opt): This.
1484 (object_arch): Also rename into ...
1485 (selected_object_arch): This and make it a plain arm_feature_set
1487 (selected_arch, selected_ext, selected_fpu): New static variables.
1488 (mark_feature_used): Fix comments, feature is marked as used iff it is
1490 (do_bx): Adapt to change in name and type of object_arch.
1491 (md_begin): Set selected_arch rather than mcpu_cpu_opt, selected_ext
1492 rather than dyn_mcpu_ext_opt and selected_fpu rather than mfpu_opt.
1493 Remove dead code to set default FPU if architecture version is greater
1494 than 5. Set all CPU bits of cpu_variant directly in autodection
1495 leaving mcpu_cpu_opt, selected_arch and selected_cpu unset.
1496 (arm_parse_extension): Take extension feature set pointer parameter by
1497 value rather than by pointer. Remove allocation code. Adapt code
1499 (arm_parse_cpu): Adapt to variable renaming and changes in
1500 arm_parse_extension () signature.
1501 (arm_parse_arch): Likewise.
1502 (aeabi_set_public_attributes): Also set selected_arch and selected_ext
1503 in addition to selected_cpu. Set flags_arch and flags_ext from them
1504 instead of selected_cpu. Adapt to variables renaming and type change.
1505 (arm_md_post_relax): Adapt to variable renaming.
1506 (s_arm_cpu): Set selcted_cpu_cpu and selected_ext instead of
1507 mcpu_cpu_opt and dyn_mcpu_ext_opt. Set selected_cpu from them and
1508 cpu_variant from selected_cpu and selected_fpu.
1509 (s_arm_arch): Likewise.
1510 (s_arm_object_arch): Adapt to variable renaming.
1511 (s_arm_arch_extension): Use ARM_CPU_IS_ANY instead of checking feature
1512 set against arm_any. Check selected_arch rather than *mcpu_cpu_opt.
1513 Set selected_ext rather than *dyn_mcpu_ext_opt and remove allocation
1515 (s_arm_fpu): Set selected_fpu instead of mfpu_opt. Set all CPU feature
1516 bits if in autodetection mode.
1518 2018-03-01 H.J. Lu <hongjiu.lu@intel.com>
1520 * config/tc-i386.c (optimize_encoding): Optimize AVX256 and
1521 AVX512 vpsub[bwdq] instructions.
1522 * testsuite/gas/i386/optimize-1.s: Add tests for AVX256 and
1523 AVX512 vpsub[bwdq] instructions.
1524 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1525 * testsuite/gas/i386/optimize-1.d: Updated.
1526 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1528 2018-03-01 Alan Modra <amodra@gmail.com>
1530 * configure.ac (ALL_LINGUAS): Add uk. Sort.
1531 * configure: Regenerate.
1533 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1535 * NEWS: Rename .nop to .nops.
1536 * doc/as.texinfo: Likewise.
1537 * read.c (potable): Add "nops". Remove "nop".
1538 (s_nop): Renamed to ...
1540 * read.h (s_nop): Renamed to ...
1542 * write.c (cvt_frag_to_fill): Rename .nop to .nops.
1543 (md_generate_nops): Likewise.
1544 (relax_segment): Likewise.
1545 * testsuite/gas/i386/nop-1.d: Updated.
1546 * testsuite/gas/i386/nop-1.s: Likewise.
1547 * testsuite/gas/i386/nop-2.d: Likewise.
1548 * testsuite/gas/i386/nop-2.s: Likewise.
1549 * testsuite/gas/i386/nop-3.d: Likewise.
1550 * testsuite/gas/i386/nop-3.s: Likewise.
1551 * testsuite/gas/i386/nop-4.d: Likewise.
1552 * testsuite/gas/i386/nop-4.s: Likewise.
1553 * testsuite/gas/i386/nop-5.d: Likewise.
1554 * testsuite/gas/i386/nop-5.s: Likewise.
1555 * testsuite/gas/i386/nop-6.d: Likewise.
1556 * testsuite/gas/i386/nop-6.s: Likewise.
1557 * testsuite/gas/i386/nop-bad-1.l: Likewise.
1558 * testsuite/gas/i386/nop-bad-1.s: Likewise.
1559 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1560 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1561 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1562 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1563 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1564 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1566 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1569 * NEWS: Mention -O[2|s].
1570 * config/tc-i386.c (_i386_insn): Add no_optimize.
1572 (optimize_for_space): Likewise.
1573 (fits_in_imm7): New function.
1574 (fits_in_imm31): Likewise.
1575 (optimize_encoding): Likewise.
1576 (md_assemble): Call optimize_encoding to optimize encoding.
1577 (parse_insn): Handle {nooptimize}.
1578 (md_shortopts): Append "O::".
1579 (md_parse_option): Handle -On.
1580 * doc/c-i386.texi: Document -O0, -O, -O1, -O2 and -Os as well
1582 * testsuite/gas/cfi/cfi-x86_64.d: Pass -O0 to assembler.
1583 * testsuite/gas/i386/ilp32/cfi/cfi-x86_64.d: Likewise.
1584 * testsuite/gas/i386/i386.exp: Run optimize-1, optimize-2,
1585 optimize-3, x86-64-optimize-1, x86-64-optimize-2,
1586 x86-64-optimize-3 and x86-64-optimize-4.
1587 * testsuite/gas/i386/optimize-1.d: New file.
1588 * testsuite/gas/i386/optimize-1.s: Likewise.
1589 * testsuite/gas/i386/optimize-2.d: Likewise.
1590 * testsuite/gas/i386/optimize-2.s: Likewise.
1591 * testsuite/gas/i386/optimize-3.d: Likewise.
1592 * testsuite/gas/i386/optimize-3.s: Likewise.
1593 * testsuite/gas/i386/x86-64-optimize-1.s: Likewise.
1594 * testsuite/gas/i386/x86-64-optimize-1.d: Likewise.
1595 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1596 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1597 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1598 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1599 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1600 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1602 2018-02-27 Nick Clifton <nickc@redhat.com>
1604 * po/ru.po: Updated Russian translation.
1606 2018-02-26 Maciej W. Rozycki <macro@mips.com>
1608 * doc/as.texinfo (Pseudo Ops): Clean up `.dc' and `.ds'
1611 2018-02-26 Nick Clifton <nickc@redhat.com>
1613 * doc/as.texinfo (Dc): Fix typo.
1615 2018-02-26 Alan Modra <amodra@gmail.com>
1617 * testsuite/gas/mips/reginfo-2.l: Update.
1619 2018-02-23 Alan Modra <amodra@gmail.com>
1621 * testsuite/gas/mips/reginfo-2.l: Update.
1623 2018-02-23 Nick Clifton <nickc@redhat.com>
1625 * doc/as.texinfo (Pseudo Ops): Add nodes for .dc, .dcb and .ds.
1627 2018-02-23 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1629 * config/tc-nds32.c (ict_model): New function. Hook new
1630 directive .ict_model.
1631 (nds32_insert_relax_entry): Tag the bits of entry relocation
1634 2018-02-22 H.J. Lu <hongjiu.lu@intel.com>
1636 * config/tc-i386.c (_i386_insn): Add rex_encoding.
1637 (md_assemble): When i.rex_encoding is true, generate a REX byte
1639 (parse_insn): Set i.rex_encoding for {rex}.
1640 * doc/c-i386.texi: Document {rex}.
1641 * testsuite/gas/i386/x86-64-pseudos.s: Add {rex} tests.
1642 * testsuite/gas/i386/x86-64-pseudos.d: Updated.
1644 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
1647 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
1648 instruction size suffix.
1650 2018-02-20 Maciej W. Rozycki <macro@mips.com>
1652 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
1653 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
1654 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
1655 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
1656 * testsuite/gas/mips/mips.exp: Run the new tests.
1658 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1660 * config/tc-xtensa.c (struct litpool_frag): Add new field
1662 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
1663 (MAX_POOL_LITERALS): New macro definitions.
1664 (auto_litpool_limit): Initialize to 0.
1665 (md_parse_option): Set auto_litpool_limit in the presence of
1666 --auto-litpools option.
1667 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
1668 literal_count field.
1669 (xg_find_litpool): New function. Make sure that found literal
1670 pool size is within the limit.
1671 (xtensa_move_literals): Extract literal pool search code into
1673 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
1674 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
1675 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
1676 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
1678 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
1679 that objdump doesn't get out of sync.
1681 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
1683 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
1684 also the same as -march.
1686 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1688 * NEWS: Mention .nop directive.
1689 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
1690 * read.c (potable): Add .nop.
1691 (s_nop): New function.
1692 * read.h (s_nop): New prototype.
1693 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
1695 (md_generate_nops): New function.
1696 (relax_segment): Likewise.
1697 (write_contents): Use md_generate_nops for rs_fill_nop.
1698 * config/tc-i386.c (alt64_11): New.
1699 (alt64_patt): Likewise.
1700 (md_convert_frag): Handle rs_space_nop.
1701 (i386_output_nops): New function.
1702 (i386_generate_nops): Likewise.
1703 (i386_align_code): Call i386_output_nops.
1704 * config/tc-i386.h (i386_generate_nops): New.
1705 (md_generate_nops): Likewise.
1706 * doc/as.texinfo: Document .nop directive.
1707 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
1708 * testsuite/gas/i386/nop-1.d: New file.
1709 * testsuite/gas/i386/nop-1.s: Likewise.
1710 * testsuite/gas/i386/nop-2.d: Likewise.
1711 * testsuite/gas/i386/nop-2.s: Likewise.
1712 * testsuite/gas/i386/nop-3.d: Likewise.
1713 * testsuite/gas/i386/nop-3.s: Likewise.
1714 * testsuite/gas/i386/nop-4.d: Likewise.
1715 * testsuite/gas/i386/nop-4.s: Likewise.
1716 * testsuite/gas/i386/nop-5.d: Likewise.
1717 * testsuite/gas/i386/nop-5.s: Likewise.
1718 * testsuite/gas/i386/nop-6.d: Likewise.
1719 * testsuite/gas/i386/nop-6.s: Likewise.
1720 * testsuite/gas/i386/nop-bad-1.l: Likewise.
1721 * testsuite/gas/i386/nop-bad-1.s: Likewise.
1722 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
1723 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
1724 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
1725 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
1726 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
1727 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
1729 2018-02-15 Tamar Christina <tamar.christina@arm.com>
1731 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
1732 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
1734 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
1736 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
1737 frag that contains source address.
1739 2018-02-13 Nick Clifton <nickc@redhat.com>
1742 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
1743 instruction before assuming that it is a MOV instruction.
1744 * testsuite/gas/arm/pr22773.s: New test.
1745 * testsuite/gas/arm/pr22773.d: New test driver.
1746 * testsuite/gas/arm/pr22773.l: New expected output.
1748 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1751 * config/tc-i386.c (need_plt32_p): New function.
1752 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
1753 (md_estimate_size_before_relax): Likewise.
1754 * testsuite/gas/i386/reloc64.d: Updated.
1755 * testsuite/gas/i386/x86-64-jump.d: Likewise.
1756 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
1757 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
1758 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
1759 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
1760 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
1761 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1763 2018-02-13 Maciej W. Rozycki <macro@mips.com>
1765 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
1767 2018-02-13 Nick Clifton <nickc@redhat.com>
1770 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
1772 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
1773 (obj_elf_vtable_inherit): New stub function that calls
1774 obj_elf_get_vtable_inherit.
1775 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
1776 (obj_elf_vtable_entry): New stub function that calls
1777 obj_elf_get_vtable_entry.
1778 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
1779 (obj_elf_vtable_entry) Likewise.
1780 (obj_elf_get_vtable_inherit) Likewise.
1781 (obj_elf_get_vtable_entry) Likewise.
1782 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
1783 * config/tc-i386c (md_pseudo_table): Likewise.
1784 * config/tc-hppa.c (pa_vtable_entry): Call
1785 obj_elf_get_vtable_entry.
1786 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
1787 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
1788 with call to dwarf2_get_filename.
1789 * dwarf2dbg.c (dwarf2_directive_file): Rename to
1790 dwarf2_directive_filename.
1791 (dwarf2_directive_file): New stub function that calls
1792 dwarf2_directive_filename.
1793 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
1795 2018-02-12 Maciej W. Rozycki <macro@mips.com>
1797 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
1800 2018-02-12 Henry Wong <henry@stuffedcow.net>
1802 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
1803 * testsuite/gas/mips/r6-n32.d: Likewise.
1804 * testsuite/gas/mips/r6-n64.d: Likewise.
1806 2018-02-12 Nick Clifton <nickc@redhat.com>
1808 * po/ru.po: Updated Russian translation.
1810 2018-02-08 Alan Modra <amodra@gmail.com>
1813 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
1814 (ppc_frag_check): Likewise.
1815 * testsuite/gas/ppc/misalign.d,
1816 * testsuite/gas/ppc/misalign.l,
1817 * testsuite/gas/ppc/misalign.s: New test.
1818 * testsuite/gas/ppc/misalign2.d,
1819 * testsuite/gas/ppc/misalign2.s: New test.
1820 * testsuite/gas/ppc/ppc.exp: Run them.
1822 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1824 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
1825 `expr' parameter to `ep'.
1827 2018-02-05 Maciej W. Rozycki <macro@mips.com>
1829 * testsuite/gas/mips/reginfo-2.d: New test.
1830 * testsuite/gas/mips/reginfo-2-n32.d: New test.
1831 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
1832 * testsuite/gas/mips/reginfo-2.s: New test source.
1833 * testsuite/gas/mips/mips.exp: Run the new tests.
1835 2018-02-05 Nick Clifton <nickc@redhat.com>
1837 * po/ru.po: Updated Russian translation.
1839 2018-01-31 Alan Modra <amodra@gmail.com>
1842 * app.c (last_char): New static var.
1843 (struct app_save): Add last_char field.
1844 (app_push, app_pop): Handle it.
1845 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
1847 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1850 * config/tc-sparc.h (sparc_mach): Declare.
1851 (TARGET_MACH): Define to above.
1852 * config/tc-sparc.c (sparc_mach): New function.
1853 (sparc_md_end): Minor tweak.
1855 2018-01-29 Nick Clifton <nickc@redhat.com>
1857 * po/ru.po: Updated Russian translation.
1859 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1861 * configure.tgt: Use generic emulation for `mips-*-windiss',
1862 overriding the blanket choice made for `*-*-windiss'.
1864 2018-01-26 Maciej W. Rozycki <macro@mips.com>
1866 * configure.tgt: Use `mips-*-sysv4*' rather than
1869 2018-01-24 Renlin Li <renlin.li@arm.com>
1871 * config/tc-aarch64.c (reloc_table): add entries for
1872 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
1873 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
1874 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
1875 BFD_RELOC_AARCH64_MOVW_PREL_G3.
1876 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
1877 (md_apply_fix): Likewise
1878 * testsuite/gas/aarch64/prel_g0.s: New.
1879 * testsuite/gas/aarch64/prel_g0.d: New.
1880 * testsuite/gas/aarch64/prel_g0_nc.s: New.
1881 * testsuite/gas/aarch64/prel_g0_nc.d: New.
1882 * testsuite/gas/aarch64/prel_g1.s: New.
1883 * testsuite/gas/aarch64/prel_g1.d: New.
1884 * testsuite/gas/aarch64/prel_g1_nc.s: New.
1885 * testsuite/gas/aarch64/prel_g1_nc.d: New.
1886 * testsuite/gas/aarch64/prel_g2.s: New.
1887 * testsuite/gas/aarch64/prel_g2.d: New.
1888 * testsuite/gas/aarch64/prel_g2_nc.s: New.
1889 * testsuite/gas/aarch64/prel_g2_nc.d: New.
1890 * testsuite/gas/aarch64/prel_g3.s: New.
1891 * testsuite/gas/aarch64/prel_g3.d: New.
1893 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1895 * configure.ac: Also set `mips_default_abi' to N32_ABI for
1897 * configure: Regenerate.
1899 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1901 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
1904 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1906 * config/tc-i386.c (cpu_arch): Add .pconfig.
1907 * doc/c-i386.texi: Document .pconfig.
1908 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
1909 * testsuite/gas/i386/pconfig-intel.d: New test.
1910 * testsuite/gas/i386/pconfig.d: Likewise.
1911 * testsuite/gas/i386/pconfig.s: Likewise.
1912 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
1913 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
1914 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
1916 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1918 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
1919 * doc/c-i386.texi: Document .wbnoinvd.
1920 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
1921 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
1922 * testsuite/gas/i386/wbnoinvd.d: Likewise.
1923 * testsuite/gas/i386/wbnoinvd.s: Likewise.
1924 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
1925 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
1926 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
1928 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1930 * config/tc-mips.c (md_show_usage): Correctly indicate the
1931 configuration-specific default ABI.
1933 2018-01-23 Maciej W. Rozycki <macro@mips.com>
1935 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
1936 `-mno-mips16e2' options.
1938 2018-01-22 Maciej W. Rozycki <macro@mips.com>
1940 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
1941 Correct syntax of the `.set nomips16e2' directive description.
1943 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
1946 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
1947 * testsuite/gas/rx/pr22737.s: New test.
1948 * testsuite/gas/rx/pr22737.d: Likewise.
1949 * testsuite/gas/rx/rx.exp: Run the new test.
1951 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
1953 * config/tc-arm.c (ToC macro): Remove spurious comment.
1954 (ToU macro): Likewise.
1956 2018-01-17 Jim Wilson <jimw@sifive.com>
1958 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
1959 (riscv_ip) <'z'>: New.
1961 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1963 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
1964 (cpu_noarch): Add noibt, noshstk.
1965 (parse_insn): Change cpucet to cpuibt.
1966 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
1967 * testsuite/gas/i386/cet-ibt-inval.l: New test.
1968 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
1969 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
1970 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
1971 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
1972 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
1973 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
1974 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
1976 2018-01-16 Nick Clifton <nickc@redhat.com>
1978 * po/fr.po: Updated French translation.
1980 2018-01-15 Jim Wilson <jimw@sifive.com>
1982 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
1983 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
1985 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1987 * config/tc-arm.c (ToC): Define macro.
1989 (insns): Make use of above macros for new instructions introduced in
1992 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1994 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
1995 and vlstm conditionally executable and reindent parameters.
1996 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
1997 aforementionned instructions.
1999 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2001 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
2002 profile architecture or if in autodetection mode. Clarify that
2003 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
2004 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
2006 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
2007 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
2008 * testsuite/gas/arm/udf.l: Likewise.
2009 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
2011 2018-01-15 Nick Clifton <nickc@redhat.com>
2013 * po/uk.po: Updated Ukranian translation.
2015 2018-01-13 Nick Clifton <nickc@redhat.com>
2017 * po/gas.pot: Regenerated.
2019 2018-01-13 Nick Clifton <nickc@redhat.com>
2021 * configure: Regenerate.
2023 2018-01-13 Nick Clifton <nickc@redhat.com>
2025 2.30 branch created.
2026 * NEWS: Add marker for 2.30.
2028 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
2030 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
2031 define to 0 and 1. Remove a dangling reference to "AMD 29000"
2034 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2036 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
2037 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
2038 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
2039 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
2040 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
2041 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
2042 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
2043 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
2045 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
2046 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
2047 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
2048 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
2049 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
2050 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
2051 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
2052 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
2054 2018-01-11 Alan Modra <amodra@gmail.com>
2056 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
2057 positive "‘profile’ may be used uninitialized".
2059 2018-01-10 Jan Beulich <jbeulich@suse.com>
2061 * testsuite/gas/i386/avx512_4fmaps.s,
2062 testsuite/gas/i386/avx512_4fmaps_vl.s,
2063 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
2064 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
2065 Disp8 forms (and the transition happening at the right
2067 * testsuite/gas/i386/avx512_4fmaps.d,
2068 testsuite/gas/i386/avx512_4fmaps-intel.d,
2069 testsuite/gas/i386/avx512_4fmaps_vl.d,
2070 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
2071 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
2072 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
2073 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
2074 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
2077 2018-01-10 Jan Beulich <jbeulich@suse.com>
2079 * testsuite/gas/i386/avx512bw.s,
2080 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
2082 * testsuite/gas/i386/avx512bw-intel.d,
2083 testsuite/gas/i386/avx512bw.d,
2084 testsuite/gas/i386/avx512bw_vl-intel.d.
2085 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
2087 2018-01-09 Jim Wilson <jimw@sifive.com>
2089 * testsuite/gas/riscv/auipc-x0.d: New.
2090 * testsuite/gas/riscv/auipc-x0.s: New.
2092 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
2094 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
2095 in Arm execution state, and Armv6T2 and above in Thumb execution
2097 * testsuite/gas/arm/csdb.s: New.
2098 * testsuite/gas/arm/csdb.d: New.
2099 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
2100 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
2102 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
2104 * testsuite/gas/aarch64/system.d: Update expected results to expect
2107 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
2110 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
2112 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
2113 * testsuite/gas/i386/x86-64-movd.d: Likewise.
2114 * testsuite/gas/i386/x86-64-movd.s: Likewise.
2116 2018-01-08 Nick Clifton <nickc@redhat.com>
2119 * doc/c-i386.texi (i386-Directives): Document the .largecomm
2122 2018-01-04 Jim Wilson <jimw@sifive.com>
2124 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
2125 * testsuite/gas/riscv/priv-reg.d: Likewise.
2127 2018-01-03 Alan Modra <amodra@gmail.com>
2129 Update year range in copyright notice of all files.
2131 2018-01-02 Nick Clifton <nickc@redhat.com>
2134 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
2135 version of ARM MRS instruction.
2137 For older changes see ChangeLog-2017
2139 Copyright (C) 2018 Free Software Foundation, Inc.
2141 Copying and distribution of this file, with or without modification,
2142 are permitted in any medium without royalty provided the copyright
2143 notice and this notice are preserved.
2149 version-control: never