1 2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
3 * gas/config/tc-csky.c (md_begin): Set attributes.
4 (isa_flag): Change type to unsigned 64 bits.
5 (struct csky_cpu_info): Likewise.
6 (struct csky_macro_info): Likewise.
7 (set_csky_attribute): New.
8 * testsuite/gas/csky/802j.d: Ignore .csky.attributes section.
9 * testsuite/gas/csky/all.d: Likewise.
10 * testsuite/gas/csky/bsr1.d: Likewise.
11 * testsuite/gas/csky/csky_vdsp.d: Likewise.
12 * testsuite/gas/csky/cskyv2_all.d: Likewise.
13 * testsuite/gas/csky/cskyv2_ck803r2.d: Likewise.
14 * testsuite/gas/csky/cskyv2_ck860.d: Likewise.
15 * testsuite/gas/csky/cskyv2_dsp.d: Likewise.
16 * testsuite/gas/csky/cskyv2_elrw.d: Likewise.
17 * testsuite/gas/csky/cskyv2_float.d: Likewise.
18 * testsuite/gas/csky/enhance_dsp.d: Likewise.
19 * testsuite/gas/csky/java.d: Likewise.
20 * testsuite/gas/csky/v1_float.d: Likewise.
21 * testsuite/gas/csky/v2_float_part1.d: Likewise.
22 * testsuite/gas/csky/v2_float_part2.d: Likewise.
23 * testsuite/gas/csky/v2_tls_gd.d: Likewise.
24 * testsuite/gas/csky/v2_tls_ie.d: Likewise.
25 * testsuite/gas/csky/v2_tls_ld.d: Likewise.
26 * testsuite/gas/csky/v2_tls_le.d: Likewise.
27 * testsuite/gas/elf/elf.exp: Add handler for CSKY.
28 * testsuite/gas/elf/section2.e-csky: New.
30 2020-08-27 Alan Modra <amodra@gmail.com>
33 * cgen.c (weak_operand_overflow_check): Handle opmask for
34 operand length zero. Use 1UL constant.
36 2020-08-26 Alan Modra <amodra@gmail.com>
39 * config/tc-xtensa.c (xg_get_trampoline_chain): Return early
40 when n_entries is zero.
42 2020-08-26 Alan Modra <amodra@gmail.com>
45 * symbols.c: Include limits.h.
46 (resolve_symbol_value <O_left_shift, O_right_shift>): Do an
47 unsigned shift. Warn if shift count larger than valueT size.
49 2020-08-26 Alan Modra <amodra@gmail.com>
52 * expr.c (expr <O_left_shift>): Do an unsigned shift.
54 2020-08-25 Alan Modra <amodra@gmail.com>
56 2020-08-26 David Faust <david.faust@oracle.com>
58 * config/tc-bpf.c: Add option -mxbpf to select xbpf isa.
59 * testsuite/gas/bpf/indcall-1.d: New file.
60 * testsuite/gas/bpf/indcall-1.s: Likewise.
61 * testsuite/gas/bpf/indcall-bad-1.l: Likewise.
62 * testsuite/gas/bpf/indcall-bad-1.s: Likewise.
63 * testsuite/gas/bpf/bpf.exp: Run new tests.
65 2020-08-25 Alan Modra <amodra@gmail.com>
68 * gas/config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat
69 misc_symbol_hash entries without values.
71 2020-08-25 Alan Modra <amodra@gmail.com>
74 * tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn
77 2020-08-25 Alan Modra <amodra@gmail.com>
80 * config/tc-cr16.c (get_b_cc): Return NULL early if op isn't
81 two or three chars, and don't bother copying.
83 2020-08-25 Alan Modra <amodra@gmail.com>
86 * config/tc-arm.c (do_neon_mvn, do_neon_swp): Bail out on
89 2020-08-25 Alan Modra <amodra@gmail.com>
92 * symbols.c (dollar_label_count, dollar_label_max): Make size_t.
93 (dollar_label_clear): Don't call memset with NULL pointer.
95 2020-08-25 Alan Modra <amodra@gmail.com>
97 * config/tc-arc.c (declare_register_set): Avoid false positive
98 format-overflow warning.
99 * config/tc-epiphany.c (md_assemble): Likewise.
100 * config/tc-mips.c (md_begin): Likewise.
101 * config/tc-mmix.c (mmix_md_begin): Likewise.
102 * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false
103 positive "may be used uninitialized" warning.
105 2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
107 * config/tc-csky.c (csky_archs): Add item for CK860,
108 change ck810 and ck807's arch_flag.
109 (csky_cpus): Add item for CK860.
110 (md_begin): Enable DSP for CK810 and CK807 by default.
111 (md_apply_fix): Fix CKCORE_TLS_IE32 relocation failure.
112 * gas/testsuite/gas/csky/cskyv2_all.d: Change 'sync 0'
114 * gas/testsuite/gas/csky/cskyv2_all.s: Likewise.
115 * gas/testsuite/gas/csky/cskyv2_ck860.d: New.
116 * gas/testsuite/gas/csky/cskyv2_ck860.s: New.
117 * gas/testsuite/gas/csky/enhance_dsp.d: Change plsli.u16
119 * gas/testsuite/gas/csky/enhance_dsp.s: Likewise.
121 2020-08-24 Alan Modra <amodra@gmail.com>
123 * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name"
124 in case where it isn't copied.
125 * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef.
126 * testsuite/gas/tic54x/field.d: Dump section contents and symbols
127 rather than disassembling.
128 * testsuite/gas/tic54x/set.d: Adjust for newer disassembly.
130 2020-08-24 Alan Modra <amodra@gmail.com>
132 * config/tc-aarch64.c (md_begin): Don't bother checking for
133 out of memory failure from str_htab_create.
134 * config/tc-arc.c (arc_insert_opcode, md_begin): Likewise.
135 (arc_extcorereg, arc_stralloc): Likewise.
136 * config/tc-arm.c (md_begin): Likewise.
137 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
138 * config/tc-cris.c (md_begin): Likewise.
139 * config/tc-crx.c (md_begin): Likewise.
140 * config/tc-pdp11.c (md_begin): Likewise.
141 * config/tc-score.c (s3_build_reg_hsh, s3_begin): Likewise.
142 * config/tc-score7.c (s7_build_reg_hsh, s7_begin): Likewise.
144 2020-08-24 Alan Modra <amodra@gmail.com>
146 * config/tc-arm.c (move_or_literal_pool): Avoid false positive
147 "may be used uninitialised".
148 (opcode_lookup): Likewise.
150 2020-08-24 Alan Modra <amodra@gmail.com>
153 * symbols.c (local_symbol_convert): Clear out xtra.
155 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
157 * config/tc-csky.c (CSKY_ISA_803R2): New.
158 (csky_archs): Add ck803r2 series.
159 (md_begin): Fix warning about -medsp.
160 (csky_get_freg_val): Support lowercase of fpu register name.
161 * testsuite/gas/csky/cskyv2_ck803r2.s: New file.
162 * testsuite/gas/csky/cskyv2_ck803r2.d: New file.
164 2020-08-23 Alan Modra <amodra@gmail.com>
167 * hash.h (htab_insert): Update prototype and comment.
168 (struct string_tuple): Make "value" a const void*.
169 (string_tuple_alloc): Likewise.
170 (str_hash_find, str_hash_find_n): Cast returned value.
171 (str_hash_insert): Add "replace" parameter, and return slot pointer.
172 Free alloc'd element when not inserted.
173 * hash.c (htab_insert): Likewise. Return slot when element exists,
174 otherwise return NULL.
175 * read.c (pop_insert): Insert into hash table without first searching.
176 * config/tc-avr.c (md_begin): Likewise.
177 * config/tc-msp430.c (md_begin): Likewise.
178 * config/tc-nds32.c (nds32_init_nds32_pseudo_opcodes): Likewise.
179 * config/tc-v850.c (md_begin): Likewise.
180 * macro.c (do_formals, define_macro, macro_expand_body): Likewise.
181 (delete_macro): Delete from hash table.
182 * config/tc-tic54x.c (subsym_create_or_replace): Correct logic.
184 * symbols.c (local_symbol_make, symbol_table_insert): Allow
185 replacement of hash table entries.
186 * config/obj-coff-seh.c (seh_hash_insert): Likewise.
187 * config/obj-coff.c (tag_insert): Likewise.
188 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
189 * config/tc-m68k.c (md_begin): Likewise for aliases.
190 * config/tc-tic4x.c (tic4x_asg): Likewise.
191 * config/tc-tic6x.c (md_begin): Likewise.
193 * dw2gencfi.c (dwcfi_hash_find_or_make): Disallow replacement of
195 * ecoff.c (add_string, get_tag): Likewise.
196 * macro.c (expand_irp): Likewise.
197 * config/obj-elf.c (build_additional_section_info): Likewise.
198 * config/tc-aarch64.c (insert_reg_alias): Likewise.
199 (checked_hash_insert): Likewise.
200 * config/tc-alpha.c (get_alpha_reloc_tag, md_begin): Likewise.
201 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
202 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
203 * config/tc-arm.c (insert_reg_alias): Likewise.
204 (arm_tc_equal_in_insn, md_begin): Likewise.
205 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
206 * config/tc-cris.c (md_begin): Likewise.
207 * config/tc-crx.c (md_begin): Likewise.
208 * config/tc-csky.c (md_begin): Likewise.
209 * config/tc-d10v.c (md_begin): Likewise.
210 * config/tc-dlx.c (md_begin): Likewise.
211 * config/tc-ft32.c (md_begin): Likewise.
212 * config/tc-h8300.c (md_begin): Likewise.
213 * config/tc-hppa.c (md_begin): Likewise.
214 * config/tc-i386.c (md_begin): Likewise.
215 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
216 (md_begin, dot_alias): Likewise.
217 * config/tc-m68hc11.c (md_begin): Likewise.
218 * config/tc-m68k.c (md_begin): Likewise.
219 * config/tc-mcore.c (md_begin): Likewise.
220 * config/tc-microblaze.c (md_begin): Likewise.
221 * config/tc-mips.c (md_begin): Likewise.
222 * config/tc-mmix.c (md_begin): Likewise.
223 * config/tc-mn10200.c (md_begin): Likewise.
224 * config/tc-mn10300.c (md_begin): Likewise.
225 * config/tc-moxie.c (md_begin): Likewise.
226 * config/tc-nds32.c (nds32_relax_hint, md_begin): Likewise.
227 * config/tc-nios2.c (md_begin): Likewise.
228 * config/tc-ns32k.c (md_begin): Likewise.
229 * config/tc-pdp11.c (md_begin): Likewise.
230 * config/tc-pj.c (fake_opcode, md_begin): Likewise.
231 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
232 * config/tc-pru.c (md_begin): Likewise.
233 * config/tc-riscv.c (init_ext_version_hash): Likewise.
234 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
235 (riscv_init_csr_hash): Likewise.
236 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
237 * config/tc-score.c (s3_insert_reg): Likewise.
238 (s3_build_score_ops_hsh, s3_build_dependency_insn_hsh): Likewise.
239 * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
240 (s7_build_dependency_insn_hsh, s7_insert_reg): Likewise.
241 * config/tc-sh.c (md_begin): Likewise.
242 * config/tc-sparc.c (md_begin): Likewise.
243 * config/tc-spu.c (md_begin): Likewise.
244 * config/tc-tic30.c (md_begin): Likewise.
245 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
246 * config/tc-tic54x.c (stag_add_field_symbols, md_begin): Likewise.
247 (tic54x_endstruct, tic54x_var, tic54x_macro_info): Likewise.
248 (subsym_substitute): Likewise.
249 * config/tc-tilegx.c (md_begin): Likewise.
250 * config/tc-tilepro.c (md_begin): Likewise.
251 * config/tc-vax.c (vip_begin): Likewise.
252 * config/tc-wasm32.c (md_begin): Likewise.
253 * config/tc-xgate.c (md_begin): Likewise.
254 * config/tc-z8k.c (md_begin): Likewise.
255 * testsuite/gas/ppc/dcbt.d,
256 * testsuite/gas/ppc/dcbt.s: New test.
257 * testsuite/gas/ppc/ppc.exp: Run it.
259 * ecoff.c (add_string): Report fatal error on duplicates.
260 * config/tc-alpha.c (md_begin): Likewise.
261 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
262 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
263 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
264 * config/tc-cris.c (md_begin): Likewise.
265 * config/tc-crx.c (md_begin): Likewise.
266 * config/tc-dlx.c (md_begin): Likewise.
267 * config/tc-hppa.c (md_begin): Likewise.
268 * config/tc-i386.c (md_begin): Likewise.
269 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
270 (md_begin): Likewise.
271 * config/tc-m68k.c (md_begin): Likewise.
272 * config/tc-mips.c (md_begin): Likewise.
273 * config/tc-nios2.c (md_begin): Likewise.
274 * config/tc-ns32k.c (md_begin): Likewise.
275 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
276 * config/tc-pru.c (md_begin): Likewise.
277 * config/tc-riscv.c (init_ext_version_hash): Likewise.
278 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
279 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
280 * config/tc-sparc.c (md_begin): Likewise.
281 * config/tc-tic30.c (md_begin): Likewise.
282 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
283 * config/tc-tilegx.c (md_begin): Likewise.
284 * config/tc-tilepro.c (md_begin): Likewise.
285 * config/tc-vax.c (vip_begin): Likewise.
293 * config/tc-m68hc11.c,
295 * config/tc-microblaze.c,
300 * config/tc-score7.c,
302 * config/tc-tic54x.c,
303 * config/tc-tilegx.c,
304 * config/tc-tilepro.c,
305 * config/tc-xgate.c: Formatting.
307 2020-08-21 Alan Modra <amodra@gmail.com>
309 * symbols.c (struct local_symbol): Add "hash" entry. Reorder fields.
310 Delete union. Adjust code throughout file.
311 (struct symbol): Add "hash", "name" and "x" entries. Reorder fields.
313 (struct xsymbol): ..this. New struct. Adjust code throughout file
314 accessing these fields.
315 (struct symbol_entry): Delete.
316 (union symbol_entry): New.
317 (hash_symbol_entry): Adjust for symbol_entry_t change.
318 (symbol_entry_find): Likewise.
319 (eq_symbol_entry): Compare hash values too.
320 (symbol_entry_alloc): Delete.
321 (local_symbol_converted_p, local_symbol_mark_converted): Delete.
322 (local_symbol_get_real_symbol, local_symbol_set_real_symbol): Delete.
323 (local_hash): Delete.
324 (abs_symbol_x, dot_symbol_x): New static var.
325 (symbol_init): New function.
326 (symbol_create): Rewrite.
327 (LOCAL_SYMBOL_CHECK): Delete. Replace uses throughout with simple
328 test of flags.local_symbol.
329 (local_symbol_make): Adjust for struct local_symbol changes.
330 (local_symbol_convert): Rewrite. Adjust all callers.
331 (symbol_table_insert): Simplify.
332 (symbol_clone): Comment on local sym cloning. Handle split symbol
334 (get_real_sym): Delete. Remove all uses.
335 (symbol_find_exact_noref): Simplify.
336 (resolve_local_symbol): Don't resolve non-locals.
337 (S_SET_SEGMENT): Don't special case reg_section.
338 (S_SET_NAME): Set both name and bsym->name.
339 (symbol_mark_resolved, symbol_resolved_p): Simplify.
340 (symbol_symbolS): Update comment.
341 (symbol_begin): Don't create local_hash. Adjust abs_symbol setup.
342 (dot_symbol_init): Adjust dot_symbol setup.
343 (symbol_print_statistics): Delete local_hash stats.
345 2020-08-21 Alan Modra <amodra@gmail.com>
347 * symbols.c (struct symbol_flags): Rename sy_volatile to volatil,
348 and remove sy_ from other field names. Update throughout.
349 (struct symbol): Remove sy_ from field names. Delete unused
350 TARGET_SYMBOL_FIELDS. Update throughout file. Move after..
351 (struct local_symbol): ..here. Remove lsy_ from field names.
352 Delete unused TC_LOCAL_SYMFIELD_TYPE. Update throughout file.
353 (local_symbol_resolved_p, local_symbol_mark_resolved): Delete.
354 Expand uses throughout file.
355 (local_symbol_get_frag, local_symbol_set_frag): Likewise.
356 (symbol_new): Move symbol_table_frozen test to..
357 (symbol_append): ..here, and..
358 (symbol_insert): ..here.
359 (resolve_symbol_value, symbol_relc_make_expr): White space fixes.
360 (HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise.
361 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update.
363 2020-08-21 Alan Modra <amodra@gmail.com>
365 * symbols.h (symbol_new, symbol_create, local_symbol_make),
366 (symbol_temp_new): Arrange params as section, frag, offset.
367 * symbols.c: Adjust to suit.
370 * dwarf2dbg.c: Likewise.
373 * itbl-ops.c: Likewise.
376 * subsegs.c: Likewise.
377 * config/obj-coff.c: Likewise.
378 * config/obj-elf.c: Likewise.
379 * config/obj-macho.c: Likewise.
380 * config/tc-aarch64.c: Likewise.
381 * config/tc-alpha.c: Likewise.
382 * config/tc-arc.c: Likewise.
383 * config/tc-arm.c: Likewise.
384 * config/tc-avr.c: Likewise.
385 * config/tc-cr16.c: Likewise.
386 * config/tc-cris.c: Likewise.
387 * config/tc-csky.c: Likewise.
388 * config/tc-dlx.c: Likewise.
389 * config/tc-hppa.c: Likewise.
390 * config/tc-i386.c: Likewise.
391 * config/tc-ia64.c: Likewise.
392 * config/tc-m32r.c: Likewise.
393 * config/tc-m68k.c: Likewise.
394 * config/tc-mips.c: Likewise.
395 * config/tc-mmix.c: Likewise.
396 * config/tc-mn10200.c: Likewise.
397 * config/tc-mn10300.c: Likewise.
398 * config/tc-nds32.c: Likewise.
399 * config/tc-nios2.c: Likewise.
400 * config/tc-ppc.c: Likewise.
401 * config/tc-riscv.c: Likewise.
402 * config/tc-s390.c: Likewise.
403 * config/tc-sh.c: Likewise.
404 * config/tc-tic4x.c: Likewise.
405 * config/tc-tic54x.c: Likewise.
406 * config/tc-xtensa.c: Likewise.
408 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
410 * config/tc-csky.c (csky_insn_info): Add member last_isize.
411 (md_assemble): Assign value to csky_insn.last_isize.
412 * testsuite/gas/csky/enhance_dsp.d: Test bloop's two operands form.
413 * testsuite/gas/csky/enhance_dsp.s: Likewise.
415 2020-08-20 Martin Liska <mliska@suse.cz>
417 * NEWS: Mention --reduce-memory-overheads and --hash-size arguments
419 * as.c: Remove the options from help.
420 * doc/as.texi: Remove options.
421 * doc/internals.texi: Remove hash from documentation.
422 * hash.c (struct hash_entry): Remove.
423 (struct hash_control): Likewise.
424 (set_gas_hash_table_size): Likewise.
425 (hash_new_sized): Likewise.
426 (hash_new): Likewise.
427 (hash_die): Likewise.
428 (hash_lookup): Likewise.
429 (hash_insert): Likewise.
430 (hash_jam): Likewise.
431 (hash_replace): Likewise.
432 (hash_find): Likewise.
433 (hash_find_n): Likewise.
434 (hash_delete): Likewise.
435 (hash_traverse): Likewise.
436 (hash_print_statistics): Likewise.
438 (STATBUFSIZE): Likewise.
442 (applicatee): Likewise.
443 (whattable): Likewise.
444 * hash.h (struct hash_control): Likewise.
445 (set_gas_hash_table_size): Likewise.
446 (hash_new): Likewise.
447 (hash_new_sized): Likewise.
448 (hash_die): Likewise.
449 (hash_insert): Likewise.
450 (hash_jam): Likewise.
451 (hash_replace): Likewise.
452 (hash_find): Likewise.
453 (hash_find_n): Likewise.
454 (hash_delete): Likewise.
455 (hash_traverse): Likewise.
456 (hash_print_statistics): Likewise.
458 2020-08-20 Martin Liska <mliska@suse.cz>
460 * config/obj-coff-seh.c (seh_hash_insert): Port to use new
462 (seh_hash_find): Likewise.
463 (seh_hash_find_or_make): Likewise.
464 * config/obj-coff.c (tag_init): Likewise.
465 (tag_insert): Likewise.
466 (tag_find): Likewise.
467 * config/obj-elf.c (struct group_list): Likewise.
468 (build_additional_section_info): Likewise.
469 (free_section_idx): Likewise.
470 (elf_adjust_symtab): Likewise.
471 (elf_frob_file_after_relocs): Likewise.
472 * config/tc-aarch64.c (INSN_SIZE): Likewise.
473 (parse_reg): Likewise.
474 (insert_reg_alias): Likewise.
475 (create_register_alias): Likewise.
477 (parse_shift): Likewise.
478 (parse_pldop): Likewise.
479 (parse_barrier): Likewise.
480 (parse_barrier_psb): Likewise.
481 (parse_bti_operand): Likewise.
482 (parse_sys_reg): Likewise.
483 (parse_sys_ins_reg): Likewise.
484 (lookup_mnemonic): Likewise.
485 (opcode_lookup): Likewise.
486 (parse_operands): Likewise.
487 (checked_hash_insert): Likewise.
488 (sysreg_hash_insert): Likewise.
489 (fill_instruction_hash_table): Likewise.
490 (md_begin): Likewise.
491 * config/tc-alpha.c (struct alpha_reloc_tag): Likewise.
492 (get_alpha_reloc_tag): Likewise.
493 (assemble_tokens_to_insn): Likewise.
494 (assemble_tokens): Likewise.
495 (md_begin): Likewise.
496 * config/tc-arc.c (arc_find_opcode): Likewise.
497 (arc_insert_opcode): Likewise.
498 (find_opcode_match): Likewise.
499 (declare_register): Likewise.
500 (declare_addrtype): Likewise.
501 (md_begin): Likewise.
502 (arc_parse_name): Likewise.
503 (tc_arc_regname_to_dw2regnum): Likewise.
504 (arc_extcorereg): Likewise.
505 * config/tc-arm.c (MVE_BAD_QREG): Likewise.
506 (arm_reg_parse_multi): Likewise.
507 (parse_reloc): Likewise.
508 (insert_reg_alias): Likewise.
509 (create_register_alias): Likewise.
511 (parse_shift): Likewise.
512 (parse_psr): Likewise.
513 (parse_cond): Likewise.
514 (parse_barrier): Likewise.
515 (do_vfp_nsyn_opcode): Likewise.
516 (opcode_lookup): Likewise.
517 (arm_tc_equal_in_insn): Likewise.
518 (md_begin): Likewise.
519 * config/tc-avr.c (md_begin): Likewise.
520 (avr_ldi_expression): Likewise.
521 (md_assemble): Likewise.
522 (avr_update_gccisr): Likewise.
523 (avr_emit_insn): Likewise.
524 * config/tc-cr16.c (get_register): Likewise.
525 (get_register_pair): Likewise.
526 (get_index_register): Likewise.
527 (get_index_register_pair): Likewise.
528 (get_pregister): Likewise.
529 (get_pregisterp): Likewise.
530 (initialise_reg_hash_table): Likewise.
531 (md_begin): Likewise.
532 (cr16_assemble): Likewise.
533 (md_assemble): Likewise.
534 * config/tc-cris.c (cris_insn_first_word_frag): Likewise.
535 (md_begin): Likewise.
536 (cris_process_instruction): Likewise.
537 * config/tc-crx.c (get_register): Likewise.
538 (get_copregister): Likewise.
539 (md_begin): Likewise.
540 (md_assemble): Likewise.
541 * config/tc-csky.c (md_begin): Likewise.
542 (parse_opcode): Likewise.
543 (get_operand_value): Likewise.
544 (v1_work_jbsr): Likewise.
545 (v2_work_rotlc): Likewise.
546 (v2_work_bgeni): Likewise.
547 (v2_work_not): Likewise.
548 * config/tc-d10v.c (sizeof): Likewise.
549 (md_begin): Likewise.
550 (do_assemble): Likewise.
551 (md_apply_fix): Likewise.
552 * config/tc-d30v.c (sizeof): Likewise.
553 (md_begin): Likewise.
554 (do_assemble): Likewise.
555 * config/tc-dlx.c (RELOC_DLX_VTENTRY): Likewise.
556 (md_begin): Likewise.
557 (machine_ip): Likewise.
558 * config/tc-ft32.c (md_begin): Likewise.
559 (md_assemble): Likewise.
560 * config/tc-h8300.c (md_begin): Likewise.
561 (md_assemble): Likewise.
562 * config/tc-hppa.c (pa_ip): Likewise.
563 (md_begin): Likewise.
564 * config/tc-i386.c (md_begin): Likewise.
565 (i386_print_statistics): Likewise.
566 (parse_insn): Likewise.
567 (process_operands): Likewise.
568 (i386_index_check): Likewise.
569 (parse_real_register): Likewise.
570 * config/tc-ia64.c (dot_rot): Likewise.
571 (dot_entry): Likewise.
572 (declare_register): Likewise.
573 (md_begin): Likewise.
574 (ia64_parse_name): Likewise.
575 (md_assemble): Likewise.
576 (dot_alias): Likewise.
577 (do_alias): Likewise.
578 (ia64_adjust_symtab): Likewise.
579 (do_secalias): Likewise.
580 (ia64_frob_file): Likewise.
581 * config/tc-m68hc11.c (m68hc11_print_statistics): Likewise.
582 (md_begin): Likewise.
583 (print_insn_format): Likewise.
584 (md_assemble): Likewise.
585 * config/tc-m68k.c (tc_gen_reloc): Likewise.
587 (md_begin): Likewise.
588 * config/tc-mcore.c (md_begin): Likewise.
589 (md_assemble): Likewise.
590 * config/tc-microblaze.c (md_begin): Likewise.
591 (md_assemble): Likewise.
592 (md_apply_fix): Likewise.
593 * config/tc-mips.c (nopic_need_relax): Likewise.
594 (md_begin): Likewise.
595 (macro_build): Likewise.
596 (mips16_macro_build): Likewise.
597 (mips_lookup_insn): Likewise.
599 (mips16_ip): Likewise.
600 * config/tc-mmix.c (sizeof): Likewise.
601 (mmix_md_begin): Likewise.
602 (md_assemble): Likewise.
603 * config/tc-mn10200.c (md_begin): Likewise.
604 (md_assemble): Likewise.
605 * config/tc-mn10300.c (HAVE_AM30): Likewise.
606 (md_begin): Likewise.
607 (md_assemble): Likewise.
608 * config/tc-moxie.c (md_begin): Likewise.
609 (md_assemble): Likewise.
610 * config/tc-msp430.c (md_begin): Likewise.
611 (msp430_operands): Likewise.
612 (md_assemble): Likewise.
613 * config/tc-nds32.c (PV_DONT_CARE): Likewise.
614 (builtin_isreg): Likewise.
615 (builtin_regnum): Likewise.
616 (nds32_init_nds32_pseudo_opcodes): Likewise.
617 (nds32_lookup_pseudo_opcode): Likewise.
618 (nds32_relax_hint): Likewise.
619 (md_begin): Likewise.
620 (nds32_find_reloc_table): Likewise.
621 (nds32_elf_append_relax_relocs_traverse): Likewise.
622 (nds32_relax_branch_instructions): Likewise.
623 (md_convert_frag): Likewise.
624 (nds32_elf_analysis_relax_hint): Likewise.
625 (tc_nds32_regname_to_dw2regnum): Likewise.
626 * config/tc-nios2.c (nios2_opcode_lookup): Likewise.
627 (nios2_reg_lookup): Likewise.
628 (nios2_ps_lookup): Likewise.
629 (md_begin): Likewise.
630 * config/tc-ns32k.c (struct hash_control): Likewise.
632 (md_begin): Likewise.
633 * config/tc-pdp11.c (md_begin): Likewise.
634 (md_assemble): Likewise.
635 * config/tc-pj.c (fake_opcode): Likewise.
637 (md_begin): Likewise.
638 (md_assemble): Likewise.
639 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
640 (md_assemble): Likewise.
641 * config/tc-pru.c (pru_opcode_lookup): Likewise.
642 (pru_reg_lookup): Likewise.
643 (md_begin): Likewise.
645 * config/tc-riscv.c (init_ext_version_hash): Likewise.
646 (riscv_get_default_ext_version): Likewise.
647 (riscv_set_arch): Likewise.
648 (init_opcode_names_hash): Likewise.
649 (opcode_name_lookup): Likewise.
650 (enum reg_class): Likewise.
651 (hash_reg_name): Likewise.
652 (riscv_init_csr_hash): Likewise.
653 (reg_csr_lookup_internal): Likewise.
654 (reg_lookup_internal): Likewise.
655 (init_opcode_hash): Likewise.
656 (md_begin): Likewise.
657 (DECLARE_CSR): Likewise.
658 (macro_build): Likewise.
659 (riscv_ip): Likewise.
660 * config/tc-s390.c (register_name): Likewise.
661 (s390_setup_opcodes): Likewise.
662 (md_begin): Likewise.
663 (md_assemble): Likewise.
664 (s390_insn): Likewise.
665 * config/tc-score.c (struct s3_reg_map): Likewise.
666 (s3_score_reg_parse): Likewise.
667 (s3_dependency_type_from_insn): Likewise.
668 (s3_parse_16_32_inst): Likewise.
669 (s3_parse_48_inst): Likewise.
670 (s3_insert_reg): Likewise.
671 (s3_build_reg_hsh): Likewise.
672 (s3_build_score_ops_hsh): Likewise.
673 (s3_build_dependency_insn_hsh): Likewise.
674 (s3_begin): Likewise.
675 * config/tc-score7.c (struct s7_reg_map): Likewise.
676 (s7_score_reg_parse): Likewise.
677 (s7_dependency_type_from_insn): Likewise.
678 (s7_parse_16_32_inst): Likewise.
679 (s7_build_score_ops_hsh): Likewise.
680 (s7_build_dependency_insn_hsh): Likewise.
681 (s7_insert_reg): Likewise.
682 (s7_build_reg_hsh): Likewise.
683 (s7_begin): Likewise.
684 * config/tc-sh.c (EMPTY): Likewise.
685 (md_begin): Likewise.
686 (find_cooked_opcode): Likewise.
687 * config/tc-sparc.c (md_begin): Likewise.
688 (sparc_ip): Likewise.
689 * config/tc-spu.c (md_begin): Likewise.
690 (md_assemble): Likewise.
691 * config/tc-tic30.c (md_begin): Likewise.
692 (tic30_operand): Likewise.
693 (tic30_parallel_insn): Likewise.
694 (md_assemble): Likewise.
695 * config/tc-tic4x.c (TIC4X_ALT_SYNTAX): Likewise.
696 (tic4x_asg): Likewise.
697 (tic4x_inst_insert): Likewise.
698 (tic4x_inst_add): Likewise.
699 (md_begin): Likewise.
700 (tic4x_operand_parse): Likewise.
701 (md_assemble): Likewise.
702 * config/tc-tic54x.c (MAX_SUBSYM_HASH): Likewise.
703 (stag_add_field_symbols): Likewise.
704 (tic54x_endstruct): Likewise.
705 (tic54x_tag): Likewise.
706 (tic54x_remove_local_label): Likewise.
707 (tic54x_clear_local_labels): Likewise.
708 (tic54x_var): Likewise.
709 (tic54x_macro_start): Likewise.
710 (tic54x_macro_info): Likewise.
711 (tic54x_macro_end): Likewise.
712 (subsym_isreg): Likewise.
713 (subsym_structsz): Likewise.
714 (md_begin): Likewise.
715 (is_mmreg): Likewise.
717 (encode_condition): Likewise.
718 (encode_cc3): Likewise.
719 (encode_cc2): Likewise.
720 (encode_operand): Likewise.
721 (tic54x_parse_insn): Likewise.
722 (tic54x_parse_parallel_insn_firstline): Likewise.
723 (subsym_create_or_replace): Likewise.
724 (subsym_lookup): Likewise.
725 (subsym_substitute): Likewise.
726 (tic54x_undefined_symbol): Likewise.
727 * config/tc-tic6x.c (md_begin): Likewise.
728 (md_assemble): Likewise.
729 * config/tc-tilegx.c (O_hw2_last_plt): Likewise.
730 (INSERT_SPECIAL_OP): Likewise.
731 (md_begin): Likewise.
732 (tilegx_parse_name): Likewise.
733 (parse_reg_expression): Likewise.
734 (md_assemble): Likewise.
735 * config/tc-tilepro.c (O_tls_ie_load): Likewise.
736 (INSERT_SPECIAL_OP): Likewise.
737 (tilepro_parse_name): Likewise.
738 (parse_reg_expression): Likewise.
739 (md_assemble): Likewise.
740 * config/tc-v850.c (md_begin): Likewise.
741 (md_assemble): Likewise.
742 * config/tc-vax.c (md_ri_to_chars): Likewise.
743 (vip_begin): Likewise.
746 (md_begin): Likewise.
747 * config/tc-wasm32.c (md_begin): Likewise.
748 (md_assemble): Likewise.
749 * config/tc-xgate.c (xgate_parse_operand): Likewise.
750 (md_begin): Likewise.
751 (md_assemble): Likewise.
752 * config/tc-z8k.c (md_begin): Likewise.
753 (md_assemble): Likewise.
755 2020-08-20 Martin Liska <mliska@suse.cz>
757 * dw2gencfi.c (dwcfi_hash_insert): Use htab_t and str_hash_*
759 (dwcfi_hash_find): Likewise.
760 (dwcfi_hash_find_or_make): Likewise.
762 2020-08-20 Martin Liska <mliska@suse.cz>
764 * ecoff.c (INIT_VARRAY): Use htab_t.
765 (add_string): Likewise.
766 (ecoff_read_begin_hook): Use new str_htab_create.
767 (get_tag): Use htab_t.
768 (add_file): Likewise.
770 2020-08-20 Martin Liska <mliska@suse.cz>
772 * hash.h (struct string_tuple): New.
773 (hash_string_tuple): Likewise.
774 (eq_string_tuple): Likewise.
775 (string_tuple_alloc): Likewise.
776 (str_hash_find): Likewise.
777 (str_hash_find_n): Likewise.
778 (str_hash_delete): Likewise.
779 (str_hash_insert): Likewise.
780 (str_htab_create): Likewise.
782 2020-08-20 Martin Liska <mliska@suse.cz>
784 * symbols.c (struct symbol_entry): New.
785 (hash_symbol_entry): Likewise.
786 (eq_symbol_entry): Likewise.
787 (symbol_entry_alloc): Likewise.
788 (symbol_entry_find): Likewise.
789 (local_symbol_make): Use htab hash table.
790 (local_symbol_convert): Likewise.
791 (symbol_table_insert): Likewise.
792 (symbol_find_exact_noref): Likewise.
793 (resolve_local_symbol): Likewise.
794 (resolve_local_symbol_values): Likewise.
795 (symbol_begin): Likewise.
796 (symbol_print_statistics): Likewise.
798 2020-08-20 Martin Liska <mliska@suse.cz>
800 * read.c (struct po_entry): New.
801 (hash_po_entry): Likewise.
802 (eq_po_entry): Likewise.
803 (po_entry_alloc): Likewise.
804 (po_entry_find): Likewise.
805 (pop_insert): Likewise.
806 (pobegin): Use htab hash table.
807 (read_a_source_file): Likewise.
809 (read_print_statistics): Likewise.
810 * config/tc-m68k.c (m68k_conditional_pseudoop): Add const qualifier.
811 * config/tc-m68k.h (m68k_conditional_pseudoop): Likewise.
813 2020-08-20 Martin Liska <mliska@suse.cz>
815 * config/tc-iq2000.c (iq2000_add_macro): Use htab hash table.
816 * macro.c (struct hash_control): Use htab.
817 (macro_init): Likewise.
818 (do_formals): Likewise.
819 (free_macro): Likewise.
820 (define_macro): Likewise.
821 (sub_actual): Likewise.
822 (macro_expand_body): Likewise.
823 (macro_expand): Likewise.
824 (check_macro): Likewise.
825 (delete_macro): Likewise.
826 (expand_irp): Likewise.
827 * macro.h (struct macro_hash_entry): New struct.
828 (hash_macro_entry): New.
829 (eq_macro_entry): Likewise.
830 (macro_entry_alloc): Likewise.
831 (macro_entry_find): Likewise.
832 (struct formal_hash_entry): Likewise.
833 (hash_formal_entry): Likewise.
834 (eq_formal_entry): Likewise.
835 (formal_entry_alloc): Likewise.
836 (formal_entry_find): Likewise.
838 2020-08-20 Martin Liska <mliska@suse.cz>
840 * as.h: Include hashtab.h.
841 * hash.c (htab_insert): New.
842 (htab_print_statistics): Likewise.
843 * hash.h (htab_insert): Likewise.
844 (htab_print_statistics): Likewise.
846 2020-08-19 Alan Modra <amodra@gmail.com>
848 * testsuite/gas/ppc/int128.s: Correct vcmpuq.
849 * testsuite/gas/ppc/int128.d: Update.
850 * testsuite/gas/ppc/xvtlsbb.d: Update.
852 2020-08-18 Peter Bergner <bergner@linux.ibm.com>
854 * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic.
855 * testsuite/gas/ppc/vsx4.d: Likewise.
857 2020-08-17 Alex Coplan <alex.coplan@arm.com>
859 * config/obj-elf.c (obj_elf_change_section): When repurposing an
860 existing symbol, ensure that we set sy_value as per other (fresh)
862 * testsuite/gas/elf/elf.exp: Add new test.
863 * testsuite/gas/elf/section-symbol-redef.d: New test.
864 * testsuite/gas/elf/section-symbol-redef.s: Input for test.
866 2020-08-13 Nick Clifton <nickc@redhat.com>
869 * config/obj-som.c (obj_som_init_stab_section): Do nothing if the
870 $GDB_DEBUG$ section has already been created.
872 2020-08-12 Joe Ramsay <joe.ramsay@.arm.com>
874 * config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
875 NS_FD shape when MVE is present
876 * testsuite/gas/arm/mve-vcvtne-it-bad.d: New test.
877 * testsuite/gas/arm/mve-vcvtne-it-bad.l: New test.
878 * testsuite/gas/arm/mve-vcvtne-it-bad.s: New test.
879 * testsuite/gas/arm/mve-vcvtne-it.d: New test.
880 * testsuite/gas/arm/mve-vcvtne-it.s: New test.
882 2020-08-12 Alex Coplan <alex.coplan@arm.com>
884 * testsuite/gas/aarch64/mpam-bad.d: New test.
885 * testsuite/gas/aarch64/mpam-bad.l: Error output.
886 * testsuite/gas/aarch64/mpam-bad.s: Input.
887 * testsuite/gas/aarch64/mpam.d: New test.
888 * testsuite/gas/aarch64/mpam.s: Input.
890 2020-08-12 Nick Clifton <nickc@redhat.com>
893 * doc/c-riscv.texi (RISC-V-Options): Fix typo in the description
894 of the -mno-csr-check option.
896 2020-08-12 Nick Clifton <nickc@redhat.com>
898 * po/ru.po: Updated Russian translation.
900 2020-08-10 Alex Coplan <alex.coplan@arm.com>
902 * config/tc-aarch64.c (parse_sys_reg): Don't assert when parsing
903 a long system register.
904 (parse_sys_ins_reg): Likewise.
905 (sysreg_hash_insert): New.
906 (md_begin): Use sysreg_hash_insert() to ensure all system
907 registers are no longer than the maximum length at startup.
908 * testsuite/gas/aarch64/invalid-sysreg-assert.d: New test.
909 * testsuite/gas/aarch64/invalid-sysreg-assert.l: Error output.
910 * testsuite/gas/aarch64/invalid-sysreg-assert.s: Input.
912 2020-08-10 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
914 * config/tc-aarch64.c (parse_sys_reg): Call to
915 aarch64_sys_ins_reg_supported_p instead of
916 aarch64_sys_reg_supported_p.
917 (parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check.
918 * testsuite/gas/aarch64/illegal-sysreg-5.d: New test.
919 * testsuite/gas/aarch64/illegal-sysreg-5.l: New test.
920 * testsuite/gas/aarch64/sysreg-5.s: New test.
922 2020-08-10 Alan Modra <amodra@gmail.com>
924 * testsuite/gas/ppc/power8.d,
925 * testsuite/gas/ppc/power8.s: Add miso.
926 * testsuite/gas/ppc/power9.d,
927 * testsuite/gas/ppc/power8.s: Add exser, msgsndu, msgclru.
929 2020-08-10 Alan Modra <amodra@gmail.com>
931 * testsuite/gas/ppc/power8.d: Update.
932 * testsuite/gas/ppc/vsx2.d: Update.
934 2020-08-10 Alan Modra <amodra@gmail.com>
936 * config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
937 stswi, or stswx in little-endian mode.
938 * testsuite/gas/ppc/476.d,
939 * testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
940 * testsuite/gas/ppc/a2.d,
941 * testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
942 * testsuite/gas/ppc/be.d,
943 * testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
944 * testsuite/gas/ppc/le_error.d,
945 * testsuite/gas/ppc/le_error.l: New little-endian test.
946 * testsuite/gas/ppc/ppc.exp: Run new tests.
948 2020-08-07 H.J. Lu <hongjiu.lu@intel.com>
950 * read.c (read_a_source_file): Ignore rest of line on overflow
953 2020-08-06 Alex Coplan <alex.coplan@arm.com>
955 * read.c (read_a_source_file): Use long for local labels, detect
956 overflow and raise an error for overly-long labels.
957 * testsuite/gas/all/gas.exp: Add local-label-overflow test.
958 * testsuite/gas/all/local-label-overflow.d: New test.
959 * testsuite/gas/all/local-label-overflow.l: Error output.
960 * testsuite/gas/all/local-label-overflow.s: Input.
962 2020-08-04 Christian Groessler <chris@groessler.org>
964 * gas/testsuite/gas/z8k/inout.d: Adapt to correct encoding of
965 "sout/soutb #imm,reg"
967 2020-08-04 H.J. Lu <hongjiu.lu@intel.com>
969 * NEWS: Mention {disp16} pseudo prefix.
971 2020-08-04 H.J. Lu <hongjiu.lu@intel.com>
973 * testsuite/gas/i386/x86-64-pseudos.d: Revert an accidental
976 2020-08-04 Mark Wielaard <mark@klomp.org>
978 * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use
979 DW_FORM_udata for DW_AT_high_pc.
980 (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when
982 * read.c (emit_leb128_exp): No longer static.
983 * read.h (emit_leb128_exp): Define.
985 2020-08-02 Mark Wielaard <mark@klomp.org>
987 * gas/dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at
988 least one directory if there is at least one file. Use dirs[1]
989 if dirs[0] is not set, or if there is no dirs[1] the current
990 working directory. Use files[1] filename, when files[0] filename
993 2020-08-02 Mark Wielaard <mark@klomp.org>
995 * dwarf2dbg.c (out_debug_info): Emit unit type and abbrev offset
997 * gas/testsuite/gas/elf/dwarf-4-cu.d: New file.
998 * gas/testsuite/gas/elf/dwarf-4-cu.s: Likewise.
999 * gas/testsuite/gas/elf/dwarf-5-cu.d: Likewise.
1000 * gas/testsuite/gas/elf/dwarf-5-cu.s: Likewise.
1001 * testsuite/gas/elf/elf.exp: Run dwarf-4-cu and dwarf-5-cu.
1003 2020-08-02 Mark Wielaard <mark@klomp.org>
1005 * doc/as.texi (--gdwarf-[345]): Fix typo.
1007 2020-08-03 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1009 * config/tc-msp430.c (OPTION_MOVE_DATA): Remove.
1010 (md_parse_option): Remove case for OPTION_MOVE_DATA.
1011 (md_longopts): Remove "md" entry.
1012 (md_show_usage): Likewise.
1014 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
1017 * config/tc-i386.c (_i386_insn::disp_encoding): Add
1018 disp_encoding_16bit.
1019 (parse_insn): Check Prefix_XXX for pseudo prefixes. Handle
1021 (build_modrm_byte): Handle {disp16}.
1022 (i386_index_check): Check invalid {disp16} and {disp32} pseudo
1024 * doc/c-i386.texi: Update {disp32} documentation and document
1026 * testsuite/gas/i386/i386.exp: Run x86-64-inval-pseudo.
1027 * testsuite/gas/i386/inval-pseudo.s: Add {disp32}/{disp16}
1029 * testsuite/gas/i386/pseudos.s: Add {disp8}/{disp32} vmovaps
1030 tests with 128-byte displacement. Add {disp16} tests.
1031 * testsuite/gas/i386/x86-64-pseudos.s: Add {disp8}/{disp32}
1032 vmovaps test. Add (%r13)/(%r13d) tests.
1033 * testsuite/gas/i386/x86-64-inval-pseudo.l: New file.
1034 * testsuite/gas/i386/x86-64-inval-pseudo.s: Likewise.
1035 * testsuite/gas/i386/inval-pseudo.l: Updated.
1036 * testsuite/gas/i386/pseudos.d: Likewise.
1037 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1039 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1041 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
1042 * Makefile.in, doc/Makefile.in: Regenerate.
1043 * configure: Regenerate.
1045 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
1047 * testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler.
1048 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1049 * testsuite/gas/i386/dw2-compress-3a.d: Likewise.
1050 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1051 * testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
1052 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1054 2020-07-30 Nick Clifton <nickc@redhat.com>
1056 * as.c (dwarf_level): Initialise to 3 in case this is not set on
1059 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
1061 * testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.
1062 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: New test.
1063 * testsuite/gas/mips/global-local-symtab-sort-n32.d: New test.
1064 * testsuite/gas/mips/global-local-symtab-sort-n32t.d: New test.
1065 * testsuite/gas/mips/global-local-symtab-sort-n64.d: New test.
1066 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: New test.
1067 * testsuite/gas/mips/mips.exp: Run the new tests.
1069 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
1071 * testsuite/gas/mips/global-local-symtab-o32.d: New test.
1072 * testsuite/gas/mips/global-local-symtab-o32t.d: New test.
1073 * testsuite/gas/mips/global-local-symtab-n32.d: New test.
1074 * testsuite/gas/mips/global-local-symtab-n32t.d: New test.
1075 * testsuite/gas/mips/global-local-symtab-n64.d: New test.
1076 * testsuite/gas/mips/global-local-symtab.s: New test source.
1077 * testsuite/gas/mips/mips.exp: Run the new tests.
1079 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
1082 * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
1083 (%bp)/(%ebp)/(%rbp) for {disp32}.
1084 * doc/c-i386.texi: Update {disp32} documentation.
1085 * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
1086 * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
1087 * testsuite/gas/i386/pseudos.d: Updated.
1088 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1090 2020-07-27 H.J. Lu <hongjiu.lu@intel.com>
1092 * doc/as.texi: Replace preceeded with preceded.
1094 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
1096 * testsuite/gas/mips/jal-svr4pic-irix.d: New file.
1097 * testsuite/gas/mips/mips1@jal-svr4pic-irix.d: New file.
1098 * testsuite/gas/mips/mipsr6@jal-svr4pic-irix.d: New file.
1099 * testsuite/gas/mips/micromips@jal-svr4pic-irix.d: New file.
1100 * testsuite/gas/mips/r3000@jal-svr4pic-irix.d: New file.
1101 * testsuite/gas/mips/jal-svr4pic-local-irix.d: New file.
1102 * testsuite/gas/mips/mips1@jal-svr4pic-local-irix.d: New file.
1103 * testsuite/gas/mips/micromips@jal-svr4pic-local-irix.d: New
1105 * testsuite/gas/mips/r3000@jal-svr4pic-local-irix.d: New file.
1106 * testsuite/gas/mips/jal-svr4pic-noreorder-irix.d: New file.
1107 * testsuite/gas/mips/mips1@jal-svr4pic-noreorder-irix.d: New
1109 * testsuite/gas/mips/mipsr6@jal-svr4pic-noreorder-irix.d: New
1111 * testsuite/gas/mips/micromips@jal-svr4pic-noreorder-irix.d: New
1113 * testsuite/gas/mips/r3000@jal-svr4pic-noreorder-irix.d: New
1115 * testsuite/gas/mips/jal-xgot-irix.d: New file.
1116 * testsuite/gas/mips/jalr2-irix.d: New file.
1117 * testsuite/gas/mips/micromips-branch-relax-insn32-pic-irix.d:
1119 * testsuite/gas/mips/micromips-branch-relax-pic-irix.d: New
1121 * testsuite/gas/mips/mips-abi32-pic2-irix.d: New file.
1122 * testsuite/gas/mips/jal-svr4pic-local.d: Don't exclude
1123 `*-*-irix*' targets. Add source file designator.
1124 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: Don't exclude
1125 `*-*-irix*' targets.
1126 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: Likewise.
1127 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1128 * testsuite/gas/mips/jalr2.d: Add name designator.
1129 * testsuite/gas/mips/mips.exp: Use respective IRIX variants for
1130 tests involving the JALR relocation throughout.
1132 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
1134 * testsuite/gas/mips/mips.exp: Use a helper variable for
1135 IRIX/non-IRIX test selection.
1137 2020-07-21 Jan Beulich <jbeulich@suse.com>
1139 * testsuite/gas/i386/evex-no-scale-64.d,
1140 testsuite/gas/i386/addr32.d,
1141 testsuite/gas/i386/x86-64-addr32-intel.d,
1142 testsuite/gas/i386/x86-64-addr32.d: Adjust expectations.
1144 2020-07-21 Cooper Qu <cooper.qu@linux.alibaba.com>
1146 * config/tc-csky.c (md_begin): Fix tests of arch and mach flags.
1148 2020-07-21 Jan Beulich <jbeulich@suse.com>
1150 * testsuite/gas/i386/evex-no-scale-32.d,
1151 testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass.
1152 * testsuite/gas/i386/evex-no-scale-32.s,
1153 testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ...
1154 * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct
1155 instead of .section.
1156 * testsuite/gas/i386/i386.exp: Move above tests out of ELF-
1159 2020-07-21 Maciej W. Rozycki <macro@linux-mips.org>
1161 * config/tc-mips.c (prev_reloc_op_frag): Remove variable.
1162 (my_getSmallExpression): Adjust accordingly.
1164 2020-07-20 Jan Beulich <jbeulich@suse.com>
1167 * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from
1168 conditional around it.
1169 (md_begin): Insert backslash into operand_chars[] when slash is
1170 a comment character.
1171 * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and
1172 \* as operators when / may be a comment character.
1173 * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New.
1174 * testsuite/gas/i386/i386.exp: Run new test.
1176 2020-07-20 Jan Beulich <jbeulich@suse.com>
1179 * app.c (last_char): Drop TC_ARM conditional around it.
1180 (struct app_save): Drop TC_ARM conditional around last_char.
1181 (app_push, app_pop): Drop TC_ARM conditional from last_char
1183 (do_scrub_chars): Likewise. Drop TC_ARM conditional from
1184 backslash-precedes-comment-character check.
1186 2020-07-20 Jan Beulich <jbeulich@suse.com>
1188 * config/tc-i386.c (frag_opcode_byte): New.
1189 (output_branch): Emit error when in absolute section.
1190 (output_jump, output_insn): Use frag_opcode_byte. Handle being
1191 in absolute section.
1192 (output_interseg_jump, output_disp, output_imm): Handle being in
1194 * testsuite/gas/i386/sizing.s,
1195 testsuite/gas/i386/sizing32.d,
1196 testsuite/gas/i386/sizing64.d: New.
1197 * testsuite/gas/i386/i386.exp: Run new tests.
1199 2020-07-20 Jan Beulich <jbeulich@suse.com>
1201 * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside
1202 is_elf_format as applicable; merely exclude iamcu tests.
1204 2020-07-19 H.J. Lu <hongjiu.lu@intel.com>
1207 * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc
1208 against section to PC32 reloc.
1209 * testsuite/gas/i386/relax-5.d: Updated.
1210 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
1212 2020-07-15 H.J. Lu <hongjiu.lu@intel.com>
1215 * testsuite/gas/i386/evex-no-scale-64.d: Updated.
1216 * testsuite/gas/i386/addr32.d: Likewise.
1217 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1218 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1220 2020-07-15 Nick Clifton <nickc@redhat.com>
1222 * write.c (create_note_reloc): Add desc2_size parameter. Zero out
1223 the addend field of REL relocations. Store the full addend into
1224 the note for REL relocations.
1226 2020-07-15 Jan Beulich <jbeulich@suse.com>
1228 * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push
1230 * testsuite/gas/i386/x86-64-stack-intel.d,
1231 testsuite/gas/i386/x86-64-stack-suffix.d,
1232 testsuite/gas/i386/x86-64-stack.d: Adjust expectations.
1234 2020-07-15 Jan Beulich <jbeulich@suse.com>
1236 * testsuite/gas/i386/disassem.d,
1237 testsuite/gas/i386/ilp32/x86-64-branch.d,
1238 testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d,
1239 testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d,
1240 testsuite/gas/i386/noreg32.d,
1241 testsuite/gas/i386/noreg64-rex64.d,
1242 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d,
1243 testsuite/gas/i386/opcode.d,
1244 testsuite/gas/i386/solaris/x86-64-branch-2.d,
1245 testsuite/gas/i386/solaris/x86-64-jump.d,
1246 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
1247 testsuite/gas/i386/solaris/x86-64-nop-3.d,
1248 testsuite/gas/i386/solaris/x86-64-nop-4.d,
1249 testsuite/gas/i386/solaris/x86-64-nop-5.d,
1250 testsuite/gas/i386/solaris/x86-64-relax-2.d,
1251 testsuite/gas/i386/solaris/x86-64-relax-3.d,
1252 testsuite/gas/i386/x86-64-align-branch-1a.d,
1253 testsuite/gas/i386/x86-64-align-branch-1b.d,
1254 testsuite/gas/i386/x86-64-align-branch-1c.d,
1255 testsuite/gas/i386/x86-64-align-branch-1d.d,
1256 testsuite/gas/i386/x86-64-align-branch-1e.d,
1257 testsuite/gas/i386/x86-64-align-branch-1f.d,
1258 testsuite/gas/i386/x86-64-align-branch-1g.d,
1259 testsuite/gas/i386/x86-64-align-branch-1h.d,
1260 testsuite/gas/i386/x86-64-align-branch-1i.d,
1261 testsuite/gas/i386/x86-64-align-branch-2a.d,
1262 testsuite/gas/i386/x86-64-align-branch-2b.d,
1263 testsuite/gas/i386/x86-64-align-branch-2c.d,
1264 testsuite/gas/i386/x86-64-align-branch-3.d,
1265 testsuite/gas/i386/x86-64-align-branch-4a.d,
1266 testsuite/gas/i386/x86-64-align-branch-4b.d,
1267 testsuite/gas/i386/x86-64-align-branch-5.d,
1268 testsuite/gas/i386/x86-64-align-branch-6.d,
1269 testsuite/gas/i386/x86-64-branch-2.d,
1270 testsuite/gas/i386/x86-64-branch-3.d,
1271 testsuite/gas/i386/x86-64-branch.d,
1272 testsuite/gas/i386/x86-64-disassem.d,
1273 testsuite/gas/i386/x86-64-disp32.d,
1274 testsuite/gas/i386/x86-64-gotpcrel-no-relax.d,
1275 testsuite/gas/i386/x86-64-gotpcrel.d,
1276 testsuite/gas/i386/x86-64-ifunc.d,
1277 testsuite/gas/i386/x86-64-jump.d,
1278 testsuite/gas/i386/x86-64-lfence-byte.d,
1279 testsuite/gas/i386/x86-64-lfence-indbr-a.d,
1280 testsuite/gas/i386/x86-64-lfence-indbr-b.d,
1281 testsuite/gas/i386/x86-64-lfence-indbr-c.d,
1282 testsuite/gas/i386/x86-64-lfence-load.d,
1283 testsuite/gas/i386/x86-64-lfence-ret-a.d,
1284 testsuite/gas/i386/x86-64-lfence-ret-b.d,
1285 testsuite/gas/i386/x86-64-lfence-ret-c.d,
1286 testsuite/gas/i386/x86-64-lfence-ret-d.d,
1287 testsuite/gas/i386/x86-64-lfence-ret-e.d,
1288 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
1289 testsuite/gas/i386/x86-64-mpx-branch-1.d,
1290 testsuite/gas/i386/x86-64-mpx.d,
1291 testsuite/gas/i386/x86-64-nop-3.d,
1292 testsuite/gas/i386/x86-64-nop-4.d,
1293 testsuite/gas/i386/x86-64-nop-5.d,
1294 testsuite/gas/i386/x86-64-nops-7.d,
1295 testsuite/gas/i386/x86-64-notrack.d,
1296 testsuite/gas/i386/x86-64-opcode.d,
1297 testsuite/gas/i386/x86-64-relax-2.d,
1298 testsuite/gas/i386/x86-64-relax-3.d,
1299 testsuite/gas/i386/x86-64-relax-4.d,
1300 testsuite/gas/i386/x86-64-rtm.d,
1301 testsuite/gas/i386/x86-64-stack.d,
1302 testsuite/gas/i386/x86-64-unique.d,
1303 testsuite/gas/i386/x86_64-intel.d: Adjust expectations.
1305 2020-07-14 H.J. Lu <hongjiu.lu@intel.com>
1308 * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
1310 * testsuite/gas/i386/x86-64-addr32.s: Likewise.
1311 * testsuite/gas/i386/addr32.d: Updated.
1312 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1313 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1314 * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
1315 * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
1317 2020-07-14 Jan Beulich <jbeulich@suse.com>
1319 * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>.
1320 * testsuite/gas/i386/intel-intel.d: Disambiguate name.
1321 * testsuite/gas/i386/intel.d,
1322 testsuite/gas/i386/opcode-intel.d: Adjust expectations.
1324 2020-07-14 Jan Beulich <jbeulich@suse.com>
1326 * testsuite/gas/i386/prefix.d: Adjust expectations.
1328 2020-07-14 Jan Beulich <jbeulich@suse.com>
1330 * testsuite/gas/i386/x86-64-avx-intel.d,
1331 testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations.
1333 2020-07-14 Jan Beulich <jbeulich@suse.com>
1335 * testsuite/gas/i386/movbe-suffix.d,
1336 testsuite/gas/i386/x86-64-movbe-suffix.d: New.
1337 * testsuite/gas/i386/i386.exp: Run new tests.
1339 2020-07-14 Jan Beulich <jbeulich@suse.com>
1341 * testsuite/gas/i386/crc32-suffix.d,
1342 testsuite/gas/i386/x86-64-crc32-suffix.d: New.
1343 * testsuite/gas/i386/i386.exp: Run new tests.
1344 * testsuite/gas/i386/arch-10-bdver1.d,
1345 testsuite/gas/i386/arch-10-bdver2.d,
1346 testsuite/gas/i386/arch-10-bdver3.d,
1347 testsuite/gas/i386/arch-10-bdver4.d,
1348 testsuite/gas/i386/arch-10-btver1.d,
1349 testsuite/gas/i386/arch-10-btver2.d,
1350 testsuite/gas/i386/arch-10-lzcnt.d,
1351 testsuite/gas/i386/arch-10-prefetchw.d,
1352 testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d,
1353 testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d,
1354 testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d,
1355 testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d,
1356 testsuite/gas/i386/x86-64-arch-2-bdver1.d,
1357 testsuite/gas/i386/x86-64-arch-2-bdver2.d,
1358 testsuite/gas/i386/x86-64-arch-2-bdver3.d,
1359 testsuite/gas/i386/x86-64-arch-2-bdver4.d,
1360 testsuite/gas/i386/x86-64-arch-2-btver1.d,
1361 testsuite/gas/i386/x86-64-arch-2-btver2.d,
1362 testsuite/gas/i386/x86-64-arch-2-lzcnt.d,
1363 testsuite/gas/i386/x86-64-arch-2-prefetchw.d,
1364 testsuite/gas/i386/x86-64-arch-2.d,
1365 testsuite/gas/i386/x86-64-crc32.d,
1366 testsuite/gas/i386/x86-64-pseudos.d,
1367 testsuite/gas/i386/x86-64-sse-noavx.d,
1368 testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations.
1370 2020-07-14 Jan Beulich <jbeulich@suse.com>
1372 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1373 ModR/M-encoded byte register cases.
1374 * testsuite/gas/i386/x86-64-pseudos.d,
1375 testsuite/gas/i386/x86-64-reg-intel.d,
1376 testsuite/gas/i386/x86-64-reg.d: Adjust expectations.
1378 2020-07-14 Jan Beulich <jbeulich@suse.com>
1380 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1381 not-ModR/M-encoded byte register cases.
1382 * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
1384 2020-07-14 Jan Beulich <jbeulich@suse.com>
1386 * testsuite/gas/i386/ilp32/x86-64-arch-1.d,
1387 testsuite/gas/i386/ilp32/x86-64-arch-2.d,
1388 testsuite/gas/i386/ilp32/x86-64-avx-intel.d,
1389 testsuite/gas/i386/ilp32/x86-64-avx.d,
1390 testsuite/gas/i386/ilp32/x86-64-crc32-intel.d,
1391 testsuite/gas/i386/ilp32/x86-64-crc32.d,
1392 testsuite/gas/i386/ilp32/x86-64-gotpcrel.d,
1393 testsuite/gas/i386/ilp32/x86-64-ifunc.d,
1394 testsuite/gas/i386/ilp32/x86-64-reg-intel.d,
1395 testsuite/gas/i386/ilp32/x86-64-reg.d,
1396 testsuite/gas/i386/ilp32/x86-64-rep-suffix.d,
1397 testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d,
1398 testsuite/gas/i386/ilp32/x86-64-sse4_2.d,
1399 testsuite/gas/i386/ilp32/x86-64-stack-intel.d,
1400 testsuite/gas/i386/ilp32/x86-64-stack-suffix.d,
1401 testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir
1404 2020-07-13 H.J. Lu <hongjiu.lu@intel.com>
1406 * config/tc-i386.c (offset_in_range): Remove 32-bit sign
1409 2020-07-13 Nick Clifton <nickc@redhat.com>
1411 * po/fr.po: Updated French translation.
1413 2020-07-13 Alan Modra <amodra@gmail.com>
1415 * testsuite/gas/elf/dwarf2-7.d: Remove most xfails.
1416 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1417 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1418 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1420 2020-07-11 H.J. Lu <hongjiu.lu@intel.com>
1422 * config/tc-i386.c (output_insn): Check i.xstate to set
1423 GNU_PROPERTY_X86_FEATURE_2_TMM.
1424 * testsuite/gas/i386/i386.exp: Run x86-64-property-7,
1425 x86-64-property-8 and x86-64-property-9.
1426 * testsuite/gas/i386/x86-64-property-7.d: New file.
1427 * testsuite/gas/i386/x86-64-property-7.s: Likewise.
1428 * testsuite/gas/i386/x86-64-property-8.d: Likewise.
1429 * testsuite/gas/i386/x86-64-property-8.s: Likewise.
1430 * testsuite/gas/i386/x86-64-property-9.d: Likewise.
1431 * testsuite/gas/i386/x86-64-property-9.s: Likewise.
1433 2020-07-10 H.J. Lu <hongjiu.lu@intel.com>
1435 * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm,
1436 has_regymm, has_regzmm and has_regtmm. Add xstate.
1437 (md_assemble): Set i.xstate from operand types in instruction
1439 (build_modrm_byte): Updated.
1440 (output_insn): Check i.xstate.
1441 * testsuite/gas/i386/i386.exp: Run property-6 and
1443 * testsuite/gas/i386/property-6.d: New file.
1444 * testsuite/gas/i386/property-6.s: Updated.
1445 * testsuite/gas/i386/x86-64-property-6.d: Likewise.
1447 2020-07-10 H.J. Lu <hongjiu.lu@intel.com>
1449 * testsuite/gas/i386/property-5.d: Correct test name.
1451 2020-07-10 Lili Cui <lili.cui@intel.com>
1453 * NEWS: Mention support for Intel AMX instructions.
1454 * config/tc-i386.c (i386_error): Add invalid_sib_address.
1455 (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile.
1456 (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile.
1457 (match_simd_size): Add tmmword check.
1458 (operand_type_match): Add tmmword.
1459 (type_names): Add rTMM.
1460 (i386_error): Add invalid_tmm_register_set.
1461 (check_VecOperands): Handle invalid_sib_address and
1462 invalid_tmm_register_set.
1463 (match_template): Handle invalid_sib_address.
1464 (build_modrm_byte): Handle non-vector SIB and zmmword.
1465 (i386_index_check): Disallow RegIP for non-vector SIB.
1466 (check_register): Handle zmmword.
1467 * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile.
1468 * testsuite/gas/i386/i386.exp: Add AMX new tests.
1469 * testsuite/gas/i386/intel-regs.d: Add tmm.
1470 * testsuite/gas/i386/intel-regs.s: Add tmm.
1471 * testsuite/gas/i386/x86-64-amx-intel.d: New.
1472 * testsuite/gas/i386/x86-64-amx-inval.l: New.
1473 * testsuite/gas/i386/x86-64-amx-inval.s: New.
1474 * testsuite/gas/i386/x86-64-amx.d: New.
1475 * testsuite/gas/i386/x86-64-amx.s: New.
1476 * testsuite/gas/i386/x86-64-amx-bad.d: New.
1477 * testsuite/gas/i386/x86-64-amx-bad.s: New.
1479 2020-07-10 Tom de Vries <tdevries@suse.de>
1481 * testsuite/gas/elf/dwarf2-11.d: Update expected output from
1482 readelf's line table decoding.
1483 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1484 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1485 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1486 * testsuite/gas/elf/dwarf2-15.d: Likewise.
1487 * testsuite/gas/elf/dwarf2-16.d: Likewise.
1488 * testsuite/gas/elf/dwarf2-17.d: Likewise.
1489 * testsuite/gas/elf/dwarf2-18.d: Likewise.
1490 * testsuite/gas/elf/dwarf2-19.d: Likewise.
1491 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1492 * testsuite/gas/elf/dwarf2-6.d: Likewise.
1493 * testsuite/gas/elf/dwarf2-7.d: Likewise.
1495 2020-07-09 H.J. Lu <hongjiu.lu@intel.com>
1497 * config/tc-i386.c (output_insn): Set YMM/ZMM features for
1498 VEX/EVEX vector instructions.
1499 * testsuite/gas/i386/property-4.d: New file.
1500 * testsuite/gas/i386/property-4.s: Likewise.
1501 * testsuite/gas/i386/property-5.d: Likewise.
1502 * testsuite/gas/i386/property-5.s: Likewise.
1503 * testsuite/gas/i386/x86-64-property-4.d: Likewise.
1504 * testsuite/gas/i386/x86-64-property-5.d: Likewise.
1506 2020-07-09 H.J. Lu <hongjiu.lu@intel.com>
1508 * NEWS: Mention --enable-x86-used-note.
1509 * configure.ac: Configure with --enable-x86-used-note by default
1511 * configure: Regenerated.
1513 2020-07-09 Alan Modra <amodra@gmail.com>
1515 * config/obj-coff.h: Remove TE_PE support.
1516 * config/tc-ppc.c: Likewise.
1517 * config/tc-ppc.h: Likewise.
1518 * configure.tgt: Remove powerpc PE and powerpc lynxos.
1519 * testsuite/gas/cfi/cfi.exp (cfi-common-6): Remove powerpc PE
1521 * testsuite/gas/macros/macros.exp: Don't xfail powerpc PE.
1523 2020-07-08 Jan Beulich <jbeulich@suse.com>
1525 * testsuite/gas/i386/fma4-lig.d, testsuite/gas/i386/xop-lig.d:
1527 * testsuite/gas/i386/i386.exp: Run new tests.
1529 2020-07-07 Claudiu Zissulescu <claziss@synopsys.com>
1531 * config/tc-arc.c (find_opcode_match): Add error messages.
1532 * testsuite/gas/arc/add_s-err.s: Update test.
1533 * testsuite/gas/arc/asm-errors.err: Likewise.
1534 * testsuite/gas/arc/cpu-em-err.s: Likewise.
1535 * testsuite/gas/arc/hregs-err.s: Likewise.
1536 * testsuite/gas/arc/warn.s: Likewise.
1538 2020-07-07 H.J. Lu <hongjiu.lu@intel.com>
1541 * doc/c-i386.texi: Remove an incorrect AVX2 entry.
1543 2020-07-07 Alan Modra <amodra@gmail.com>
1545 * testsuite/gas/all/gas.exp: Use is_xcoff_format.
1546 * testsuite/gas/ppc/ppc.exp: Likewise.
1547 * testsuite/gas/all/weakref1l.d: Likewise.
1549 2020-07-07 Nick Clifton <nickc@redhat.com>
1551 * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in
1554 2020-07-06 Jan Beulich <jbeulich@suse.com>
1556 * testsuite/gas/i386/x86-64-avx512bw-wig1.d,
1557 testsuite/gas/i386/x86-64-avx512bw-wig1-intel.d,
1558 testsuite/gas/i386/x86-64-evex-wig1.d,
1559 testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust
1562 2020-07-06 Jan Beulich <jbeulich@suse.com>
1564 * testsuite/gas/i386/avx512f-opts.s: Add EVEX movq tests.
1565 * testsuite/gas/i386/x86-64-avx512f-opts.s: Add blank line.
1566 * testsuite/gas/i386/avx512f-opts-intel.d,
1567 testsuite/gas/i386/avx512f-opts.d
1568 testsuite/gas/i386/x86-64-avx512f-opts-intel.d
1569 testsuite/gas/i386/x86-64-avx512f-opts.d: Adjust expectations.
1571 2020-07-06 Yuri Chornoivan <yurchor@ukr.net>
1574 * config/tc-arm.c: Fix spelling mistake.
1575 * config/tc-riscv.c: Likewise.
1576 * config/tc-z80.c: Likewise.
1577 * po/gas.pot: Regenerate.
1579 2020-07-06 Nick Clifton <nickc@redhat.com>
1581 * po/uk.po: Updated Ukranian translation.
1583 2020-07-04 Nick Clifton <nickc@redhat.com>
1585 * configure: Regenerate.
1586 * po/gas.pot: Regenerate.
1588 2020-07-04 Nick Clifton <nickc@redhat.com>
1590 * version.m4: Change version number to 2.35.50.
1591 * configure: Regenerate.
1592 * po/bfd.pot: Regenerate.
1594 2020-07-04 Nick Clifton <nickc@redhat.com>
1596 Binutils 2.35 branch created.
1598 2020-07-03 Alan Modra <amodra@gmail.com>
1601 * testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options.
1603 2020-07-02 H.J. Lu <hongjiu.lu@intel.com>
1605 * config/tc-i386.c (build_modrm_byte): Check vexswapsources to
1606 swap two source operands.
1608 2020-07-02 Nick Clifton <nickc@redhat.com>
1610 * testsuite/gas/all/fill-1.d: Skip for MeP targets.
1612 2020-07-02 Alex Coplan <alex.coplan@arm.com>
1614 * config/tc-aarch64.c (reg_name_p): Fix cast so that we don't
1615 segfault on negative chars.
1616 * testsuite/gas/aarch64/reglike-label-unicode-segv.d: New test.
1617 * testsuite/gas/aarch64/reglike-label-unicode-segv.s: Input.
1619 2020-07-02 Nick Clifton <nickc@redhat.com>
1622 * testsuite/gas/ia64/group-2.d: Add -T option to readelf
1624 * testsuite/gas/ia64/unwind.d: Likewise.
1625 * testsuite/gas/mmix/bspec-1.d: Likewise.
1626 * testsuite/gas/mmix/bspec-2.d: Likewise.
1627 * testsuite/gas/mmix/comment-1.d: Likewise.
1628 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1630 2020-07-01 Alan Modra <amodra@gmail.com>
1632 * config/tc-xc16x.c (md_apply_fix): Add FIXME.
1634 2020-07-01 Alan Modra <amodra@gmail.com>
1636 * testsuite/gas/all/eqv-dot.d: xfail targets that set linkrelax
1637 in data sections, and mep.
1639 2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
1641 * NEWS: Mention x86 NaCl target support removal.
1642 * config/tc-i386.c: Remove x86 NaCl target support.
1643 * config/tc-i386.h: Likewise.
1644 * configure.tgt: Likewise.
1645 * testsuite/gas/i386/i386.exp: Likewise.
1646 * testsuite/gas/i386/iamcu-1.d: Likewise.
1647 * testsuite/gas/i386/iamcu-2.d: Likewise.
1648 * testsuite/gas/i386/iamcu-3.d: Likewise.
1649 * testsuite/gas/i386/iamcu-4.d: Likewise.
1650 * testsuite/gas/i386/iamcu-5.d: Likewise.
1651 * testsuite/gas/i386/k1om.d: Likewise.
1652 * testsuite/gas/i386/l1om.d: Likewise.
1654 2020-06-30 Nelson Chu <nelson.chu@sifive.com>
1656 * config/tc-riscv.c (riscv_csr_class_check): Removed. Move the
1657 checking into riscv_csr_address.
1658 (riscv_csr_version_check): Likewise.
1659 (riscv_csr_address): New function. Return the suitable CSR address
1660 after checking the ISA dependency and versions. Issue warnings if
1661 we find any conflict and -mcsr-check is set. CSR_CLASS_F and
1662 CSR_CLASS_DEBUG are unprivileged CSR for now, so don't check the
1663 priv spec versions for them.
1664 (reg_csr_lookup_internal): Call riscv_csr_address to find the
1665 suitable CSR address.
1666 * testsuite/gas/riscv/priv-reg-fail-fext.d: Remove -mpriv-spec=1.11.
1667 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
1668 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
1669 * testsuite/gas/riscv/priv-reg-fail-fext.l: We don't care the
1670 priv spec warnings here. These warnings are added by accident.
1671 Remove them and only focus on the ISA dependency warnings.
1672 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1673 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1674 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Updated since
1675 dscratch0 and dscratch1 are regarded as the unprivileged CSR rather
1676 than the privileged ones.
1677 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1678 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1679 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1680 * testsuite/gas/riscv/priv-reg.s: Likewise. Add missing debug CSR.
1681 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1682 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: Likewise.
1683 * testsuite/gas/riscv/priv-reg-version-1p10.d: Likewise.
1684 * testsuite/gas/riscv/priv-reg-version-1p11.d: Likewise.
1685 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
1686 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
1688 2020-06-29 H.J. Lu <hongjiu.lu@intel.com>
1690 * tc-i386.c (build_vex_prefix): Support VEX base opcode length > 1.
1691 (md_assemble): Don't process ImmExt without operands.
1693 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
1696 * config/tc-mmix.c (md_assemble) <fixup for
1697 BFD_RELOC_MMIX_BASE_PLUS_OFFSET>: This fixup affects 1 byte, not 8.
1698 Also, set its fx_no_overflow.
1699 (md_convert_frag) <case ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO)>:
1700 Similarly this fixup affects 4 bytes, not 8 and needs its
1702 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Don't define.
1703 * testsuite/gas/mmix/pr25331.d, testsuite/gas/mmix/pr25331.s: New test.
1705 2020-06-29 Alan Modra <amodra@gmail.com>
1707 * config/tc-s12z.c: Use C style comments.
1708 * config/tc-z80.c: Likewise.
1709 * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code.
1711 2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
1713 * config/tc-i386.c (md_assemble): Process ImmExt without
1716 2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
1718 * config/tc-i386.c (check_VecOperands): Replace vecsib with sib.
1719 Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128,
1720 VECSIB256 and VECSIB512, respectively.
1721 (build_modrm_byte): Replace vecsib with sib.
1723 2020-06-26 Jan Beulich <jbeulich@suse.com>
1725 * testsuite/gas/i386/nop-1-suffix.d: New.
1726 * testsuite/gas/i386/i386.exp: Run new test.
1728 2020-06-26 Pat Bernardi <bernardi@adacore.com>
1730 * config/tc-m68k.c (m68k_elf_gnu_attribute): New function.
1731 (md_pseudo_table): Handle "gnu_attribute".
1732 * doc/as.texi: Document GNU attribute for M68K.
1734 2020-06-25 Nick Clifton <nickc@redhat.com>
1737 * config/tc-arm.c (arm_force_relocation): Force resolution of
1738 BFD_RELOC_THUMB_PCREL_BRANCH12 relocations.
1739 * testsuite/gas/arm/plt-1.d: Adjust expected disassembly.
1741 2020-06-25 Jan Beulich <jbeulich@suse.com>
1743 * config/tc-i386.c (md_assemble): Move call to process_immext()
1745 (process_operands): ... here.
1747 2020-06-25 Jan Beulich <jbeulich@suse.com>
1749 * config/tc-i386.c (process_suffix): Skip ambiguous operand size
1750 diagnostic when there is a sizing prefix. Switch to word/dword/
1751 qword encoding when there is a sizing prefix and no (explicit or
1753 (update_imm): Handle presence of a sizing prefix.
1754 * testsuite/gas/i386/noreg16-data32.d,
1755 testsuite/gas/i386/noreg32-data16.d,
1756 testsuite/gas/i386/noreg32-data16.e,
1757 testsuite/gas/i386/noreg64-data16.d,
1758 testsuite/gas/i386/noreg64-data16.e,
1759 testsuite/gas/i386/noreg64-rex64.d: New.
1760 * testsuite/gas/i386/i386.exp: Run new tests.
1761 * testsuite/gas/i386/noreg32.s, testsuite/gas/i386/noreg64.s:
1762 Introduce and use pfx* macros.
1763 * testsuite/gas/i386/noreg16.s: Likewise. Replace 32-bit
1765 * testsuite/gas/i386/noreg16.d: Adjust expectations.
1767 2020-06-25 Jan Beulich <jbeulich@suse.com>
1769 * testsuite/gas/i386/avx-16bit.d,
1770 testsuite/gas/i386/avx-scalar.d, testsuite/gas/i386/avx.d,
1771 testsuite/gas/i386/avx512f-16bit.d,
1772 testsuite/gas/i386/avx512f.d,
1773 testsuite/gas/i386/evex-lig256.d,
1774 testsuite/gas/i386/evex-lig512.d
1775 testsuite/gas/i386/evex-wig1.d, testsuite/gas/i386/katmai.d,
1776 testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg32.d,
1777 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/simd.d,
1778 testsuite/gas/i386/sse2-16bit.d,
1779 testsuite/gas/i386/sse2.d, testsuite/gas/i386/sse2avx.d: Adjust
1782 2020-06-25 Jan Beulich <jbeulich@suse.com>
1784 * config/tc-i386.c (md_assemble): Also reject explicit REX
1785 prefixes with VEX and alike encoded insns. Zap consumed bits
1787 (output_insn): Don't ignore REX prefix for VEX and alike
1788 encodings; abort() instead if encountered.
1789 * testsuite/gas/i386/x86-64-pseudos.s: Move REX-with-VEX cases
1791 * testsuite/gas/i386/x86-64-pseudos-bad.s: ... here.
1792 * testsuite/gas/i386/x86-64-pseudos.d,
1793 testsuite/gas/i386/x86-64-pseudos-bad.l: Adjust expectations.
1795 2020-06-25 Jan Beulich <jbeulich@suse.com>
1797 * config/tc-i386.c (process_operands): Translate explicit REX
1798 prefix into i.rex for SSE2AVX templates.
1799 (set_rex_vrex): New helper.
1800 (build_modrm_byte): Use it.
1801 * testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explict
1803 * testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
1805 2020-06-25 Jan Beulich <jbeulich@suse.com>
1807 * config/tc-i386.c (cpu_flags_match): Only match SSE2AVX
1808 templates when there's no data size prefix.
1809 (md_assemble): Reject data size prefix also for legacy encoded
1811 * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix64.s:
1812 Uncomment previously not working line.
1813 * testsuite/gas/i386/sse2avx.s: Add ldmxcsr/stmxcsr cases with
1815 * testsuite/gas/i386/prefix32.l, testsuite/gas/i386/prefix64.l,
1816 testsuite/gas/i386/sse2avx.d: Adjust expectations.
1818 2020-06-25 Jan Beulich <jbeulich@suse.com>
1820 * config/tc-i386.c (build_evex_prefix): Drop early setting of
1823 2020-06-23 Nelson Chu <nelson.chu@sifive.com>
1825 * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to
1826 explicit_priv_attr. It used to indicate CSR or priv instructions are
1828 (riscv_is_priv_insn): Return True if it is a privileged instruction.
1829 (riscv_ip): Call riscv_is_priv_insn to check whether the instruction
1830 is privileged or not. If it is, then set explicit_priv_attr to TRUE.
1831 (riscv_write_out_attrs): Clarification of when to generate the elf
1832 priv spec attributes.
1833 * testsuite/gas/riscv/attribute-11.s: Add comments.
1834 * testsuite/gas/riscv/attribute-14.s: New testcase. Use symbol
1835 `priv_insn_<n>` to decide which priv instruction is expected to used.
1837 * testsuite/gas/riscv/attribute-14a.d: Likewise.
1838 * testsuite/gas/riscv/attribute-14b.d: Likewise.
1839 * testsuite/gas/riscv/attribute-14c.d: Likewise.
1840 * testsuite/gas/riscv/attribute-14d.d: Likewise.
1841 * testsuite/gas/riscv/attribute-14e.d: Likewise.
1843 2020-06-22 Nelson Chu <nelson.chu@sifive.com>
1845 * config/tc-riscv.c (buf_size, buf): Remove the unused variables.
1846 (riscv_set_default_priv_spec): Get the priv spec version from the
1847 priv spec attributes by riscv_get_priv_spec_class_from_numbers.
1849 2020-06-20 Alan Modra <amodra@gmail.com>
1851 * configure.tgt: Set bfd_gas for all SH targets.
1853 2020-06-18 Jan Beulich <jbeulich@suse.com>
1855 * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case.
1856 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
1859 2020-06-16 Lili Cui <lili.cui@intel.com>
1861 * config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect
1862 cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS.
1863 * doc/c-i386.texi: Add avx512_vp2intersect.
1865 2020-06-16 Jan Beulich <jbeulich@suse.com>
1867 * config/tc-i386.c (md_assemble): Drop SSE4a from SSE check
1869 * testsuite/gas/i386/sse-check.s: Adjust comment.
1870 * testsuite/gas/i386/sse-check-error.l,
1871 testsuite/gas/i386/sse-check-warn.e,
1872 testsuite/gas/i386/x86-64-sse-check-error.l: Adjust
1875 2020-06-16 Alan Modra <amodra@gmail.com>
1877 * config/tc-tic30.h: Remove OBJ_AOUT support.
1878 * configure.tgt: Delete tic30-*-*aout* entry.
1880 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1882 * config/tc-xtensa.c (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
1884 (elf32xtensa_abi): New declaration.
1885 (option_abi_windowed, option_abi_call0): New enum constants.
1886 (md_longopts): Add entries for --abi-windowed and --abi-call0.
1887 (md_parse_option): Add handlers for --abi-windowed and
1889 (xtensa_add_config_info): Use xtensa_abi_choice instead of
1890 XSHAL_ABI to format ABI tag.
1891 * doc/as.texi (Target Xtensa options): Add --abi-windowed and
1892 --abi-call0 to the list of options.
1893 * doc/c-xtensa.texi: Add description for options --abi-windowed
1895 * testsuite/gas/xtensa/abi-call0.d: New test definition.
1896 * testsuite/gas/xtensa/abi-windowed.d: New test definition.
1897 * testsuite/gas/xtensa/abi.s: New test source.
1899 2020-06-14 H.J. Lu <hongjiu.lu@intel.com>
1902 * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with
1904 * testsuite/gas/i386/tsxldtrk.s: Likewise.
1905 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
1906 * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise.
1908 2020-06-12 Nelson Chu <nelson.chu@sifive.com>
1910 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
1911 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
1912 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1914 2020-06-09 Seth Girvan <snth@snthhacks.com>
1916 * doc/c-avr.texi: Improve wording.
1918 2020-06-09 Jan Beulich <jbeulich@suse.com>
1920 * testsuite/gas/i386/x86-64-pseudos-bad.s,
1921 testsuite/gas/i386/x86-64-pseudos-bad.l: New.
1923 2020-06-09 Jan Beulich <jbeulich@suse.com>
1925 * testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX
1927 * testsuite/gas/i386/prefix.d: Adjust expectations.
1929 2020-06-09 Jan Beulich <jbeulich@suse.com>
1931 * testsuite/gas/i386/prefix.s: Add bogus REP / EVEX.W prefix
1932 with VEX/EVEX encoding tests.
1933 * testsuite/gas/i386/prefix.d: Adjust expectations.
1935 2020-06-09 Jan Beulich <jbeulich@suse.com>
1937 * config/tc-i386.c (process_suffix): Restrict defaulting to 'q'
1939 * testsuite/gas/i386/noreg64.s: Add lcall/ljmp cases.
1940 * testsuite/gas/i386/noreg64.d: Adjust expectations.
1941 * testsuite/gas/i386/noreg-intel64.d,
1942 testsuite/gas/i386/noreg-intel64.l,
1943 testsuite/gas/i386/noreg-intel64.s: New.
1944 * testsuite/gas/i386/i386.exp: Run new tests.
1946 2020-06-09 Jan Beulich <jbeulich@suse.com>
1948 * config/tc-i386.c (vex_encoding_error): New enumerator.
1949 (VEX_check_operands): Rename to VEX_check_encoding. Check
1950 for vex_encoding_error. Move Imm4 handling ...
1951 (check_VecOperands): ... here.
1952 (match_template): Call VEX_check_encoding when there are no
1953 operands. Split construct calling check_VecOperands and
1954 VEX_check_encoding (when there are operands).
1955 (check_register): Don't blindly set vex_encoding_evex.
1956 * testsuite/gas/i386/pseudos-bad.s,
1957 testsuite/gas/i386/pseudos-bad.l: New.
1958 * testsuite/gas/i386/i386.exp: Run new test.
1959 * testsuite/gas/i386/xmmhi64.s: Drop {vex2}.
1961 2020-06-08 Alex Coplan <alex.coplan@arm.com>
1963 * config/tc-arm.c (insns): Add dfb.
1964 * testsuite/gas/arm/dfb.d: New test.
1965 * testsuite/gas/arm/dfb.s: Input for test.
1967 2020-06-08 Nick Clifton <nickc@redhat.com>
1969 * testsuite/gas/cfi/cfi-i386-2.d: Skip for PE based targets.
1971 2020-06-08 Jan Beulich <jbeulich@suse.com>
1973 * config/tc-i386.c (pi): Add checks for RegMask and RegBND.
1975 2020-06-08 Jan Beulich <jbeulich@suse.com>
1977 * config/tc-i386.c (check_byte_reg): Drop dead conditional
1980 2020-06-08 Jan Beulich <jbeulich@suse.com>
1982 * config/tc-i386.c (check_register): Split RegTR handling, to
1983 fail recognition also in 64-bit mode as well as with i586 or
1984 i686 explicitly enabled.
1985 * testsuite/gas/i386/x86_64.s: Add insns referencing tr<N>.
1986 * testsuite/gas/i386/x86_64-intel.d,
1987 testsuite/gas/i386/x86_64.d: Adjust expectations.
1989 2020-06-08 Jan Beulich <jbeulich@suse.com>
1991 * testsuite/gas/cfi/cfi-i386-2.d: Adjust expectations.
1992 * testsuite/gas/cfi/cfi.exp: Run this test.
1994 2020-06-08 Jan Beulich <jbeulich@suse.com>
1996 * config/tc-i386.c (parse_real_register): Add allow_pseudo_reg
1997 check to %st(N) parsing logic.
1998 * testsuite/gas/cfi/cfi-i386.s: Set "generic32" arch.
2000 2020-06-08 Jan Beulich <jbeulich@suse.com>
2002 * config/tc-i386.c (bad_reg): New.
2003 (check_VecOperations, i386_att_operand, i386_parse_name): Check
2005 (check_register): New, broken out from ...
2006 (parse_real_register): ... here. Call it.
2007 (parse_register): Call it, and error upon failure.
2008 * testsuite/gas/i386/equ-bad.s, testsuite/gas/i386/equ-bad.l,
2009 testsuite/gas/i386/x86-64-equ-bad.s,
2010 testsuite/gas/i386/x86-64-equ-bad.l: New.
2011 * testsuite/gas/i386/i386.exp: Run new tests.
2013 2020-06-06 Alan Modra <amodra@gmail.com>
2015 * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10.
2016 * doc/c-ppc.texi: Likewise.
2018 2020-06-06 Alan Modra <amodra@gmail.com>
2020 * config/tc-ppc.c: Update throughout for reloc renaming.
2022 2020-06-05 Jose E. Marchesi <jose.marchesi@oracle.com>
2024 * config/tc-bpf.c (md_apply_fix): Avoid GCC 10 warning
2027 2020-06-05 Nelson Chu <nelson.chu@sifive.com>
2029 * config/tc-riscv.c (explicit_csr): New static boolean.
2030 Used to indicate CSR are explictly used.
2031 (riscv_ip): Set explicit_csr to TRUE if any CSR is used.
2032 (riscv_write_out_attrs): If we already have set elf priv
2033 attributes, then generate them. Otherwise, don't generate
2034 them when no CSR are used.
2035 * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes.
2036 * testsuite/gas/riscv/attribute-02.d: Likewise.
2037 * testsuite/gas/riscv/attribute-03.d: Likewise.
2038 * testsuite/gas/riscv/attribute-04.d: Likewise.
2039 * testsuite/gas/riscv/attribute-05.d: Likewise.
2040 * testsuite/gas/riscv/attribute-06.d: Likewise.
2041 * testsuite/gas/riscv/attribute-07.d: Likewise.
2042 * testsuite/gas/riscv/attribute-08.d: Likewise.
2043 * testsuite/gas/riscv/attribute-09.d: Likewise.
2044 * testsuite/gas/riscv/attribute-10.d: Likewise.
2045 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2046 * testsuite/gas/riscv/attribute-11.s: New testcase.
2047 * testsuite/gas/riscv/attribute-11.d: New testcase. The CSR is
2048 used, so we should output the ELF priv attributes.
2049 * testsuite/gas/riscv/attribute-12.d: New testcase. The CSR is
2050 used, so output the priv attributes according to the -mpriv-spec.
2051 * testsuite/gas/riscv/attribute-13.d: New testcase. The CSR isn't
2052 used, so ignore the -mpriv-spec setting.
2054 2020-06-04 H.J. Lu <hongjiu.lu@intel.com>
2056 * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to
2057 cgen_get_insn_value.
2058 * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass
2059 endianness to cgen_get_insn_value and cgen_put_insn_value.
2061 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2063 * config/tc-bpf.c (md_apply_fix): Simplify and avoid using
2064 cgen_put_insn_value.
2066 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2068 * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to
2070 (md_assemble): Remove no longer needed hack.
2072 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2074 * cgen.c (gas_cgen_finish_insn): Pass the endianness to
2075 cgen_put_insn_value.
2076 (gas_cgen_md_apply_fix): Likewise.
2077 (gas_cgen_md_apply_fix): Likewise.
2078 * config/tc-bpf.c (md_apply_fix): Pass data endianness to
2079 cgen_put_insn_value.
2080 * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
2081 cgen_put_insn_value.
2083 2020-06-04 Alan Modra <amodra@gmail.com>
2085 * testsuite/config/default.exp: Remove global directive outside
2087 * testsuite/gas/mep/complex-relocs.exp: Likewise.
2088 * testsuite/gas/microblaze/relax_size.exp: Likewise.
2089 * testsuite/gas/microblaze/reloc_sym.exp: Likewise.
2090 * testsuite/gas/mt/relocs.exp: Likewise.
2091 * testsuite/gas/rx/rx.exp: Likewise.
2093 2020-06-03 Stephen Casner <casner@acm.org>
2095 * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe.
2097 2020-06-02 Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr>
2098 Jim Wilson <jimw@sifive.com>
2101 * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
2102 simm12(rs1). Correct S format to use simm12(rs1). Drop SB and B
2103 formats using simm12(rs1). Correct SB and B to use rs1 and rs2.
2104 Move B before SB. Move J before UJ.
2106 2020-06-01 Alex Coplan <alex.coplan@arm.com>
2108 * write.c (relax_segment): Fix handling of negative offset when
2109 relaxing an rs_org frag.
2110 * testsuite/gas/aarch64/org-neg.d: New test.
2111 * testsuite/gas/aarch64/org-neg.l: Error output for test.
2112 * testsuite/gas/aarch64/org-neg.s: Input for test.
2113 * testsuite/gas/arm/org-neg.d: New test.
2114 * testsuite/gas/arm/org-neg.l: Error output for test.
2115 * testsuite/gas/arm/org-neg.s: Input for test.
2117 2020-05-28 Stephen Casner <casner@acm.org>
2119 Fix unexpected failures in gas testsuite for pdp11-aout target.
2120 These are caused by the PDP11's mix of little-endian octets in
2121 shorts but shorts in big endian order for long or quad.
2123 * config/tc-pdp11.c (md_number_to_chars): Implement .quad
2124 * testsuite/gas/all/gas.exp: Select alternate test scripts for
2125 pdp11, skip octa test completely.
2126 * testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s
2127 * testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order.
2128 * testsuite/gas/all/cond-pdp11.l: Match different octet order.
2130 2020-05-28 Alex Coplan <alex.coplan@arm.com>
2132 * frags.c (frag_grow): Fix comment.
2134 2020-05-27 Stephen Casner <casner@acm.org>
2137 * config/tc-pdp11.c (parse_reg): Distinguish register names from
2138 symbols that begin with a register name.
2139 * testsuite/gas/pdp11/pdp11.exp: Add test of such symbols.
2140 * testsuite/gas/pdp11/pr26001.s: Likewise.
2141 * testsuite/gas/pdp11/pr26001.d: Likewise.
2143 2020-05-27 Simon Cook <simon.cook@embecosm.com>
2145 * config/tc-riscv.c (riscv_init_csr_hash): NULL initilize next
2146 pointer when creating struct riscv_csr_extra.
2148 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2150 * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF.
2151 * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF.
2152 * testsuite/gas/i386/inval-avx512f.l: Updated.
2154 2020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
2156 * testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector
2157 load/store instruction variants with alignment hints.
2158 * testsuite/gas/s390/zarch-z13.s: Emit new vector load/store
2159 instruction variants with alignment hints.
2161 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2164 * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X
2165 instead of R_XGATE_PCREL_X.
2166 (xgate_parse_operand): Replace R_XGATE_PCREL_X with
2167 BFD_RELOC_XGATE_PCREL_X.
2169 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2172 * config/tc-visium.c (md_convert_frag): Replace fragP->fr_literal
2173 with &fragP->fr_literal[0].
2175 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2178 * config/tc-vax.c (md_estimate_size_before_relax): Replace
2179 fragP->fr_literal with &fragP->fr_literal[0].
2180 (md_convert_frag): Likewise.
2182 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2185 * config/tc-v850.c (md_convert_frag): Replace fragP->fr_literal
2186 with &fragP->fr_literal[0].
2188 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2191 * config/tc-crx.c (getreg_image): Change argument type to int.
2192 (md_convert_frag): Replace fragP->fr_literal with
2193 &fragP->fr_literal[0].
2195 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2198 * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping
2199 sprintf with memmove.
2201 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2203 * config/tc-mcore.c (md_convert_frag): Replace fragP->fr_literal
2204 with &fragP->fr_literal[0].
2206 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2209 * config/tc-cr16.c (md_assemble): Use memmove to concatenate
2210 2 overlapping strings.
2212 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2214 * config/tc-cr16.c (md_convert_frag): Replace fragP->fr_literal
2215 with &fragP->fr_literal[0].
2217 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2219 * config/tc-csky.c (md_convert_frag): Replace fragp->fr_literal
2220 with &fragp->fr_literal[0].
2221 * config/tc-microblaze.c (md_apply_fix): Likewise.
2222 * config/tc-sh.c (md_convert_frag): Likewise.
2224 2020-05-24 Jim Wilson <jimw@sifive.com>
2227 * config/tc-riscv.c (riscv_pre_output_hook): Change s type from const
2228 asection to segT. New locals seg and subseg. Call subseg_set before
2229 fix_new_exp. Call subseg_set after loop to restore original values.
2231 2020-05-21 Alan Modra <amodra@gmail.com>
2233 * atof-generic.c: Replace "if (x) free (x)" with "free (x)"
2235 * config/obj-elf.c: Likewise.
2236 * config/tc-aarch64.c: Likewise.
2237 * config/tc-arm.c: Likewise.
2238 * config/tc-m68k.c: Likewise.
2239 * config/tc-nios2.c: Likewise.
2240 * config/tc-tic30.c: Likewise.
2241 * ecoff.c: Likewise.
2243 * stabs.c: Likewise.
2244 * symbols.c: Likewise.
2245 * testsuite/gas/all/test-gen.c: Likewise.
2247 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
2249 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
2250 * config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
2251 Static variables which are used to set the ISA extensions. You can
2252 use -march (or ELF build attributes) and -misa-spec to set them,
2254 (ext_version_hash): The hash table used to handle the extensions
2256 (init_ext_version_hash): Initialize the ext_version_hash according
2257 to riscv_ext_version_table.
2258 (riscv_get_default_ext_version): The callback function of
2259 riscv_parse_subset_t. According to the choosed ISA spec,
2260 get the default version for the specific extension.
2261 (riscv_set_arch): Set the callback function.
2262 (enum options, struct option md_longopts): Add new option -misa-spec.
2263 (md_parse_option): Do not call riscv_set_arch for -march. We will
2264 call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
2265 to set default_isa_spec class.
2266 (riscv_after_parse_args): Call init_ext_version_hash to initialize the
2267 ext_version_hash, and then call riscv_set_arch to set the architecture
2268 with versions according to default_arch_with_ext.
2269 * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
2271 * testsuite/gas/riscv/attribute-03.d: Likewise.
2272 * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
2273 already set it's version to 2p1 by march, so no need to use the default
2274 2p2 version. For m-ext, we do not set the version by -march and ELF arch
2275 attribute, so set the default 2p0 to it. For zicsr, it is not defined in
2276 ISA spec 2p2, so set 0p0 to it.
2277 * testsuite/gas/riscv/attribute-10.d: New testcase. The version of
2278 zicsr is 2p0 according to ISA spec 20191213.
2279 * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
2280 (DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
2281 You can set them by configure options --with-arch and
2282 --with-isa-spec, respectively.
2283 (riscv_set_default_isa_spec): New function used to set the
2285 (md_parse_option): Call riscv_set_default_isa_spec rather than
2286 call riscv_get_isa_spec_class directly.
2287 (riscv_after_parse_args): If the -isa-spec is not set, then we
2288 set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
2289 calling riscv_set_default_isa_spec.
2290 * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
2291 the --with-isa-spec may be set to different ISA spec.
2292 * testsuite/gas/riscv/attribute-02.d: Likewise.
2293 * testsuite/gas/riscv/attribute-03.d: Likewise.
2294 * testsuite/gas/riscv/attribute-04.d: Likewise.
2295 * testsuite/gas/riscv/attribute-05.d: Likewise.
2296 * testsuite/gas/riscv/attribute-06.d: Likewise.
2297 * testsuite/gas/riscv/attribute-07.d: Likewise.
2298 * configure.ac: Add configure options, --with-arch and
2300 * configure: Regenerated.
2301 * config.in: Regenerated.
2302 * config/tc-riscv.c (default_priv_spec): Static variable which is
2303 used to check if the CSR is valid for the chosen privilege spec. You
2304 can use -mpriv-spec to set it.
2305 (enum reg_class): We now get the CSR address from csr_extra_hash rather
2306 than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
2307 (riscv_init_csr_hashes): Only need to initialize one hash table
2309 (riscv_csr_class_check): Change the return type to void. Don't check
2310 the ISA dependency if -mcsr-check isn't set.
2311 (riscv_csr_version_check): New function. Check and find the CSR address
2312 from csr_extra_hash, according to default_priv_spec. Report warning
2313 for the invalid CSR if -mcsr-check is set.
2314 (reg_csr_lookup_internal): Updated.
2315 (reg_lookup_internal): Likewise.
2316 (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
2317 (enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
2318 (md_parse_option): Call riscv_set_default_priv_version to set
2320 (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
2321 privilege spec to the newest one.
2322 (enum riscv_csr_class, struct riscv_csr_extra): Move them to
2323 include/opcode/riscv.h.
2324 * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
2325 to check the ISA dependency for CSR, so fix the spec version by adding
2327 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
2328 version warnings for the test case.
2329 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
2330 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
2331 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
2332 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
2333 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2334 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
2335 Check whether the CSR is valid when privilege version 1.9 is choosed.
2336 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
2337 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
2338 Check whether the CSR is valid when privilege version 1.9.1 is choosed.
2339 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
2340 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
2341 Check whether the CSR is valid when privilege version 1.10 is choosed.
2342 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
2343 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
2344 Check whether the CSR is valid when privilege version 1.11 is choosed.
2345 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
2346 * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
2347 setting. You can set it by configure option --with-priv-spec.
2348 (riscv_set_default_priv_spec): New function used to set the default
2350 (md_parse_option): Call riscv_set_default_priv_spec rather than
2351 call riscv_get_priv_spec_class directly.
2352 (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
2353 default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
2354 calling riscv_set_default_priv_spec.
2355 * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
2356 the --with-priv-spec may be set to different privilege spec.
2357 * testsuite/gas/riscv/priv-reg.d: Likewise.
2358 * configure.ac: Add configure option --with-priv-spec.
2359 * configure: Regenerated.
2360 * config.in: Regenerated.
2361 * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
2362 explicit_attr. Set it to TRUE if any ELF attribute is found.
2363 (riscv_set_default_priv_spec): Try to set the default_priv_spec if
2364 the priv attributes are set.
2365 (md_assemble): Set the default_priv_spec according to the priv
2366 attributes when we start to assemble instruction.
2367 (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
2368 riscv_write_out_attrs. Update the arch and priv attributes. If we
2369 don't set the corresponding ELF attributes, then try to output the
2371 (riscv_set_public_attributes): If any ELF attribute or -march-attr
2372 options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
2373 to update the arch and priv attributes.
2374 (s_riscv_attribute): Make sure all arch and priv attributes are set
2375 before any instruction.
2376 * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
2377 ELF attribute or -march-attr is set. If the priv attributes are not
2378 set, then try to update them by the default setting (-mpriv-spec or
2380 * testsuite/gas/riscv/attribute-02.d: Likewise.
2381 * testsuite/gas/riscv/attribute-03.d: Likewise.
2382 * testsuite/gas/riscv/attribute-04.d: Likewise.
2383 * testsuite/gas/riscv/attribute-06.d: Likewise.
2384 * testsuite/gas/riscv/attribute-07.d: Likewise.
2385 * testsuite/gas/riscv/attribute-08.d: Likewise.
2386 * testsuite/gas/riscv/attribute-09.d: Likewise.
2387 * testsuite/gas/riscv/attribute-10.d: Likewise.
2388 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2389 * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
2390 set by priv attributes must be supported.
2391 * testsuite/gas/riscv/attribute-05.s: Likewise.
2392 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
2393 priv attributes according to the -mpriv-spec option.
2394 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
2395 * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
2396 * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
2397 * testsuite/gas/riscv/priv-reg.d: Removed.
2398 * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
2399 CSR according to the priv spec 1.9.
2400 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
2401 CSR according to the priv spec 1.9.1.
2402 * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
2403 CSR according to the priv spec 1.10.
2404 * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
2405 CSR according to the priv spec 1.11.
2406 * config/tc-riscv.c (md_show_usage): Add descriptions about
2407 the new GAS options.
2408 * doc/c-riscv.texi: Likewise.
2410 2020-05-19 Peter Bergner <bergner@linux.ibm.com>
2412 * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
2413 * testsuite/gas/ppc/power9.d: Likewise.
2414 * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
2415 pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
2416 sync, wait, waitrsv>: Add tests.
2417 * testsuite/gas/ppc/power10.d: Likewise.
2419 2020-05-19 Alexander Fedotov <alfedotov@gmail.com>
2422 * config/tc-arm.c : Add arm_ext_v8r feature.
2423 (it_fsm_post_encode): Check arm_ext_v8r feature.
2424 (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.
2426 2020-05-19 Alan Modra <amodra@gmail.com>
2428 * write.c (write_contents): Use bfd_get_filename rather than
2429 accessing bfd->filename directly. Use bfd_section_name rather
2430 than accessing section->name directly.
2432 2020-05-19 Alan Modra <amodra@gmail.com>
2434 * symbols.c (local_symbol_make): Init all of lsy_flags.
2436 2020-05-18 Alan Modra <amodra@gmail.com>
2438 * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
2439 before looking at add_symbol->sy_flags.
2441 2020-05-18 Hongtao Liu <hongtao.liu@intel.com>
2443 * config/tc-i386.c: Not handle lret/iret.
2444 * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
2445 * testsuite/gas/i386/lfence-ret-b.d: Ditto.
2446 * testsuite/gas/i386/lfence-ret-c.d: Ditto.
2447 * testsuite/gas/i386/lfence-ret-d.d: Ditto.
2448 * testsuite/gas/i386/lfence-ret.s: Ditto.
2449 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
2450 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
2451 * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
2452 * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
2453 * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
2454 * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
2455 * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
2457 2020-05-15 Alan Modra <amodra@gmail.com>
2458 Alex Coplan <alex.coplan@arm.com>
2460 * symbols.c (struct local_symbol): Update comment.
2461 (resolve_symbol_value): For resolved symbols equated to other
2462 symbols, verify that the referenced symbol is not a local_symbol
2463 before accessing sy_value. Don't leave symbol loops during
2464 finalize_syms resolution.
2465 * testsuite/gas/all/assign-bad-recursive.d: New test.
2466 * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
2467 * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
2468 * testsuite/gas/all/gas.exp: Run it.
2470 2020-05-14 Nick Clifton <nickc@redhat.com>
2472 * po/sv.po: Updated Swedish translation.
2474 2020-05-11 Alan Modra <amodra@gmail.com>
2476 * testsuite/gas/ppc/scalarquad.d,
2477 * testsuite/gas/ppc/scalarquad.s: New test.
2478 * testsuite/gas/ppc/ppc.exp: Run it.
2480 2020-05-11 Alan Modra <amodra@gmail.com>
2482 * testsuite/gas/ppc/rightmost.d,
2483 * testsuite/gas/ppc/rightmost.s: New test.
2484 * testsuite/gas/ppc/ppc.exp: Run it.
2486 2020-05-11 Alan Modra <amodra@gmail.com>
2488 * testsuite/gas/ppc/xvtlsbb.d,
2489 * testsuite/gas/ppc/xvtlsbb.s: New test.
2490 * testsuite/gas/ppc/ppc.exp: Run it.
2492 2020-05-11 Alan Modra <amodra@gmail.com>
2494 * testsuite/gas/ppc/stringop.d,
2495 * testsuite/gas/ppc/stringop.s: New test.
2496 * testsuite/gas/ppc/ppc.exp: Run it.
2498 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2500 * testsuite/gas/ppc/set_bool.d,
2501 * testsuite/gas/ppc/set_bool.s: New test.
2502 * testsuite/gas/ppc/ppc.exp: Run it.
2504 2020-05-11 Alan Modra <amodra@gmail.com>
2506 * testsuite/gas/ppc/bitmanip.d,
2507 * testsuite/gas/ppc/bitmanip.s: New test.
2508 * testsuite/gas/ppc/ppc.exp: Run it.
2510 2020-05-11 Alan Modra <amodra@gmail.com>
2512 * testsuite/gas/ppc/genpcv.d,
2513 * testsuite/gas/ppc/genpcv.s: New test.
2514 * testsuite/gas/ppc/ppc.exp: Run it.
2516 2020-05-11 Alan Modra <amodra@gmail.com>
2518 * testsuite/gas/ppc/maskmanip.d,
2519 * testsuite/gas/ppc/maskmanip.s: New test.
2520 * testsuite/gas/ppc/ppc.exp: Run it.
2522 2020-05-11 Alan Modra <amodra@gmail.com>
2523 Peter Bergner <bergner@linux.ibm.com>
2525 * config/tc-ppc.c (pre_defined_registers): Add accumulators.
2526 (md_assemble): Check acc specified in correct operand.
2527 * testsuite/gas/ppc/outerprod.d,
2528 * testsuite/gas/ppc/outerprod.s,
2529 * testsuite/gas/ppc/vsx4.d,
2530 * testsuite/gas/ppc/vsx4.s: New tests.
2531 * testsuite/gas/ppc/ppc.exp: Run them.
2533 2020-05-11 Alan Modra <amodra@gmail.com>
2535 * testsuite/gas/ppc/simd_perm.d,
2536 * testsuite/gas/ppc/simd_perm.s: New test.
2537 * testsuite/gas/ppc/ppc.exp: Run it.
2539 2020-05-11 Alan Modra <amodra@gmail.com>
2541 * testsuite/gas/ppc/int128.d,
2542 * testsuite/gas/ppc/int128.s: New test.
2543 * testsuite/gas/ppc/ppc.exp: Run it.
2545 2020-05-11 Alan Modra <amodra@gmail.com>
2547 * testsuite/gas/ppc/vsx_32byte.d,
2548 * testsuite/gas/ppc/vsx_32byte.s: New test.
2549 * testsuite/gas/ppc/ppc.exp: Run it.
2551 2020-05-11 Alan Modra <amodra@gmail.com>
2553 * testsuite/gas/ppc/vec_mul.s,
2554 * testsuite/gas/ppc/vec_mul.d: New test.
2555 * testsuite/gas/ppc/ppc.exp: Run it.
2557 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2559 * testsuite/gas/ppc/byte_rev.d,
2560 * testsuite/gas/ppc/byte_rev.s: New test.
2561 * testsuite/gas/ppc/ppc.exp: Run it.
2563 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2565 * testsuite/gas/ppc/power10.d: Add paste. tests.
2566 * testsuite/gas/ppc/power10.s: Likewise.
2568 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2570 * testsuite/gas/ppc/power10.s: New test.
2571 * testsuite/gas/ppc/power10.d: Likewise.
2572 * testsuite/gas/ppc/ppc.exp: Run it.
2574 2020-05-11 Alan Modra <amodra@gmail.com>
2576 * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
2578 * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
2579 place of -mfuture/-Mfuture.
2580 * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
2581 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
2583 2020-05-06 Nick Clifton <nickc@redhat.com>
2585 * po/sv.po: Updated Swedish translation.
2587 2020-05-06 Nick Clifton <nickc@redhat.com>
2590 * doc/as.texi (Preprocessing): Replace cross reference to not
2591 existant document with a URL to the equivalent page in the GCC
2594 2020-05-05 Nick Clifton <nickc@redhat.com>
2596 * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
2597 construction of a DWARF-5 directory name table.
2598 * testsuite/gas/elf/pr25917.d: Update expected output.
2600 2020-05-05 Gunther Nikl <gnikl@justmail.de>
2602 * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
2603 (md_parse_option): Remove initialization of elf_flags.
2605 2020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com>
2608 * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
2609 * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
2610 * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
2612 2020-05-04 Nick Clifton <nickc@redhat.com>
2615 * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
2616 table's existence before looking at its entries.
2617 Also do not emit a default directory entry if there are no
2620 * testsuite/gas/elf/pr25917.s: New test source file.
2621 * testsuite/gas/elf/pr25917.d: New test driver.
2622 * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
2624 2020-04-30 Alex Coplan <alex.coplan@arm.com>
2626 * config/tc-aarch64.c (fix_insn): Implement for
2627 AARCH64_OPND_UNDEFINED.
2628 (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
2629 * testsuite/gas/aarch64/udf.s: New.
2630 * testsuite/gas/aarch64/udf.d: New.
2631 * testsuite/gas/aarch64/udf-invalid.s: New.
2632 * testsuite/gas/aarch64/udf-invalid.l: New.
2633 * testsuite/gas/aarch64/udf-invalid.d: New.
2635 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
2637 * config/tc-rx.c (elf_flags): Reset default value.
2638 (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
2640 2020-04-29 Max Filippov <jcmvbkbc@gmail.com>
2642 * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
2643 if it's not defined.
2644 (microarch_earliest): New static variable.
2645 (xg_translate_idioms): Translate "simcall" to "simcall 0" when
2646 simcall opcode has mandatory parameter.
2647 (xg_init_global_config): Initialize microarch_earliest.
2649 2020-04-29 Nick Clifton <nickc@redhat.com>
2652 * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
2653 IMM0_8S and add support for IMM0_8U.
2654 * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
2655 unsigned 8-bit immediate.
2656 * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
2657 * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
2659 2020-04-27 Tamar Christina <tamar.christina@arm.com>
2661 * NEWS: Add news entry for big-obj.
2662 * config/tc-i386.c (i386_target_format): Support new format.
2663 * doc/c-i386.texi: Add i386 support.
2664 * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
2665 * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
2667 2020-04-27 Nick Clifton <nickc@redhat.com>
2670 * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
2671 (assign_file_to_slot): New function. Fills in an entry in the
2673 (allocate_filenum): Use new function.
2674 (allocate_filename_to_slot): Use new function. If the specified
2675 slot entry is already in use, but was chosen automatically then
2676 reassign the automatic entry.
2678 2020-04-26 Hongtao Liu <hongtao.liu@intel.com
2680 * config/tc-i386.c (lfence_before_ret_shl): New member.
2681 (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
2683 (insert_after_load): Issue warning for REP CMPS/SCAS.
2684 (insert_before_before): Handle iret, Handle
2685 -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
2686 (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
2687 -mlfence-before-ret=[none/not/or/shl/yes].
2688 Enable -mlfence-before-ret=shl when
2689 -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
2690 (md_show_usage): Ditto.
2691 * doc/c-i386.texi: Ditto.
2692 * testsuite/gas/i386/i386.exp: Add new testcases.
2693 * testsuite/gas/i386/lfence-load-b.d: New.
2694 * testsuite/gas/i386/lfence-load-b.e: New.
2695 * testsuite/gas/i386/lfence-load.d: Modified.
2696 * testsuite/gas/i386/lfence-load.e: New.
2697 * testsuite/gas/i386/lfence-load.s: Modified.
2698 * testsuite/gas/i386/lfence-ret-a.d: Modified.
2699 * testsuite/gas/i386/lfence-ret-b.d: Modified.
2700 * testsuite/gas/i386/lfence-ret-c.d: New.
2701 * testsuite/gas/i386/lfence-ret-d.d: New.
2702 * testsuite/gas/i386/lfence-ret.s: Modified.
2703 * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
2704 * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
2705 * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
2706 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
2707 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
2708 * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
2709 * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
2710 * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
2711 * testsuite/gas/i386/x86-64-lfence-ret.e: New.
2712 * testsuite/gas/i386/x86-64-lfence-ret.s: New.
2714 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
2717 * config/tc-xtensa.c (md_apply_fix): Replace
2718 BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
2719 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
2720 BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
2721 * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
2722 with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
2724 2020-04-22 Alan Modra <amodra@gmail.com>
2726 * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
2727 symbol for ".symver .. remove".
2728 * doc/as.texi (.symver): Update.
2729 * testsuite/gas/symver/symver11.s: Make foo weak.
2730 * testsuite/gas/symver/symver11.d: Expect an error.
2731 * testsuite/gas/symver/symver7.d: Allow other random symbols.
2733 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
2735 * testsuite/gas/symver/symver11.s: Add ".balign 8".
2737 2020-04-21 Andreas Schwab <schwab@linux-m68k.org>
2740 * testsuite/gas/m68k/operands.s: Add tests for cmpi.
2741 * testsuite/gas/m68k/operands.d: Update.
2742 * testsuite/gas/m68k/op68000.d: Update for new error messages.
2744 2020-04-21 Tamar Christina <tamar.christina@arm.com>
2747 * testsuite/gas/arm/pr24753.d: New test.
2748 * testsuite/gas/arm/pr24753.s: New test.
2750 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
2754 * NEWS: Mention .symver extension.
2755 * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
2757 (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
2758 add a version name. Add local, hidden and remove visibility
2760 (elf_frob_symbol): Handle the list of version names. Update the
2761 original symbol to local, hidden or remove it from the symbol
2763 (elf_frob_file_before_adjust): Handle the list of version names.
2764 * config/obj-elf.h (elf_visibility): New.
2765 (elf_versioned_name_list): Likewise.
2766 (elf_obj_sy): Change local to bitfield. Add rename, bad_version
2767 and visibility. Change versioned_name pointer to struct
2768 elf_versioned_name_list.
2769 * doc/as.texi: Update .symver directive.
2770 * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more
2771 error checking tests.
2772 * testsuite/gas/symver/symver6.d: New file.
2773 * testsuite/gas/symver/symver7.d: Likewise.
2774 * testsuite/gas/symver/symver7.s: Likewise.
2775 * testsuite/gas/symver/symver8.d: Likewise.
2776 * testsuite/gas/symver/symver8.s: Likewise.
2777 * testsuite/gas/symver/symver9.s: Likewise.
2778 * testsuite/gas/symver/symver9a.d: Likewise.
2779 * testsuite/gas/symver/symver9b.d: Likewise.
2780 * testsuite/gas/symver/symver10.s: Likewise.
2781 * testsuite/gas/symver/symver10a.d: Likewise.
2782 * testsuite/gas/symver/symver10b.d: Likewise.
2783 * testsuite/gas/symver/symver11.d: Likewise.
2784 * testsuite/gas/symver/symver11.s: Likewise.
2785 * testsuite/gas/symver/symver12.d: Likewise.
2786 * testsuite/gas/symver/symver12.s: Likewise.
2787 * testsuite/gas/symver/symver13.d: Likewise.
2788 * testsuite/gas/symver/symver13.s: Likewise.
2789 * testsuite/gas/symver/symver14.d: Likewise.
2790 * testsuite/gas/symver/symver14.l: Likewise.
2791 * testsuite/gas/symver/symver15.d: Likewise.
2792 * testsuite/gas/symver/symver15.l: Likewise.
2793 * testsuite/gas/symver/symver6.l: Removed.
2794 * testsuite/gas/symver/symver6.s: Updated.
2796 2020-04-20 Sudakshina Das <sudi.das@arm.com>
2798 * config/tc-aarch64.c (parse_barrier_psb): Update error messages
2800 * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests.
2801 * testsuite/gas/aarch64/system-2.s: Add new tsb tests.
2802 * testsuite/gas/aarch64/system.d: Update.
2804 2020-04-20 Sudakshina Das <sudi.das@arm.com>
2806 * testsuite/gas/aarch64/bti.d: Update -march option.
2807 * testsuite/gas/aarch64/illegal-bti.d: Remove.
2808 * testsuite/gas/aarch64/illegal-bti.l: Remove.
2809 * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
2810 * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
2812 2020-04-17 Alan Modra <amodra@gmail.com>
2814 * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot.
2816 2020-04-16 Gagan Singh Sidhu <broly@mac.com>
2817 Nick Clifton <nickc@redhat.com>
2820 * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
2822 * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
2823 for the type-2 test.
2824 * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
2825 targets running this test.
2827 2020-02-16 David Faust <david.faust@oracle.com>
2829 * testsuite/gas/bpf/bpf.exp: Run jump32 tests.
2830 * testsuite/gas/bpf/jump32.s: New file.
2831 * testsuite/gas/bpf/jump32.d: Likewise.
2833 2020-04-08 H.J. Lu <hongjiu.lu@intel.com>
2835 * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
2838 2020-04-08 Gunther Nikl <gnikl@justmail.de>
2840 * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
2841 (md_pcrel_from): Remove prototytpe.
2842 * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
2844 (md_pcrel_from_section): Remove duplicate prototype.
2845 * tc.h (md_pcrel_from_section): Add prototype.
2846 * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
2847 * config/tc-arc.h (md_pcrel_from_section): Likewise.
2848 * config/tc-arm.h (md_pcrel_from_section): Likewise.
2849 * config/tc-avr.h (md_pcrel_from_section): Likewise.
2850 * config/tc-bfin.h (md_pcrel_from_section): Likewise.
2851 * config/tc-bpf.h (md_pcrel_from_section): Likewise.
2852 * config/tc-csky.h (md_pcrel_from_section): Likewise.
2853 * config/tc-d10v.h (md_pcrel_from_section): Likewise.
2854 * config/tc-d30v.h (md_pcrel_from_section): Likewise.
2855 * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
2856 * config/tc-fr30.h (md_pcrel_from_section): Likewise.
2857 * config/tc-frv.h (md_pcrel_from_section): Likewise.
2858 * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
2859 * config/tc-lm32.h (md_pcrel_from_section): Likewise.
2860 * config/tc-m32c.h (md_pcrel_from_section): Likewise.
2861 * config/tc-m32r.h (md_pcrel_from_section): Likewise.
2862 * config/tc-mcore.h (md_pcrel_from_section): Likewise.
2863 * config/tc-mep.h (md_pcrel_from_section): Likewise.
2864 * config/tc-metag.h (md_pcrel_from_section): Likewise.
2865 * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
2866 * config/tc-mmix.h (md_pcrel_from_section): Likewise.
2867 * config/tc-moxie.h (md_pcrel_from_section): Likewise.
2868 * config/tc-msp430.h (md_pcrel_from_section): Likewise.
2869 * config/tc-mt.h (md_pcrel_from_section): Likewise.
2870 * config/tc-or1k.h (md_pcrel_from_section): Likewise.
2871 * config/tc-ppc.h (md_pcrel_from_section): Likewise.
2872 * config/tc-rl78.h (md_pcrel_from_section): Likewise.
2873 * config/tc-rx.h (md_pcrel_from_section): Likewise.
2874 * config/tc-s390.h (md_pcrel_from_section): Likewise.
2875 * config/tc-sh.h (md_pcrel_from_section): Likewise.
2876 * config/tc-xc16x.h (md_pcrel_from_section): Likewise.
2877 * config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
2878 * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
2879 md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
2880 md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
2881 md_apply_fix3): Delete prototypes.
2883 2020-04-07 H.J. Lu <hongjiu.lu@intel.com>
2885 * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
2888 2020-04-07 H.J. Lu <hongjiu.lu@intel.com>
2890 * doc/c-z80.texi: Fix @xref warnings.
2892 2020-04-07 Lili Cui <lili.cui@intel.com>
2894 * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
2895 (cpu_noarch): Likewise.
2896 * doc/c-i386.texi: Document TSXLDTRK.
2897 * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
2898 * testsuite/gas/i386/tsxldtrk.d: Likewise.
2899 * testsuite/gas/i386/tsxldtrk.s: Likewise.
2900 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
2902 2020-04-02 Lili Cui <lili.cui@intel.com>
2904 * config/tc-i386.c (cpu_arch): Add .serialize.
2905 (cpu_noarch): Likewise.
2906 * doc/c-i386.texi: Document serialize.
2907 * testsuite/gas/i386/i386.exp: Run serialize tests
2908 * testsuite/gas/i386/serialize.d: Likewise.
2909 * testsuite/gas/i386/x86-64-serialize.d: Likewise.
2910 * testsuite/gas/i386/serialize.s: Likewise.
2912 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2914 * testsuite/gas/elf/section12a.d: Use notarget instead of xfail.
2915 * testsuite/gas/elf/section12b.d: Likewise.
2916 * testsuite/gas/elf/section16a.d: Likewise.
2917 * testsuite/gas/elf/section16b.d: Likewise.
2919 2020-04-02 Gunther Nikl <gnikl@justmail.de>
2921 * config/tc-m68k.c (m68k_ip): Fix range check for index register
2922 with a suppressed address register.
2924 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
2927 * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New.
2928 * testsuite/gas/i386/localpic.s: Add a test for relocation
2929 against local absolute symbol.
2930 * testsuite/gas/i386/x86-64-localpic.s: Likewise.
2931 * testsuite/gas/i386/localpic.d: Updated.
2932 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2933 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2935 2020-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2938 * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
2939 * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
2940 * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
2941 testsuite/gas/i386/x86-64-jump.d.
2942 * gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
2943 Incorporate changes to
2944 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
2945 * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
2946 changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
2947 * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
2948 * testsuite/gas/i386/x86-64-branch-3.d: Likewise.
2950 2020-03-31 Maciej W. Rozycki <macro@linux-mips.org>
2954 * dwarf2dbg.c: Do not include "bignum.h".
2956 2020-03-30 Nelson Chu <nelson.chu@sifive.com>
2958 * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo.
2959 * testsuite/gas/riscv/alias-csr.s: Likewise.
2960 * testsuite/gas/riscv/no-aliases-csr.d: Move this
2961 to priv-reg-pseudo-noalias.
2962 * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent.
2963 * testsuite/gas/riscv/bad-csr.l: Likewise.
2964 * testsuite/gas/riscv/bad-csr.s: Likewise.
2965 * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg.
2966 * testsuite/gas/riscv/satp.s: Likewise.
2967 * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo
2968 csr instruction, including alias-csr testcase.
2969 * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise.
2970 * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all
2971 pseudo instruction with objdump -Mno-aliases.
2972 * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase.
2973 * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise.
2974 * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise.
2975 * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11.
2976 * testsuite/gas/riscv/priv-reg.s: Likewise.
2977 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2978 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
2979 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
2981 2020-03-25 J.W. Jagersma <jwjagersma@gmail.com>
2983 * config/obj-coff.c (obj_coff_section): Set the bss flag on
2984 sections with the "b" attribute.
2986 2020-03-22 Alan Modra <amodra@gmail.com>
2988 * testsuite/gas/s12z/truncated.d: Update expected output.
2990 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
2993 * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
2994 * doc/c-z80.texi: Update documentation.
2996 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
3001 Fix disassembling ED+A4/AC/B4/BC opcodes.
3002 Fix assembling lines containing colonless label and instruction
3003 with first operand inside parentheses.
3004 Fix registration of unsupported by target CPU registers.
3005 * config/tc-z80.c: See above.
3006 * config/tc-z80.h: See above.
3007 * testsuite/gas/z80/colonless.d: Update test.
3008 * testsuite/gas/z80/colonless.s: Likewise.
3009 * testsuite/gas/z80/ez80_adl_all.d: Likewise.
3010 * testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
3011 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3012 * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
3013 * testsuite/gas/z80/r800_unsup_regs.d: Likewise.
3014 * testsuite/gas/z80/unsup_regs.s: Likewise.
3015 * testsuite/gas/z80/z180_unsup_regs.d: Likewise.
3016 * testsuite/gas/z80/z80.exp: Likewise.
3017 * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
3018 * testsuite/gas/z80/z80_unsup_regs.d: Likewise.
3019 * testsuite/gas/z80/z80n_unsup_regs.d: Likewise.
3021 2020-03-13 Andre Vieira <andre.simoesdiasvieira@arm.com>
3024 * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ.
3025 (parse_operands): Handle new operand codes.
3026 (do_neon_dyadic_long): Make shape check accept the scalar variants.
3027 (asm_opcode_insns): Fix operand codes for vaddl and vsubl.
3028 * testsuite/gas/arm/mve-vaddsub-it.s: New test.
3029 * testsuite/gas/arm/mve-vaddsub-it.d: New test.
3030 * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test.
3031 * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test.
3032 * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test.
3033 * testsuite/gas/arm/nomve-vaddsub-it.d: New test.
3035 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3037 * NEWS: Mention x86 assembler options for CVE-2020-0551.
3039 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3041 * testsuite/gas/i386/i386.exp: Run new tests.
3042 * testsuite/gas/i386/lfence-byte.d: New file.
3043 * testsuite/gas/i386/lfence-byte.e: Likewise.
3044 * testsuite/gas/i386/lfence-byte.s: Likewise.
3045 * testsuite/gas/i386/lfence-indbr-a.d: Likewise.
3046 * testsuite/gas/i386/lfence-indbr-b.d: Likewise.
3047 * testsuite/gas/i386/lfence-indbr-c.d: Likewise.
3048 * testsuite/gas/i386/lfence-indbr.e: Likewise.
3049 * testsuite/gas/i386/lfence-indbr.s: Likewise.
3050 * testsuite/gas/i386/lfence-load.d: Likewise.
3051 * testsuite/gas/i386/lfence-load.s: Likewise.
3052 * testsuite/gas/i386/lfence-ret-a.d: Likewise.
3053 * testsuite/gas/i386/lfence-ret-b.d: Likewise.
3054 * testsuite/gas/i386/lfence-ret.s: Likewise.
3055 * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise.
3056 * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise.
3057 * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise.
3058 * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise.
3059 * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise.
3060 * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise.
3061 * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise.
3062 * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise.
3063 * testsuite/gas/i386/x86-64-lfence-load.d: Likewise.
3064 * testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
3065 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise.
3066 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise.
3068 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3070 * config/tc-i386.c (lfence_after_load): New.
3071 (lfence_before_indirect_branch_kind): New.
3072 (lfence_before_indirect_branch): New.
3073 (lfence_before_ret_kind): New.
3074 (lfence_before_ret): New.
3077 (insert_lfence_after): New.
3078 (insert_lfence_before): New.
3079 (md_assemble): Call insert_lfence_before and insert_lfence_after.
3081 (OPTION_MLFENCE_AFTER_LOAD): New.
3082 (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New.
3083 (OPTION_MLFENCE_BEFORE_RET): New.
3084 (md_longopts): Add -mlfence-after-load=,
3085 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3086 (md_parse_option): Handle -mlfence-after-load=,
3087 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3088 (md_show_usage): Display -mlfence-after-load=,
3089 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3090 (i386_cons_align): New.
3091 * config/tc-i386.h (i386_cons_align): New.
3092 (md_cons_align): New.
3093 * doc/c-i386.texi: Document -mlfence-after-load=,
3094 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3096 2020-03-11 Nick Clifton <nickc@redhat.com>
3100 * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1.
3101 (DWARF2_FILE_SIZE_NAME): Default to -1.
3102 (DWARF2_LINE_VERSION): Default to the current dwarf level or 3,
3103 whichever is higher.
3104 (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1.
3105 (NUM_MD5_BYTES): Define.
3106 (struct file entry): Add md5 field.
3107 (get_filenum): Delete and replace with...
3108 (get_basename): New function.
3109 (get_directory_table_entry): New function.
3110 (allocate_filenum): New function.
3111 (allocate_filename_to_slot): New function.
3112 (dwarf2_where): Use new functions.
3113 (dwarf2_directive_filename): Add support for extended .file
3115 (dwarf2_directive_loc): Allow the use of file number zero with
3117 (out_file_list): Rename to...
3118 (out_dir_and_file_list): Add DWARF 5 support.
3119 (out_debug_line): Emit extra values into the section header for
3121 (out_debug_str): Allow for file 0 to be used with DWARF 5.
3122 * doc/as.texi (.file): Update the description of this pseudo-op.
3123 * testsuite/gas/elf-dwarf-5-file0.s: Add more lines.
3124 * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output.
3125 * testsuite/gas/lns/lns-diag-1.l: Update expected error message.
3126 * NEWS: Mention the new feature.
3128 2020-03-10 Alan Modra <amodra@gmail.com>
3130 * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
3131 to avoid signed overflow.
3132 * config/tc-mcore.c (md_assemble): Likewise.
3133 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
3134 * config/tc-nds32.c (SET_ADDEND): Likewise.
3135 * config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
3137 2020-03-09 Jan Beulich <jbeulich@suse.com>
3139 * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos.
3140 * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d,
3141 testsuite/gas/i386/avx-intel.d: Adjust expectations.
3143 2020-03-07 Alan Modra <amodra@gmail.com>
3145 * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in
3148 2020-03-06 Nick Clifton <nickc@redhat.com>
3151 * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
3152 0 if the dwarf_level is 5 or more. Complain if a filename follows
3154 * testsuite/gas/elf/dwarf-5-file0.s: New test.
3155 * testsuite/gas/elf/dwarf-5-file0.d: New test driver.
3156 * testsuite/gas/elf/elf.exp: Run the new test.
3159 * config/tc-ia64.h (DWARF2_VERISION): Fix typo.
3160 * doc/as.texi: Fix another typo.
3162 2020-03-06 Nick Clifton <nickc@redhat.com>
3165 * as.c (dwarf_level): Define.
3166 (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
3167 (parse_args): Add support for the new options.
3168 as.h (dwarf_level): Prototype.
3169 * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
3171 * config/tc-ia64.h (DWARF2_VERISION): Update definition.
3172 (DWARF2_LINE_VERSION): Remove definition.
3173 * doc/as.texi: Document the new options.
3175 2020-03-06 Nick Clifton <nickc@redhat.com>
3178 * as.c (main): Allow matching input and outputs when they are
3181 2020-03-06 Jan Beulich <jbeulich@suse.com>
3183 * config/tc-i386.c (match_mem_size): Generalize broadcast special
3185 (check_VecOperands): Zap xmmword/ymmword/zmmword when more than
3186 one of byte/word/dword/qword is set alongside a SIMD register in
3187 a template's operand.
3189 2020-03-06 Jan Beulich <jbeulich@suse.com>
3191 * config/tc-i386.c (match_template): Extend code in logic
3192 rejecting certain suffixes in certain modes to also cover mask
3193 register use and VecSIB. Drop special casing of broadcast. Skip
3194 immediates in the check.
3196 2020-03-06 Jan Beulich <jbeulich@suse.com>
3198 * config/tc-i386.c (match_template): Fold duplicate code in
3199 logic rejecting certain suffixes in certain modes. Drop
3202 2020-03-06 Jan Beulich <jbeulich@suse.com>
3204 * config/tc-i386.c (process_suffix): Exlucde !vexw insns
3205 alongside !norex64 ones.
3206 * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR*
3207 with both 32- and 64-bit GPR operands.
3208 * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both
3209 32- and 64-bit GPR operands.
3210 * testsuite/gas/i386/x86-64-avx512bw-intel.d,
3211 testsuite/gas/i386/x86-64-avx512bw.d,
3212 testsuite/gas/i386/x86-64-avx512f-intel.d,
3213 testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations.
3215 2020-03-06 Jan Beulich <jbeulich@suse.com>
3217 * config/tc-i386.c (md_assemble): Drop use of rex64.
3218 (process_suffix): For REX.W for 64-bit CRC32.
3220 2020-03-06 Jan Beulich <jbeulich@suse.com>
3222 * config/tc-i386.c (i386_addressing_mode): For 32-bit
3223 addressing for MPX insns without base/index.
3224 * testsuite/gas/i386/mpx-16bit.s,
3225 * testsuite/gas/i386/mpx-16bit.d: New.
3226 * testsuite/gas/i386/i386.exp: Run new test.
3228 2020-03-06 Jan Beulich <jbeulich@suse.com>
3230 * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s,
3231 testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s,
3232 testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s,
3233 testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s,
3234 * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases
3235 as well as a BSWAP one.
3236 * testsuite/gas/i386/rdpid.s: Add 16-bit case.
3237 * testsuite/gas/i386/sse2-16bit.s: Cover more insns.
3238 * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d,
3239 testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
3240 testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d,
3241 testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d,
3242 testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d,
3243 testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d,
3244 testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d,
3245 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d,
3246 testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d,
3247 testsuite/gas/i386/vmx.d: Adjust expectations.
3249 2020-03-06 Jan Beulich <jbeulich@suse.com>
3251 * config/tc-i386.c (md_assemble): Also exclude tpause and umwait
3252 from having their operands swapped.
3253 * testsuite/gas/i386/waitpkg.s,
3254 testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait
3255 3-operand cases as well as testing of 16-bit code generation.
3256 * testsuite/gas/i386/waitpkg.d,
3257 testsuite/gas/i386/waitpkg-intel.d,
3258 testsuite/gas/i386/x86-64-waitpkg.d,
3259 testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations.
3261 2020-03-04 Nelson Chu <nelson.chu@sifive.com>
3263 * config/tc-riscv.c (percent_op_utype): Support the modifier
3265 * doc/c-riscv.texi: Add documentation.
3266 * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
3267 modifier %got_pcrel_hi.
3268 * testsuite/gas/riscv/no-relax-reloc.s: Likewise.
3269 * testsuite/gas/riscv/relax-reloc.d: Likewise.
3270 * testsuite/gas/riscv/relax-reloc.s: Likewise.
3272 * doc/c-riscv.texi (relocation modifiers): Add documentation.
3273 (RISC-V-Formats): Update the section name from "Instruction Formats"
3274 to "RISC-V Instruction Formats".
3276 2020-03-04 Alexandre Oliva <oliva@adacore.com>
3278 * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is
3279 detected in a section which does not have at least 4 byte
3281 * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive.
3282 * testsuite/gas/arm/ldr-t.s: Likewise.
3283 * testsuite/gas/arm/sp-pc-usage-t.s: Likewise.
3284 * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of
3285 disassembly, ignoring any NOPs that may have been inserted because
3286 of section alignment.
3287 * testsuite/gas/arm/ldr-t.d: Likewise.
3289 2020-03-04 Jan Beulich <jbeulich@suse.com>
3291 * config/tc-i386.c (cpu_arch): Add .sev_es entry.
3292 * doc/c-i386.texi: Mention sev_es.
3293 * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
3294 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
3296 * testsuite/gas/i386/arch-13-znver1.d,
3297 testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
3299 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3301 * config/tc-i386.c (match_template): Replace ignoresize and
3302 defaultsize with mnemonicsize.
3303 (process_suffix): Likewise.
3305 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
3308 * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of
3309 instruction LD IY,(HL).
3310 * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly.
3311 * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction.
3312 * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly.
3313 * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction.
3315 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3318 * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
3319 x86-64-default-suffix-avx.
3320 * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
3321 vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
3322 * testsuite/gas/i386/noreg64.d: Updated.
3323 * testsuite/gas/i386/noreg64.l: Likewise.
3324 * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
3325 * testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
3326 * testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
3328 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
3331 * config/tc-z80.c (contains_register): Prevent an illegal memory
3332 access when checking an expression for a register name.
3334 2020-03-03 Alan Modra <amodra@gmail.com>
3336 * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips
3339 2020-03-02 Alan Modra <amodra@gmail.com>
3341 * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section.
3342 * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata
3344 * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout.
3345 (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section.
3346 (s3_s_score_lcomm): Likewise.
3347 * config/tc-score7.c: Similarly.
3348 * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section.
3350 2020-02-28 YunQiang Su <syq@debian.org>
3353 * config/tc-mips.c (fix_loongson3_llsc): Compare label value
3354 to handle multi-labels.
3355 (has_label_name): New.
3357 2020-02-26 Matthew Malcomson <matthew.malcomson@arm.com>
3359 * config/tc-arm.c (enum pred_instruction_type): Remove
3360 NEUTRAL_IT_NO_VPT_INSN predication type.
3361 (cxn_handle_predication): Modify to require condition suffixes.
3362 (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases.
3363 * testsuite/gas/arm/cde-scalar.s: Update test.
3364 * testsuite/gas/arm/cde-warnings.l: Update test.
3365 * testsuite/gas/arm/cde-warnings.s: Update test.
3367 2020-02-26 Alan Modra <amodra@gmail.com>
3369 * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
3370 N_() on empty string.
3372 2020-02-26 Alan Modra <amodra@gmail.com>
3374 * read.c (read_a_source_file): Call strncpy with length one
3375 less than size of original_case_string.
3377 2020-02-26 Alan Modra <amodra@gmail.com>
3379 * config/obj-elf.c: Indent labels correctly.
3380 * config/obj-macho.c: Likewise.
3381 * config/tc-aarch64.c: Likewise.
3382 * config/tc-alpha.c: Likewise.
3383 * config/tc-arm.c: Likewise.
3384 * config/tc-cr16.c: Likewise.
3385 * config/tc-crx.c: Likewise.
3386 * config/tc-frv.c: Likewise.
3387 * config/tc-i386-intel.c: Likewise.
3388 * config/tc-i386.c: Likewise.
3389 * config/tc-ia64.c: Likewise.
3390 * config/tc-mn10200.c: Likewise.
3391 * config/tc-mn10300.c: Likewise.
3392 * config/tc-nds32.c: Likewise.
3393 * config/tc-riscv.c: Likewise.
3394 * config/tc-s12z.c: Likewise.
3395 * config/tc-xtensa.c: Likewise.
3396 * config/tc-z80.c: Likewise.
3398 * symbols.c: Likewise.
3399 * write.c: Likewise.
3401 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
3403 * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
3404 we are assembling instruction with CSR. Call riscv_csr_read_only_check
3405 after parsing all arguments.
3406 (enum csr_insn_type): New enum is used to classify the CSR instruction.
3407 (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These
3408 are used to check if we write a read-only CSR by the CSR instruction.
3409 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test
3410 all CSR for the read-only CSR checking.
3411 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
3412 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
3413 * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test
3414 all CSR instructions for the read-only CSR checking.
3415 * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
3416 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
3418 * config/tc-riscv.c (struct riscv_set_options): New field csr_check.
3419 (riscv_opts): Initialize it.
3420 (reg_lookup_internal): Check the `riscv_opts.csr_check`
3421 before doing the CSR checking.
3422 (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK.
3423 (md_longopts): Add mcsr-check and mno-csr-check.
3424 (md_parse_option): Handle new enum option values.
3425 (s_riscv_option): Handle new long options.
3426 * doc/c-riscv.texi: Add description for the new .option and assembler
3428 * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable
3430 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
3432 * config/tc-riscv.c (csr_extra_hash): New.
3433 (enum riscv_csr_class): New enum. Used to decide
3434 whether or not this CSR is legal in the current ISA string.
3435 (struct riscv_csr_extra): New structure to hold all extra information
3437 (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
3438 DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
3439 Call hash_reg_name to insert CSR address into reg_names_hash.
3440 (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
3441 Decide whether the CSR is valid according to the csr_extra_hash.
3442 (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
3443 (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
3444 not a boolean. This is same as riscv_init_csr_hash, so keep the
3446 (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
3447 * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
3448 * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
3449 * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
3450 file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
3451 f-ext CSR are not allowed.
3452 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
3453 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
3454 source file is `priv-reg.s`, and the ISA is rv64if, so the
3455 rv32-only CSR are not allowed.
3456 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
3458 2020-02-21 Alan Modra <amodra@gmail.com>
3460 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
3461 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
3463 2020-02-21 Alan Modra <amodra@gmail.com>
3466 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
3467 on section size adjustment, instead perform another write if
3468 exec header size is larger than section size.
3470 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
3472 * doc/c-riscv.texi: Add the doc entries for -march-attr/
3473 -mno-arch-attr command line options.
3475 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
3477 * testsuite/gas/riscv/c-add-addi.d: New testcase.
3478 * testsuite/gas/riscv/c-add-addi.s: Likewise.
3480 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
3483 * config/tc-z80.c (md_parse_option): Do not use an underscore
3484 prefix for local labels in SDCC compatability mode.
3485 (z80_start_line_hook): Remove SDCC dollar label support.
3486 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
3487 * testsuite/gas/z80/sdcc.s: Likewise.
3489 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
3492 * config/tc-z80.c: Add -march option.
3493 * doc/as.texi: Update Z80 documentation.
3494 * doc/c-z80.texi: Likewise.
3495 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
3496 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
3497 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
3498 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3499 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
3500 * testsuite/gas/z80/gbz80_all.d: Likewise.
3501 * testsuite/gas/z80/r800_extra.d: Likewise.
3502 * testsuite/gas/z80/r800_ii8.d: Likewise.
3503 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
3504 * testsuite/gas/z80/sdcc.d: Likewise.
3505 * testsuite/gas/z80/z180.d: Likewise.
3506 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
3507 * testsuite/gas/z80/z80_doc.d: Likewise.
3508 * testsuite/gas/z80/z80_ii8.d: Likewise.
3509 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
3510 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
3511 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
3512 * testsuite/gas/z80/z80_sli.d: Likewise.
3513 * testsuite/gas/z80/z80n_all.d: Likewise.
3514 * testsuite/gas/z80/z80n_reloc.d: Likewise.
3516 2020-02-19 H.J. Lu <hongjiu.lu@intel.com>
3518 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
3519 with GNU_PROPERTY_X86_FEATURE_2_MMX.
3520 * testsuite/gas/i386/i386.exp: Run property-3 and
3522 * testsuite/gas/i386/property-3.d: New file.
3523 * testsuite/gas/i386/property-3.s: Likewise.
3524 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
3526 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
3528 * config/tc-i386.c (cpu_arch): Add .popcnt.
3529 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
3530 Add a tab before @samp{.sse4a}.
3532 2020-02-17 Jan Beulich <jbeulich@suse.com>
3534 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
3535 for AddrPrefixOpReg templates. Combine the two pieces of
3536 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
3539 2020-02-17 Jan Beulich <jbeulich@suse.com>
3542 * config/tc-i386.c (md_assemble): Also suppress operand
3543 swapping for MONITOR{,X} and MWAIT{,X}.
3544 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
3545 Add Intel syntax monitor/mwait tests.
3546 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
3547 Adjust expectations.
3548 *testsuite/gas/i386/sse3-intel.d,
3549 testsuite/gas/i386/x86-64-sse3-intel.d: New.
3550 * testsuite/gas/i386/i386.exp: Run new tests.
3552 2020-02-17 Jan Beulich <jbeulich@suse.com>
3555 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
3556 [XYZ]MMWord memory operand ambiguity recognition logic (largely
3558 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
3560 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
3561 * testsuite/gas/i386/avx512dq-inval.l,
3562 testsuite/gas/i386/inval-avx.l,
3563 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
3564 * testsuite/gas/i386/avx512vl-ambig.s,
3565 testsuite/gas/i386/avx512vl-ambig.l: New.
3566 * testsuite/gas/i386/i386.exp: Run new test.
3568 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
3570 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
3572 * doc/c-i386.texi: Document sse4a and nosse4a.
3574 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
3576 * doc/c-i386.texi: Remove the old movsx and movzx documentation
3579 2020-02-14 Jan Beulich <jbeulich@suse.com>
3582 * config/tc-i386.c (md_assemble): Move movsx/movzx special
3584 (process_suffix): ... here. Consider just the first operand
3586 (check_long_reg): Drop opcode 0x63 special case again.
3587 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
3588 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
3589 Move ambiguous operand size tests ...
3590 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
3591 testsuite/gas/i386/noreg64.s: ... here.
3592 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
3593 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
3594 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
3595 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
3596 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
3597 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
3598 testsuite/gas/i386/x86-64-movsxd.d,
3599 testsuite/gas/i386/x86-64-movsxd-intel.d,
3600 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
3601 Adjust expectations.
3602 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
3603 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
3604 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
3605 * testsuite/gas/i386/i386.exp: Run new tests.
3607 2020-02-14 Jan Beulich <jbeulich@suse.com>
3609 * config/tc-i386.c (process_operands): Also skip segment
3610 override prefix emission if it matches an already present one.
3611 * testsuite/gas/i386/prefix32.s: Add double segment override
3613 * testsuite/gas/i386/prefix32.l: Adjust expectations.
3615 2020-02-14 Jan Beulich <jbeulich@suse.com>
3617 * config/tc-i386.c (process_operands): Drop ineffectual segment
3618 overrides when optimizing.
3619 * testsuite/gas/i386/lea-optimize.d: New.
3620 * testsuite/gas/i386/i386.exp: Run new test.
3622 2020-02-14 Jan Beulich <jbeulich@suse.com>
3624 * config/tc-i386.c (process_operands): Also check insn prefix
3625 for ineffectual segment override warning. Don't cover possible
3626 VEX/EVEX encoded insns there.
3627 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
3628 testsuite/gas/i386/lea.e: New.
3629 * testsuite/gas/i386/i386.exp: Run new test.
3631 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
3634 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
3637 2020-02-13 Fangrui Song <maskray@google.com>
3638 H.J. Lu <hongjiu.lu@intel.com>
3641 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
3642 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
3643 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
3644 * testsuite/gas/i386/relax-5.d: New file.
3645 * testsuite/gas/i386/relax-5.s: Likewise.
3646 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
3647 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
3649 2020-02-13 Jan Beulich <jbeulich@suse.com>
3651 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
3654 2020-02-12 Jan Beulich <jbeulich@suse.com>
3656 * config/tc-i386.c (avx512): New (at file scope), moved from
3657 (check_VecOperands): ... here.
3658 (process_suffix): Add [XYZ]MMword operand size handling.
3659 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
3660 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
3662 * testsuite/gas/i386/avx512dq-inval.l,
3663 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
3665 2020-02-12 Jan Beulich <jbeulich@suse.com>
3668 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
3670 * config/tc-i386-intel.c (i386_intel_operand): Also handle
3671 CALL/JMP in O_tbyte_ptr case.
3672 * doc/c-i386.texi: Mention far call and full pointer load ISA
3674 * testsuite/gas/i386/x86-64-branch-3.s,
3675 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
3676 * testsuite/gas/i386/x86-64-branch-3.d,
3677 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
3678 * testsuite/gas/i386/x86-64-branch-5.l,
3679 testsuite/gas/i386/x86-64-branch-5.s: New.
3680 * testsuite/gas/i386/i386.exp: Run new test.
3682 2020-02-12 Jan Beulich <jbeulich@suse.com>
3685 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
3686 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
3687 64-bit-only warning.
3688 (check_word_reg): Consistently error on mismatching register
3690 * testsuite/gas/i386/general.s: Replace dword GPR with word one
3691 for movw. Replace suffix / GPR for orb.
3692 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
3693 byte GPRs as well as ones for inb/outb with a word accumulator.
3694 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
3695 testsuite/gas/i386/inval.l: Adjust expectations.
3697 2020-02-12 Jan Beulich <jbeulich@suse.com>
3699 * config/tc-i386.c (operand_type_register_match): Also fall
3700 through initial two if()-s when the template allows for a GPR
3701 operand. Adjust comment.
3703 2020-02-11 Jan Beulich <jbeulich@suse.com>
3705 (struct _i386_insn): New field "short_form".
3706 (optimize_encoding): Drop setting of shortform field.
3707 (process_suffix): Set i.short_form. Replace shortform use.
3708 (process_operands): Replace shortform use.
3710 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
3712 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
3713 loop initial declaration.
3715 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
3717 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
3718 instructions that can have 5 arguments.
3719 (enum operand_parse_code): Add new operands.
3720 (parse_operands): Account for new operands.
3722 (enum neon_shape_el): Introduce P suffixes for coprocessor.
3723 (neon_select_shape): Account for P suffix.
3724 (LOW1): Move macro to global position.
3725 (HI4): Move macro to global position.
3726 (vcx_assign_vec_d): New.
3727 (vcx_assign_vec_m): New.
3728 (vcx_assign_vec_n): New.
3729 (enum vcx_reg_type): New.
3730 (vcx_get_reg_type): New.
3731 (vcx_size_pos): New.
3733 (vcx_handle_shape): New.
3734 (vcx_ensure_register_in_range): New.
3735 (vcx_handle_register_arguments): New.
3736 (vcx_handle_insn_block): New.
3737 (vcx_handle_common_checks): New.
3741 * testsuite/gas/arm/cde-missing-fp.d: New test.
3742 * testsuite/gas/arm/cde-missing-fp.l: New test.
3743 * testsuite/gas/arm/cde-missing-mve.d: New test.
3744 * testsuite/gas/arm/cde-missing-mve.l: New test.
3745 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
3746 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
3747 * testsuite/gas/arm/cde-mve.s: New test.
3748 * testsuite/gas/arm/cde-warnings.l:
3749 * testsuite/gas/arm/cde-warnings.s:
3750 * testsuite/gas/arm/cde.d:
3751 * testsuite/gas/arm/cde.s:
3753 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
3754 Matthew Malcomson <matthew.malcomson@arm.com>
3756 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
3757 CDE coprocessor that can be enabled.
3758 (enum pred_instruction_type): New pred type.
3759 (BAD_NO_VPT): New error message.
3760 (BAD_CDE): New error message.
3761 (BAD_CDE_COPROC): New error message.
3762 (enum operand_parse_code): Add new immediate operands.
3763 (parse_operands): Account for new immediate operands.
3764 (check_cde_operand): New.
3765 (cde_coproc_enabled): New.
3766 (cde_coproc_pos): New.
3767 (cde_handle_coproc): New.
3768 (cxn_handle_predication): New.
3769 (do_custom_instruction_1): New.
3770 (do_custom_instruction_2): New.
3771 (do_custom_instruction_3): New.
3784 (handle_pred_state): Define new IT block behaviour.
3785 (insns): Add newn CX*{,d}{,a} instructions.
3786 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
3787 Define new cdecp extension strings.
3788 * doc/c-arm.texi: Document new cdecp extension arguments.
3789 * testsuite/gas/arm/cde-scalar.d: New test.
3790 * testsuite/gas/arm/cde-scalar.s: New test.
3791 * testsuite/gas/arm/cde-warnings.d: New test.
3792 * testsuite/gas/arm/cde-warnings.l: New test.
3793 * testsuite/gas/arm/cde-warnings.s: New test.
3794 * testsuite/gas/arm/cde.d: New test.
3795 * testsuite/gas/arm/cde.s: New test.
3797 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3800 * config/tc-i386.c (intel64): Renamed to ...
3802 (match_template): Accept Intel64 only instruction by default.
3803 (i386_displacement): Updated.
3804 (md_parse_option): Updated.
3805 * c-i386.texi: Update -mamd64/-mintel64 documentation.
3806 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
3807 -mamd64 to x86-64-sysenter-amd.
3808 * testsuite/gas/i386/x86-64-sysenter.d: New file.
3810 2020-02-10 Alan Modra <amodra@gmail.com>
3812 * config/obj-elf.c (obj_elf_change_section): Error for section
3813 type, attr or entsize changes in assembly.
3814 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
3815 * testsuite/gas/elf/section5.l: Update.
3817 2020-02-10 Alan Modra <amodra@gmail.com>
3819 * output-file.c (output_file_close): Do a normal close when
3820 flag_always_generate_output.
3821 * write.c (write_object_file): Don't stop output when
3822 flag_always_generate_output.
3824 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
3827 * config/tc-z80.c: Add -gbz80 command line option to generate code
3828 for the GameBoy Z80. Add support for generating DWARF.
3829 * config/tc-z80.h: Add support for DWARF debug information
3831 * doc/c-z80.texi: Document new command line option.
3832 * testsuite/gas/z80/gbz80_all.d: New file.
3833 * testsuite/gas/z80/gbz80_all.s: New file.
3834 * testsuite/gas/z80/z80.exp: Run the new tests.
3835 * testsuite/gas/z80/z80n_all.d: New file.
3836 * testsuite/gas/z80/z80n_all.s: New file.
3837 * testsuite/gas/z80/z80n_reloc.d: New file.
3839 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3842 * config/obj-elf.c (get_section): Also check
3843 linked_to_symbol_name.
3844 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
3845 (obj_elf_parse_section_letters): Handle the 'o' flag.
3846 (build_group_lists): Renamed to ...
3847 (build_additional_section_info): This. Set elf_linked_to_section
3848 from map_head.linked_to_symbol_name.
3849 (elf_adjust_symtab): Updated.
3850 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
3851 * doc/as.texi: Document the 'o' flag.
3852 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
3853 * testsuite/gas/elf/section18.d: New file.
3854 * testsuite/gas/elf/section18.s: Likewise.
3855 * testsuite/gas/elf/section19.d: Likewise.
3856 * testsuite/gas/elf/section19.s: Likewise.
3857 * testsuite/gas/elf/section20.d: Likewise.
3858 * testsuite/gas/elf/section20.s: Likewise.
3859 * testsuite/gas/elf/section21.d: Likewise.
3860 * testsuite/gas/elf/section21.l: Likewise.
3861 * testsuite/gas/elf/section21.s: Likewise.
3863 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3865 * NEWS: Mention x86 assembler options to align branches for
3868 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3870 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
3871 only for ELF targets.
3872 * testsuite/gas/i386/unique.d: Don't xfail.
3873 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3875 2020-02-06 Alan Modra <amodra@gmail.com>
3877 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
3878 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3880 2020-02-06 Alan Modra <amodra@gmail.com>
3882 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
3883 xfail, and rename test.
3884 * testsuite/gas/elf/section12b.d: Likewise.
3885 * testsuite/gas/elf/section16a.d: Likewise.
3886 * testsuite/gas/elf/section16b.d: Likewise.
3888 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
3891 * config/obj-elf.c (section_match): Removed.
3892 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
3894 (obj_elf_change_section): Replace info and group_name arguments
3895 with match_p. Also update the section ID and flags from match_p.
3896 (obj_elf_section): Handle "unique,N". Update call to
3897 obj_elf_change_section.
3898 * config/obj-elf.h (elf_section_match): New.
3899 (obj_elf_change_section): Updated.
3900 * config/tc-arm.c (start_unwind_section): Update call to
3901 obj_elf_change_section.
3902 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3903 * config/tc-microblaze.c (microblaze_s_data): Likewise.
3904 (microblaze_s_sdata): Likewise.
3905 (microblaze_s_rdata): Likewise.
3906 (microblaze_s_bss): Likewise.
3907 * config/tc-mips.c (s_change_section): Likewise.
3908 * config/tc-msp430.c (msp430_profiler): Likewise.
3909 * config/tc-rx.c (parse_rx_section): Likewise.
3910 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
3911 * doc/as.texi: Document "unique,N" in .section directive.
3912 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
3913 * testsuite/gas/elf/section15.d: New file.
3914 * testsuite/gas/elf/section15.s: Likewise.
3915 * testsuite/gas/elf/section16.s: Likewise.
3916 * testsuite/gas/elf/section16a.d: Likewise.
3917 * testsuite/gas/elf/section16b.d: Likewise.
3918 * testsuite/gas/elf/section17.d: Likewise.
3919 * testsuite/gas/elf/section17.l: Likewise.
3920 * testsuite/gas/elf/section17.s: Likewise.
3921 * testsuite/gas/i386/unique.d: Likewise.
3922 * testsuite/gas/i386/unique.s: Likewise.
3923 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3924 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
3926 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
3928 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
3930 2020-02-01 Anthony Green <green@moxielogic.com>
3932 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
3934 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3936 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
3939 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
3942 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
3943 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
3945 * testsuite/gas/arm/mve_dsp.d: New test.
3947 2020-01-31 Nick Clifton <nickc@redhat.com>
3949 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
3950 rather than BFD_RELOC_NONE.
3952 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3954 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
3955 to support VLDMIA instruction for MVE.
3956 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
3957 instruction for MVE.
3958 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
3959 instruction for MVE.
3960 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
3961 instruction for MVE.
3962 * testsuite/gas/arm/mve-ldst.d: New test.
3963 * testsuite/gas/arm/mve-ldst.s: Likewise.
3965 2020-01-31 Nick Clifton <nickc@redhat.com>
3967 * po/fr.po: Updated French translation.
3968 * po/ru.po: Updated Russian translation.
3970 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
3972 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
3974 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
3975 * testsuite/gas/aarch64/sve-movprfx_28.d,
3976 * testsuite/gas/aarch64/sve-movprfx_28.l,
3977 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
3979 2020-01-30 Jan Beulich <jbeulich@suse.com>
3981 * config/tc-i386.c (output_disp): Tighten base_opcode check.
3982 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
3983 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
3984 Adjust expectations.
3986 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
3988 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
3989 * testsuite/gas/bpf/alu-be.d: Likewise.
3990 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
3991 * testsuite/gas/bpf/alu32-be.d: Likewise.
3993 2020-01-30 Jan Beulich <jbeulich@suse.com>
3995 * testsuite/gas/i386/x86-64-branch-2.s,
3996 testsuite/gas/i386/x86-64-branch-4.s,
3997 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
3998 * testsuite/gas/i386/ilp32/x86-64-branch.d,
3999 testsuite/gas/i386/x86-64-branch-2.d,
4000 testsuite/gas/i386/x86-64-branch-4.l,
4001 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
4003 2020-01-30 Jan Beulich <jbeulich@suse.com>
4005 * config/tc-i386.c (process_suffix): .
4006 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
4007 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
4009 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
4011 testsuite/gas/i386/x86_64.s: Add RETF cases.
4012 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
4013 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
4014 testsuite/gas/i386/x86-64-opcode.d,
4015 testsuite/gas/i386/x86-64-suffix-intel.d,
4016 testsuite/gas/i386/x86-64-suffix.d,
4017 testsuite/gas/i386/x86_64-intel.d
4018 testsuite/gas/i386/x86_64.d: Adjust expectations.
4019 * testsuite/gas/i386/x86-64-suffix.e,
4020 testsuite/gas/i386/x86_64.e: New.
4022 2020-01-30 Jan Beulich <jbeulich@suse.com>
4024 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
4027 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
4030 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
4032 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
4033 differences. Document movslq and movsxd.
4034 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
4035 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
4036 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
4037 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
4038 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
4039 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
4040 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
4041 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
4042 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
4043 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
4044 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
4046 2020-01-27 Alan Modra <amodra@gmail.com>
4048 * testsuite/gas/all/gas.exp: Replace case statements with switch
4050 * testsuite/gas/elf/elf.exp: Likewise.
4051 * testsuite/gas/macros/macros.exp: Likewise.
4052 * testsuite/lib/gas-defs.exp: Likewise.
4054 2020-01-27 Tamar Christina <tamar.christina@arm.com>
4057 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
4058 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
4060 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
4062 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
4063 s exts must be known, so rename *ok* to *fail*.
4064 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
4065 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
4066 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
4068 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
4069 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
4071 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
4074 * config/tc-i386.c (check_long_reg): Always disallow double word
4075 suffix in mnemonic with word general register.
4076 * testsuite/gas/i386/general.s: Replace word general register
4077 with double word general register for movl.
4078 * testsuite/gas/i386/inval.s: Add tests for movl with word general
4080 * testsuite/gas/i386/general.l: Updated.
4081 * testsuite/gas/i386/inval.l: Likewise.
4083 2020-01-22 Alan Modra <amodra@gmail.com>
4085 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
4086 __tls_get_addr_desc and __tls_get_addr_opt.
4088 2020-01-21 Jan Beulich <jbeulich@suse.com>
4090 * testsuite/gas/i386/inval-crc32.s,
4091 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
4092 * testsuite/gas/i386/inval-crc32.l,
4093 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
4095 2020-01-21 Jan Beulich <jbeulich@suse.com>
4097 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
4098 generic code path. Deal with No_lSuf being set in a template.
4099 * testsuite/gas/i386/inval-crc32.l,
4100 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
4101 instead of error(s) when operand size is ambiguous.
4102 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4103 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
4104 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
4105 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
4106 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
4107 Adjust expectations.
4109 2020-01-21 Jan Beulich <jbeulich@suse.com>
4111 * config/tc-i386.c (process_suffix): Drop SYSRET special case
4112 and an intel_syntax check. Re-write lack-of-suffix processing
4114 * doc/c-i386.texi: Document operand size defaults for suffix-
4115 less AT&T syntax insns.
4116 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
4117 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
4118 testsuite/gas/i386/x86-64-avx-scalar.s,
4119 testsuite/gas/i386/x86-64-avx.s,
4120 testsuite/gas/i386/x86-64-bundle.s,
4121 testsuite/gas/i386/x86-64-intel64.s,
4122 testsuite/gas/i386/x86-64-lock-1.s,
4123 testsuite/gas/i386/x86-64-opcode.s,
4124 testsuite/gas/i386/x86-64-sse2avx.s,
4125 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
4126 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
4127 testsuite/gas/i386/x86-64-nops.s,
4128 testsuite/gas/i386/x86-64-ptwrite.s,
4129 testsuite/gas/i386/x86-64-simd.s,
4130 testsuite/gas/i386/x86-64-sse-noavx.s,
4131 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
4133 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4134 testsuite/gas/i386/noreg64.s: Add further tests.
4135 * testsuite/gas/i386/ilp32/x86-64-nops.d,
4136 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
4137 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
4138 testsuite/gas/i386/sse-noavx.d,
4139 testsuite/gas/i386/x86-64-intel64.d,
4140 testsuite/gas/i386/x86-64-nops.d,
4141 testsuite/gas/i386/x86-64-opcode.d,
4142 testsuite/gas/i386/x86-64-ptwrite-intel.d,
4143 testsuite/gas/i386/x86-64-ptwrite.d,
4144 testsuite/gas/i386/x86-64-simd-intel.d,
4145 testsuite/gas/i386/x86-64-simd-suffix.d,
4146 testsuite/gas/i386/x86-64-simd.d,
4147 testsuite/gas/i386/x86-64-sse-noavx.d
4148 testsuite/gas/i386/x86-64-suffix.d,
4149 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
4150 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
4151 testsuite/gas/i386/noreg64.l: New.
4152 * testsuite/gas/i386/i386.exp: Run new tests.
4154 2020-01-21 Jan Beulich <jbeulich@suse.com>
4156 * testsuite/gas/i386/avx512_bf16_vl.s,
4157 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
4158 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
4159 broadcast forms of VCVTNEPS2BF16.
4160 * testsuite/gas/i386/avx512_bf16_vl.d,
4161 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
4163 2020-01-20 Nick Clifton <nickc@redhat.com>
4165 * po/uk.po: Updated Ukranian translation.
4167 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
4170 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
4171 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
4173 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
4174 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
4175 R_X86_64_GOTPC32_TLSDESC relocation.
4177 2020-01-18 Nick Clifton <nickc@redhat.com>
4179 * configure: Regenerate.
4180 * po/gas.pot: Regenerate.
4182 2020-01-18 Nick Clifton <nickc@redhat.com>
4184 Binutils 2.34 branch created.
4186 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
4188 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
4189 with vex_encoding_vex.
4190 (parse_insn): Likewise.
4191 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
4192 and {vex3} documentation.
4193 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
4195 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
4197 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
4200 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
4201 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
4202 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
4203 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
4204 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
4205 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
4207 2020-01-16 Jan Beulich <jbeulich@suse.com>
4209 * config/tc-i386.c (match_template): Drop found_cpu_match local
4212 2020-01-16 Jan Beulich <jbeulich@suse.com>
4214 * testsuite/gas/i386/avx512dq-inval.l,
4215 testsuite/gas/i386/avx512dq-inval.s: New.
4216 * testsuite/gas/i386/i386.exp: Run new test.
4218 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4220 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
4221 relocations when the target is 430X, except when extracting part of an
4223 (msp430_srcoperand): Adjust comment.
4224 Initialize the expp member of the msp430_operand_s struct as
4226 (msp430_dstoperand): Likewise.
4227 * testsuite/gas/msp430/msp430.exp: Run new test.
4228 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
4229 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
4231 2020-01-15 Alan Modra <amodra@gmail.com>
4233 * configure.tgt: Add sparc-*-freebsd case.
4235 2020-01-14 Lili Cui <lili.cui@intel.com>
4237 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
4238 * testsuite/gas/i386/align-branch-1b.d: Likewise.
4239 * testsuite/gas/i386/align-branch-1c.d: Likewise.
4240 * testsuite/gas/i386/align-branch-1d.d: Likewise.
4241 * testsuite/gas/i386/align-branch-1e.d: Likewise.
4242 * testsuite/gas/i386/align-branch-1f.d: Likewise.
4243 * testsuite/gas/i386/align-branch-1g.d: Likewise.
4244 * testsuite/gas/i386/align-branch-1h.d: Likewise.
4245 * testsuite/gas/i386/align-branch-1i.d: Likewise.
4246 * testsuite/gas/i386/align-branch-5.d: Likewise.
4247 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
4248 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
4249 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
4250 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
4251 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
4252 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
4253 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
4254 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
4255 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
4256 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
4257 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
4258 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
4260 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
4263 * config/tc-z80.c: Add support for half precision, single
4264 precision and double precision floating point values.
4265 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
4266 * doc/as.texi: Add new z80 command line options.
4267 * doc/c-z80.texi: Document new z80 command line options.
4268 * testsuite/gas/z80/ez80_pref_dis.s: New test.
4269 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
4270 * testsuite/gas/z80/z80.exp: Run the new test.
4271 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
4272 * testsuite/gas/z80/fp_zeda32.d: Likewise.
4273 * testsuite/gas/z80/strings.d: Update expected output.
4275 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
4277 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
4280 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
4282 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
4284 * config/tc-arc.h: Add header if/defs.
4285 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
4287 2020-01-13 Alan Modra <amodra@gmail.com>
4289 * testsuite/gas/wasm32/allinsn.d: Update expected output.
4291 2020-01-13 Alan Modra <amodra@gmail.com>
4293 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
4296 2020-01-10 Alan Modra <amodra@gmail.com>
4298 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
4299 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
4301 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
4304 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
4306 (emit_ld_r_r): Likewise.
4307 (emit_ld_rr_m): Likewise.
4308 (emit_ld_rr_nn): Likewise.
4310 2020-01-09 Jan Beulich <jbeulich@suse.com>
4312 * config/tc-i386.c (optimize_encoding): Add
4313 is_any_vex_encoding() invocations. Drop respective
4314 i.tm.extension_opcode == None checks.
4316 2020-01-09 Jan Beulich <jbeulich@suse.com>
4318 * config/tc-i386.c (md_assemble): Check RegRex is clear during
4319 REX transformations. Correct comment indentation.
4321 2020-01-09 Jan Beulich <jbeulich@suse.com>
4323 * config/tc-i386.c (optimize_encoding): Generalize register
4324 transformation for TEST optimization.
4326 2020-01-09 Jan Beulich <jbeulich@suse.com>
4328 * testsuite/gas/i386/x86-64-sysenter-amd.s,
4329 testsuite/gas/i386/x86-64-sysenter-amd.d,
4330 testsuite/gas/i386/x86-64-sysenter-amd.l,
4331 testsuite/gas/i386/x86-64-sysenter-intel.d,
4332 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
4333 * testsuite/gas/i386/i386.exp: Run new tests.
4335 2020-01-08 Nick Clifton <nickc@redhat.com>
4338 * doc/as.texi (Align): Document the fact that all arguments can be
4341 (P2align): Likewise.
4343 2020-01-08 Nick Clifton <nickc@redhat.com>
4346 * config/obj-elf.c (obj_elf_section): Fail if the section name is
4347 already defined as a different symbol type.
4348 * testsuite/gas/elf/pr14891.s: New test source file.
4349 * testsuite/gas/elf/pr14891.d: New test driver.
4350 * testsuite/gas/elf/pr14891.s: New test expected error output.
4351 * testsuite/gas/elf/elf.exp: Run the new test.
4353 2020-01-08 Alan Modra <amodra@gmail.com>
4355 * config/tc-z8k.c (md_begin): Make idx unsigned.
4356 (get_specific): Likewise for this_index.
4358 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
4360 * onfig/tc-arc.c (parse_reloc_symbol): New function.
4361 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
4362 (md_operand): Set X_md to absent.
4363 (arc_parse_name): Check for X_md.
4365 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
4368 * as.h (TC_STRING_ESCAPES): Provide a default definition.
4369 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
4371 * read.c (next_char_of_string): Likewise.
4372 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
4373 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
4375 2020-01-03 Nick Clifton <nickc@redhat.com>
4377 * po/sv.po: Updated Swedish translation.
4379 2020-01-03 Jan Beulich <jbeulich@suse.com>
4381 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
4382 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4384 2020-01-03 Jan Beulich <jbeulich@suse.com>
4386 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
4387 by-element usdot. Add 64-bit form tests for by-element sudot.
4388 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
4390 2020-01-03 Jan Beulich <jbeulich@suse.com>
4392 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
4393 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4395 2020-01-03 Jan Beulich <jbeulich@suse.com>
4397 * testsuite/gas/aarch64/f64mm.d,
4398 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
4400 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
4402 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
4403 support for assembler code generated by SDCC. Add new relocation
4404 types. Add z80-elf target support.
4405 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
4406 labels. Local labels starts from ".L".
4407 * NEWS: Mention the new support.
4408 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
4409 * testsuite/gas/all/fwdexp.s: Likewise.
4410 * testsuite/gas/all/cond.l: Likewise.
4411 * testsuite/gas/all/cond.s: Likewise.
4412 * testsuite/gas/all/fwdexp.d: Likewise.
4413 * testsuite/gas/all/fwdexp.s: Likewise.
4414 * testsuite/gas/elf/section2.e-mips: Likewise.
4415 * testsuite/gas/elf/section2.l: Likewise.
4416 * testsuite/gas/elf/section2.s: Likewise.
4417 * testsuite/gas/macros/app1.d: Likewise.
4418 * testsuite/gas/macros/app1.s: Likewise.
4419 * testsuite/gas/macros/app2.d: Likewise.
4420 * testsuite/gas/macros/app2.s: Likewise.
4421 * testsuite/gas/macros/app3.d: Likewise.
4422 * testsuite/gas/macros/app3.s: Likewise.
4423 * testsuite/gas/macros/app4.d: Likewise.
4424 * testsuite/gas/macros/app4.s: Likewise.
4425 * testsuite/gas/macros/app4b.s: Likewise.
4426 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
4427 * testsuite/gas/z80/z80.exp: Add new tests
4428 * testsuite/gas/z80/dollar.d: New file.
4429 * testsuite/gas/z80/dollar.s: New file.
4430 * testsuite/gas/z80/ez80_adl_all.d: New file.
4431 * testsuite/gas/z80/ez80_adl_all.s: New file.
4432 * testsuite/gas/z80/ez80_adl_suf.d: New file.
4433 * testsuite/gas/z80/ez80_isuf.s: New file.
4434 * testsuite/gas/z80/ez80_z80_all.d: New file.
4435 * testsuite/gas/z80/ez80_z80_all.s: New file.
4436 * testsuite/gas/z80/ez80_z80_suf.d: New file.
4437 * testsuite/gas/z80/r800_extra.d: New file.
4438 * testsuite/gas/z80/r800_extra.s: New file.
4439 * testsuite/gas/z80/r800_ii8.d: New file.
4440 * testsuite/gas/z80/r800_z80_doc.d: New file.
4441 * testsuite/gas/z80/z180.d: New file.
4442 * testsuite/gas/z80/z180.s: New file.
4443 * testsuite/gas/z80/z180_z80_doc.d: New file.
4444 * testsuite/gas/z80/z80_doc.d: New file.
4445 * testsuite/gas/z80/z80_doc.s: New file.
4446 * testsuite/gas/z80/z80_ii8.d: New file.
4447 * testsuite/gas/z80/z80_ii8.s: New file.
4448 * testsuite/gas/z80/z80_in_f_c.d: New file.
4449 * testsuite/gas/z80/z80_in_f_c.s: New file.
4450 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
4451 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
4452 * testsuite/gas/z80/z80_out_c_0.d: New file.
4453 * testsuite/gas/z80/z80_out_c_0.s: New file.
4454 * testsuite/gas/z80/z80_reloc.d: New file.
4455 * testsuite/gas/z80/z80_reloc.s: New file.
4456 * testsuite/gas/z80/z80_sli.d: New file.
4457 * testsuite/gas/z80/z80_sli.s: New file.
4459 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4461 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
4464 2020-01-01 Alan Modra <amodra@gmail.com>
4466 Update year range in copyright notice of all files.
4468 For older changes see ChangeLog-2019
4470 Copyright (C) 2020 Free Software Foundation, Inc.
4472 Copying and distribution of this file, with or without modification,
4473 are permitted in any medium without royalty provided the copyright
4474 notice and this notice are preserved.
4480 version-control: never