3 * config/tc-csky.c (md_begin): Add warning when -mdsp and
4 -mcpu=ck803ern are both added.
5 (parse_ldst_imm): Fix error message.
9 * testsuite/gas/cr16/cbitb_test.d: Update expected output.
10 * testsuite/gas/cr16/cbitw_test.d: Likewise.
11 * testsuite/gas/cr16/sbitb_test.d: Likewise.
12 * testsuite/gas/cr16/sbitw_test.d: Likewise.
13 * testsuite/gas/cr16/storb_test.d: Likewise.
14 * testsuite/gas/cr16/storw_test.d: Likewise.
15 * testsuite/gas/cr16/tbitb_test.d: Likewise.
16 * testsuite/gas/cr16/tbitw_test.d: Likewise.
22 * config/tc-cr16.c: Include limits.h, formatting.
23 (CR16_PRINT): Wrap params in parentheses. Remove parens from uses
25 (getconstant): Handle zero nbits.
26 (print_operand): Use unsigned variables. Simplify handling of
28 (check_range): Use int32_t variables. Correct range checks.
33 * config/tc-pj.c (md_assemble): Don't loop past end of
39 * config/tc-ia64.c (parse_operands): Don't access past end of
44 * as.c (parse_args): Handle bad -gdwarf options.
48 * gas/config/tc-csky.c (md_begin): Set attributes.
49 (isa_flag): Change type to unsigned 64 bits.
50 (struct csky_cpu_info): Likewise.
51 (struct csky_macro_info): Likewise.
52 (set_csky_attribute): New.
53 * testsuite/gas/csky/802j.d: Ignore .csky.attributes section.
54 * testsuite/gas/csky/all.d: Likewise.
55 * testsuite/gas/csky/bsr1.d: Likewise.
56 * testsuite/gas/csky/csky_vdsp.d: Likewise.
57 * testsuite/gas/csky/cskyv2_all.d: Likewise.
58 * testsuite/gas/csky/cskyv2_ck803r2.d: Likewise.
59 * testsuite/gas/csky/cskyv2_ck860.d: Likewise.
60 * testsuite/gas/csky/cskyv2_dsp.d: Likewise.
61 * testsuite/gas/csky/cskyv2_elrw.d: Likewise.
62 * testsuite/gas/csky/cskyv2_float.d: Likewise.
63 * testsuite/gas/csky/enhance_dsp.d: Likewise.
64 * testsuite/gas/csky/java.d: Likewise.
65 * testsuite/gas/csky/v1_float.d: Likewise.
66 * testsuite/gas/csky/v2_float_part1.d: Likewise.
67 * testsuite/gas/csky/v2_float_part2.d: Likewise.
68 * testsuite/gas/csky/v2_tls_gd.d: Likewise.
69 * testsuite/gas/csky/v2_tls_ie.d: Likewise.
70 * testsuite/gas/csky/v2_tls_ld.d: Likewise.
71 * testsuite/gas/csky/v2_tls_le.d: Likewise.
72 * testsuite/gas/elf/elf.exp: Add handler for CSKY.
73 * testsuite/gas/elf/section2.e-csky: New.
78 * cgen.c (weak_operand_overflow_check): Handle opmask for
79 operand length zero. Use 1UL constant.
84 * config/tc-xtensa.c (xg_get_trampoline_chain): Return early
85 when n_entries is zero.
90 * symbols.c: Include limits.h.
91 (resolve_symbol_value <O_left_shift, O_right_shift>): Do an
92 unsigned shift. Warn if shift count larger than valueT size.
97 * expr.c (expr <O_left_shift>): Do an unsigned shift.
103 * config/tc-bpf.c: Add option -mxbpf to select xbpf isa.
104 * testsuite/gas/bpf/indcall-1.d: New file.
105 * testsuite/gas/bpf/indcall-1.s: Likewise.
106 * testsuite/gas/bpf/indcall-bad-1.l: Likewise.
107 * testsuite/gas/bpf/indcall-bad-1.s: Likewise.
108 * testsuite/gas/bpf/bpf.exp: Run new tests.
113 * gas/config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat
114 misc_symbol_hash entries without values.
119 * tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn
125 * config/tc-cr16.c (get_b_cc): Return NULL early if op isn't
126 two or three chars, and don't bother copying.
131 * config/tc-arm.c (do_neon_mvn, do_neon_swp): Bail out on
137 * symbols.c (dollar_label_count, dollar_label_max): Make size_t.
138 (dollar_label_clear): Don't call memset with NULL pointer.
142 * config/tc-arc.c (declare_register_set): Avoid false positive
143 format-overflow warning.
144 * config/tc-epiphany.c (md_assemble): Likewise.
145 * config/tc-mips.c (md_begin): Likewise.
146 * config/tc-mmix.c (mmix_md_begin): Likewise.
147 * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false
148 positive "may be used uninitialized" warning.
152 * config/tc-csky.c (csky_archs): Add item for CK860,
153 change ck810 and ck807's arch_flag.
154 (csky_cpus): Add item for CK860.
155 (md_begin): Enable DSP for CK810 and CK807 by default.
156 (md_apply_fix): Fix CKCORE_TLS_IE32 relocation failure.
157 * gas/testsuite/gas/csky/cskyv2_all.d: Change 'sync 0'
159 * gas/testsuite/gas/csky/cskyv2_all.s: Likewise.
160 * gas/testsuite/gas/csky/cskyv2_ck860.d: New.
161 * gas/testsuite/gas/csky/cskyv2_ck860.s: New.
162 * gas/testsuite/gas/csky/enhance_dsp.d: Change plsli.u16
164 * gas/testsuite/gas/csky/enhance_dsp.s: Likewise.
168 * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name"
169 in case where it isn't copied.
170 * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef.
171 * testsuite/gas/tic54x/field.d: Dump section contents and symbols
172 rather than disassembling.
173 * testsuite/gas/tic54x/set.d: Adjust for newer disassembly.
177 * config/tc-aarch64.c (md_begin): Don't bother checking for
178 out of memory failure from str_htab_create.
179 * config/tc-arc.c (arc_insert_opcode, md_begin): Likewise.
180 (arc_extcorereg, arc_stralloc): Likewise.
181 * config/tc-arm.c (md_begin): Likewise.
182 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
183 * config/tc-cris.c (md_begin): Likewise.
184 * config/tc-crx.c (md_begin): Likewise.
185 * config/tc-pdp11.c (md_begin): Likewise.
186 * config/tc-score.c (s3_build_reg_hsh, s3_begin): Likewise.
187 * config/tc-score7.c (s7_build_reg_hsh, s7_begin): Likewise.
191 * config/tc-arm.c (move_or_literal_pool): Avoid false positive
192 "may be used uninitialised".
193 (opcode_lookup): Likewise.
198 * symbols.c (local_symbol_convert): Clear out xtra.
202 * config/tc-csky.c (CSKY_ISA_803R2): New.
203 (csky_archs): Add ck803r2 series.
204 (md_begin): Fix warning about -medsp.
205 (csky_get_freg_val): Support lowercase of fpu register name.
206 * testsuite/gas/csky/cskyv2_ck803r2.s: New file.
207 * testsuite/gas/csky/cskyv2_ck803r2.d: New file.
212 * hash.h (htab_insert): Update prototype and comment.
213 (struct string_tuple): Make "value" a const void*.
214 (string_tuple_alloc): Likewise.
215 (str_hash_find, str_hash_find_n): Cast returned value.
216 (str_hash_insert): Add "replace" parameter, and return slot pointer.
217 Free alloc'd element when not inserted.
218 * hash.c (htab_insert): Likewise. Return slot when element exists,
219 otherwise return NULL.
220 * read.c (pop_insert): Insert into hash table without first searching.
221 * config/tc-avr.c (md_begin): Likewise.
222 * config/tc-msp430.c (md_begin): Likewise.
223 * config/tc-nds32.c (nds32_init_nds32_pseudo_opcodes): Likewise.
224 * config/tc-v850.c (md_begin): Likewise.
225 * macro.c (do_formals, define_macro, macro_expand_body): Likewise.
226 (delete_macro): Delete from hash table.
227 * config/tc-tic54x.c (subsym_create_or_replace): Correct logic.
229 * symbols.c (local_symbol_make, symbol_table_insert): Allow
230 replacement of hash table entries.
231 * config/obj-coff-seh.c (seh_hash_insert): Likewise.
232 * config/obj-coff.c (tag_insert): Likewise.
233 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
234 * config/tc-m68k.c (md_begin): Likewise for aliases.
235 * config/tc-tic4x.c (tic4x_asg): Likewise.
236 * config/tc-tic6x.c (md_begin): Likewise.
238 * dw2gencfi.c (dwcfi_hash_find_or_make): Disallow replacement of
240 * ecoff.c (add_string, get_tag): Likewise.
241 * macro.c (expand_irp): Likewise.
242 * config/obj-elf.c (build_additional_section_info): Likewise.
243 * config/tc-aarch64.c (insert_reg_alias): Likewise.
244 (checked_hash_insert): Likewise.
245 * config/tc-alpha.c (get_alpha_reloc_tag, md_begin): Likewise.
246 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
247 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
248 * config/tc-arm.c (insert_reg_alias): Likewise.
249 (arm_tc_equal_in_insn, md_begin): Likewise.
250 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
251 * config/tc-cris.c (md_begin): Likewise.
252 * config/tc-crx.c (md_begin): Likewise.
253 * config/tc-csky.c (md_begin): Likewise.
254 * config/tc-d10v.c (md_begin): Likewise.
255 * config/tc-dlx.c (md_begin): Likewise.
256 * config/tc-ft32.c (md_begin): Likewise.
257 * config/tc-h8300.c (md_begin): Likewise.
258 * config/tc-hppa.c (md_begin): Likewise.
259 * config/tc-i386.c (md_begin): Likewise.
260 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
261 (md_begin, dot_alias): Likewise.
262 * config/tc-m68hc11.c (md_begin): Likewise.
263 * config/tc-m68k.c (md_begin): Likewise.
264 * config/tc-mcore.c (md_begin): Likewise.
265 * config/tc-microblaze.c (md_begin): Likewise.
266 * config/tc-mips.c (md_begin): Likewise.
267 * config/tc-mmix.c (md_begin): Likewise.
268 * config/tc-mn10200.c (md_begin): Likewise.
269 * config/tc-mn10300.c (md_begin): Likewise.
270 * config/tc-moxie.c (md_begin): Likewise.
271 * config/tc-nds32.c (nds32_relax_hint, md_begin): Likewise.
272 * config/tc-nios2.c (md_begin): Likewise.
273 * config/tc-ns32k.c (md_begin): Likewise.
274 * config/tc-pdp11.c (md_begin): Likewise.
275 * config/tc-pj.c (fake_opcode, md_begin): Likewise.
276 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
277 * config/tc-pru.c (md_begin): Likewise.
278 * config/tc-riscv.c (init_ext_version_hash): Likewise.
279 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
280 (riscv_init_csr_hash): Likewise.
281 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
282 * config/tc-score.c (s3_insert_reg): Likewise.
283 (s3_build_score_ops_hsh, s3_build_dependency_insn_hsh): Likewise.
284 * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
285 (s7_build_dependency_insn_hsh, s7_insert_reg): Likewise.
286 * config/tc-sh.c (md_begin): Likewise.
287 * config/tc-sparc.c (md_begin): Likewise.
288 * config/tc-spu.c (md_begin): Likewise.
289 * config/tc-tic30.c (md_begin): Likewise.
290 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
291 * config/tc-tic54x.c (stag_add_field_symbols, md_begin): Likewise.
292 (tic54x_endstruct, tic54x_var, tic54x_macro_info): Likewise.
293 (subsym_substitute): Likewise.
294 * config/tc-tilegx.c (md_begin): Likewise.
295 * config/tc-tilepro.c (md_begin): Likewise.
296 * config/tc-vax.c (vip_begin): Likewise.
297 * config/tc-wasm32.c (md_begin): Likewise.
298 * config/tc-xgate.c (md_begin): Likewise.
299 * config/tc-z8k.c (md_begin): Likewise.
300 * testsuite/gas/ppc/dcbt.d,
301 * testsuite/gas/ppc/dcbt.s: New test.
302 * testsuite/gas/ppc/ppc.exp: Run it.
304 * ecoff.c (add_string): Report fatal error on duplicates.
305 * config/tc-alpha.c (md_begin): Likewise.
306 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
307 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
308 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
309 * config/tc-cris.c (md_begin): Likewise.
310 * config/tc-crx.c (md_begin): Likewise.
311 * config/tc-dlx.c (md_begin): Likewise.
312 * config/tc-hppa.c (md_begin): Likewise.
313 * config/tc-i386.c (md_begin): Likewise.
314 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
315 (md_begin): Likewise.
316 * config/tc-m68k.c (md_begin): Likewise.
317 * config/tc-mips.c (md_begin): Likewise.
318 * config/tc-nios2.c (md_begin): Likewise.
319 * config/tc-ns32k.c (md_begin): Likewise.
320 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
321 * config/tc-pru.c (md_begin): Likewise.
322 * config/tc-riscv.c (init_ext_version_hash): Likewise.
323 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
324 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
325 * config/tc-sparc.c (md_begin): Likewise.
326 * config/tc-tic30.c (md_begin): Likewise.
327 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
328 * config/tc-tilegx.c (md_begin): Likewise.
329 * config/tc-tilepro.c (md_begin): Likewise.
330 * config/tc-vax.c (vip_begin): Likewise.
338 * config/tc-m68hc11.c,
340 * config/tc-microblaze.c,
345 * config/tc-score7.c,
347 * config/tc-tic54x.c,
348 * config/tc-tilegx.c,
349 * config/tc-tilepro.c,
350 * config/tc-xgate.c: Formatting.
354 * symbols.c (struct local_symbol): Add "hash" entry. Reorder fields.
355 Delete union. Adjust code throughout file.
356 (struct symbol): Add "hash", "name" and "x" entries. Reorder fields.
358 (struct xsymbol): ..this. New struct. Adjust code throughout file
359 accessing these fields.
360 (struct symbol_entry): Delete.
361 (union symbol_entry): New.
362 (hash_symbol_entry): Adjust for symbol_entry_t change.
363 (symbol_entry_find): Likewise.
364 (eq_symbol_entry): Compare hash values too.
365 (symbol_entry_alloc): Delete.
366 (local_symbol_converted_p, local_symbol_mark_converted): Delete.
367 (local_symbol_get_real_symbol, local_symbol_set_real_symbol): Delete.
368 (local_hash): Delete.
369 (abs_symbol_x, dot_symbol_x): New static var.
370 (symbol_init): New function.
371 (symbol_create): Rewrite.
372 (LOCAL_SYMBOL_CHECK): Delete. Replace uses throughout with simple
373 test of flags.local_symbol.
374 (local_symbol_make): Adjust for struct local_symbol changes.
375 (local_symbol_convert): Rewrite. Adjust all callers.
376 (symbol_table_insert): Simplify.
377 (symbol_clone): Comment on local sym cloning. Handle split symbol
379 (get_real_sym): Delete. Remove all uses.
380 (symbol_find_exact_noref): Simplify.
381 (resolve_local_symbol): Don't resolve non-locals.
382 (S_SET_SEGMENT): Don't special case reg_section.
383 (S_SET_NAME): Set both name and bsym->name.
384 (symbol_mark_resolved, symbol_resolved_p): Simplify.
385 (symbol_symbolS): Update comment.
386 (symbol_begin): Don't create local_hash. Adjust abs_symbol setup.
387 (dot_symbol_init): Adjust dot_symbol setup.
388 (symbol_print_statistics): Delete local_hash stats.
392 * symbols.c (struct symbol_flags): Rename sy_volatile to volatil,
393 and remove sy_ from other field names. Update throughout.
394 (struct symbol): Remove sy_ from field names. Delete unused
395 TARGET_SYMBOL_FIELDS. Update throughout file. Move after..
396 (struct local_symbol): ..here. Remove lsy_ from field names.
397 Delete unused TC_LOCAL_SYMFIELD_TYPE. Update throughout file.
398 (local_symbol_resolved_p, local_symbol_mark_resolved): Delete.
399 Expand uses throughout file.
400 (local_symbol_get_frag, local_symbol_set_frag): Likewise.
401 (symbol_new): Move symbol_table_frozen test to..
402 (symbol_append): ..here, and..
403 (symbol_insert): ..here.
404 (resolve_symbol_value, symbol_relc_make_expr): White space fixes.
405 (HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise.
406 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update.
410 * symbols.h (symbol_new, symbol_create, local_symbol_make),
411 (symbol_temp_new): Arrange params as section, frag, offset.
412 * symbols.c: Adjust to suit.
415 * dwarf2dbg.c: Likewise.
418 * itbl-ops.c: Likewise.
421 * subsegs.c: Likewise.
422 * config/obj-coff.c: Likewise.
423 * config/obj-elf.c: Likewise.
424 * config/obj-macho.c: Likewise.
425 * config/tc-aarch64.c: Likewise.
426 * config/tc-alpha.c: Likewise.
427 * config/tc-arc.c: Likewise.
428 * config/tc-arm.c: Likewise.
429 * config/tc-avr.c: Likewise.
430 * config/tc-cr16.c: Likewise.
431 * config/tc-cris.c: Likewise.
432 * config/tc-csky.c: Likewise.
433 * config/tc-dlx.c: Likewise.
434 * config/tc-hppa.c: Likewise.
435 * config/tc-i386.c: Likewise.
436 * config/tc-ia64.c: Likewise.
437 * config/tc-m32r.c: Likewise.
438 * config/tc-m68k.c: Likewise.
439 * config/tc-mips.c: Likewise.
440 * config/tc-mmix.c: Likewise.
441 * config/tc-mn10200.c: Likewise.
442 * config/tc-mn10300.c: Likewise.
443 * config/tc-nds32.c: Likewise.
444 * config/tc-nios2.c: Likewise.
445 * config/tc-ppc.c: Likewise.
446 * config/tc-riscv.c: Likewise.
447 * config/tc-s390.c: Likewise.
448 * config/tc-sh.c: Likewise.
449 * config/tc-tic4x.c: Likewise.
450 * config/tc-tic54x.c: Likewise.
451 * config/tc-xtensa.c: Likewise.
455 * config/tc-csky.c (csky_insn_info): Add member last_isize.
456 (md_assemble): Assign value to csky_insn.last_isize.
457 * testsuite/gas/csky/enhance_dsp.d: Test bloop's two operands form.
458 * testsuite/gas/csky/enhance_dsp.s: Likewise.
462 * NEWS: Mention --reduce-memory-overheads and --hash-size arguments
464 * as.c: Remove the options from help.
465 * doc/as.texi: Remove options.
466 * doc/internals.texi: Remove hash from documentation.
467 * hash.c (struct hash_entry): Remove.
468 (struct hash_control): Likewise.
469 (set_gas_hash_table_size): Likewise.
470 (hash_new_sized): Likewise.
471 (hash_new): Likewise.
472 (hash_die): Likewise.
473 (hash_lookup): Likewise.
474 (hash_insert): Likewise.
475 (hash_jam): Likewise.
476 (hash_replace): Likewise.
477 (hash_find): Likewise.
478 (hash_find_n): Likewise.
479 (hash_delete): Likewise.
480 (hash_traverse): Likewise.
481 (hash_print_statistics): Likewise.
483 (STATBUFSIZE): Likewise.
487 (applicatee): Likewise.
488 (whattable): Likewise.
489 * hash.h (struct hash_control): Likewise.
490 (set_gas_hash_table_size): Likewise.
491 (hash_new): Likewise.
492 (hash_new_sized): Likewise.
493 (hash_die): Likewise.
494 (hash_insert): Likewise.
495 (hash_jam): Likewise.
496 (hash_replace): Likewise.
497 (hash_find): Likewise.
498 (hash_find_n): Likewise.
499 (hash_delete): Likewise.
500 (hash_traverse): Likewise.
501 (hash_print_statistics): Likewise.
505 * config/obj-coff-seh.c (seh_hash_insert): Port to use new
507 (seh_hash_find): Likewise.
508 (seh_hash_find_or_make): Likewise.
509 * config/obj-coff.c (tag_init): Likewise.
510 (tag_insert): Likewise.
511 (tag_find): Likewise.
512 * config/obj-elf.c (struct group_list): Likewise.
513 (build_additional_section_info): Likewise.
514 (free_section_idx): Likewise.
515 (elf_adjust_symtab): Likewise.
516 (elf_frob_file_after_relocs): Likewise.
517 * config/tc-aarch64.c (INSN_SIZE): Likewise.
518 (parse_reg): Likewise.
519 (insert_reg_alias): Likewise.
520 (create_register_alias): Likewise.
522 (parse_shift): Likewise.
523 (parse_pldop): Likewise.
524 (parse_barrier): Likewise.
525 (parse_barrier_psb): Likewise.
526 (parse_bti_operand): Likewise.
527 (parse_sys_reg): Likewise.
528 (parse_sys_ins_reg): Likewise.
529 (lookup_mnemonic): Likewise.
530 (opcode_lookup): Likewise.
531 (parse_operands): Likewise.
532 (checked_hash_insert): Likewise.
533 (sysreg_hash_insert): Likewise.
534 (fill_instruction_hash_table): Likewise.
535 (md_begin): Likewise.
536 * config/tc-alpha.c (struct alpha_reloc_tag): Likewise.
537 (get_alpha_reloc_tag): Likewise.
538 (assemble_tokens_to_insn): Likewise.
539 (assemble_tokens): Likewise.
540 (md_begin): Likewise.
541 * config/tc-arc.c (arc_find_opcode): Likewise.
542 (arc_insert_opcode): Likewise.
543 (find_opcode_match): Likewise.
544 (declare_register): Likewise.
545 (declare_addrtype): Likewise.
546 (md_begin): Likewise.
547 (arc_parse_name): Likewise.
548 (tc_arc_regname_to_dw2regnum): Likewise.
549 (arc_extcorereg): Likewise.
550 * config/tc-arm.c (MVE_BAD_QREG): Likewise.
551 (arm_reg_parse_multi): Likewise.
552 (parse_reloc): Likewise.
553 (insert_reg_alias): Likewise.
554 (create_register_alias): Likewise.
556 (parse_shift): Likewise.
557 (parse_psr): Likewise.
558 (parse_cond): Likewise.
559 (parse_barrier): Likewise.
560 (do_vfp_nsyn_opcode): Likewise.
561 (opcode_lookup): Likewise.
562 (arm_tc_equal_in_insn): Likewise.
563 (md_begin): Likewise.
564 * config/tc-avr.c (md_begin): Likewise.
565 (avr_ldi_expression): Likewise.
566 (md_assemble): Likewise.
567 (avr_update_gccisr): Likewise.
568 (avr_emit_insn): Likewise.
569 * config/tc-cr16.c (get_register): Likewise.
570 (get_register_pair): Likewise.
571 (get_index_register): Likewise.
572 (get_index_register_pair): Likewise.
573 (get_pregister): Likewise.
574 (get_pregisterp): Likewise.
575 (initialise_reg_hash_table): Likewise.
576 (md_begin): Likewise.
577 (cr16_assemble): Likewise.
578 (md_assemble): Likewise.
579 * config/tc-cris.c (cris_insn_first_word_frag): Likewise.
580 (md_begin): Likewise.
581 (cris_process_instruction): Likewise.
582 * config/tc-crx.c (get_register): Likewise.
583 (get_copregister): Likewise.
584 (md_begin): Likewise.
585 (md_assemble): Likewise.
586 * config/tc-csky.c (md_begin): Likewise.
587 (parse_opcode): Likewise.
588 (get_operand_value): Likewise.
589 (v1_work_jbsr): Likewise.
590 (v2_work_rotlc): Likewise.
591 (v2_work_bgeni): Likewise.
592 (v2_work_not): Likewise.
593 * config/tc-d10v.c (sizeof): Likewise.
594 (md_begin): Likewise.
595 (do_assemble): Likewise.
596 (md_apply_fix): Likewise.
597 * config/tc-d30v.c (sizeof): Likewise.
598 (md_begin): Likewise.
599 (do_assemble): Likewise.
600 * config/tc-dlx.c (RELOC_DLX_VTENTRY): Likewise.
601 (md_begin): Likewise.
602 (machine_ip): Likewise.
603 * config/tc-ft32.c (md_begin): Likewise.
604 (md_assemble): Likewise.
605 * config/tc-h8300.c (md_begin): Likewise.
606 (md_assemble): Likewise.
607 * config/tc-hppa.c (pa_ip): Likewise.
608 (md_begin): Likewise.
609 * config/tc-i386.c (md_begin): Likewise.
610 (i386_print_statistics): Likewise.
611 (parse_insn): Likewise.
612 (process_operands): Likewise.
613 (i386_index_check): Likewise.
614 (parse_real_register): Likewise.
615 * config/tc-ia64.c (dot_rot): Likewise.
616 (dot_entry): Likewise.
617 (declare_register): Likewise.
618 (md_begin): Likewise.
619 (ia64_parse_name): Likewise.
620 (md_assemble): Likewise.
621 (dot_alias): Likewise.
622 (do_alias): Likewise.
623 (ia64_adjust_symtab): Likewise.
624 (do_secalias): Likewise.
625 (ia64_frob_file): Likewise.
626 * config/tc-m68hc11.c (m68hc11_print_statistics): Likewise.
627 (md_begin): Likewise.
628 (print_insn_format): Likewise.
629 (md_assemble): Likewise.
630 * config/tc-m68k.c (tc_gen_reloc): Likewise.
632 (md_begin): Likewise.
633 * config/tc-mcore.c (md_begin): Likewise.
634 (md_assemble): Likewise.
635 * config/tc-microblaze.c (md_begin): Likewise.
636 (md_assemble): Likewise.
637 (md_apply_fix): Likewise.
638 * config/tc-mips.c (nopic_need_relax): Likewise.
639 (md_begin): Likewise.
640 (macro_build): Likewise.
641 (mips16_macro_build): Likewise.
642 (mips_lookup_insn): Likewise.
644 (mips16_ip): Likewise.
645 * config/tc-mmix.c (sizeof): Likewise.
646 (mmix_md_begin): Likewise.
647 (md_assemble): Likewise.
648 * config/tc-mn10200.c (md_begin): Likewise.
649 (md_assemble): Likewise.
650 * config/tc-mn10300.c (HAVE_AM30): Likewise.
651 (md_begin): Likewise.
652 (md_assemble): Likewise.
653 * config/tc-moxie.c (md_begin): Likewise.
654 (md_assemble): Likewise.
655 * config/tc-msp430.c (md_begin): Likewise.
656 (msp430_operands): Likewise.
657 (md_assemble): Likewise.
658 * config/tc-nds32.c (PV_DONT_CARE): Likewise.
659 (builtin_isreg): Likewise.
660 (builtin_regnum): Likewise.
661 (nds32_init_nds32_pseudo_opcodes): Likewise.
662 (nds32_lookup_pseudo_opcode): Likewise.
663 (nds32_relax_hint): Likewise.
664 (md_begin): Likewise.
665 (nds32_find_reloc_table): Likewise.
666 (nds32_elf_append_relax_relocs_traverse): Likewise.
667 (nds32_relax_branch_instructions): Likewise.
668 (md_convert_frag): Likewise.
669 (nds32_elf_analysis_relax_hint): Likewise.
670 (tc_nds32_regname_to_dw2regnum): Likewise.
671 * config/tc-nios2.c (nios2_opcode_lookup): Likewise.
672 (nios2_reg_lookup): Likewise.
673 (nios2_ps_lookup): Likewise.
674 (md_begin): Likewise.
675 * config/tc-ns32k.c (struct hash_control): Likewise.
677 (md_begin): Likewise.
678 * config/tc-pdp11.c (md_begin): Likewise.
679 (md_assemble): Likewise.
680 * config/tc-pj.c (fake_opcode): Likewise.
682 (md_begin): Likewise.
683 (md_assemble): Likewise.
684 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
685 (md_assemble): Likewise.
686 * config/tc-pru.c (pru_opcode_lookup): Likewise.
687 (pru_reg_lookup): Likewise.
688 (md_begin): Likewise.
690 * config/tc-riscv.c (init_ext_version_hash): Likewise.
691 (riscv_get_default_ext_version): Likewise.
692 (riscv_set_arch): Likewise.
693 (init_opcode_names_hash): Likewise.
694 (opcode_name_lookup): Likewise.
695 (enum reg_class): Likewise.
696 (hash_reg_name): Likewise.
697 (riscv_init_csr_hash): Likewise.
698 (reg_csr_lookup_internal): Likewise.
699 (reg_lookup_internal): Likewise.
700 (init_opcode_hash): Likewise.
701 (md_begin): Likewise.
702 (DECLARE_CSR): Likewise.
703 (macro_build): Likewise.
704 (riscv_ip): Likewise.
705 * config/tc-s390.c (register_name): Likewise.
706 (s390_setup_opcodes): Likewise.
707 (md_begin): Likewise.
708 (md_assemble): Likewise.
709 (s390_insn): Likewise.
710 * config/tc-score.c (struct s3_reg_map): Likewise.
711 (s3_score_reg_parse): Likewise.
712 (s3_dependency_type_from_insn): Likewise.
713 (s3_parse_16_32_inst): Likewise.
714 (s3_parse_48_inst): Likewise.
715 (s3_insert_reg): Likewise.
716 (s3_build_reg_hsh): Likewise.
717 (s3_build_score_ops_hsh): Likewise.
718 (s3_build_dependency_insn_hsh): Likewise.
719 (s3_begin): Likewise.
720 * config/tc-score7.c (struct s7_reg_map): Likewise.
721 (s7_score_reg_parse): Likewise.
722 (s7_dependency_type_from_insn): Likewise.
723 (s7_parse_16_32_inst): Likewise.
724 (s7_build_score_ops_hsh): Likewise.
725 (s7_build_dependency_insn_hsh): Likewise.
726 (s7_insert_reg): Likewise.
727 (s7_build_reg_hsh): Likewise.
728 (s7_begin): Likewise.
729 * config/tc-sh.c (EMPTY): Likewise.
730 (md_begin): Likewise.
731 (find_cooked_opcode): Likewise.
732 * config/tc-sparc.c (md_begin): Likewise.
733 (sparc_ip): Likewise.
734 * config/tc-spu.c (md_begin): Likewise.
735 (md_assemble): Likewise.
736 * config/tc-tic30.c (md_begin): Likewise.
737 (tic30_operand): Likewise.
738 (tic30_parallel_insn): Likewise.
739 (md_assemble): Likewise.
740 * config/tc-tic4x.c (TIC4X_ALT_SYNTAX): Likewise.
741 (tic4x_asg): Likewise.
742 (tic4x_inst_insert): Likewise.
743 (tic4x_inst_add): Likewise.
744 (md_begin): Likewise.
745 (tic4x_operand_parse): Likewise.
746 (md_assemble): Likewise.
747 * config/tc-tic54x.c (MAX_SUBSYM_HASH): Likewise.
748 (stag_add_field_symbols): Likewise.
749 (tic54x_endstruct): Likewise.
750 (tic54x_tag): Likewise.
751 (tic54x_remove_local_label): Likewise.
752 (tic54x_clear_local_labels): Likewise.
753 (tic54x_var): Likewise.
754 (tic54x_macro_start): Likewise.
755 (tic54x_macro_info): Likewise.
756 (tic54x_macro_end): Likewise.
757 (subsym_isreg): Likewise.
758 (subsym_structsz): Likewise.
759 (md_begin): Likewise.
760 (is_mmreg): Likewise.
762 (encode_condition): Likewise.
763 (encode_cc3): Likewise.
764 (encode_cc2): Likewise.
765 (encode_operand): Likewise.
766 (tic54x_parse_insn): Likewise.
767 (tic54x_parse_parallel_insn_firstline): Likewise.
768 (subsym_create_or_replace): Likewise.
769 (subsym_lookup): Likewise.
770 (subsym_substitute): Likewise.
771 (tic54x_undefined_symbol): Likewise.
772 * config/tc-tic6x.c (md_begin): Likewise.
773 (md_assemble): Likewise.
774 * config/tc-tilegx.c (O_hw2_last_plt): Likewise.
775 (INSERT_SPECIAL_OP): Likewise.
776 (md_begin): Likewise.
777 (tilegx_parse_name): Likewise.
778 (parse_reg_expression): Likewise.
779 (md_assemble): Likewise.
780 * config/tc-tilepro.c (O_tls_ie_load): Likewise.
781 (INSERT_SPECIAL_OP): Likewise.
782 (tilepro_parse_name): Likewise.
783 (parse_reg_expression): Likewise.
784 (md_assemble): Likewise.
785 * config/tc-v850.c (md_begin): Likewise.
786 (md_assemble): Likewise.
787 * config/tc-vax.c (md_ri_to_chars): Likewise.
788 (vip_begin): Likewise.
791 (md_begin): Likewise.
792 * config/tc-wasm32.c (md_begin): Likewise.
793 (md_assemble): Likewise.
794 * config/tc-xgate.c (xgate_parse_operand): Likewise.
795 (md_begin): Likewise.
796 (md_assemble): Likewise.
797 * config/tc-z8k.c (md_begin): Likewise.
798 (md_assemble): Likewise.
802 * dw2gencfi.c (dwcfi_hash_insert): Use htab_t and str_hash_*
804 (dwcfi_hash_find): Likewise.
805 (dwcfi_hash_find_or_make): Likewise.
809 * ecoff.c (INIT_VARRAY): Use htab_t.
810 (add_string): Likewise.
811 (ecoff_read_begin_hook): Use new str_htab_create.
812 (get_tag): Use htab_t.
813 (add_file): Likewise.
817 * hash.h (struct string_tuple): New.
818 (hash_string_tuple): Likewise.
819 (eq_string_tuple): Likewise.
820 (string_tuple_alloc): Likewise.
821 (str_hash_find): Likewise.
822 (str_hash_find_n): Likewise.
823 (str_hash_delete): Likewise.
824 (str_hash_insert): Likewise.
825 (str_htab_create): Likewise.
829 * symbols.c (struct symbol_entry): New.
830 (hash_symbol_entry): Likewise.
831 (eq_symbol_entry): Likewise.
832 (symbol_entry_alloc): Likewise.
833 (symbol_entry_find): Likewise.
834 (local_symbol_make): Use htab hash table.
835 (local_symbol_convert): Likewise.
836 (symbol_table_insert): Likewise.
837 (symbol_find_exact_noref): Likewise.
838 (resolve_local_symbol): Likewise.
839 (resolve_local_symbol_values): Likewise.
840 (symbol_begin): Likewise.
841 (symbol_print_statistics): Likewise.
845 * read.c (struct po_entry): New.
846 (hash_po_entry): Likewise.
847 (eq_po_entry): Likewise.
848 (po_entry_alloc): Likewise.
849 (po_entry_find): Likewise.
850 (pop_insert): Likewise.
851 (pobegin): Use htab hash table.
852 (read_a_source_file): Likewise.
854 (read_print_statistics): Likewise.
855 * config/tc-m68k.c (m68k_conditional_pseudoop): Add const qualifier.
856 * config/tc-m68k.h (m68k_conditional_pseudoop): Likewise.
860 * config/tc-iq2000.c (iq2000_add_macro): Use htab hash table.
861 * macro.c (struct hash_control): Use htab.
862 (macro_init): Likewise.
863 (do_formals): Likewise.
864 (free_macro): Likewise.
865 (define_macro): Likewise.
866 (sub_actual): Likewise.
867 (macro_expand_body): Likewise.
868 (macro_expand): Likewise.
869 (check_macro): Likewise.
870 (delete_macro): Likewise.
871 (expand_irp): Likewise.
872 * macro.h (struct macro_hash_entry): New struct.
873 (hash_macro_entry): New.
874 (eq_macro_entry): Likewise.
875 (macro_entry_alloc): Likewise.
876 (macro_entry_find): Likewise.
877 (struct formal_hash_entry): Likewise.
878 (hash_formal_entry): Likewise.
879 (eq_formal_entry): Likewise.
880 (formal_entry_alloc): Likewise.
881 (formal_entry_find): Likewise.
885 * as.h: Include hashtab.h.
886 * hash.c (htab_insert): New.
887 (htab_print_statistics): Likewise.
888 * hash.h (htab_insert): Likewise.
889 (htab_print_statistics): Likewise.
893 * testsuite/gas/ppc/int128.s: Correct vcmpuq.
894 * testsuite/gas/ppc/int128.d: Update.
895 * testsuite/gas/ppc/xvtlsbb.d: Update.
899 * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic.
900 * testsuite/gas/ppc/vsx4.d: Likewise.
904 * config/obj-elf.c (obj_elf_change_section): When repurposing an
905 existing symbol, ensure that we set sy_value as per other (fresh)
907 * testsuite/gas/elf/elf.exp: Add new test.
908 * testsuite/gas/elf/section-symbol-redef.d: New test.
909 * testsuite/gas/elf/section-symbol-redef.s: Input for test.
914 * config/obj-som.c (obj_som_init_stab_section): Do nothing if the
915 $GDB_DEBUG$ section has already been created.
919 * config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
920 NS_FD shape when MVE is present
921 * testsuite/gas/arm/mve-vcvtne-it-bad.d: New test.
922 * testsuite/gas/arm/mve-vcvtne-it-bad.l: New test.
923 * testsuite/gas/arm/mve-vcvtne-it-bad.s: New test.
924 * testsuite/gas/arm/mve-vcvtne-it.d: New test.
925 * testsuite/gas/arm/mve-vcvtne-it.s: New test.
929 * testsuite/gas/aarch64/mpam-bad.d: New test.
930 * testsuite/gas/aarch64/mpam-bad.l: Error output.
931 * testsuite/gas/aarch64/mpam-bad.s: Input.
932 * testsuite/gas/aarch64/mpam.d: New test.
933 * testsuite/gas/aarch64/mpam.s: Input.
938 * doc/c-riscv.texi (RISC-V-Options): Fix typo in the description
939 of the -mno-csr-check option.
943 * po/ru.po: Updated Russian translation.
947 * config/tc-aarch64.c (parse_sys_reg): Don't assert when parsing
948 a long system register.
949 (parse_sys_ins_reg): Likewise.
950 (sysreg_hash_insert): New.
951 (md_begin): Use sysreg_hash_insert() to ensure all system
952 registers are no longer than the maximum length at startup.
953 * testsuite/gas/aarch64/invalid-sysreg-assert.d: New test.
954 * testsuite/gas/aarch64/invalid-sysreg-assert.l: Error output.
955 * testsuite/gas/aarch64/invalid-sysreg-assert.s: Input.
959 * config/tc-aarch64.c (parse_sys_reg): Call to
960 aarch64_sys_ins_reg_supported_p instead of
961 aarch64_sys_reg_supported_p.
962 (parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check.
963 * testsuite/gas/aarch64/illegal-sysreg-5.d: New test.
964 * testsuite/gas/aarch64/illegal-sysreg-5.l: New test.
965 * testsuite/gas/aarch64/sysreg-5.s: New test.
969 * testsuite/gas/ppc/power8.d,
970 * testsuite/gas/ppc/power8.s: Add miso.
971 * testsuite/gas/ppc/power9.d,
972 * testsuite/gas/ppc/power8.s: Add exser, msgsndu, msgclru.
976 * testsuite/gas/ppc/power8.d: Update.
977 * testsuite/gas/ppc/vsx2.d: Update.
981 * config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
982 stswi, or stswx in little-endian mode.
983 * testsuite/gas/ppc/476.d,
984 * testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
985 * testsuite/gas/ppc/a2.d,
986 * testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
987 * testsuite/gas/ppc/be.d,
988 * testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
989 * testsuite/gas/ppc/le_error.d,
990 * testsuite/gas/ppc/le_error.l: New little-endian test.
991 * testsuite/gas/ppc/ppc.exp: Run new tests.
995 * read.c (read_a_source_file): Ignore rest of line on overflow
1000 * read.c (read_a_source_file): Use long for local labels, detect
1001 overflow and raise an error for overly-long labels.
1002 * testsuite/gas/all/gas.exp: Add local-label-overflow test.
1003 * testsuite/gas/all/local-label-overflow.d: New test.
1004 * testsuite/gas/all/local-label-overflow.l: Error output.
1005 * testsuite/gas/all/local-label-overflow.s: Input.
1009 * gas/testsuite/gas/z8k/inout.d: Adapt to correct encoding of
1010 "sout/soutb #imm,reg"
1014 * NEWS: Mention {disp16} pseudo prefix.
1018 * testsuite/gas/i386/x86-64-pseudos.d: Revert an accidental
1023 * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use
1024 DW_FORM_udata for DW_AT_high_pc.
1025 (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when
1026 DWARF2_VERSION >= 4.
1027 * read.c (emit_leb128_exp): No longer static.
1028 * read.h (emit_leb128_exp): Define.
1032 * gas/dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at
1033 least one directory if there is at least one file. Use dirs[1]
1034 if dirs[0] is not set, or if there is no dirs[1] the current
1035 working directory. Use files[1] filename, when files[0] filename
1040 * dwarf2dbg.c (out_debug_info): Emit unit type and abbrev offset
1042 * gas/testsuite/gas/elf/dwarf-4-cu.d: New file.
1043 * gas/testsuite/gas/elf/dwarf-4-cu.s: Likewise.
1044 * gas/testsuite/gas/elf/dwarf-5-cu.d: Likewise.
1045 * gas/testsuite/gas/elf/dwarf-5-cu.s: Likewise.
1046 * testsuite/gas/elf/elf.exp: Run dwarf-4-cu and dwarf-5-cu.
1050 * doc/as.texi (--gdwarf-[345]): Fix typo.
1054 * config/tc-msp430.c (OPTION_MOVE_DATA): Remove.
1055 (md_parse_option): Remove case for OPTION_MOVE_DATA.
1056 (md_longopts): Remove "md" entry.
1057 (md_show_usage): Likewise.
1062 * config/tc-i386.c (_i386_insn::disp_encoding): Add
1063 disp_encoding_16bit.
1064 (parse_insn): Check Prefix_XXX for pseudo prefixes. Handle
1066 (build_modrm_byte): Handle {disp16}.
1067 (i386_index_check): Check invalid {disp16} and {disp32} pseudo
1069 * doc/c-i386.texi: Update {disp32} documentation and document
1071 * testsuite/gas/i386/i386.exp: Run x86-64-inval-pseudo.
1072 * testsuite/gas/i386/inval-pseudo.s: Add {disp32}/{disp16}
1074 * testsuite/gas/i386/pseudos.s: Add {disp8}/{disp32} vmovaps
1075 tests with 128-byte displacement. Add {disp16} tests.
1076 * testsuite/gas/i386/x86-64-pseudos.s: Add {disp8}/{disp32}
1077 vmovaps test. Add (%r13)/(%r13d) tests.
1078 * testsuite/gas/i386/x86-64-inval-pseudo.l: New file.
1079 * testsuite/gas/i386/x86-64-inval-pseudo.s: Likewise.
1080 * testsuite/gas/i386/inval-pseudo.l: Updated.
1081 * testsuite/gas/i386/pseudos.d: Likewise.
1082 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1086 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
1087 * Makefile.in, doc/Makefile.in: Regenerate.
1088 * configure: Regenerate.
1092 * testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler.
1093 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1094 * testsuite/gas/i386/dw2-compress-3a.d: Likewise.
1095 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1096 * testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
1097 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1101 * as.c (dwarf_level): Initialise to 3 in case this is not set on
1106 * testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.
1107 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: New test.
1108 * testsuite/gas/mips/global-local-symtab-sort-n32.d: New test.
1109 * testsuite/gas/mips/global-local-symtab-sort-n32t.d: New test.
1110 * testsuite/gas/mips/global-local-symtab-sort-n64.d: New test.
1111 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: New test.
1112 * testsuite/gas/mips/mips.exp: Run the new tests.
1116 * testsuite/gas/mips/global-local-symtab-o32.d: New test.
1117 * testsuite/gas/mips/global-local-symtab-o32t.d: New test.
1118 * testsuite/gas/mips/global-local-symtab-n32.d: New test.
1119 * testsuite/gas/mips/global-local-symtab-n32t.d: New test.
1120 * testsuite/gas/mips/global-local-symtab-n64.d: New test.
1121 * testsuite/gas/mips/global-local-symtab.s: New test source.
1122 * testsuite/gas/mips/mips.exp: Run the new tests.
1127 * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
1128 (%bp)/(%ebp)/(%rbp) for {disp32}.
1129 * doc/c-i386.texi: Update {disp32} documentation.
1130 * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
1131 * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
1132 * testsuite/gas/i386/pseudos.d: Updated.
1133 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1137 * doc/as.texi: Replace preceeded with preceded.
1141 * testsuite/gas/mips/jal-svr4pic-irix.d: New file.
1146 * testsuite/gas/mips/jal-svr4pic-local-irix.d: New file.
1151 * testsuite/gas/mips/jal-svr4pic-noreorder-irix.d: New file.
1160 * testsuite/gas/mips/jal-xgot-irix.d: New file.
1161 * testsuite/gas/mips/jalr2-irix.d: New file.
1162 * testsuite/gas/mips/micromips-branch-relax-insn32-pic-irix.d:
1164 * testsuite/gas/mips/micromips-branch-relax-pic-irix.d: New
1166 * testsuite/gas/mips/mips-abi32-pic2-irix.d: New file.
1167 * testsuite/gas/mips/jal-svr4pic-local.d: Don't exclude
1168 `*-*-irix*' targets. Add source file designator.
1170 `*-*-irix*' targets.
1173 * testsuite/gas/mips/jalr2.d: Add name designator.
1174 * testsuite/gas/mips/mips.exp: Use respective IRIX variants for
1175 tests involving the JALR relocation throughout.
1179 * testsuite/gas/mips/mips.exp: Use a helper variable for
1180 IRIX/non-IRIX test selection.
1184 * testsuite/gas/i386/evex-no-scale-64.d,
1185 testsuite/gas/i386/addr32.d,
1186 testsuite/gas/i386/x86-64-addr32-intel.d,
1187 testsuite/gas/i386/x86-64-addr32.d: Adjust expectations.
1191 * config/tc-csky.c (md_begin): Fix tests of arch and mach flags.
1195 * testsuite/gas/i386/evex-no-scale-32.d,
1196 testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass.
1197 * testsuite/gas/i386/evex-no-scale-32.s,
1198 testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ...
1199 * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct
1200 instead of .section.
1201 * testsuite/gas/i386/i386.exp: Move above tests out of ELF-
1206 * config/tc-mips.c (prev_reloc_op_frag): Remove variable.
1207 (my_getSmallExpression): Adjust accordingly.
1212 * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from
1213 conditional around it.
1214 (md_begin): Insert backslash into operand_chars[] when slash is
1215 a comment character.
1216 * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and
1217 \* as operators when / may be a comment character.
1218 * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New.
1219 * testsuite/gas/i386/i386.exp: Run new test.
1224 * app.c (last_char): Drop TC_ARM conditional around it.
1225 (struct app_save): Drop TC_ARM conditional around last_char.
1226 (app_push, app_pop): Drop TC_ARM conditional from last_char
1228 (do_scrub_chars): Likewise. Drop TC_ARM conditional from
1229 backslash-precedes-comment-character check.
1233 * config/tc-i386.c (frag_opcode_byte): New.
1234 (output_branch): Emit error when in absolute section.
1235 (output_jump, output_insn): Use frag_opcode_byte. Handle being
1236 in absolute section.
1237 (output_interseg_jump, output_disp, output_imm): Handle being in
1239 * testsuite/gas/i386/sizing.s,
1240 testsuite/gas/i386/sizing32.d,
1241 testsuite/gas/i386/sizing64.d: New.
1242 * testsuite/gas/i386/i386.exp: Run new tests.
1246 * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside
1247 is_elf_format as applicable; merely exclude iamcu tests.
1252 * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc
1253 against section to PC32 reloc.
1254 * testsuite/gas/i386/relax-5.d: Updated.
1255 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
1260 * testsuite/gas/i386/evex-no-scale-64.d: Updated.
1261 * testsuite/gas/i386/addr32.d: Likewise.
1262 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1263 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1267 * write.c (create_note_reloc): Add desc2_size parameter. Zero out
1268 the addend field of REL relocations. Store the full addend into
1269 the note for REL relocations.
1273 * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push
1275 * testsuite/gas/i386/x86-64-stack-intel.d,
1276 testsuite/gas/i386/x86-64-stack-suffix.d,
1277 testsuite/gas/i386/x86-64-stack.d: Adjust expectations.
1281 * testsuite/gas/i386/disassem.d,
1282 testsuite/gas/i386/ilp32/x86-64-branch.d,
1283 testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d,
1284 testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d,
1285 testsuite/gas/i386/noreg32.d,
1286 testsuite/gas/i386/noreg64-rex64.d,
1287 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d,
1288 testsuite/gas/i386/opcode.d,
1289 testsuite/gas/i386/solaris/x86-64-branch-2.d,
1290 testsuite/gas/i386/solaris/x86-64-jump.d,
1291 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
1292 testsuite/gas/i386/solaris/x86-64-nop-3.d,
1293 testsuite/gas/i386/solaris/x86-64-nop-4.d,
1294 testsuite/gas/i386/solaris/x86-64-nop-5.d,
1295 testsuite/gas/i386/solaris/x86-64-relax-2.d,
1296 testsuite/gas/i386/solaris/x86-64-relax-3.d,
1297 testsuite/gas/i386/x86-64-align-branch-1a.d,
1298 testsuite/gas/i386/x86-64-align-branch-1b.d,
1299 testsuite/gas/i386/x86-64-align-branch-1c.d,
1300 testsuite/gas/i386/x86-64-align-branch-1d.d,
1301 testsuite/gas/i386/x86-64-align-branch-1e.d,
1302 testsuite/gas/i386/x86-64-align-branch-1f.d,
1303 testsuite/gas/i386/x86-64-align-branch-1g.d,
1304 testsuite/gas/i386/x86-64-align-branch-1h.d,
1305 testsuite/gas/i386/x86-64-align-branch-1i.d,
1306 testsuite/gas/i386/x86-64-align-branch-2a.d,
1307 testsuite/gas/i386/x86-64-align-branch-2b.d,
1308 testsuite/gas/i386/x86-64-align-branch-2c.d,
1309 testsuite/gas/i386/x86-64-align-branch-3.d,
1310 testsuite/gas/i386/x86-64-align-branch-4a.d,
1311 testsuite/gas/i386/x86-64-align-branch-4b.d,
1312 testsuite/gas/i386/x86-64-align-branch-5.d,
1313 testsuite/gas/i386/x86-64-align-branch-6.d,
1314 testsuite/gas/i386/x86-64-branch-2.d,
1315 testsuite/gas/i386/x86-64-branch-3.d,
1316 testsuite/gas/i386/x86-64-branch.d,
1317 testsuite/gas/i386/x86-64-disassem.d,
1318 testsuite/gas/i386/x86-64-disp32.d,
1319 testsuite/gas/i386/x86-64-gotpcrel-no-relax.d,
1320 testsuite/gas/i386/x86-64-gotpcrel.d,
1321 testsuite/gas/i386/x86-64-ifunc.d,
1322 testsuite/gas/i386/x86-64-jump.d,
1323 testsuite/gas/i386/x86-64-lfence-byte.d,
1324 testsuite/gas/i386/x86-64-lfence-indbr-a.d,
1325 testsuite/gas/i386/x86-64-lfence-indbr-b.d,
1326 testsuite/gas/i386/x86-64-lfence-indbr-c.d,
1327 testsuite/gas/i386/x86-64-lfence-load.d,
1328 testsuite/gas/i386/x86-64-lfence-ret-a.d,
1329 testsuite/gas/i386/x86-64-lfence-ret-b.d,
1330 testsuite/gas/i386/x86-64-lfence-ret-c.d,
1331 testsuite/gas/i386/x86-64-lfence-ret-d.d,
1332 testsuite/gas/i386/x86-64-lfence-ret-e.d,
1333 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
1334 testsuite/gas/i386/x86-64-mpx-branch-1.d,
1335 testsuite/gas/i386/x86-64-mpx.d,
1336 testsuite/gas/i386/x86-64-nop-3.d,
1337 testsuite/gas/i386/x86-64-nop-4.d,
1338 testsuite/gas/i386/x86-64-nop-5.d,
1339 testsuite/gas/i386/x86-64-nops-7.d,
1340 testsuite/gas/i386/x86-64-notrack.d,
1341 testsuite/gas/i386/x86-64-opcode.d,
1342 testsuite/gas/i386/x86-64-relax-2.d,
1343 testsuite/gas/i386/x86-64-relax-3.d,
1344 testsuite/gas/i386/x86-64-relax-4.d,
1345 testsuite/gas/i386/x86-64-rtm.d,
1346 testsuite/gas/i386/x86-64-stack.d,
1347 testsuite/gas/i386/x86-64-unique.d,
1348 testsuite/gas/i386/x86_64-intel.d: Adjust expectations.
1353 * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
1355 * testsuite/gas/i386/x86-64-addr32.s: Likewise.
1356 * testsuite/gas/i386/addr32.d: Updated.
1357 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1358 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1359 * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
1360 * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
1364 * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>.
1365 * testsuite/gas/i386/intel-intel.d: Disambiguate name.
1366 * testsuite/gas/i386/intel.d,
1367 testsuite/gas/i386/opcode-intel.d: Adjust expectations.
1371 * testsuite/gas/i386/prefix.d: Adjust expectations.
1375 * testsuite/gas/i386/x86-64-avx-intel.d,
1376 testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations.
1380 * testsuite/gas/i386/movbe-suffix.d,
1381 testsuite/gas/i386/x86-64-movbe-suffix.d: New.
1382 * testsuite/gas/i386/i386.exp: Run new tests.
1386 * testsuite/gas/i386/crc32-suffix.d,
1387 testsuite/gas/i386/x86-64-crc32-suffix.d: New.
1388 * testsuite/gas/i386/i386.exp: Run new tests.
1389 * testsuite/gas/i386/arch-10-bdver1.d,
1390 testsuite/gas/i386/arch-10-bdver2.d,
1391 testsuite/gas/i386/arch-10-bdver3.d,
1392 testsuite/gas/i386/arch-10-bdver4.d,
1393 testsuite/gas/i386/arch-10-btver1.d,
1394 testsuite/gas/i386/arch-10-btver2.d,
1395 testsuite/gas/i386/arch-10-lzcnt.d,
1396 testsuite/gas/i386/arch-10-prefetchw.d,
1397 testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d,
1398 testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d,
1399 testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d,
1400 testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d,
1401 testsuite/gas/i386/x86-64-arch-2-bdver1.d,
1402 testsuite/gas/i386/x86-64-arch-2-bdver2.d,
1403 testsuite/gas/i386/x86-64-arch-2-bdver3.d,
1404 testsuite/gas/i386/x86-64-arch-2-bdver4.d,
1405 testsuite/gas/i386/x86-64-arch-2-btver1.d,
1406 testsuite/gas/i386/x86-64-arch-2-btver2.d,
1407 testsuite/gas/i386/x86-64-arch-2-lzcnt.d,
1408 testsuite/gas/i386/x86-64-arch-2-prefetchw.d,
1409 testsuite/gas/i386/x86-64-arch-2.d,
1410 testsuite/gas/i386/x86-64-crc32.d,
1411 testsuite/gas/i386/x86-64-pseudos.d,
1412 testsuite/gas/i386/x86-64-sse-noavx.d,
1413 testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations.
1417 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1418 ModR/M-encoded byte register cases.
1419 * testsuite/gas/i386/x86-64-pseudos.d,
1420 testsuite/gas/i386/x86-64-reg-intel.d,
1421 testsuite/gas/i386/x86-64-reg.d: Adjust expectations.
1425 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1426 not-ModR/M-encoded byte register cases.
1427 * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
1431 * testsuite/gas/i386/ilp32/x86-64-arch-1.d,
1432 testsuite/gas/i386/ilp32/x86-64-arch-2.d,
1433 testsuite/gas/i386/ilp32/x86-64-avx-intel.d,
1434 testsuite/gas/i386/ilp32/x86-64-avx.d,
1435 testsuite/gas/i386/ilp32/x86-64-crc32-intel.d,
1436 testsuite/gas/i386/ilp32/x86-64-crc32.d,
1437 testsuite/gas/i386/ilp32/x86-64-gotpcrel.d,
1438 testsuite/gas/i386/ilp32/x86-64-ifunc.d,
1439 testsuite/gas/i386/ilp32/x86-64-reg-intel.d,
1440 testsuite/gas/i386/ilp32/x86-64-reg.d,
1441 testsuite/gas/i386/ilp32/x86-64-rep-suffix.d,
1442 testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d,
1443 testsuite/gas/i386/ilp32/x86-64-sse4_2.d,
1444 testsuite/gas/i386/ilp32/x86-64-stack-intel.d,
1445 testsuite/gas/i386/ilp32/x86-64-stack-suffix.d,
1446 testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir
1451 * config/tc-i386.c (offset_in_range): Remove 32-bit sign
1456 * po/fr.po: Updated French translation.
1460 * testsuite/gas/elf/dwarf2-7.d: Remove most xfails.
1461 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1462 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1463 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1467 * config/tc-i386.c (output_insn): Check i.xstate to set
1468 GNU_PROPERTY_X86_FEATURE_2_TMM.
1469 * testsuite/gas/i386/i386.exp: Run x86-64-property-7,
1470 x86-64-property-8 and x86-64-property-9.
1471 * testsuite/gas/i386/x86-64-property-7.d: New file.
1472 * testsuite/gas/i386/x86-64-property-7.s: Likewise.
1473 * testsuite/gas/i386/x86-64-property-8.d: Likewise.
1474 * testsuite/gas/i386/x86-64-property-8.s: Likewise.
1475 * testsuite/gas/i386/x86-64-property-9.d: Likewise.
1476 * testsuite/gas/i386/x86-64-property-9.s: Likewise.
1480 * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm,
1481 has_regymm, has_regzmm and has_regtmm. Add xstate.
1482 (md_assemble): Set i.xstate from operand types in instruction
1484 (build_modrm_byte): Updated.
1485 (output_insn): Check i.xstate.
1486 * testsuite/gas/i386/i386.exp: Run property-6 and
1488 * testsuite/gas/i386/property-6.d: New file.
1489 * testsuite/gas/i386/property-6.s: Updated.
1490 * testsuite/gas/i386/x86-64-property-6.d: Likewise.
1494 * testsuite/gas/i386/property-5.d: Correct test name.
1498 * NEWS: Mention support for Intel AMX instructions.
1499 * config/tc-i386.c (i386_error): Add invalid_sib_address.
1500 (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile.
1501 (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile.
1502 (match_simd_size): Add tmmword check.
1503 (operand_type_match): Add tmmword.
1504 (type_names): Add rTMM.
1505 (i386_error): Add invalid_tmm_register_set.
1506 (check_VecOperands): Handle invalid_sib_address and
1507 invalid_tmm_register_set.
1508 (match_template): Handle invalid_sib_address.
1509 (build_modrm_byte): Handle non-vector SIB and zmmword.
1510 (i386_index_check): Disallow RegIP for non-vector SIB.
1511 (check_register): Handle zmmword.
1512 * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile.
1513 * testsuite/gas/i386/i386.exp: Add AMX new tests.
1514 * testsuite/gas/i386/intel-regs.d: Add tmm.
1515 * testsuite/gas/i386/intel-regs.s: Add tmm.
1516 * testsuite/gas/i386/x86-64-amx-intel.d: New.
1517 * testsuite/gas/i386/x86-64-amx-inval.l: New.
1518 * testsuite/gas/i386/x86-64-amx-inval.s: New.
1519 * testsuite/gas/i386/x86-64-amx.d: New.
1520 * testsuite/gas/i386/x86-64-amx.s: New.
1521 * testsuite/gas/i386/x86-64-amx-bad.d: New.
1522 * testsuite/gas/i386/x86-64-amx-bad.s: New.
1526 * testsuite/gas/elf/dwarf2-11.d: Update expected output from
1527 readelf's line table decoding.
1528 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1529 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1530 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1531 * testsuite/gas/elf/dwarf2-15.d: Likewise.
1532 * testsuite/gas/elf/dwarf2-16.d: Likewise.
1533 * testsuite/gas/elf/dwarf2-17.d: Likewise.
1534 * testsuite/gas/elf/dwarf2-18.d: Likewise.
1535 * testsuite/gas/elf/dwarf2-19.d: Likewise.
1536 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1537 * testsuite/gas/elf/dwarf2-6.d: Likewise.
1538 * testsuite/gas/elf/dwarf2-7.d: Likewise.
1542 * config/tc-i386.c (output_insn): Set YMM/ZMM features for
1543 VEX/EVEX vector instructions.
1544 * testsuite/gas/i386/property-4.d: New file.
1545 * testsuite/gas/i386/property-4.s: Likewise.
1546 * testsuite/gas/i386/property-5.d: Likewise.
1547 * testsuite/gas/i386/property-5.s: Likewise.
1548 * testsuite/gas/i386/x86-64-property-4.d: Likewise.
1549 * testsuite/gas/i386/x86-64-property-5.d: Likewise.
1553 * NEWS: Mention --enable-x86-used-note.
1554 * configure.ac: Configure with --enable-x86-used-note by default
1556 * configure: Regenerated.
1560 * config/obj-coff.h: Remove TE_PE support.
1561 * config/tc-ppc.c: Likewise.
1562 * config/tc-ppc.h: Likewise.
1563 * configure.tgt: Remove powerpc PE and powerpc lynxos.
1564 * testsuite/gas/cfi/cfi.exp (cfi-common-6): Remove powerpc PE
1566 * testsuite/gas/macros/macros.exp: Don't xfail powerpc PE.
1570 * testsuite/gas/i386/fma4-lig.d, testsuite/gas/i386/xop-lig.d:
1572 * testsuite/gas/i386/i386.exp: Run new tests.
1576 * config/tc-arc.c (find_opcode_match): Add error messages.
1577 * testsuite/gas/arc/add_s-err.s: Update test.
1578 * testsuite/gas/arc/asm-errors.err: Likewise.
1579 * testsuite/gas/arc/cpu-em-err.s: Likewise.
1580 * testsuite/gas/arc/hregs-err.s: Likewise.
1581 * testsuite/gas/arc/warn.s: Likewise.
1586 * doc/c-i386.texi: Remove an incorrect AVX2 entry.
1590 * testsuite/gas/all/gas.exp: Use is_xcoff_format.
1591 * testsuite/gas/ppc/ppc.exp: Likewise.
1592 * testsuite/gas/all/weakref1l.d: Likewise.
1596 * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in
1601 * testsuite/gas/i386/x86-64-avx512bw-wig1.d,
1602 testsuite/gas/i386/x86-64-avx512bw-wig1-intel.d,
1603 testsuite/gas/i386/x86-64-evex-wig1.d,
1604 testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust
1609 * testsuite/gas/i386/avx512f-opts.s: Add EVEX movq tests.
1610 * testsuite/gas/i386/x86-64-avx512f-opts.s: Add blank line.
1611 * testsuite/gas/i386/avx512f-opts-intel.d,
1612 testsuite/gas/i386/avx512f-opts.d
1613 testsuite/gas/i386/x86-64-avx512f-opts-intel.d
1614 testsuite/gas/i386/x86-64-avx512f-opts.d: Adjust expectations.
1619 * config/tc-arm.c: Fix spelling mistake.
1620 * config/tc-riscv.c: Likewise.
1621 * config/tc-z80.c: Likewise.
1622 * po/gas.pot: Regenerate.
1626 * po/uk.po: Updated Ukranian translation.
1630 * configure: Regenerate.
1631 * po/gas.pot: Regenerate.
1635 * version.m4: Change version number to 2.35.50.
1636 * configure: Regenerate.
1637 * po/bfd.pot: Regenerate.
1641 Binutils 2.35 branch created.
1646 * testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options.
1650 * config/tc-i386.c (build_modrm_byte): Check vexswapsources to
1651 swap two source operands.
1655 * testsuite/gas/all/fill-1.d: Skip for MeP targets.
1659 * config/tc-aarch64.c (reg_name_p): Fix cast so that we don't
1660 segfault on negative chars.
1661 * testsuite/gas/aarch64/reglike-label-unicode-segv.d: New test.
1662 * testsuite/gas/aarch64/reglike-label-unicode-segv.s: Input.
1667 * testsuite/gas/ia64/group-2.d: Add -T option to readelf
1669 * testsuite/gas/ia64/unwind.d: Likewise.
1670 * testsuite/gas/mmix/bspec-1.d: Likewise.
1671 * testsuite/gas/mmix/bspec-2.d: Likewise.
1672 * testsuite/gas/mmix/comment-1.d: Likewise.
1673 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1677 * config/tc-xc16x.c (md_apply_fix): Add FIXME.
1681 * testsuite/gas/all/eqv-dot.d: xfail targets that set linkrelax
1682 in data sections, and mep.
1686 * NEWS: Mention x86 NaCl target support removal.
1687 * config/tc-i386.c: Remove x86 NaCl target support.
1688 * config/tc-i386.h: Likewise.
1689 * configure.tgt: Likewise.
1690 * testsuite/gas/i386/i386.exp: Likewise.
1691 * testsuite/gas/i386/iamcu-1.d: Likewise.
1692 * testsuite/gas/i386/iamcu-2.d: Likewise.
1693 * testsuite/gas/i386/iamcu-3.d: Likewise.
1694 * testsuite/gas/i386/iamcu-4.d: Likewise.
1695 * testsuite/gas/i386/iamcu-5.d: Likewise.
1696 * testsuite/gas/i386/k1om.d: Likewise.
1697 * testsuite/gas/i386/l1om.d: Likewise.
1701 * config/tc-riscv.c (riscv_csr_class_check): Removed. Move the
1702 checking into riscv_csr_address.
1703 (riscv_csr_version_check): Likewise.
1704 (riscv_csr_address): New function. Return the suitable CSR address
1705 after checking the ISA dependency and versions. Issue warnings if
1706 we find any conflict and -mcsr-check is set. CSR_CLASS_F and
1707 CSR_CLASS_DEBUG are unprivileged CSR for now, so don't check the
1708 priv spec versions for them.
1709 (reg_csr_lookup_internal): Call riscv_csr_address to find the
1710 suitable CSR address.
1711 * testsuite/gas/riscv/priv-reg-fail-fext.d: Remove -mpriv-spec=1.11.
1712 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
1713 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
1714 * testsuite/gas/riscv/priv-reg-fail-fext.l: We don't care the
1715 priv spec warnings here. These warnings are added by accident.
1716 Remove them and only focus on the ISA dependency warnings.
1717 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1718 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1719 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Updated since
1720 dscratch0 and dscratch1 are regarded as the unprivileged CSR rather
1721 than the privileged ones.
1722 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1723 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1724 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1725 * testsuite/gas/riscv/priv-reg.s: Likewise. Add missing debug CSR.
1726 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1727 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: Likewise.
1728 * testsuite/gas/riscv/priv-reg-version-1p10.d: Likewise.
1729 * testsuite/gas/riscv/priv-reg-version-1p11.d: Likewise.
1730 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
1731 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
1735 * tc-i386.c (build_vex_prefix): Support VEX base opcode length > 1.
1736 (md_assemble): Don't process ImmExt without operands.
1741 * config/tc-mmix.c (md_assemble) <fixup for
1742 BFD_RELOC_MMIX_BASE_PLUS_OFFSET>: This fixup affects 1 byte, not 8.
1743 Also, set its fx_no_overflow.
1744 (md_convert_frag) <case ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO)>:
1745 Similarly this fixup affects 4 bytes, not 8 and needs its
1747 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Don't define.
1748 * testsuite/gas/mmix/pr25331.d, testsuite/gas/mmix/pr25331.s: New test.
1752 * config/tc-s12z.c: Use C style comments.
1753 * config/tc-z80.c: Likewise.
1754 * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code.
1758 * config/tc-i386.c (md_assemble): Process ImmExt without
1763 * config/tc-i386.c (check_VecOperands): Replace vecsib with sib.
1764 Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128,
1765 VECSIB256 and VECSIB512, respectively.
1766 (build_modrm_byte): Replace vecsib with sib.
1770 * testsuite/gas/i386/nop-1-suffix.d: New.
1771 * testsuite/gas/i386/i386.exp: Run new test.
1775 * config/tc-m68k.c (m68k_elf_gnu_attribute): New function.
1776 (md_pseudo_table): Handle "gnu_attribute".
1777 * doc/as.texi: Document GNU attribute for M68K.
1782 * config/tc-arm.c (arm_force_relocation): Force resolution of
1783 BFD_RELOC_THUMB_PCREL_BRANCH12 relocations.
1784 * testsuite/gas/arm/plt-1.d: Adjust expected disassembly.
1788 * config/tc-i386.c (md_assemble): Move call to process_immext()
1790 (process_operands): ... here.
1794 * config/tc-i386.c (process_suffix): Skip ambiguous operand size
1795 diagnostic when there is a sizing prefix. Switch to word/dword/
1796 qword encoding when there is a sizing prefix and no (explicit or
1798 (update_imm): Handle presence of a sizing prefix.
1799 * testsuite/gas/i386/noreg16-data32.d,
1800 testsuite/gas/i386/noreg32-data16.d,
1801 testsuite/gas/i386/noreg32-data16.e,
1802 testsuite/gas/i386/noreg64-data16.d,
1803 testsuite/gas/i386/noreg64-data16.e,
1804 testsuite/gas/i386/noreg64-rex64.d: New.
1805 * testsuite/gas/i386/i386.exp: Run new tests.
1806 * testsuite/gas/i386/noreg32.s, testsuite/gas/i386/noreg64.s:
1807 Introduce and use pfx* macros.
1808 * testsuite/gas/i386/noreg16.s: Likewise. Replace 32-bit
1810 * testsuite/gas/i386/noreg16.d: Adjust expectations.
1814 * testsuite/gas/i386/avx-16bit.d,
1815 testsuite/gas/i386/avx-scalar.d, testsuite/gas/i386/avx.d,
1816 testsuite/gas/i386/avx512f-16bit.d,
1817 testsuite/gas/i386/avx512f.d,
1818 testsuite/gas/i386/evex-lig256.d,
1819 testsuite/gas/i386/evex-lig512.d
1820 testsuite/gas/i386/evex-wig1.d, testsuite/gas/i386/katmai.d,
1821 testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg32.d,
1822 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/simd.d,
1823 testsuite/gas/i386/sse2-16bit.d,
1824 testsuite/gas/i386/sse2.d, testsuite/gas/i386/sse2avx.d: Adjust
1829 * config/tc-i386.c (md_assemble): Also reject explicit REX
1830 prefixes with VEX and alike encoded insns. Zap consumed bits
1832 (output_insn): Don't ignore REX prefix for VEX and alike
1833 encodings; abort() instead if encountered.
1834 * testsuite/gas/i386/x86-64-pseudos.s: Move REX-with-VEX cases
1836 * testsuite/gas/i386/x86-64-pseudos-bad.s: ... here.
1837 * testsuite/gas/i386/x86-64-pseudos.d,
1838 testsuite/gas/i386/x86-64-pseudos-bad.l: Adjust expectations.
1842 * config/tc-i386.c (process_operands): Translate explicit REX
1843 prefix into i.rex for SSE2AVX templates.
1844 (set_rex_vrex): New helper.
1845 (build_modrm_byte): Use it.
1846 * testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explict
1848 * testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
1852 * config/tc-i386.c (cpu_flags_match): Only match SSE2AVX
1853 templates when there's no data size prefix.
1854 (md_assemble): Reject data size prefix also for legacy encoded
1856 * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix64.s:
1857 Uncomment previously not working line.
1858 * testsuite/gas/i386/sse2avx.s: Add ldmxcsr/stmxcsr cases with
1860 * testsuite/gas/i386/prefix32.l, testsuite/gas/i386/prefix64.l,
1861 testsuite/gas/i386/sse2avx.d: Adjust expectations.
1865 * config/tc-i386.c (build_evex_prefix): Drop early setting of
1870 * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to
1871 explicit_priv_attr. It used to indicate CSR or priv instructions are
1873 (riscv_is_priv_insn): Return True if it is a privileged instruction.
1874 (riscv_ip): Call riscv_is_priv_insn to check whether the instruction
1875 is privileged or not. If it is, then set explicit_priv_attr to TRUE.
1876 (riscv_write_out_attrs): Clarification of when to generate the elf
1877 priv spec attributes.
1878 * testsuite/gas/riscv/attribute-11.s: Add comments.
1879 * testsuite/gas/riscv/attribute-14.s: New testcase. Use symbol
1880 `priv_insn_<n>` to decide which priv instruction is expected to used.
1882 * testsuite/gas/riscv/attribute-14a.d: Likewise.
1883 * testsuite/gas/riscv/attribute-14b.d: Likewise.
1884 * testsuite/gas/riscv/attribute-14c.d: Likewise.
1885 * testsuite/gas/riscv/attribute-14d.d: Likewise.
1886 * testsuite/gas/riscv/attribute-14e.d: Likewise.
1890 * config/tc-riscv.c (buf_size, buf): Remove the unused variables.
1891 (riscv_set_default_priv_spec): Get the priv spec version from the
1892 priv spec attributes by riscv_get_priv_spec_class_from_numbers.
1896 * configure.tgt: Set bfd_gas for all SH targets.
1900 * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case.
1901 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
1906 * config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect
1907 cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS.
1908 * doc/c-i386.texi: Add avx512_vp2intersect.
1912 * config/tc-i386.c (md_assemble): Drop SSE4a from SSE check
1914 * testsuite/gas/i386/sse-check.s: Adjust comment.
1915 * testsuite/gas/i386/sse-check-error.l,
1916 testsuite/gas/i386/sse-check-warn.e,
1917 testsuite/gas/i386/x86-64-sse-check-error.l: Adjust
1922 * config/tc-tic30.h: Remove OBJ_AOUT support.
1923 * configure.tgt: Delete tic30-*-*aout* entry.
1927 * config/tc-xtensa.c (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
1929 (elf32xtensa_abi): New declaration.
1930 (option_abi_windowed, option_abi_call0): New enum constants.
1931 (md_longopts): Add entries for --abi-windowed and --abi-call0.
1932 (md_parse_option): Add handlers for --abi-windowed and
1934 (xtensa_add_config_info): Use xtensa_abi_choice instead of
1935 XSHAL_ABI to format ABI tag.
1936 * doc/as.texi (Target Xtensa options): Add --abi-windowed and
1937 --abi-call0 to the list of options.
1938 * doc/c-xtensa.texi: Add description for options --abi-windowed
1940 * testsuite/gas/xtensa/abi-call0.d: New test definition.
1941 * testsuite/gas/xtensa/abi-windowed.d: New test definition.
1942 * testsuite/gas/xtensa/abi.s: New test source.
1947 * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with
1949 * testsuite/gas/i386/tsxldtrk.s: Likewise.
1950 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
1951 * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise.
1955 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
1956 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
1957 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1961 * doc/c-avr.texi: Improve wording.
1965 * testsuite/gas/i386/x86-64-pseudos-bad.s,
1966 testsuite/gas/i386/x86-64-pseudos-bad.l: New.
1970 * testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX
1972 * testsuite/gas/i386/prefix.d: Adjust expectations.
1976 * testsuite/gas/i386/prefix.s: Add bogus REP / EVEX.W prefix
1977 with VEX/EVEX encoding tests.
1978 * testsuite/gas/i386/prefix.d: Adjust expectations.
1982 * config/tc-i386.c (process_suffix): Restrict defaulting to 'q'
1984 * testsuite/gas/i386/noreg64.s: Add lcall/ljmp cases.
1985 * testsuite/gas/i386/noreg64.d: Adjust expectations.
1986 * testsuite/gas/i386/noreg-intel64.d,
1987 testsuite/gas/i386/noreg-intel64.l,
1988 testsuite/gas/i386/noreg-intel64.s: New.
1989 * testsuite/gas/i386/i386.exp: Run new tests.
1993 * config/tc-i386.c (vex_encoding_error): New enumerator.
1994 (VEX_check_operands): Rename to VEX_check_encoding. Check
1995 for vex_encoding_error. Move Imm4 handling ...
1996 (check_VecOperands): ... here.
1997 (match_template): Call VEX_check_encoding when there are no
1998 operands. Split construct calling check_VecOperands and
1999 VEX_check_encoding (when there are operands).
2000 (check_register): Don't blindly set vex_encoding_evex.
2001 * testsuite/gas/i386/pseudos-bad.s,
2002 testsuite/gas/i386/pseudos-bad.l: New.
2003 * testsuite/gas/i386/i386.exp: Run new test.
2004 * testsuite/gas/i386/xmmhi64.s: Drop {vex2}.
2008 * config/tc-arm.c (insns): Add dfb.
2009 * testsuite/gas/arm/dfb.d: New test.
2010 * testsuite/gas/arm/dfb.s: Input for test.
2014 * testsuite/gas/cfi/cfi-i386-2.d: Skip for PE based targets.
2018 * config/tc-i386.c (pi): Add checks for RegMask and RegBND.
2022 * config/tc-i386.c (check_byte_reg): Drop dead conditional
2027 * config/tc-i386.c (check_register): Split RegTR handling, to
2028 fail recognition also in 64-bit mode as well as with i586 or
2029 i686 explicitly enabled.
2030 * testsuite/gas/i386/x86_64.s: Add insns referencing tr<N>.
2031 * testsuite/gas/i386/x86_64-intel.d,
2032 testsuite/gas/i386/x86_64.d: Adjust expectations.
2036 * testsuite/gas/cfi/cfi-i386-2.d: Adjust expectations.
2037 * testsuite/gas/cfi/cfi.exp: Run this test.
2041 * config/tc-i386.c (parse_real_register): Add allow_pseudo_reg
2042 check to %st(N) parsing logic.
2043 * testsuite/gas/cfi/cfi-i386.s: Set "generic32" arch.
2047 * config/tc-i386.c (bad_reg): New.
2048 (check_VecOperations, i386_att_operand, i386_parse_name): Check
2050 (check_register): New, broken out from ...
2051 (parse_real_register): ... here. Call it.
2052 (parse_register): Call it, and error upon failure.
2053 * testsuite/gas/i386/equ-bad.s, testsuite/gas/i386/equ-bad.l,
2054 testsuite/gas/i386/x86-64-equ-bad.s,
2055 testsuite/gas/i386/x86-64-equ-bad.l: New.
2056 * testsuite/gas/i386/i386.exp: Run new tests.
2060 * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10.
2061 * doc/c-ppc.texi: Likewise.
2065 * config/tc-ppc.c: Update throughout for reloc renaming.
2069 * config/tc-bpf.c (md_apply_fix): Avoid GCC 10 warning
2074 * config/tc-riscv.c (explicit_csr): New static boolean.
2075 Used to indicate CSR are explictly used.
2076 (riscv_ip): Set explicit_csr to TRUE if any CSR is used.
2077 (riscv_write_out_attrs): If we already have set elf priv
2078 attributes, then generate them. Otherwise, don't generate
2079 them when no CSR are used.
2080 * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes.
2081 * testsuite/gas/riscv/attribute-02.d: Likewise.
2082 * testsuite/gas/riscv/attribute-03.d: Likewise.
2083 * testsuite/gas/riscv/attribute-04.d: Likewise.
2084 * testsuite/gas/riscv/attribute-05.d: Likewise.
2085 * testsuite/gas/riscv/attribute-06.d: Likewise.
2086 * testsuite/gas/riscv/attribute-07.d: Likewise.
2087 * testsuite/gas/riscv/attribute-08.d: Likewise.
2088 * testsuite/gas/riscv/attribute-09.d: Likewise.
2089 * testsuite/gas/riscv/attribute-10.d: Likewise.
2090 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2091 * testsuite/gas/riscv/attribute-11.s: New testcase.
2092 * testsuite/gas/riscv/attribute-11.d: New testcase. The CSR is
2093 used, so we should output the ELF priv attributes.
2094 * testsuite/gas/riscv/attribute-12.d: New testcase. The CSR is
2095 used, so output the priv attributes according to the -mpriv-spec.
2096 * testsuite/gas/riscv/attribute-13.d: New testcase. The CSR isn't
2097 used, so ignore the -mpriv-spec setting.
2101 * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to
2102 cgen_get_insn_value.
2103 * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass
2104 endianness to cgen_get_insn_value and cgen_put_insn_value.
2108 * config/tc-bpf.c (md_apply_fix): Simplify and avoid using
2109 cgen_put_insn_value.
2113 * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to
2115 (md_assemble): Remove no longer needed hack.
2119 * cgen.c (gas_cgen_finish_insn): Pass the endianness to
2120 cgen_put_insn_value.
2121 (gas_cgen_md_apply_fix): Likewise.
2122 (gas_cgen_md_apply_fix): Likewise.
2123 * config/tc-bpf.c (md_apply_fix): Pass data endianness to
2124 cgen_put_insn_value.
2125 * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
2126 cgen_put_insn_value.
2130 * testsuite/config/default.exp: Remove global directive outside
2132 * testsuite/gas/mep/complex-relocs.exp: Likewise.
2133 * testsuite/gas/microblaze/relax_size.exp: Likewise.
2134 * testsuite/gas/microblaze/reloc_sym.exp: Likewise.
2135 * testsuite/gas/mt/relocs.exp: Likewise.
2136 * testsuite/gas/rx/rx.exp: Likewise.
2140 * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe.
2146 * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
2147 simm12(rs1). Correct S format to use simm12(rs1). Drop SB and B
2148 formats using simm12(rs1). Correct SB and B to use rs1 and rs2.
2149 Move B before SB. Move J before UJ.
2153 * write.c (relax_segment): Fix handling of negative offset when
2154 relaxing an rs_org frag.
2155 * testsuite/gas/aarch64/org-neg.d: New test.
2156 * testsuite/gas/aarch64/org-neg.l: Error output for test.
2157 * testsuite/gas/aarch64/org-neg.s: Input for test.
2158 * testsuite/gas/arm/org-neg.d: New test.
2159 * testsuite/gas/arm/org-neg.l: Error output for test.
2160 * testsuite/gas/arm/org-neg.s: Input for test.
2164 Fix unexpected failures in gas testsuite for pdp11-aout target.
2165 These are caused by the PDP11's mix of little-endian octets in
2166 shorts but shorts in big endian order for long or quad.
2168 * config/tc-pdp11.c (md_number_to_chars): Implement .quad
2169 * testsuite/gas/all/gas.exp: Select alternate test scripts for
2170 pdp11, skip octa test completely.
2171 * testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s
2172 * testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order.
2173 * testsuite/gas/all/cond-pdp11.l: Match different octet order.
2177 * frags.c (frag_grow): Fix comment.
2182 * config/tc-pdp11.c (parse_reg): Distinguish register names from
2183 symbols that begin with a register name.
2184 * testsuite/gas/pdp11/pdp11.exp: Add test of such symbols.
2185 * testsuite/gas/pdp11/pr26001.s: Likewise.
2186 * testsuite/gas/pdp11/pr26001.d: Likewise.
2190 * config/tc-riscv.c (riscv_init_csr_hash): NULL initilize next
2191 pointer when creating struct riscv_csr_extra.
2195 * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF.
2196 * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF.
2197 * testsuite/gas/i386/inval-avx512f.l: Updated.
2201 * testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector
2202 load/store instruction variants with alignment hints.
2203 * testsuite/gas/s390/zarch-z13.s: Emit new vector load/store
2204 instruction variants with alignment hints.
2209 * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X
2210 instead of R_XGATE_PCREL_X.
2211 (xgate_parse_operand): Replace R_XGATE_PCREL_X with
2212 BFD_RELOC_XGATE_PCREL_X.
2217 * config/tc-visium.c (md_convert_frag): Replace fragP->fr_literal
2218 with &fragP->fr_literal[0].
2223 * config/tc-vax.c (md_estimate_size_before_relax): Replace
2224 fragP->fr_literal with &fragP->fr_literal[0].
2225 (md_convert_frag): Likewise.
2230 * config/tc-v850.c (md_convert_frag): Replace fragP->fr_literal
2231 with &fragP->fr_literal[0].
2236 * config/tc-crx.c (getreg_image): Change argument type to int.
2237 (md_convert_frag): Replace fragP->fr_literal with
2238 &fragP->fr_literal[0].
2243 * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping
2244 sprintf with memmove.
2248 * config/tc-mcore.c (md_convert_frag): Replace fragP->fr_literal
2249 with &fragP->fr_literal[0].
2254 * config/tc-cr16.c (md_assemble): Use memmove to concatenate
2255 2 overlapping strings.
2259 * config/tc-cr16.c (md_convert_frag): Replace fragP->fr_literal
2260 with &fragP->fr_literal[0].
2264 * config/tc-csky.c (md_convert_frag): Replace fragp->fr_literal
2265 with &fragp->fr_literal[0].
2266 * config/tc-microblaze.c (md_apply_fix): Likewise.
2267 * config/tc-sh.c (md_convert_frag): Likewise.
2272 * config/tc-riscv.c (riscv_pre_output_hook): Change s type from const
2273 asection to segT. New locals seg and subseg. Call subseg_set before
2274 fix_new_exp. Call subseg_set after loop to restore original values.
2278 * atof-generic.c: Replace "if (x) free (x)" with "free (x)"
2280 * config/obj-elf.c: Likewise.
2281 * config/tc-aarch64.c: Likewise.
2282 * config/tc-arm.c: Likewise.
2283 * config/tc-m68k.c: Likewise.
2284 * config/tc-nios2.c: Likewise.
2285 * config/tc-tic30.c: Likewise.
2286 * ecoff.c: Likewise.
2288 * stabs.c: Likewise.
2289 * symbols.c: Likewise.
2290 * testsuite/gas/all/test-gen.c: Likewise.
2294 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
2295 * config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
2296 Static variables which are used to set the ISA extensions. You can
2297 use -march (or ELF build attributes) and -misa-spec to set them,
2299 (ext_version_hash): The hash table used to handle the extensions
2301 (init_ext_version_hash): Initialize the ext_version_hash according
2302 to riscv_ext_version_table.
2303 (riscv_get_default_ext_version): The callback function of
2304 riscv_parse_subset_t. According to the choosed ISA spec,
2305 get the default version for the specific extension.
2306 (riscv_set_arch): Set the callback function.
2307 (enum options, struct option md_longopts): Add new option -misa-spec.
2308 (md_parse_option): Do not call riscv_set_arch for -march. We will
2309 call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
2310 to set default_isa_spec class.
2311 (riscv_after_parse_args): Call init_ext_version_hash to initialize the
2312 ext_version_hash, and then call riscv_set_arch to set the architecture
2313 with versions according to default_arch_with_ext.
2314 * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
2316 * testsuite/gas/riscv/attribute-03.d: Likewise.
2317 * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
2318 already set it's version to 2p1 by march, so no need to use the default
2319 2p2 version. For m-ext, we do not set the version by -march and ELF arch
2320 attribute, so set the default 2p0 to it. For zicsr, it is not defined in
2321 ISA spec 2p2, so set 0p0 to it.
2322 * testsuite/gas/riscv/attribute-10.d: New testcase. The version of
2323 zicsr is 2p0 according to ISA spec 20191213.
2324 * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
2325 (DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
2326 You can set them by configure options --with-arch and
2327 --with-isa-spec, respectively.
2328 (riscv_set_default_isa_spec): New function used to set the
2330 (md_parse_option): Call riscv_set_default_isa_spec rather than
2331 call riscv_get_isa_spec_class directly.
2332 (riscv_after_parse_args): If the -isa-spec is not set, then we
2333 set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
2334 calling riscv_set_default_isa_spec.
2335 * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
2336 the --with-isa-spec may be set to different ISA spec.
2337 * testsuite/gas/riscv/attribute-02.d: Likewise.
2338 * testsuite/gas/riscv/attribute-03.d: Likewise.
2339 * testsuite/gas/riscv/attribute-04.d: Likewise.
2340 * testsuite/gas/riscv/attribute-05.d: Likewise.
2341 * testsuite/gas/riscv/attribute-06.d: Likewise.
2342 * testsuite/gas/riscv/attribute-07.d: Likewise.
2343 * configure.ac: Add configure options, --with-arch and
2345 * configure: Regenerated.
2346 * config.in: Regenerated.
2347 * config/tc-riscv.c (default_priv_spec): Static variable which is
2348 used to check if the CSR is valid for the chosen privilege spec. You
2349 can use -mpriv-spec to set it.
2350 (enum reg_class): We now get the CSR address from csr_extra_hash rather
2351 than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
2352 (riscv_init_csr_hashes): Only need to initialize one hash table
2354 (riscv_csr_class_check): Change the return type to void. Don't check
2355 the ISA dependency if -mcsr-check isn't set.
2356 (riscv_csr_version_check): New function. Check and find the CSR address
2357 from csr_extra_hash, according to default_priv_spec. Report warning
2358 for the invalid CSR if -mcsr-check is set.
2359 (reg_csr_lookup_internal): Updated.
2360 (reg_lookup_internal): Likewise.
2361 (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
2362 (enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
2363 (md_parse_option): Call riscv_set_default_priv_version to set
2365 (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
2366 privilege spec to the newest one.
2367 (enum riscv_csr_class, struct riscv_csr_extra): Move them to
2368 include/opcode/riscv.h.
2369 * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
2370 to check the ISA dependency for CSR, so fix the spec version by adding
2372 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
2373 version warnings for the test case.
2374 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
2375 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
2376 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
2377 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
2378 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2379 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
2380 Check whether the CSR is valid when privilege version 1.9 is choosed.
2381 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
2382 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
2383 Check whether the CSR is valid when privilege version 1.9.1 is choosed.
2384 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
2385 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
2386 Check whether the CSR is valid when privilege version 1.10 is choosed.
2387 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
2388 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
2389 Check whether the CSR is valid when privilege version 1.11 is choosed.
2390 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
2391 * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
2392 setting. You can set it by configure option --with-priv-spec.
2393 (riscv_set_default_priv_spec): New function used to set the default
2395 (md_parse_option): Call riscv_set_default_priv_spec rather than
2396 call riscv_get_priv_spec_class directly.
2397 (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
2398 default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
2399 calling riscv_set_default_priv_spec.
2400 * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
2401 the --with-priv-spec may be set to different privilege spec.
2402 * testsuite/gas/riscv/priv-reg.d: Likewise.
2403 * configure.ac: Add configure option --with-priv-spec.
2404 * configure: Regenerated.
2405 * config.in: Regenerated.
2406 * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
2407 explicit_attr. Set it to TRUE if any ELF attribute is found.
2408 (riscv_set_default_priv_spec): Try to set the default_priv_spec if
2409 the priv attributes are set.
2410 (md_assemble): Set the default_priv_spec according to the priv
2411 attributes when we start to assemble instruction.
2412 (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
2413 riscv_write_out_attrs. Update the arch and priv attributes. If we
2414 don't set the corresponding ELF attributes, then try to output the
2416 (riscv_set_public_attributes): If any ELF attribute or -march-attr
2417 options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
2418 to update the arch and priv attributes.
2419 (s_riscv_attribute): Make sure all arch and priv attributes are set
2420 before any instruction.
2421 * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
2422 ELF attribute or -march-attr is set. If the priv attributes are not
2423 set, then try to update them by the default setting (-mpriv-spec or
2425 * testsuite/gas/riscv/attribute-02.d: Likewise.
2426 * testsuite/gas/riscv/attribute-03.d: Likewise.
2427 * testsuite/gas/riscv/attribute-04.d: Likewise.
2428 * testsuite/gas/riscv/attribute-06.d: Likewise.
2429 * testsuite/gas/riscv/attribute-07.d: Likewise.
2430 * testsuite/gas/riscv/attribute-08.d: Likewise.
2431 * testsuite/gas/riscv/attribute-09.d: Likewise.
2432 * testsuite/gas/riscv/attribute-10.d: Likewise.
2433 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2434 * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
2435 set by priv attributes must be supported.
2436 * testsuite/gas/riscv/attribute-05.s: Likewise.
2437 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
2438 priv attributes according to the -mpriv-spec option.
2439 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
2440 * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
2441 * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
2442 * testsuite/gas/riscv/priv-reg.d: Removed.
2443 * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
2444 CSR according to the priv spec 1.9.
2445 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
2446 CSR according to the priv spec 1.9.1.
2447 * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
2448 CSR according to the priv spec 1.10.
2449 * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
2450 CSR according to the priv spec 1.11.
2451 * config/tc-riscv.c (md_show_usage): Add descriptions about
2452 the new GAS options.
2453 * doc/c-riscv.texi: Likewise.
2457 * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
2458 * testsuite/gas/ppc/power9.d: Likewise.
2459 * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
2460 pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
2461 sync, wait, waitrsv>: Add tests.
2462 * testsuite/gas/ppc/power10.d: Likewise.
2467 * config/tc-arm.c : Add arm_ext_v8r feature.
2468 (it_fsm_post_encode): Check arm_ext_v8r feature.
2469 (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.
2473 * write.c (write_contents): Use bfd_get_filename rather than
2474 accessing bfd->filename directly. Use bfd_section_name rather
2475 than accessing section->name directly.
2479 * symbols.c (local_symbol_make): Init all of lsy_flags.
2483 * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
2484 before looking at add_symbol->sy_flags.
2488 * config/tc-i386.c: Not handle lret/iret.
2489 * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
2490 * testsuite/gas/i386/lfence-ret-b.d: Ditto.
2491 * testsuite/gas/i386/lfence-ret-c.d: Ditto.
2492 * testsuite/gas/i386/lfence-ret-d.d: Ditto.
2493 * testsuite/gas/i386/lfence-ret.s: Ditto.
2494 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
2495 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
2496 * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
2497 * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
2498 * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
2499 * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
2500 * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
2505 * symbols.c (struct local_symbol): Update comment.
2506 (resolve_symbol_value): For resolved symbols equated to other
2507 symbols, verify that the referenced symbol is not a local_symbol
2508 before accessing sy_value. Don't leave symbol loops during
2509 finalize_syms resolution.
2510 * testsuite/gas/all/assign-bad-recursive.d: New test.
2511 * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
2512 * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
2513 * testsuite/gas/all/gas.exp: Run it.
2517 * po/sv.po: Updated Swedish translation.
2521 * testsuite/gas/ppc/scalarquad.d,
2522 * testsuite/gas/ppc/scalarquad.s: New test.
2523 * testsuite/gas/ppc/ppc.exp: Run it.
2527 * testsuite/gas/ppc/rightmost.d,
2528 * testsuite/gas/ppc/rightmost.s: New test.
2529 * testsuite/gas/ppc/ppc.exp: Run it.
2533 * testsuite/gas/ppc/xvtlsbb.d,
2534 * testsuite/gas/ppc/xvtlsbb.s: New test.
2535 * testsuite/gas/ppc/ppc.exp: Run it.
2539 * testsuite/gas/ppc/stringop.d,
2540 * testsuite/gas/ppc/stringop.s: New test.
2541 * testsuite/gas/ppc/ppc.exp: Run it.
2545 * testsuite/gas/ppc/set_bool.d,
2546 * testsuite/gas/ppc/set_bool.s: New test.
2547 * testsuite/gas/ppc/ppc.exp: Run it.
2551 * testsuite/gas/ppc/bitmanip.d,
2552 * testsuite/gas/ppc/bitmanip.s: New test.
2553 * testsuite/gas/ppc/ppc.exp: Run it.
2557 * testsuite/gas/ppc/genpcv.d,
2558 * testsuite/gas/ppc/genpcv.s: New test.
2559 * testsuite/gas/ppc/ppc.exp: Run it.
2563 * testsuite/gas/ppc/maskmanip.d,
2564 * testsuite/gas/ppc/maskmanip.s: New test.
2565 * testsuite/gas/ppc/ppc.exp: Run it.
2570 * config/tc-ppc.c (pre_defined_registers): Add accumulators.
2571 (md_assemble): Check acc specified in correct operand.
2572 * testsuite/gas/ppc/outerprod.d,
2573 * testsuite/gas/ppc/outerprod.s,
2574 * testsuite/gas/ppc/vsx4.d,
2575 * testsuite/gas/ppc/vsx4.s: New tests.
2576 * testsuite/gas/ppc/ppc.exp: Run them.
2580 * testsuite/gas/ppc/simd_perm.d,
2581 * testsuite/gas/ppc/simd_perm.s: New test.
2582 * testsuite/gas/ppc/ppc.exp: Run it.
2586 * testsuite/gas/ppc/int128.d,
2587 * testsuite/gas/ppc/int128.s: New test.
2588 * testsuite/gas/ppc/ppc.exp: Run it.
2592 * testsuite/gas/ppc/vsx_32byte.d,
2593 * testsuite/gas/ppc/vsx_32byte.s: New test.
2594 * testsuite/gas/ppc/ppc.exp: Run it.
2598 * testsuite/gas/ppc/vec_mul.s,
2599 * testsuite/gas/ppc/vec_mul.d: New test.
2600 * testsuite/gas/ppc/ppc.exp: Run it.
2604 * testsuite/gas/ppc/byte_rev.d,
2605 * testsuite/gas/ppc/byte_rev.s: New test.
2606 * testsuite/gas/ppc/ppc.exp: Run it.
2610 * testsuite/gas/ppc/power10.d: Add paste. tests.
2611 * testsuite/gas/ppc/power10.s: Likewise.
2615 * testsuite/gas/ppc/power10.s: New test.
2616 * testsuite/gas/ppc/power10.d: Likewise.
2617 * testsuite/gas/ppc/ppc.exp: Run it.
2621 * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
2623 * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
2624 place of -mfuture/-Mfuture.
2625 * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
2626 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
2630 * po/sv.po: Updated Swedish translation.
2635 * doc/as.texi (Preprocessing): Replace cross reference to not
2636 existant document with a URL to the equivalent page in the GCC
2641 * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
2642 construction of a DWARF-5 directory name table.
2643 * testsuite/gas/elf/pr25917.d: Update expected output.
2647 * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
2648 (md_parse_option): Remove initialization of elf_flags.
2653 * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
2654 * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
2655 * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
2660 * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
2661 table's existence before looking at its entries.
2662 Also do not emit a default directory entry if there are no
2665 * testsuite/gas/elf/pr25917.s: New test source file.
2666 * testsuite/gas/elf/pr25917.d: New test driver.
2667 * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
2671 * config/tc-aarch64.c (fix_insn): Implement for
2672 AARCH64_OPND_UNDEFINED.
2673 (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
2674 * testsuite/gas/aarch64/udf.s: New.
2675 * testsuite/gas/aarch64/udf.d: New.
2676 * testsuite/gas/aarch64/udf-invalid.s: New.
2677 * testsuite/gas/aarch64/udf-invalid.l: New.
2678 * testsuite/gas/aarch64/udf-invalid.d: New.
2682 * config/tc-rx.c (elf_flags): Reset default value.
2683 (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
2687 * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
2688 if it's not defined.
2689 (microarch_earliest): New static variable.
2690 (xg_translate_idioms): Translate "simcall" to "simcall 0" when
2691 simcall opcode has mandatory parameter.
2692 (xg_init_global_config): Initialize microarch_earliest.
2697 * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
2698 IMM0_8S and add support for IMM0_8U.
2699 * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
2700 unsigned 8-bit immediate.
2701 * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
2702 * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
2706 * NEWS: Add news entry for big-obj.
2707 * config/tc-i386.c (i386_target_format): Support new format.
2708 * doc/c-i386.texi: Add i386 support.
2709 * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
2710 * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
2715 * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
2716 (assign_file_to_slot): New function. Fills in an entry in the
2718 (allocate_filenum): Use new function.
2719 (allocate_filename_to_slot): Use new function. If the specified
2720 slot entry is already in use, but was chosen automatically then
2721 reassign the automatic entry.
2725 * config/tc-i386.c (lfence_before_ret_shl): New member.
2726 (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
2728 (insert_after_load): Issue warning for REP CMPS/SCAS.
2729 (insert_before_before): Handle iret, Handle
2730 -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
2731 (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
2732 -mlfence-before-ret=[none/not/or/shl/yes].
2733 Enable -mlfence-before-ret=shl when
2734 -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
2735 (md_show_usage): Ditto.
2736 * doc/c-i386.texi: Ditto.
2737 * testsuite/gas/i386/i386.exp: Add new testcases.
2738 * testsuite/gas/i386/lfence-load-b.d: New.
2739 * testsuite/gas/i386/lfence-load-b.e: New.
2740 * testsuite/gas/i386/lfence-load.d: Modified.
2741 * testsuite/gas/i386/lfence-load.e: New.
2742 * testsuite/gas/i386/lfence-load.s: Modified.
2743 * testsuite/gas/i386/lfence-ret-a.d: Modified.
2744 * testsuite/gas/i386/lfence-ret-b.d: Modified.
2745 * testsuite/gas/i386/lfence-ret-c.d: New.
2746 * testsuite/gas/i386/lfence-ret-d.d: New.
2747 * testsuite/gas/i386/lfence-ret.s: Modified.
2748 * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
2749 * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
2750 * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
2751 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
2752 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
2753 * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
2754 * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
2755 * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
2756 * testsuite/gas/i386/x86-64-lfence-ret.e: New.
2757 * testsuite/gas/i386/x86-64-lfence-ret.s: New.
2762 * config/tc-xtensa.c (md_apply_fix): Replace
2763 BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
2764 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
2765 BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
2766 * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
2767 with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
2771 * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
2772 symbol for ".symver .. remove".
2773 * doc/as.texi (.symver): Update.
2774 * testsuite/gas/symver/symver11.s: Make foo weak.
2775 * testsuite/gas/symver/symver11.d: Expect an error.
2776 * testsuite/gas/symver/symver7.d: Allow other random symbols.
2780 * testsuite/gas/symver/symver11.s: Add ".balign 8".
2785 * testsuite/gas/m68k/operands.s: Add tests for cmpi.
2786 * testsuite/gas/m68k/operands.d: Update.
2787 * testsuite/gas/m68k/op68000.d: Update for new error messages.
2792 * testsuite/gas/arm/pr24753.d: New test.
2793 * testsuite/gas/arm/pr24753.s: New test.
2799 * NEWS: Mention .symver extension.
2800 * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
2802 (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
2803 add a version name. Add local, hidden and remove visibility
2805 (elf_frob_symbol): Handle the list of version names. Update the
2806 original symbol to local, hidden or remove it from the symbol
2808 (elf_frob_file_before_adjust): Handle the list of version names.
2809 * config/obj-elf.h (elf_visibility): New.
2810 (elf_versioned_name_list): Likewise.
2811 (elf_obj_sy): Change local to bitfield. Add rename, bad_version
2812 and visibility. Change versioned_name pointer to struct
2813 elf_versioned_name_list.
2814 * doc/as.texi: Update .symver directive.
2815 * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more
2816 error checking tests.
2817 * testsuite/gas/symver/symver6.d: New file.
2818 * testsuite/gas/symver/symver7.d: Likewise.
2819 * testsuite/gas/symver/symver7.s: Likewise.
2820 * testsuite/gas/symver/symver8.d: Likewise.
2821 * testsuite/gas/symver/symver8.s: Likewise.
2822 * testsuite/gas/symver/symver9.s: Likewise.
2823 * testsuite/gas/symver/symver9a.d: Likewise.
2824 * testsuite/gas/symver/symver9b.d: Likewise.
2825 * testsuite/gas/symver/symver10.s: Likewise.
2826 * testsuite/gas/symver/symver10a.d: Likewise.
2827 * testsuite/gas/symver/symver10b.d: Likewise.
2828 * testsuite/gas/symver/symver11.d: Likewise.
2829 * testsuite/gas/symver/symver11.s: Likewise.
2830 * testsuite/gas/symver/symver12.d: Likewise.
2831 * testsuite/gas/symver/symver12.s: Likewise.
2832 * testsuite/gas/symver/symver13.d: Likewise.
2833 * testsuite/gas/symver/symver13.s: Likewise.
2834 * testsuite/gas/symver/symver14.d: Likewise.
2835 * testsuite/gas/symver/symver14.l: Likewise.
2836 * testsuite/gas/symver/symver15.d: Likewise.
2837 * testsuite/gas/symver/symver15.l: Likewise.
2838 * testsuite/gas/symver/symver6.l: Removed.
2839 * testsuite/gas/symver/symver6.s: Updated.
2843 * config/tc-aarch64.c (parse_barrier_psb): Update error messages
2845 * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests.
2846 * testsuite/gas/aarch64/system-2.s: Add new tsb tests.
2847 * testsuite/gas/aarch64/system.d: Update.
2851 * testsuite/gas/aarch64/bti.d: Update -march option.
2852 * testsuite/gas/aarch64/illegal-bti.d: Remove.
2853 * testsuite/gas/aarch64/illegal-bti.l: Remove.
2854 * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
2855 * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
2859 * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot.
2865 * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
2867 * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
2868 for the type-2 test.
2869 * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
2870 targets running this test.
2874 * testsuite/gas/bpf/bpf.exp: Run jump32 tests.
2875 * testsuite/gas/bpf/jump32.s: New file.
2876 * testsuite/gas/bpf/jump32.d: Likewise.
2880 * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
2885 * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
2886 (md_pcrel_from): Remove prototytpe.
2887 * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
2889 (md_pcrel_from_section): Remove duplicate prototype.
2890 * tc.h (md_pcrel_from_section): Add prototype.
2891 * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
2892 * config/tc-arc.h (md_pcrel_from_section): Likewise.
2893 * config/tc-arm.h (md_pcrel_from_section): Likewise.
2894 * config/tc-avr.h (md_pcrel_from_section): Likewise.
2895 * config/tc-bfin.h (md_pcrel_from_section): Likewise.
2896 * config/tc-bpf.h (md_pcrel_from_section): Likewise.
2897 * config/tc-csky.h (md_pcrel_from_section): Likewise.
2898 * config/tc-d10v.h (md_pcrel_from_section): Likewise.
2899 * config/tc-d30v.h (md_pcrel_from_section): Likewise.
2900 * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
2901 * config/tc-fr30.h (md_pcrel_from_section): Likewise.
2902 * config/tc-frv.h (md_pcrel_from_section): Likewise.
2903 * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
2904 * config/tc-lm32.h (md_pcrel_from_section): Likewise.
2905 * config/tc-m32c.h (md_pcrel_from_section): Likewise.
2906 * config/tc-m32r.h (md_pcrel_from_section): Likewise.
2907 * config/tc-mcore.h (md_pcrel_from_section): Likewise.
2908 * config/tc-mep.h (md_pcrel_from_section): Likewise.
2909 * config/tc-metag.h (md_pcrel_from_section): Likewise.
2910 * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
2911 * config/tc-mmix.h (md_pcrel_from_section): Likewise.
2912 * config/tc-moxie.h (md_pcrel_from_section): Likewise.
2913 * config/tc-msp430.h (md_pcrel_from_section): Likewise.
2914 * config/tc-mt.h (md_pcrel_from_section): Likewise.
2915 * config/tc-or1k.h (md_pcrel_from_section): Likewise.
2916 * config/tc-ppc.h (md_pcrel_from_section): Likewise.
2917 * config/tc-rl78.h (md_pcrel_from_section): Likewise.
2918 * config/tc-rx.h (md_pcrel_from_section): Likewise.
2919 * config/tc-s390.h (md_pcrel_from_section): Likewise.
2920 * config/tc-sh.h (md_pcrel_from_section): Likewise.
2921 * config/tc-xc16x.h (md_pcrel_from_section): Likewise.
2922 * config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
2923 * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
2924 md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
2925 md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
2926 md_apply_fix3): Delete prototypes.
2930 * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
2935 * doc/c-z80.texi: Fix @xref warnings.
2939 * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
2940 (cpu_noarch): Likewise.
2941 * doc/c-i386.texi: Document TSXLDTRK.
2942 * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
2943 * testsuite/gas/i386/tsxldtrk.d: Likewise.
2944 * testsuite/gas/i386/tsxldtrk.s: Likewise.
2945 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
2949 * config/tc-i386.c (cpu_arch): Add .serialize.
2950 (cpu_noarch): Likewise.
2951 * doc/c-i386.texi: Document serialize.
2952 * testsuite/gas/i386/i386.exp: Run serialize tests
2953 * testsuite/gas/i386/serialize.d: Likewise.
2954 * testsuite/gas/i386/x86-64-serialize.d: Likewise.
2955 * testsuite/gas/i386/serialize.s: Likewise.
2959 * testsuite/gas/elf/section12a.d: Use notarget instead of xfail.
2960 * testsuite/gas/elf/section12b.d: Likewise.
2961 * testsuite/gas/elf/section16a.d: Likewise.
2962 * testsuite/gas/elf/section16b.d: Likewise.
2966 * config/tc-m68k.c (m68k_ip): Fix range check for index register
2967 with a suppressed address register.
2972 * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New.
2973 * testsuite/gas/i386/localpic.s: Add a test for relocation
2974 against local absolute symbol.
2975 * testsuite/gas/i386/x86-64-localpic.s: Likewise.
2976 * testsuite/gas/i386/localpic.d: Updated.
2977 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2978 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2983 * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
2984 * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
2985 * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
2986 testsuite/gas/i386/x86-64-jump.d.
2987 * gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
2988 Incorporate changes to
2989 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
2990 * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
2991 changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
2992 * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
2993 * testsuite/gas/i386/x86-64-branch-3.d: Likewise.
2999 * dwarf2dbg.c: Do not include "bignum.h".
3003 * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo.
3004 * testsuite/gas/riscv/alias-csr.s: Likewise.
3005 * testsuite/gas/riscv/no-aliases-csr.d: Move this
3006 to priv-reg-pseudo-noalias.
3007 * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent.
3008 * testsuite/gas/riscv/bad-csr.l: Likewise.
3009 * testsuite/gas/riscv/bad-csr.s: Likewise.
3010 * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg.
3011 * testsuite/gas/riscv/satp.s: Likewise.
3012 * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo
3013 csr instruction, including alias-csr testcase.
3014 * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise.
3015 * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all
3016 pseudo instruction with objdump -Mno-aliases.
3017 * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase.
3018 * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise.
3019 * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise.
3020 * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11.
3021 * testsuite/gas/riscv/priv-reg.s: Likewise.
3022 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
3023 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
3024 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
3028 * config/obj-coff.c (obj_coff_section): Set the bss flag on
3029 sections with the "b" attribute.
3033 * testsuite/gas/s12z/truncated.d: Update expected output.
3038 * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
3039 * doc/c-z80.texi: Update documentation.
3046 Fix disassembling ED+A4/AC/B4/BC opcodes.
3047 Fix assembling lines containing colonless label and instruction
3048 with first operand inside parentheses.
3049 Fix registration of unsupported by target CPU registers.
3050 * config/tc-z80.c: See above.
3051 * config/tc-z80.h: See above.
3052 * testsuite/gas/z80/colonless.d: Update test.
3053 * testsuite/gas/z80/colonless.s: Likewise.
3054 * testsuite/gas/z80/ez80_adl_all.d: Likewise.
3055 * testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
3056 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3057 * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
3058 * testsuite/gas/z80/r800_unsup_regs.d: Likewise.
3059 * testsuite/gas/z80/unsup_regs.s: Likewise.
3060 * testsuite/gas/z80/z180_unsup_regs.d: Likewise.
3061 * testsuite/gas/z80/z80.exp: Likewise.
3062 * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
3063 * testsuite/gas/z80/z80_unsup_regs.d: Likewise.
3064 * testsuite/gas/z80/z80n_unsup_regs.d: Likewise.
3069 * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ.
3070 (parse_operands): Handle new operand codes.
3071 (do_neon_dyadic_long): Make shape check accept the scalar variants.
3072 (asm_opcode_insns): Fix operand codes for vaddl and vsubl.
3073 * testsuite/gas/arm/mve-vaddsub-it.s: New test.
3074 * testsuite/gas/arm/mve-vaddsub-it.d: New test.
3075 * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test.
3076 * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test.
3077 * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test.
3078 * testsuite/gas/arm/nomve-vaddsub-it.d: New test.
3082 * NEWS: Mention x86 assembler options for CVE-2020-0551.
3086 * testsuite/gas/i386/i386.exp: Run new tests.
3087 * testsuite/gas/i386/lfence-byte.d: New file.
3088 * testsuite/gas/i386/lfence-byte.e: Likewise.
3089 * testsuite/gas/i386/lfence-byte.s: Likewise.
3090 * testsuite/gas/i386/lfence-indbr-a.d: Likewise.
3091 * testsuite/gas/i386/lfence-indbr-b.d: Likewise.
3092 * testsuite/gas/i386/lfence-indbr-c.d: Likewise.
3093 * testsuite/gas/i386/lfence-indbr.e: Likewise.
3094 * testsuite/gas/i386/lfence-indbr.s: Likewise.
3095 * testsuite/gas/i386/lfence-load.d: Likewise.
3096 * testsuite/gas/i386/lfence-load.s: Likewise.
3097 * testsuite/gas/i386/lfence-ret-a.d: Likewise.
3098 * testsuite/gas/i386/lfence-ret-b.d: Likewise.
3099 * testsuite/gas/i386/lfence-ret.s: Likewise.
3100 * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise.
3101 * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise.
3102 * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise.
3103 * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise.
3104 * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise.
3105 * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise.
3106 * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise.
3107 * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise.
3108 * testsuite/gas/i386/x86-64-lfence-load.d: Likewise.
3109 * testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
3110 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise.
3111 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise.
3115 * config/tc-i386.c (lfence_after_load): New.
3116 (lfence_before_indirect_branch_kind): New.
3117 (lfence_before_indirect_branch): New.
3118 (lfence_before_ret_kind): New.
3119 (lfence_before_ret): New.
3122 (insert_lfence_after): New.
3123 (insert_lfence_before): New.
3124 (md_assemble): Call insert_lfence_before and insert_lfence_after.
3126 (OPTION_MLFENCE_AFTER_LOAD): New.
3127 (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New.
3128 (OPTION_MLFENCE_BEFORE_RET): New.
3129 (md_longopts): Add -mlfence-after-load=,
3130 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3131 (md_parse_option): Handle -mlfence-after-load=,
3132 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3133 (md_show_usage): Display -mlfence-after-load=,
3134 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3135 (i386_cons_align): New.
3136 * config/tc-i386.h (i386_cons_align): New.
3137 (md_cons_align): New.
3138 * doc/c-i386.texi: Document -mlfence-after-load=,
3139 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3145 * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1.
3146 (DWARF2_FILE_SIZE_NAME): Default to -1.
3147 (DWARF2_LINE_VERSION): Default to the current dwarf level or 3,
3148 whichever is higher.
3149 (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1.
3150 (NUM_MD5_BYTES): Define.
3151 (struct file entry): Add md5 field.
3152 (get_filenum): Delete and replace with...
3153 (get_basename): New function.
3154 (get_directory_table_entry): New function.
3155 (allocate_filenum): New function.
3156 (allocate_filename_to_slot): New function.
3157 (dwarf2_where): Use new functions.
3158 (dwarf2_directive_filename): Add support for extended .file
3160 (dwarf2_directive_loc): Allow the use of file number zero with
3162 (out_file_list): Rename to...
3163 (out_dir_and_file_list): Add DWARF 5 support.
3164 (out_debug_line): Emit extra values into the section header for
3166 (out_debug_str): Allow for file 0 to be used with DWARF 5.
3167 * doc/as.texi (.file): Update the description of this pseudo-op.
3168 * testsuite/gas/elf-dwarf-5-file0.s: Add more lines.
3169 * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output.
3170 * testsuite/gas/lns/lns-diag-1.l: Update expected error message.
3171 * NEWS: Mention the new feature.
3175 * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
3176 to avoid signed overflow.
3177 * config/tc-mcore.c (md_assemble): Likewise.
3178 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
3179 * config/tc-nds32.c (SET_ADDEND): Likewise.
3180 * config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
3184 * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos.
3185 * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d,
3186 testsuite/gas/i386/avx-intel.d: Adjust expectations.
3190 * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in
3196 * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
3197 0 if the dwarf_level is 5 or more. Complain if a filename follows
3199 * testsuite/gas/elf/dwarf-5-file0.s: New test.
3200 * testsuite/gas/elf/dwarf-5-file0.d: New test driver.
3201 * testsuite/gas/elf/elf.exp: Run the new test.
3204 * config/tc-ia64.h (DWARF2_VERISION): Fix typo.
3205 * doc/as.texi: Fix another typo.
3210 * as.c (dwarf_level): Define.
3211 (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
3212 (parse_args): Add support for the new options.
3213 as.h (dwarf_level): Prototype.
3214 * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
3216 * config/tc-ia64.h (DWARF2_VERISION): Update definition.
3217 (DWARF2_LINE_VERSION): Remove definition.
3218 * doc/as.texi: Document the new options.
3223 * as.c (main): Allow matching input and outputs when they are
3228 * config/tc-i386.c (match_mem_size): Generalize broadcast special
3230 (check_VecOperands): Zap xmmword/ymmword/zmmword when more than
3231 one of byte/word/dword/qword is set alongside a SIMD register in
3232 a template's operand.
3236 * config/tc-i386.c (match_template): Extend code in logic
3237 rejecting certain suffixes in certain modes to also cover mask
3238 register use and VecSIB. Drop special casing of broadcast. Skip
3239 immediates in the check.
3243 * config/tc-i386.c (match_template): Fold duplicate code in
3244 logic rejecting certain suffixes in certain modes. Drop
3249 * config/tc-i386.c (process_suffix): Exlucde !vexw insns
3250 alongside !norex64 ones.
3251 * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR*
3252 with both 32- and 64-bit GPR operands.
3253 * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both
3254 32- and 64-bit GPR operands.
3255 * testsuite/gas/i386/x86-64-avx512bw-intel.d,
3256 testsuite/gas/i386/x86-64-avx512bw.d,
3257 testsuite/gas/i386/x86-64-avx512f-intel.d,
3258 testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations.
3262 * config/tc-i386.c (md_assemble): Drop use of rex64.
3263 (process_suffix): For REX.W for 64-bit CRC32.
3267 * config/tc-i386.c (i386_addressing_mode): For 32-bit
3268 addressing for MPX insns without base/index.
3269 * testsuite/gas/i386/mpx-16bit.s,
3270 * testsuite/gas/i386/mpx-16bit.d: New.
3271 * testsuite/gas/i386/i386.exp: Run new test.
3275 * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s,
3276 testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s,
3277 testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s,
3278 testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s,
3279 * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases
3280 as well as a BSWAP one.
3281 * testsuite/gas/i386/rdpid.s: Add 16-bit case.
3282 * testsuite/gas/i386/sse2-16bit.s: Cover more insns.
3283 * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d,
3284 testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
3285 testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d,
3286 testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d,
3287 testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d,
3288 testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d,
3289 testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d,
3290 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d,
3291 testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d,
3292 testsuite/gas/i386/vmx.d: Adjust expectations.
3296 * config/tc-i386.c (md_assemble): Also exclude tpause and umwait
3297 from having their operands swapped.
3298 * testsuite/gas/i386/waitpkg.s,
3299 testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait
3300 3-operand cases as well as testing of 16-bit code generation.
3301 * testsuite/gas/i386/waitpkg.d,
3302 testsuite/gas/i386/waitpkg-intel.d,
3303 testsuite/gas/i386/x86-64-waitpkg.d,
3304 testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations.
3308 * config/tc-riscv.c (percent_op_utype): Support the modifier
3310 * doc/c-riscv.texi: Add documentation.
3311 * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
3312 modifier %got_pcrel_hi.
3313 * testsuite/gas/riscv/no-relax-reloc.s: Likewise.
3314 * testsuite/gas/riscv/relax-reloc.d: Likewise.
3315 * testsuite/gas/riscv/relax-reloc.s: Likewise.
3317 * doc/c-riscv.texi (relocation modifiers): Add documentation.
3318 (RISC-V-Formats): Update the section name from "Instruction Formats"
3319 to "RISC-V Instruction Formats".
3323 * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is
3324 detected in a section which does not have at least 4 byte
3326 * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive.
3327 * testsuite/gas/arm/ldr-t.s: Likewise.
3328 * testsuite/gas/arm/sp-pc-usage-t.s: Likewise.
3329 * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of
3330 disassembly, ignoring any NOPs that may have been inserted because
3331 of section alignment.
3332 * testsuite/gas/arm/ldr-t.d: Likewise.
3336 * config/tc-i386.c (cpu_arch): Add .sev_es entry.
3337 * doc/c-i386.texi: Mention sev_es.
3338 * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
3339 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
3341 * testsuite/gas/i386/arch-13-znver1.d,
3342 testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
3346 * config/tc-i386.c (match_template): Replace ignoresize and
3347 defaultsize with mnemonicsize.
3348 (process_suffix): Likewise.
3353 * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of
3354 instruction LD IY,(HL).
3355 * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly.
3356 * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction.
3357 * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly.
3358 * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction.
3363 * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
3364 x86-64-default-suffix-avx.
3365 * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
3366 vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
3367 * testsuite/gas/i386/noreg64.d: Updated.
3368 * testsuite/gas/i386/noreg64.l: Likewise.
3369 * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
3370 * testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
3371 * testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
3376 * config/tc-z80.c (contains_register): Prevent an illegal memory
3377 access when checking an expression for a register name.
3381 * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips
3386 * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section.
3387 * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata
3389 * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout.
3390 (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section.
3391 (s3_s_score_lcomm): Likewise.
3392 * config/tc-score7.c: Similarly.
3393 * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section.
3398 * config/tc-mips.c (fix_loongson3_llsc): Compare label value
3399 to handle multi-labels.
3400 (has_label_name): New.
3404 * config/tc-arm.c (enum pred_instruction_type): Remove
3405 NEUTRAL_IT_NO_VPT_INSN predication type.
3406 (cxn_handle_predication): Modify to require condition suffixes.
3407 (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases.
3408 * testsuite/gas/arm/cde-scalar.s: Update test.
3409 * testsuite/gas/arm/cde-warnings.l: Update test.
3410 * testsuite/gas/arm/cde-warnings.s: Update test.
3414 * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
3415 N_() on empty string.
3419 * read.c (read_a_source_file): Call strncpy with length one
3420 less than size of original_case_string.
3424 * config/obj-elf.c: Indent labels correctly.
3425 * config/obj-macho.c: Likewise.
3426 * config/tc-aarch64.c: Likewise.
3427 * config/tc-alpha.c: Likewise.
3428 * config/tc-arm.c: Likewise.
3429 * config/tc-cr16.c: Likewise.
3430 * config/tc-crx.c: Likewise.
3431 * config/tc-frv.c: Likewise.
3432 * config/tc-i386-intel.c: Likewise.
3433 * config/tc-i386.c: Likewise.
3434 * config/tc-ia64.c: Likewise.
3435 * config/tc-mn10200.c: Likewise.
3436 * config/tc-mn10300.c: Likewise.
3437 * config/tc-nds32.c: Likewise.
3438 * config/tc-riscv.c: Likewise.
3439 * config/tc-s12z.c: Likewise.
3440 * config/tc-xtensa.c: Likewise.
3441 * config/tc-z80.c: Likewise.
3443 * symbols.c: Likewise.
3444 * write.c: Likewise.
3448 * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
3449 we are assembling instruction with CSR. Call riscv_csr_read_only_check
3450 after parsing all arguments.
3451 (enum csr_insn_type): New enum is used to classify the CSR instruction.
3452 (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These
3453 are used to check if we write a read-only CSR by the CSR instruction.
3454 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test
3455 all CSR for the read-only CSR checking.
3456 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
3457 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
3458 * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test
3459 all CSR instructions for the read-only CSR checking.
3460 * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
3461 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
3463 * config/tc-riscv.c (struct riscv_set_options): New field csr_check.
3464 (riscv_opts): Initialize it.
3465 (reg_lookup_internal): Check the `riscv_opts.csr_check`
3466 before doing the CSR checking.
3467 (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK.
3468 (md_longopts): Add mcsr-check and mno-csr-check.
3469 (md_parse_option): Handle new enum option values.
3470 (s_riscv_option): Handle new long options.
3471 * doc/c-riscv.texi: Add description for the new .option and assembler
3473 * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable
3475 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
3477 * config/tc-riscv.c (csr_extra_hash): New.
3478 (enum riscv_csr_class): New enum. Used to decide
3479 whether or not this CSR is legal in the current ISA string.
3480 (struct riscv_csr_extra): New structure to hold all extra information
3482 (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
3483 DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
3484 Call hash_reg_name to insert CSR address into reg_names_hash.
3485 (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
3486 Decide whether the CSR is valid according to the csr_extra_hash.
3487 (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
3488 (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
3489 not a boolean. This is same as riscv_init_csr_hash, so keep the
3491 (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
3492 * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
3493 * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
3494 * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
3495 file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
3496 f-ext CSR are not allowed.
3497 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
3498 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
3499 source file is `priv-reg.s`, and the ISA is rv64if, so the
3500 rv32-only CSR are not allowed.
3501 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
3505 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
3506 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
3511 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
3512 on section size adjustment, instead perform another write if
3513 exec header size is larger than section size.
3517 * doc/c-riscv.texi: Add the doc entries for -march-attr/
3518 -mno-arch-attr command line options.
3522 * testsuite/gas/riscv/c-add-addi.d: New testcase.
3523 * testsuite/gas/riscv/c-add-addi.s: Likewise.
3528 * config/tc-z80.c (md_parse_option): Do not use an underscore
3529 prefix for local labels in SDCC compatability mode.
3530 (z80_start_line_hook): Remove SDCC dollar label support.
3531 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
3532 * testsuite/gas/z80/sdcc.s: Likewise.
3537 * config/tc-z80.c: Add -march option.
3538 * doc/as.texi: Update Z80 documentation.
3539 * doc/c-z80.texi: Likewise.
3540 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
3541 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
3542 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
3543 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3544 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
3545 * testsuite/gas/z80/gbz80_all.d: Likewise.
3546 * testsuite/gas/z80/r800_extra.d: Likewise.
3547 * testsuite/gas/z80/r800_ii8.d: Likewise.
3548 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
3549 * testsuite/gas/z80/sdcc.d: Likewise.
3550 * testsuite/gas/z80/z180.d: Likewise.
3551 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
3552 * testsuite/gas/z80/z80_doc.d: Likewise.
3553 * testsuite/gas/z80/z80_ii8.d: Likewise.
3554 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
3555 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
3556 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
3557 * testsuite/gas/z80/z80_sli.d: Likewise.
3558 * testsuite/gas/z80/z80n_all.d: Likewise.
3559 * testsuite/gas/z80/z80n_reloc.d: Likewise.
3563 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
3564 with GNU_PROPERTY_X86_FEATURE_2_MMX.
3565 * testsuite/gas/i386/i386.exp: Run property-3 and
3567 * testsuite/gas/i386/property-3.d: New file.
3568 * testsuite/gas/i386/property-3.s: Likewise.
3569 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
3573 * config/tc-i386.c (cpu_arch): Add .popcnt.
3574 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
3575 Add a tab before @samp{.sse4a}.
3579 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
3580 for AddrPrefixOpReg templates. Combine the two pieces of
3581 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
3587 * config/tc-i386.c (md_assemble): Also suppress operand
3588 swapping for MONITOR{,X} and MWAIT{,X}.
3589 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
3590 Add Intel syntax monitor/mwait tests.
3591 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
3592 Adjust expectations.
3593 *testsuite/gas/i386/sse3-intel.d,
3594 testsuite/gas/i386/x86-64-sse3-intel.d: New.
3595 * testsuite/gas/i386/i386.exp: Run new tests.
3600 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
3601 [XYZ]MMWord memory operand ambiguity recognition logic (largely
3603 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
3605 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
3606 * testsuite/gas/i386/avx512dq-inval.l,
3607 testsuite/gas/i386/inval-avx.l,
3608 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
3609 * testsuite/gas/i386/avx512vl-ambig.s,
3610 testsuite/gas/i386/avx512vl-ambig.l: New.
3611 * testsuite/gas/i386/i386.exp: Run new test.
3615 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
3617 * doc/c-i386.texi: Document sse4a and nosse4a.
3621 * doc/c-i386.texi: Remove the old movsx and movzx documentation
3627 * config/tc-i386.c (md_assemble): Move movsx/movzx special
3629 (process_suffix): ... here. Consider just the first operand
3631 (check_long_reg): Drop opcode 0x63 special case again.
3632 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
3633 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
3634 Move ambiguous operand size tests ...
3635 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
3636 testsuite/gas/i386/noreg64.s: ... here.
3637 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
3638 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
3639 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
3640 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
3641 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
3642 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
3643 testsuite/gas/i386/x86-64-movsxd.d,
3644 testsuite/gas/i386/x86-64-movsxd-intel.d,
3645 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
3646 Adjust expectations.
3647 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
3648 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
3649 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
3650 * testsuite/gas/i386/i386.exp: Run new tests.
3654 * config/tc-i386.c (process_operands): Also skip segment
3655 override prefix emission if it matches an already present one.
3656 * testsuite/gas/i386/prefix32.s: Add double segment override
3658 * testsuite/gas/i386/prefix32.l: Adjust expectations.
3662 * config/tc-i386.c (process_operands): Drop ineffectual segment
3663 overrides when optimizing.
3664 * testsuite/gas/i386/lea-optimize.d: New.
3665 * testsuite/gas/i386/i386.exp: Run new test.
3669 * config/tc-i386.c (process_operands): Also check insn prefix
3670 for ineffectual segment override warning. Don't cover possible
3671 VEX/EVEX encoded insns there.
3672 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
3673 testsuite/gas/i386/lea.e: New.
3674 * testsuite/gas/i386/i386.exp: Run new test.
3679 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
3686 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
3687 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
3688 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
3689 * testsuite/gas/i386/relax-5.d: New file.
3690 * testsuite/gas/i386/relax-5.s: Likewise.
3691 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
3692 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
3696 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
3701 * config/tc-i386.c (avx512): New (at file scope), moved from
3702 (check_VecOperands): ... here.
3703 (process_suffix): Add [XYZ]MMword operand size handling.
3704 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
3705 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
3707 * testsuite/gas/i386/avx512dq-inval.l,
3708 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
3713 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
3715 * config/tc-i386-intel.c (i386_intel_operand): Also handle
3716 CALL/JMP in O_tbyte_ptr case.
3717 * doc/c-i386.texi: Mention far call and full pointer load ISA
3719 * testsuite/gas/i386/x86-64-branch-3.s,
3720 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
3721 * testsuite/gas/i386/x86-64-branch-3.d,
3722 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
3723 * testsuite/gas/i386/x86-64-branch-5.l,
3724 testsuite/gas/i386/x86-64-branch-5.s: New.
3725 * testsuite/gas/i386/i386.exp: Run new test.
3730 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
3731 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
3732 64-bit-only warning.
3733 (check_word_reg): Consistently error on mismatching register
3735 * testsuite/gas/i386/general.s: Replace dword GPR with word one
3736 for movw. Replace suffix / GPR for orb.
3737 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
3738 byte GPRs as well as ones for inb/outb with a word accumulator.
3739 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
3740 testsuite/gas/i386/inval.l: Adjust expectations.
3744 * config/tc-i386.c (operand_type_register_match): Also fall
3745 through initial two if()-s when the template allows for a GPR
3746 operand. Adjust comment.
3750 (struct _i386_insn): New field "short_form".
3751 (optimize_encoding): Drop setting of shortform field.
3752 (process_suffix): Set i.short_form. Replace shortform use.
3753 (process_operands): Replace shortform use.
3757 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
3758 loop initial declaration.
3762 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
3763 instructions that can have 5 arguments.
3764 (enum operand_parse_code): Add new operands.
3765 (parse_operands): Account for new operands.
3767 (enum neon_shape_el): Introduce P suffixes for coprocessor.
3768 (neon_select_shape): Account for P suffix.
3769 (LOW1): Move macro to global position.
3770 (HI4): Move macro to global position.
3771 (vcx_assign_vec_d): New.
3772 (vcx_assign_vec_m): New.
3773 (vcx_assign_vec_n): New.
3774 (enum vcx_reg_type): New.
3775 (vcx_get_reg_type): New.
3776 (vcx_size_pos): New.
3778 (vcx_handle_shape): New.
3779 (vcx_ensure_register_in_range): New.
3780 (vcx_handle_register_arguments): New.
3781 (vcx_handle_insn_block): New.
3782 (vcx_handle_common_checks): New.
3786 * testsuite/gas/arm/cde-missing-fp.d: New test.
3787 * testsuite/gas/arm/cde-missing-fp.l: New test.
3788 * testsuite/gas/arm/cde-missing-mve.d: New test.
3789 * testsuite/gas/arm/cde-missing-mve.l: New test.
3790 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
3791 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
3792 * testsuite/gas/arm/cde-mve.s: New test.
3793 * testsuite/gas/arm/cde-warnings.l:
3794 * testsuite/gas/arm/cde-warnings.s:
3795 * testsuite/gas/arm/cde.d:
3796 * testsuite/gas/arm/cde.s:
3801 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
3802 CDE coprocessor that can be enabled.
3803 (enum pred_instruction_type): New pred type.
3804 (BAD_NO_VPT): New error message.
3805 (BAD_CDE): New error message.
3806 (BAD_CDE_COPROC): New error message.
3807 (enum operand_parse_code): Add new immediate operands.
3808 (parse_operands): Account for new immediate operands.
3809 (check_cde_operand): New.
3810 (cde_coproc_enabled): New.
3811 (cde_coproc_pos): New.
3812 (cde_handle_coproc): New.
3813 (cxn_handle_predication): New.
3814 (do_custom_instruction_1): New.
3815 (do_custom_instruction_2): New.
3816 (do_custom_instruction_3): New.
3829 (handle_pred_state): Define new IT block behaviour.
3830 (insns): Add newn CX*{,d}{,a} instructions.
3831 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
3832 Define new cdecp extension strings.
3833 * doc/c-arm.texi: Document new cdecp extension arguments.
3834 * testsuite/gas/arm/cde-scalar.d: New test.
3835 * testsuite/gas/arm/cde-scalar.s: New test.
3836 * testsuite/gas/arm/cde-warnings.d: New test.
3837 * testsuite/gas/arm/cde-warnings.l: New test.
3838 * testsuite/gas/arm/cde-warnings.s: New test.
3839 * testsuite/gas/arm/cde.d: New test.
3840 * testsuite/gas/arm/cde.s: New test.
3845 * config/tc-i386.c (intel64): Renamed to ...
3847 (match_template): Accept Intel64 only instruction by default.
3848 (i386_displacement): Updated.
3849 (md_parse_option): Updated.
3850 * c-i386.texi: Update -mamd64/-mintel64 documentation.
3851 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
3852 -mamd64 to x86-64-sysenter-amd.
3853 * testsuite/gas/i386/x86-64-sysenter.d: New file.
3857 * config/obj-elf.c (obj_elf_change_section): Error for section
3858 type, attr or entsize changes in assembly.
3859 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
3860 * testsuite/gas/elf/section5.l: Update.
3864 * output-file.c (output_file_close): Do a normal close when
3865 flag_always_generate_output.
3866 * write.c (write_object_file): Don't stop output when
3867 flag_always_generate_output.
3872 * config/tc-z80.c: Add -gbz80 command line option to generate code
3873 for the GameBoy Z80. Add support for generating DWARF.
3874 * config/tc-z80.h: Add support for DWARF debug information
3876 * doc/c-z80.texi: Document new command line option.
3877 * testsuite/gas/z80/gbz80_all.d: New file.
3878 * testsuite/gas/z80/gbz80_all.s: New file.
3879 * testsuite/gas/z80/z80.exp: Run the new tests.
3880 * testsuite/gas/z80/z80n_all.d: New file.
3881 * testsuite/gas/z80/z80n_all.s: New file.
3882 * testsuite/gas/z80/z80n_reloc.d: New file.
3887 * config/obj-elf.c (get_section): Also check
3888 linked_to_symbol_name.
3889 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
3890 (obj_elf_parse_section_letters): Handle the 'o' flag.
3891 (build_group_lists): Renamed to ...
3892 (build_additional_section_info): This. Set elf_linked_to_section
3893 from map_head.linked_to_symbol_name.
3894 (elf_adjust_symtab): Updated.
3895 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
3896 * doc/as.texi: Document the 'o' flag.
3897 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
3898 * testsuite/gas/elf/section18.d: New file.
3899 * testsuite/gas/elf/section18.s: Likewise.
3900 * testsuite/gas/elf/section19.d: Likewise.
3901 * testsuite/gas/elf/section19.s: Likewise.
3902 * testsuite/gas/elf/section20.d: Likewise.
3903 * testsuite/gas/elf/section20.s: Likewise.
3904 * testsuite/gas/elf/section21.d: Likewise.
3905 * testsuite/gas/elf/section21.l: Likewise.
3906 * testsuite/gas/elf/section21.s: Likewise.
3910 * NEWS: Mention x86 assembler options to align branches for
3915 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
3916 only for ELF targets.
3917 * testsuite/gas/i386/unique.d: Don't xfail.
3918 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3922 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
3923 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3927 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
3928 xfail, and rename test.
3929 * testsuite/gas/elf/section12b.d: Likewise.
3930 * testsuite/gas/elf/section16a.d: Likewise.
3931 * testsuite/gas/elf/section16b.d: Likewise.
3936 * config/obj-elf.c (section_match): Removed.
3937 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
3939 (obj_elf_change_section): Replace info and group_name arguments
3940 with match_p. Also update the section ID and flags from match_p.
3941 (obj_elf_section): Handle "unique,N". Update call to
3942 obj_elf_change_section.
3943 * config/obj-elf.h (elf_section_match): New.
3944 (obj_elf_change_section): Updated.
3945 * config/tc-arm.c (start_unwind_section): Update call to
3946 obj_elf_change_section.
3947 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3948 * config/tc-microblaze.c (microblaze_s_data): Likewise.
3949 (microblaze_s_sdata): Likewise.
3950 (microblaze_s_rdata): Likewise.
3951 (microblaze_s_bss): Likewise.
3952 * config/tc-mips.c (s_change_section): Likewise.
3953 * config/tc-msp430.c (msp430_profiler): Likewise.
3954 * config/tc-rx.c (parse_rx_section): Likewise.
3955 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
3956 * doc/as.texi: Document "unique,N" in .section directive.
3957 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
3958 * testsuite/gas/elf/section15.d: New file.
3959 * testsuite/gas/elf/section15.s: Likewise.
3960 * testsuite/gas/elf/section16.s: Likewise.
3961 * testsuite/gas/elf/section16a.d: Likewise.
3962 * testsuite/gas/elf/section16b.d: Likewise.
3963 * testsuite/gas/elf/section17.d: Likewise.
3964 * testsuite/gas/elf/section17.l: Likewise.
3965 * testsuite/gas/elf/section17.s: Likewise.
3966 * testsuite/gas/i386/unique.d: Likewise.
3967 * testsuite/gas/i386/unique.s: Likewise.
3968 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3969 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
3973 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
3977 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
3981 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
3987 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
3988 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
3990 * testsuite/gas/arm/mve_dsp.d: New test.
3994 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
3995 rather than BFD_RELOC_NONE.
3999 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
4000 to support VLDMIA instruction for MVE.
4001 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
4002 instruction for MVE.
4003 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
4004 instruction for MVE.
4005 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
4006 instruction for MVE.
4007 * testsuite/gas/arm/mve-ldst.d: New test.
4008 * testsuite/gas/arm/mve-ldst.s: Likewise.
4012 * po/fr.po: Updated French translation.
4013 * po/ru.po: Updated Russian translation.
4017 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
4019 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
4020 * testsuite/gas/aarch64/sve-movprfx_28.d,
4021 * testsuite/gas/aarch64/sve-movprfx_28.l,
4022 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
4026 * config/tc-i386.c (output_disp): Tighten base_opcode check.
4027 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
4028 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
4029 Adjust expectations.
4033 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
4034 * testsuite/gas/bpf/alu-be.d: Likewise.
4035 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
4036 * testsuite/gas/bpf/alu32-be.d: Likewise.
4040 * testsuite/gas/i386/x86-64-branch-2.s,
4041 testsuite/gas/i386/x86-64-branch-4.s,
4042 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
4043 * testsuite/gas/i386/ilp32/x86-64-branch.d,
4044 testsuite/gas/i386/x86-64-branch-2.d,
4045 testsuite/gas/i386/x86-64-branch-4.l,
4046 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
4050 * config/tc-i386.c (process_suffix): .
4051 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
4052 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
4054 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
4056 testsuite/gas/i386/x86_64.s: Add RETF cases.
4057 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
4058 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
4059 testsuite/gas/i386/x86-64-opcode.d,
4060 testsuite/gas/i386/x86-64-suffix-intel.d,
4061 testsuite/gas/i386/x86-64-suffix.d,
4062 testsuite/gas/i386/x86_64-intel.d
4063 testsuite/gas/i386/x86_64.d: Adjust expectations.
4064 * testsuite/gas/i386/x86-64-suffix.e,
4065 testsuite/gas/i386/x86_64.e: New.
4069 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
4075 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
4077 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
4078 differences. Document movslq and movsxd.
4079 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
4080 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
4081 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
4082 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
4083 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
4084 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
4085 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
4086 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
4087 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
4088 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
4089 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
4093 * testsuite/gas/all/gas.exp: Replace case statements with switch
4095 * testsuite/gas/elf/elf.exp: Likewise.
4096 * testsuite/gas/macros/macros.exp: Likewise.
4097 * testsuite/lib/gas-defs.exp: Likewise.
4102 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
4103 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
4107 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
4108 s exts must be known, so rename *ok* to *fail*.
4109 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
4110 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
4111 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
4113 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
4114 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
4119 * config/tc-i386.c (check_long_reg): Always disallow double word
4120 suffix in mnemonic with word general register.
4121 * testsuite/gas/i386/general.s: Replace word general register
4122 with double word general register for movl.
4123 * testsuite/gas/i386/inval.s: Add tests for movl with word general
4125 * testsuite/gas/i386/general.l: Updated.
4126 * testsuite/gas/i386/inval.l: Likewise.
4130 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
4131 __tls_get_addr_desc and __tls_get_addr_opt.
4135 * testsuite/gas/i386/inval-crc32.s,
4136 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
4137 * testsuite/gas/i386/inval-crc32.l,
4138 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
4142 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
4143 generic code path. Deal with No_lSuf being set in a template.
4144 * testsuite/gas/i386/inval-crc32.l,
4145 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
4146 instead of error(s) when operand size is ambiguous.
4147 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4148 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
4149 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
4150 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
4151 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
4152 Adjust expectations.
4156 * config/tc-i386.c (process_suffix): Drop SYSRET special case
4157 and an intel_syntax check. Re-write lack-of-suffix processing
4159 * doc/c-i386.texi: Document operand size defaults for suffix-
4160 less AT&T syntax insns.
4161 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
4162 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
4163 testsuite/gas/i386/x86-64-avx-scalar.s,
4164 testsuite/gas/i386/x86-64-avx.s,
4165 testsuite/gas/i386/x86-64-bundle.s,
4166 testsuite/gas/i386/x86-64-intel64.s,
4167 testsuite/gas/i386/x86-64-lock-1.s,
4168 testsuite/gas/i386/x86-64-opcode.s,
4169 testsuite/gas/i386/x86-64-sse2avx.s,
4170 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
4171 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
4172 testsuite/gas/i386/x86-64-nops.s,
4173 testsuite/gas/i386/x86-64-ptwrite.s,
4174 testsuite/gas/i386/x86-64-simd.s,
4175 testsuite/gas/i386/x86-64-sse-noavx.s,
4176 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
4178 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4179 testsuite/gas/i386/noreg64.s: Add further tests.
4180 * testsuite/gas/i386/ilp32/x86-64-nops.d,
4181 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
4182 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
4183 testsuite/gas/i386/sse-noavx.d,
4184 testsuite/gas/i386/x86-64-intel64.d,
4185 testsuite/gas/i386/x86-64-nops.d,
4186 testsuite/gas/i386/x86-64-opcode.d,
4187 testsuite/gas/i386/x86-64-ptwrite-intel.d,
4188 testsuite/gas/i386/x86-64-ptwrite.d,
4189 testsuite/gas/i386/x86-64-simd-intel.d,
4190 testsuite/gas/i386/x86-64-simd-suffix.d,
4191 testsuite/gas/i386/x86-64-simd.d,
4192 testsuite/gas/i386/x86-64-sse-noavx.d
4193 testsuite/gas/i386/x86-64-suffix.d,
4194 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
4195 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
4196 testsuite/gas/i386/noreg64.l: New.
4197 * testsuite/gas/i386/i386.exp: Run new tests.
4201 * testsuite/gas/i386/avx512_bf16_vl.s,
4202 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
4203 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
4204 broadcast forms of VCVTNEPS2BF16.
4205 * testsuite/gas/i386/avx512_bf16_vl.d,
4206 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
4210 * po/uk.po: Updated Ukranian translation.
4215 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
4216 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
4218 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
4219 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
4220 R_X86_64_GOTPC32_TLSDESC relocation.
4224 * configure: Regenerate.
4225 * po/gas.pot: Regenerate.
4229 Binutils 2.34 branch created.
4233 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
4234 with vex_encoding_vex.
4235 (parse_insn): Likewise.
4236 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
4237 and {vex3} documentation.
4238 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
4240 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
4245 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
4246 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
4247 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
4248 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
4249 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
4250 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
4254 * config/tc-i386.c (match_template): Drop found_cpu_match local
4259 * testsuite/gas/i386/avx512dq-inval.l,
4260 testsuite/gas/i386/avx512dq-inval.s: New.
4261 * testsuite/gas/i386/i386.exp: Run new test.
4265 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
4266 relocations when the target is 430X, except when extracting part of an
4268 (msp430_srcoperand): Adjust comment.
4269 Initialize the expp member of the msp430_operand_s struct as
4271 (msp430_dstoperand): Likewise.
4272 * testsuite/gas/msp430/msp430.exp: Run new test.
4273 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
4274 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
4278 * configure.tgt: Add sparc-*-freebsd case.
4282 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
4283 * testsuite/gas/i386/align-branch-1b.d: Likewise.
4284 * testsuite/gas/i386/align-branch-1c.d: Likewise.
4285 * testsuite/gas/i386/align-branch-1d.d: Likewise.
4286 * testsuite/gas/i386/align-branch-1e.d: Likewise.
4287 * testsuite/gas/i386/align-branch-1f.d: Likewise.
4288 * testsuite/gas/i386/align-branch-1g.d: Likewise.
4289 * testsuite/gas/i386/align-branch-1h.d: Likewise.
4290 * testsuite/gas/i386/align-branch-1i.d: Likewise.
4291 * testsuite/gas/i386/align-branch-5.d: Likewise.
4292 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
4293 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
4294 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
4295 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
4296 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
4297 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
4298 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
4299 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
4300 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
4301 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
4302 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
4303 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
4308 * config/tc-z80.c: Add support for half precision, single
4309 precision and double precision floating point values.
4310 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
4311 * doc/as.texi: Add new z80 command line options.
4312 * doc/c-z80.texi: Document new z80 command line options.
4313 * testsuite/gas/z80/ez80_pref_dis.s: New test.
4314 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
4315 * testsuite/gas/z80/z80.exp: Run the new test.
4316 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
4317 * testsuite/gas/z80/fp_zeda32.d: Likewise.
4318 * testsuite/gas/z80/strings.d: Update expected output.
4322 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
4327 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
4329 * config/tc-arc.h: Add header if/defs.
4330 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
4334 * testsuite/gas/wasm32/allinsn.d: Update expected output.
4338 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
4343 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
4344 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
4349 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
4351 (emit_ld_r_r): Likewise.
4352 (emit_ld_rr_m): Likewise.
4353 (emit_ld_rr_nn): Likewise.
4357 * config/tc-i386.c (optimize_encoding): Add
4358 is_any_vex_encoding() invocations. Drop respective
4359 i.tm.extension_opcode == None checks.
4363 * config/tc-i386.c (md_assemble): Check RegRex is clear during
4364 REX transformations. Correct comment indentation.
4368 * config/tc-i386.c (optimize_encoding): Generalize register
4369 transformation for TEST optimization.
4373 * testsuite/gas/i386/x86-64-sysenter-amd.s,
4374 testsuite/gas/i386/x86-64-sysenter-amd.d,
4375 testsuite/gas/i386/x86-64-sysenter-amd.l,
4376 testsuite/gas/i386/x86-64-sysenter-intel.d,
4377 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
4378 * testsuite/gas/i386/i386.exp: Run new tests.
4383 * doc/as.texi (Align): Document the fact that all arguments can be
4386 (P2align): Likewise.
4391 * config/obj-elf.c (obj_elf_section): Fail if the section name is
4392 already defined as a different symbol type.
4393 * testsuite/gas/elf/pr14891.s: New test source file.
4394 * testsuite/gas/elf/pr14891.d: New test driver.
4395 * testsuite/gas/elf/pr14891.s: New test expected error output.
4396 * testsuite/gas/elf/elf.exp: Run the new test.
4400 * config/tc-z8k.c (md_begin): Make idx unsigned.
4401 (get_specific): Likewise for this_index.
4405 * onfig/tc-arc.c (parse_reloc_symbol): New function.
4406 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
4407 (md_operand): Set X_md to absent.
4408 (arc_parse_name): Check for X_md.
4413 * as.h (TC_STRING_ESCAPES): Provide a default definition.
4414 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
4416 * read.c (next_char_of_string): Likewise.
4417 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
4418 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
4422 * po/sv.po: Updated Swedish translation.
4426 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
4427 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4431 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
4432 by-element usdot. Add 64-bit form tests for by-element sudot.
4433 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
4437 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
4438 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4442 * testsuite/gas/aarch64/f64mm.d,
4443 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
4447 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
4448 support for assembler code generated by SDCC. Add new relocation
4449 types. Add z80-elf target support.
4450 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
4451 labels. Local labels starts from ".L".
4452 * NEWS: Mention the new support.
4453 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
4454 * testsuite/gas/all/fwdexp.s: Likewise.
4455 * testsuite/gas/all/cond.l: Likewise.
4456 * testsuite/gas/all/cond.s: Likewise.
4457 * testsuite/gas/all/fwdexp.d: Likewise.
4458 * testsuite/gas/all/fwdexp.s: Likewise.
4459 * testsuite/gas/elf/section2.e-mips: Likewise.
4460 * testsuite/gas/elf/section2.l: Likewise.
4461 * testsuite/gas/elf/section2.s: Likewise.
4462 * testsuite/gas/macros/app1.d: Likewise.
4463 * testsuite/gas/macros/app1.s: Likewise.
4464 * testsuite/gas/macros/app2.d: Likewise.
4465 * testsuite/gas/macros/app2.s: Likewise.
4466 * testsuite/gas/macros/app3.d: Likewise.
4467 * testsuite/gas/macros/app3.s: Likewise.
4468 * testsuite/gas/macros/app4.d: Likewise.
4469 * testsuite/gas/macros/app4.s: Likewise.
4470 * testsuite/gas/macros/app4b.s: Likewise.
4471 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
4472 * testsuite/gas/z80/z80.exp: Add new tests
4473 * testsuite/gas/z80/dollar.d: New file.
4474 * testsuite/gas/z80/dollar.s: New file.
4475 * testsuite/gas/z80/ez80_adl_all.d: New file.
4476 * testsuite/gas/z80/ez80_adl_all.s: New file.
4477 * testsuite/gas/z80/ez80_adl_suf.d: New file.
4478 * testsuite/gas/z80/ez80_isuf.s: New file.
4479 * testsuite/gas/z80/ez80_z80_all.d: New file.
4480 * testsuite/gas/z80/ez80_z80_all.s: New file.
4481 * testsuite/gas/z80/ez80_z80_suf.d: New file.
4482 * testsuite/gas/z80/r800_extra.d: New file.
4483 * testsuite/gas/z80/r800_extra.s: New file.
4484 * testsuite/gas/z80/r800_ii8.d: New file.
4485 * testsuite/gas/z80/r800_z80_doc.d: New file.
4486 * testsuite/gas/z80/z180.d: New file.
4487 * testsuite/gas/z80/z180.s: New file.
4488 * testsuite/gas/z80/z180_z80_doc.d: New file.
4489 * testsuite/gas/z80/z80_doc.d: New file.
4490 * testsuite/gas/z80/z80_doc.s: New file.
4491 * testsuite/gas/z80/z80_ii8.d: New file.
4492 * testsuite/gas/z80/z80_ii8.s: New file.
4493 * testsuite/gas/z80/z80_in_f_c.d: New file.
4494 * testsuite/gas/z80/z80_in_f_c.s: New file.
4495 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
4496 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
4497 * testsuite/gas/z80/z80_out_c_0.d: New file.
4498 * testsuite/gas/z80/z80_out_c_0.s: New file.
4499 * testsuite/gas/z80/z80_reloc.d: New file.
4500 * testsuite/gas/z80/z80_reloc.s: New file.
4501 * testsuite/gas/z80/z80_sli.d: New file.
4502 * testsuite/gas/z80/z80_sli.s: New file.
4506 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
4511 Update year range in copyright notice of all files.
4513 For older changes see ChangeLog-2019
4515 Copyright (C) 2020 Free Software Foundation, Inc.
4517 Copying and distribution of this file, with or without modification,
4518 are permitted in any medium without royalty provided the copyright
4519 notice and this notice are preserved.
4525 version-control: never