1 2020-08-26 Alan Modra <amodra@gmail.com>
4 * config/tc-xtensa.c (xg_get_trampoline_chain): Return early
5 when n_entries is zero.
7 2020-08-26 Alan Modra <amodra@gmail.com>
10 * symbols.c: Include limits.h.
11 (resolve_symbol_value <O_left_shift, O_right_shift>): Do an
12 unsigned shift. Warn if shift count larger than valueT size.
14 2020-08-26 Alan Modra <amodra@gmail.com>
17 * expr.c (expr <O_left_shift>): Do an unsigned shift.
19 2020-08-25 Alan Modra <amodra@gmail.com>
21 2020-08-26 David Faust <david.faust@oracle.com>
23 * config/tc-bpf.c: Add option -mxbpf to select xbpf isa.
24 * testsuite/gas/bpf/indcall-1.d: New file.
25 * testsuite/gas/bpf/indcall-1.s: Likewise.
26 * testsuite/gas/bpf/indcall-bad-1.l: Likewise.
27 * testsuite/gas/bpf/indcall-bad-1.s: Likewise.
28 * testsuite/gas/bpf/bpf.exp: Run new tests.
30 2020-08-25 Alan Modra <amodra@gmail.com>
33 * gas/config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat
34 misc_symbol_hash entries without values.
36 2020-08-25 Alan Modra <amodra@gmail.com>
39 * tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn
42 2020-08-25 Alan Modra <amodra@gmail.com>
45 * config/tc-cr16.c (get_b_cc): Return NULL early if op isn't
46 two or three chars, and don't bother copying.
48 2020-08-25 Alan Modra <amodra@gmail.com>
51 * config/tc-arm.c (do_neon_mvn, do_neon_swp): Bail out on
54 2020-08-25 Alan Modra <amodra@gmail.com>
57 * symbols.c (dollar_label_count, dollar_label_max): Make size_t.
58 (dollar_label_clear): Don't call memset with NULL pointer.
60 2020-08-25 Alan Modra <amodra@gmail.com>
62 * config/tc-arc.c (declare_register_set): Avoid false positive
63 format-overflow warning.
64 * config/tc-epiphany.c (md_assemble): Likewise.
65 * config/tc-mips.c (md_begin): Likewise.
66 * config/tc-mmix.c (mmix_md_begin): Likewise.
67 * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false
68 positive "may be used uninitialized" warning.
70 2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
72 * config/tc-csky.c (csky_archs): Add item for CK860,
73 change ck810 and ck807's arch_flag.
74 (csky_cpus): Add item for CK860.
75 (md_begin): Enable DSP for CK810 and CK807 by default.
76 (md_apply_fix): Fix CKCORE_TLS_IE32 relocation failure.
77 * gas/testsuite/gas/csky/cskyv2_all.d: Change 'sync 0'
79 * gas/testsuite/gas/csky/cskyv2_all.s: Likewise.
80 * gas/testsuite/gas/csky/cskyv2_ck860.d: New.
81 * gas/testsuite/gas/csky/cskyv2_ck860.s: New.
82 * gas/testsuite/gas/csky/enhance_dsp.d: Change plsli.u16
84 * gas/testsuite/gas/csky/enhance_dsp.s: Likewise.
86 2020-08-24 Alan Modra <amodra@gmail.com>
88 * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name"
89 in case where it isn't copied.
90 * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef.
91 * testsuite/gas/tic54x/field.d: Dump section contents and symbols
92 rather than disassembling.
93 * testsuite/gas/tic54x/set.d: Adjust for newer disassembly.
95 2020-08-24 Alan Modra <amodra@gmail.com>
97 * config/tc-aarch64.c (md_begin): Don't bother checking for
98 out of memory failure from str_htab_create.
99 * config/tc-arc.c (arc_insert_opcode, md_begin): Likewise.
100 (arc_extcorereg, arc_stralloc): Likewise.
101 * config/tc-arm.c (md_begin): Likewise.
102 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
103 * config/tc-cris.c (md_begin): Likewise.
104 * config/tc-crx.c (md_begin): Likewise.
105 * config/tc-pdp11.c (md_begin): Likewise.
106 * config/tc-score.c (s3_build_reg_hsh, s3_begin): Likewise.
107 * config/tc-score7.c (s7_build_reg_hsh, s7_begin): Likewise.
109 2020-08-24 Alan Modra <amodra@gmail.com>
111 * config/tc-arm.c (move_or_literal_pool): Avoid false positive
112 "may be used uninitialised".
113 (opcode_lookup): Likewise.
115 2020-08-24 Alan Modra <amodra@gmail.com>
118 * symbols.c (local_symbol_convert): Clear out xtra.
120 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
122 * config/tc-csky.c (CSKY_ISA_803R2): New.
123 (csky_archs): Add ck803r2 series.
124 (md_begin): Fix warning about -medsp.
125 (csky_get_freg_val): Support lowercase of fpu register name.
126 * testsuite/gas/csky/cskyv2_ck803r2.s: New file.
127 * testsuite/gas/csky/cskyv2_ck803r2.d: New file.
129 2020-08-23 Alan Modra <amodra@gmail.com>
132 * hash.h (htab_insert): Update prototype and comment.
133 (struct string_tuple): Make "value" a const void*.
134 (string_tuple_alloc): Likewise.
135 (str_hash_find, str_hash_find_n): Cast returned value.
136 (str_hash_insert): Add "replace" parameter, and return slot pointer.
137 Free alloc'd element when not inserted.
138 * hash.c (htab_insert): Likewise. Return slot when element exists,
139 otherwise return NULL.
140 * read.c (pop_insert): Insert into hash table without first searching.
141 * config/tc-avr.c (md_begin): Likewise.
142 * config/tc-msp430.c (md_begin): Likewise.
143 * config/tc-nds32.c (nds32_init_nds32_pseudo_opcodes): Likewise.
144 * config/tc-v850.c (md_begin): Likewise.
145 * macro.c (do_formals, define_macro, macro_expand_body): Likewise.
146 (delete_macro): Delete from hash table.
147 * config/tc-tic54x.c (subsym_create_or_replace): Correct logic.
149 * symbols.c (local_symbol_make, symbol_table_insert): Allow
150 replacement of hash table entries.
151 * config/obj-coff-seh.c (seh_hash_insert): Likewise.
152 * config/obj-coff.c (tag_insert): Likewise.
153 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
154 * config/tc-m68k.c (md_begin): Likewise for aliases.
155 * config/tc-tic4x.c (tic4x_asg): Likewise.
156 * config/tc-tic6x.c (md_begin): Likewise.
158 * dw2gencfi.c (dwcfi_hash_find_or_make): Disallow replacement of
160 * ecoff.c (add_string, get_tag): Likewise.
161 * macro.c (expand_irp): Likewise.
162 * config/obj-elf.c (build_additional_section_info): Likewise.
163 * config/tc-aarch64.c (insert_reg_alias): Likewise.
164 (checked_hash_insert): Likewise.
165 * config/tc-alpha.c (get_alpha_reloc_tag, md_begin): Likewise.
166 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
167 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
168 * config/tc-arm.c (insert_reg_alias): Likewise.
169 (arm_tc_equal_in_insn, md_begin): Likewise.
170 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
171 * config/tc-cris.c (md_begin): Likewise.
172 * config/tc-crx.c (md_begin): Likewise.
173 * config/tc-csky.c (md_begin): Likewise.
174 * config/tc-d10v.c (md_begin): Likewise.
175 * config/tc-dlx.c (md_begin): Likewise.
176 * config/tc-ft32.c (md_begin): Likewise.
177 * config/tc-h8300.c (md_begin): Likewise.
178 * config/tc-hppa.c (md_begin): Likewise.
179 * config/tc-i386.c (md_begin): Likewise.
180 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
181 (md_begin, dot_alias): Likewise.
182 * config/tc-m68hc11.c (md_begin): Likewise.
183 * config/tc-m68k.c (md_begin): Likewise.
184 * config/tc-mcore.c (md_begin): Likewise.
185 * config/tc-microblaze.c (md_begin): Likewise.
186 * config/tc-mips.c (md_begin): Likewise.
187 * config/tc-mmix.c (md_begin): Likewise.
188 * config/tc-mn10200.c (md_begin): Likewise.
189 * config/tc-mn10300.c (md_begin): Likewise.
190 * config/tc-moxie.c (md_begin): Likewise.
191 * config/tc-nds32.c (nds32_relax_hint, md_begin): Likewise.
192 * config/tc-nios2.c (md_begin): Likewise.
193 * config/tc-ns32k.c (md_begin): Likewise.
194 * config/tc-pdp11.c (md_begin): Likewise.
195 * config/tc-pj.c (fake_opcode, md_begin): Likewise.
196 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
197 * config/tc-pru.c (md_begin): Likewise.
198 * config/tc-riscv.c (init_ext_version_hash): Likewise.
199 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
200 (riscv_init_csr_hash): Likewise.
201 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
202 * config/tc-score.c (s3_insert_reg): Likewise.
203 (s3_build_score_ops_hsh, s3_build_dependency_insn_hsh): Likewise.
204 * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
205 (s7_build_dependency_insn_hsh, s7_insert_reg): Likewise.
206 * config/tc-sh.c (md_begin): Likewise.
207 * config/tc-sparc.c (md_begin): Likewise.
208 * config/tc-spu.c (md_begin): Likewise.
209 * config/tc-tic30.c (md_begin): Likewise.
210 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
211 * config/tc-tic54x.c (stag_add_field_symbols, md_begin): Likewise.
212 (tic54x_endstruct, tic54x_var, tic54x_macro_info): Likewise.
213 (subsym_substitute): Likewise.
214 * config/tc-tilegx.c (md_begin): Likewise.
215 * config/tc-tilepro.c (md_begin): Likewise.
216 * config/tc-vax.c (vip_begin): Likewise.
217 * config/tc-wasm32.c (md_begin): Likewise.
218 * config/tc-xgate.c (md_begin): Likewise.
219 * config/tc-z8k.c (md_begin): Likewise.
220 * testsuite/gas/ppc/dcbt.d,
221 * testsuite/gas/ppc/dcbt.s: New test.
222 * testsuite/gas/ppc/ppc.exp: Run it.
224 * ecoff.c (add_string): Report fatal error on duplicates.
225 * config/tc-alpha.c (md_begin): Likewise.
226 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
227 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
228 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
229 * config/tc-cris.c (md_begin): Likewise.
230 * config/tc-crx.c (md_begin): Likewise.
231 * config/tc-dlx.c (md_begin): Likewise.
232 * config/tc-hppa.c (md_begin): Likewise.
233 * config/tc-i386.c (md_begin): Likewise.
234 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
235 (md_begin): Likewise.
236 * config/tc-m68k.c (md_begin): Likewise.
237 * config/tc-mips.c (md_begin): Likewise.
238 * config/tc-nios2.c (md_begin): Likewise.
239 * config/tc-ns32k.c (md_begin): Likewise.
240 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
241 * config/tc-pru.c (md_begin): Likewise.
242 * config/tc-riscv.c (init_ext_version_hash): Likewise.
243 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
244 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
245 * config/tc-sparc.c (md_begin): Likewise.
246 * config/tc-tic30.c (md_begin): Likewise.
247 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
248 * config/tc-tilegx.c (md_begin): Likewise.
249 * config/tc-tilepro.c (md_begin): Likewise.
250 * config/tc-vax.c (vip_begin): Likewise.
258 * config/tc-m68hc11.c,
260 * config/tc-microblaze.c,
265 * config/tc-score7.c,
267 * config/tc-tic54x.c,
268 * config/tc-tilegx.c,
269 * config/tc-tilepro.c,
270 * config/tc-xgate.c: Formatting.
272 2020-08-21 Alan Modra <amodra@gmail.com>
274 * symbols.c (struct local_symbol): Add "hash" entry. Reorder fields.
275 Delete union. Adjust code throughout file.
276 (struct symbol): Add "hash", "name" and "x" entries. Reorder fields.
278 (struct xsymbol): ..this. New struct. Adjust code throughout file
279 accessing these fields.
280 (struct symbol_entry): Delete.
281 (union symbol_entry): New.
282 (hash_symbol_entry): Adjust for symbol_entry_t change.
283 (symbol_entry_find): Likewise.
284 (eq_symbol_entry): Compare hash values too.
285 (symbol_entry_alloc): Delete.
286 (local_symbol_converted_p, local_symbol_mark_converted): Delete.
287 (local_symbol_get_real_symbol, local_symbol_set_real_symbol): Delete.
288 (local_hash): Delete.
289 (abs_symbol_x, dot_symbol_x): New static var.
290 (symbol_init): New function.
291 (symbol_create): Rewrite.
292 (LOCAL_SYMBOL_CHECK): Delete. Replace uses throughout with simple
293 test of flags.local_symbol.
294 (local_symbol_make): Adjust for struct local_symbol changes.
295 (local_symbol_convert): Rewrite. Adjust all callers.
296 (symbol_table_insert): Simplify.
297 (symbol_clone): Comment on local sym cloning. Handle split symbol
299 (get_real_sym): Delete. Remove all uses.
300 (symbol_find_exact_noref): Simplify.
301 (resolve_local_symbol): Don't resolve non-locals.
302 (S_SET_SEGMENT): Don't special case reg_section.
303 (S_SET_NAME): Set both name and bsym->name.
304 (symbol_mark_resolved, symbol_resolved_p): Simplify.
305 (symbol_symbolS): Update comment.
306 (symbol_begin): Don't create local_hash. Adjust abs_symbol setup.
307 (dot_symbol_init): Adjust dot_symbol setup.
308 (symbol_print_statistics): Delete local_hash stats.
310 2020-08-21 Alan Modra <amodra@gmail.com>
312 * symbols.c (struct symbol_flags): Rename sy_volatile to volatil,
313 and remove sy_ from other field names. Update throughout.
314 (struct symbol): Remove sy_ from field names. Delete unused
315 TARGET_SYMBOL_FIELDS. Update throughout file. Move after..
316 (struct local_symbol): ..here. Remove lsy_ from field names.
317 Delete unused TC_LOCAL_SYMFIELD_TYPE. Update throughout file.
318 (local_symbol_resolved_p, local_symbol_mark_resolved): Delete.
319 Expand uses throughout file.
320 (local_symbol_get_frag, local_symbol_set_frag): Likewise.
321 (symbol_new): Move symbol_table_frozen test to..
322 (symbol_append): ..here, and..
323 (symbol_insert): ..here.
324 (resolve_symbol_value, symbol_relc_make_expr): White space fixes.
325 (HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise.
326 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update.
328 2020-08-21 Alan Modra <amodra@gmail.com>
330 * symbols.h (symbol_new, symbol_create, local_symbol_make),
331 (symbol_temp_new): Arrange params as section, frag, offset.
332 * symbols.c: Adjust to suit.
335 * dwarf2dbg.c: Likewise.
338 * itbl-ops.c: Likewise.
341 * subsegs.c: Likewise.
342 * config/obj-coff.c: Likewise.
343 * config/obj-elf.c: Likewise.
344 * config/obj-macho.c: Likewise.
345 * config/tc-aarch64.c: Likewise.
346 * config/tc-alpha.c: Likewise.
347 * config/tc-arc.c: Likewise.
348 * config/tc-arm.c: Likewise.
349 * config/tc-avr.c: Likewise.
350 * config/tc-cr16.c: Likewise.
351 * config/tc-cris.c: Likewise.
352 * config/tc-csky.c: Likewise.
353 * config/tc-dlx.c: Likewise.
354 * config/tc-hppa.c: Likewise.
355 * config/tc-i386.c: Likewise.
356 * config/tc-ia64.c: Likewise.
357 * config/tc-m32r.c: Likewise.
358 * config/tc-m68k.c: Likewise.
359 * config/tc-mips.c: Likewise.
360 * config/tc-mmix.c: Likewise.
361 * config/tc-mn10200.c: Likewise.
362 * config/tc-mn10300.c: Likewise.
363 * config/tc-nds32.c: Likewise.
364 * config/tc-nios2.c: Likewise.
365 * config/tc-ppc.c: Likewise.
366 * config/tc-riscv.c: Likewise.
367 * config/tc-s390.c: Likewise.
368 * config/tc-sh.c: Likewise.
369 * config/tc-tic4x.c: Likewise.
370 * config/tc-tic54x.c: Likewise.
371 * config/tc-xtensa.c: Likewise.
373 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
375 * config/tc-csky.c (csky_insn_info): Add member last_isize.
376 (md_assemble): Assign value to csky_insn.last_isize.
377 * testsuite/gas/csky/enhance_dsp.d: Test bloop's two operands form.
378 * testsuite/gas/csky/enhance_dsp.s: Likewise.
380 2020-08-20 Martin Liska <mliska@suse.cz>
382 * NEWS: Mention --reduce-memory-overheads and --hash-size arguments
384 * as.c: Remove the options from help.
385 * doc/as.texi: Remove options.
386 * doc/internals.texi: Remove hash from documentation.
387 * hash.c (struct hash_entry): Remove.
388 (struct hash_control): Likewise.
389 (set_gas_hash_table_size): Likewise.
390 (hash_new_sized): Likewise.
391 (hash_new): Likewise.
392 (hash_die): Likewise.
393 (hash_lookup): Likewise.
394 (hash_insert): Likewise.
395 (hash_jam): Likewise.
396 (hash_replace): Likewise.
397 (hash_find): Likewise.
398 (hash_find_n): Likewise.
399 (hash_delete): Likewise.
400 (hash_traverse): Likewise.
401 (hash_print_statistics): Likewise.
403 (STATBUFSIZE): Likewise.
407 (applicatee): Likewise.
408 (whattable): Likewise.
409 * hash.h (struct hash_control): Likewise.
410 (set_gas_hash_table_size): Likewise.
411 (hash_new): Likewise.
412 (hash_new_sized): Likewise.
413 (hash_die): Likewise.
414 (hash_insert): Likewise.
415 (hash_jam): Likewise.
416 (hash_replace): Likewise.
417 (hash_find): Likewise.
418 (hash_find_n): Likewise.
419 (hash_delete): Likewise.
420 (hash_traverse): Likewise.
421 (hash_print_statistics): Likewise.
423 2020-08-20 Martin Liska <mliska@suse.cz>
425 * config/obj-coff-seh.c (seh_hash_insert): Port to use new
427 (seh_hash_find): Likewise.
428 (seh_hash_find_or_make): Likewise.
429 * config/obj-coff.c (tag_init): Likewise.
430 (tag_insert): Likewise.
431 (tag_find): Likewise.
432 * config/obj-elf.c (struct group_list): Likewise.
433 (build_additional_section_info): Likewise.
434 (free_section_idx): Likewise.
435 (elf_adjust_symtab): Likewise.
436 (elf_frob_file_after_relocs): Likewise.
437 * config/tc-aarch64.c (INSN_SIZE): Likewise.
438 (parse_reg): Likewise.
439 (insert_reg_alias): Likewise.
440 (create_register_alias): Likewise.
442 (parse_shift): Likewise.
443 (parse_pldop): Likewise.
444 (parse_barrier): Likewise.
445 (parse_barrier_psb): Likewise.
446 (parse_bti_operand): Likewise.
447 (parse_sys_reg): Likewise.
448 (parse_sys_ins_reg): Likewise.
449 (lookup_mnemonic): Likewise.
450 (opcode_lookup): Likewise.
451 (parse_operands): Likewise.
452 (checked_hash_insert): Likewise.
453 (sysreg_hash_insert): Likewise.
454 (fill_instruction_hash_table): Likewise.
455 (md_begin): Likewise.
456 * config/tc-alpha.c (struct alpha_reloc_tag): Likewise.
457 (get_alpha_reloc_tag): Likewise.
458 (assemble_tokens_to_insn): Likewise.
459 (assemble_tokens): Likewise.
460 (md_begin): Likewise.
461 * config/tc-arc.c (arc_find_opcode): Likewise.
462 (arc_insert_opcode): Likewise.
463 (find_opcode_match): Likewise.
464 (declare_register): Likewise.
465 (declare_addrtype): Likewise.
466 (md_begin): Likewise.
467 (arc_parse_name): Likewise.
468 (tc_arc_regname_to_dw2regnum): Likewise.
469 (arc_extcorereg): Likewise.
470 * config/tc-arm.c (MVE_BAD_QREG): Likewise.
471 (arm_reg_parse_multi): Likewise.
472 (parse_reloc): Likewise.
473 (insert_reg_alias): Likewise.
474 (create_register_alias): Likewise.
476 (parse_shift): Likewise.
477 (parse_psr): Likewise.
478 (parse_cond): Likewise.
479 (parse_barrier): Likewise.
480 (do_vfp_nsyn_opcode): Likewise.
481 (opcode_lookup): Likewise.
482 (arm_tc_equal_in_insn): Likewise.
483 (md_begin): Likewise.
484 * config/tc-avr.c (md_begin): Likewise.
485 (avr_ldi_expression): Likewise.
486 (md_assemble): Likewise.
487 (avr_update_gccisr): Likewise.
488 (avr_emit_insn): Likewise.
489 * config/tc-cr16.c (get_register): Likewise.
490 (get_register_pair): Likewise.
491 (get_index_register): Likewise.
492 (get_index_register_pair): Likewise.
493 (get_pregister): Likewise.
494 (get_pregisterp): Likewise.
495 (initialise_reg_hash_table): Likewise.
496 (md_begin): Likewise.
497 (cr16_assemble): Likewise.
498 (md_assemble): Likewise.
499 * config/tc-cris.c (cris_insn_first_word_frag): Likewise.
500 (md_begin): Likewise.
501 (cris_process_instruction): Likewise.
502 * config/tc-crx.c (get_register): Likewise.
503 (get_copregister): Likewise.
504 (md_begin): Likewise.
505 (md_assemble): Likewise.
506 * config/tc-csky.c (md_begin): Likewise.
507 (parse_opcode): Likewise.
508 (get_operand_value): Likewise.
509 (v1_work_jbsr): Likewise.
510 (v2_work_rotlc): Likewise.
511 (v2_work_bgeni): Likewise.
512 (v2_work_not): Likewise.
513 * config/tc-d10v.c (sizeof): Likewise.
514 (md_begin): Likewise.
515 (do_assemble): Likewise.
516 (md_apply_fix): Likewise.
517 * config/tc-d30v.c (sizeof): Likewise.
518 (md_begin): Likewise.
519 (do_assemble): Likewise.
520 * config/tc-dlx.c (RELOC_DLX_VTENTRY): Likewise.
521 (md_begin): Likewise.
522 (machine_ip): Likewise.
523 * config/tc-ft32.c (md_begin): Likewise.
524 (md_assemble): Likewise.
525 * config/tc-h8300.c (md_begin): Likewise.
526 (md_assemble): Likewise.
527 * config/tc-hppa.c (pa_ip): Likewise.
528 (md_begin): Likewise.
529 * config/tc-i386.c (md_begin): Likewise.
530 (i386_print_statistics): Likewise.
531 (parse_insn): Likewise.
532 (process_operands): Likewise.
533 (i386_index_check): Likewise.
534 (parse_real_register): Likewise.
535 * config/tc-ia64.c (dot_rot): Likewise.
536 (dot_entry): Likewise.
537 (declare_register): Likewise.
538 (md_begin): Likewise.
539 (ia64_parse_name): Likewise.
540 (md_assemble): Likewise.
541 (dot_alias): Likewise.
542 (do_alias): Likewise.
543 (ia64_adjust_symtab): Likewise.
544 (do_secalias): Likewise.
545 (ia64_frob_file): Likewise.
546 * config/tc-m68hc11.c (m68hc11_print_statistics): Likewise.
547 (md_begin): Likewise.
548 (print_insn_format): Likewise.
549 (md_assemble): Likewise.
550 * config/tc-m68k.c (tc_gen_reloc): Likewise.
552 (md_begin): Likewise.
553 * config/tc-mcore.c (md_begin): Likewise.
554 (md_assemble): Likewise.
555 * config/tc-microblaze.c (md_begin): Likewise.
556 (md_assemble): Likewise.
557 (md_apply_fix): Likewise.
558 * config/tc-mips.c (nopic_need_relax): Likewise.
559 (md_begin): Likewise.
560 (macro_build): Likewise.
561 (mips16_macro_build): Likewise.
562 (mips_lookup_insn): Likewise.
564 (mips16_ip): Likewise.
565 * config/tc-mmix.c (sizeof): Likewise.
566 (mmix_md_begin): Likewise.
567 (md_assemble): Likewise.
568 * config/tc-mn10200.c (md_begin): Likewise.
569 (md_assemble): Likewise.
570 * config/tc-mn10300.c (HAVE_AM30): Likewise.
571 (md_begin): Likewise.
572 (md_assemble): Likewise.
573 * config/tc-moxie.c (md_begin): Likewise.
574 (md_assemble): Likewise.
575 * config/tc-msp430.c (md_begin): Likewise.
576 (msp430_operands): Likewise.
577 (md_assemble): Likewise.
578 * config/tc-nds32.c (PV_DONT_CARE): Likewise.
579 (builtin_isreg): Likewise.
580 (builtin_regnum): Likewise.
581 (nds32_init_nds32_pseudo_opcodes): Likewise.
582 (nds32_lookup_pseudo_opcode): Likewise.
583 (nds32_relax_hint): Likewise.
584 (md_begin): Likewise.
585 (nds32_find_reloc_table): Likewise.
586 (nds32_elf_append_relax_relocs_traverse): Likewise.
587 (nds32_relax_branch_instructions): Likewise.
588 (md_convert_frag): Likewise.
589 (nds32_elf_analysis_relax_hint): Likewise.
590 (tc_nds32_regname_to_dw2regnum): Likewise.
591 * config/tc-nios2.c (nios2_opcode_lookup): Likewise.
592 (nios2_reg_lookup): Likewise.
593 (nios2_ps_lookup): Likewise.
594 (md_begin): Likewise.
595 * config/tc-ns32k.c (struct hash_control): Likewise.
597 (md_begin): Likewise.
598 * config/tc-pdp11.c (md_begin): Likewise.
599 (md_assemble): Likewise.
600 * config/tc-pj.c (fake_opcode): Likewise.
602 (md_begin): Likewise.
603 (md_assemble): Likewise.
604 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
605 (md_assemble): Likewise.
606 * config/tc-pru.c (pru_opcode_lookup): Likewise.
607 (pru_reg_lookup): Likewise.
608 (md_begin): Likewise.
610 * config/tc-riscv.c (init_ext_version_hash): Likewise.
611 (riscv_get_default_ext_version): Likewise.
612 (riscv_set_arch): Likewise.
613 (init_opcode_names_hash): Likewise.
614 (opcode_name_lookup): Likewise.
615 (enum reg_class): Likewise.
616 (hash_reg_name): Likewise.
617 (riscv_init_csr_hash): Likewise.
618 (reg_csr_lookup_internal): Likewise.
619 (reg_lookup_internal): Likewise.
620 (init_opcode_hash): Likewise.
621 (md_begin): Likewise.
622 (DECLARE_CSR): Likewise.
623 (macro_build): Likewise.
624 (riscv_ip): Likewise.
625 * config/tc-s390.c (register_name): Likewise.
626 (s390_setup_opcodes): Likewise.
627 (md_begin): Likewise.
628 (md_assemble): Likewise.
629 (s390_insn): Likewise.
630 * config/tc-score.c (struct s3_reg_map): Likewise.
631 (s3_score_reg_parse): Likewise.
632 (s3_dependency_type_from_insn): Likewise.
633 (s3_parse_16_32_inst): Likewise.
634 (s3_parse_48_inst): Likewise.
635 (s3_insert_reg): Likewise.
636 (s3_build_reg_hsh): Likewise.
637 (s3_build_score_ops_hsh): Likewise.
638 (s3_build_dependency_insn_hsh): Likewise.
639 (s3_begin): Likewise.
640 * config/tc-score7.c (struct s7_reg_map): Likewise.
641 (s7_score_reg_parse): Likewise.
642 (s7_dependency_type_from_insn): Likewise.
643 (s7_parse_16_32_inst): Likewise.
644 (s7_build_score_ops_hsh): Likewise.
645 (s7_build_dependency_insn_hsh): Likewise.
646 (s7_insert_reg): Likewise.
647 (s7_build_reg_hsh): Likewise.
648 (s7_begin): Likewise.
649 * config/tc-sh.c (EMPTY): Likewise.
650 (md_begin): Likewise.
651 (find_cooked_opcode): Likewise.
652 * config/tc-sparc.c (md_begin): Likewise.
653 (sparc_ip): Likewise.
654 * config/tc-spu.c (md_begin): Likewise.
655 (md_assemble): Likewise.
656 * config/tc-tic30.c (md_begin): Likewise.
657 (tic30_operand): Likewise.
658 (tic30_parallel_insn): Likewise.
659 (md_assemble): Likewise.
660 * config/tc-tic4x.c (TIC4X_ALT_SYNTAX): Likewise.
661 (tic4x_asg): Likewise.
662 (tic4x_inst_insert): Likewise.
663 (tic4x_inst_add): Likewise.
664 (md_begin): Likewise.
665 (tic4x_operand_parse): Likewise.
666 (md_assemble): Likewise.
667 * config/tc-tic54x.c (MAX_SUBSYM_HASH): Likewise.
668 (stag_add_field_symbols): Likewise.
669 (tic54x_endstruct): Likewise.
670 (tic54x_tag): Likewise.
671 (tic54x_remove_local_label): Likewise.
672 (tic54x_clear_local_labels): Likewise.
673 (tic54x_var): Likewise.
674 (tic54x_macro_start): Likewise.
675 (tic54x_macro_info): Likewise.
676 (tic54x_macro_end): Likewise.
677 (subsym_isreg): Likewise.
678 (subsym_structsz): Likewise.
679 (md_begin): Likewise.
680 (is_mmreg): Likewise.
682 (encode_condition): Likewise.
683 (encode_cc3): Likewise.
684 (encode_cc2): Likewise.
685 (encode_operand): Likewise.
686 (tic54x_parse_insn): Likewise.
687 (tic54x_parse_parallel_insn_firstline): Likewise.
688 (subsym_create_or_replace): Likewise.
689 (subsym_lookup): Likewise.
690 (subsym_substitute): Likewise.
691 (tic54x_undefined_symbol): Likewise.
692 * config/tc-tic6x.c (md_begin): Likewise.
693 (md_assemble): Likewise.
694 * config/tc-tilegx.c (O_hw2_last_plt): Likewise.
695 (INSERT_SPECIAL_OP): Likewise.
696 (md_begin): Likewise.
697 (tilegx_parse_name): Likewise.
698 (parse_reg_expression): Likewise.
699 (md_assemble): Likewise.
700 * config/tc-tilepro.c (O_tls_ie_load): Likewise.
701 (INSERT_SPECIAL_OP): Likewise.
702 (tilepro_parse_name): Likewise.
703 (parse_reg_expression): Likewise.
704 (md_assemble): Likewise.
705 * config/tc-v850.c (md_begin): Likewise.
706 (md_assemble): Likewise.
707 * config/tc-vax.c (md_ri_to_chars): Likewise.
708 (vip_begin): Likewise.
711 (md_begin): Likewise.
712 * config/tc-wasm32.c (md_begin): Likewise.
713 (md_assemble): Likewise.
714 * config/tc-xgate.c (xgate_parse_operand): Likewise.
715 (md_begin): Likewise.
716 (md_assemble): Likewise.
717 * config/tc-z8k.c (md_begin): Likewise.
718 (md_assemble): Likewise.
720 2020-08-20 Martin Liska <mliska@suse.cz>
722 * dw2gencfi.c (dwcfi_hash_insert): Use htab_t and str_hash_*
724 (dwcfi_hash_find): Likewise.
725 (dwcfi_hash_find_or_make): Likewise.
727 2020-08-20 Martin Liska <mliska@suse.cz>
729 * ecoff.c (INIT_VARRAY): Use htab_t.
730 (add_string): Likewise.
731 (ecoff_read_begin_hook): Use new str_htab_create.
732 (get_tag): Use htab_t.
733 (add_file): Likewise.
735 2020-08-20 Martin Liska <mliska@suse.cz>
737 * hash.h (struct string_tuple): New.
738 (hash_string_tuple): Likewise.
739 (eq_string_tuple): Likewise.
740 (string_tuple_alloc): Likewise.
741 (str_hash_find): Likewise.
742 (str_hash_find_n): Likewise.
743 (str_hash_delete): Likewise.
744 (str_hash_insert): Likewise.
745 (str_htab_create): Likewise.
747 2020-08-20 Martin Liska <mliska@suse.cz>
749 * symbols.c (struct symbol_entry): New.
750 (hash_symbol_entry): Likewise.
751 (eq_symbol_entry): Likewise.
752 (symbol_entry_alloc): Likewise.
753 (symbol_entry_find): Likewise.
754 (local_symbol_make): Use htab hash table.
755 (local_symbol_convert): Likewise.
756 (symbol_table_insert): Likewise.
757 (symbol_find_exact_noref): Likewise.
758 (resolve_local_symbol): Likewise.
759 (resolve_local_symbol_values): Likewise.
760 (symbol_begin): Likewise.
761 (symbol_print_statistics): Likewise.
763 2020-08-20 Martin Liska <mliska@suse.cz>
765 * read.c (struct po_entry): New.
766 (hash_po_entry): Likewise.
767 (eq_po_entry): Likewise.
768 (po_entry_alloc): Likewise.
769 (po_entry_find): Likewise.
770 (pop_insert): Likewise.
771 (pobegin): Use htab hash table.
772 (read_a_source_file): Likewise.
774 (read_print_statistics): Likewise.
775 * config/tc-m68k.c (m68k_conditional_pseudoop): Add const qualifier.
776 * config/tc-m68k.h (m68k_conditional_pseudoop): Likewise.
778 2020-08-20 Martin Liska <mliska@suse.cz>
780 * config/tc-iq2000.c (iq2000_add_macro): Use htab hash table.
781 * macro.c (struct hash_control): Use htab.
782 (macro_init): Likewise.
783 (do_formals): Likewise.
784 (free_macro): Likewise.
785 (define_macro): Likewise.
786 (sub_actual): Likewise.
787 (macro_expand_body): Likewise.
788 (macro_expand): Likewise.
789 (check_macro): Likewise.
790 (delete_macro): Likewise.
791 (expand_irp): Likewise.
792 * macro.h (struct macro_hash_entry): New struct.
793 (hash_macro_entry): New.
794 (eq_macro_entry): Likewise.
795 (macro_entry_alloc): Likewise.
796 (macro_entry_find): Likewise.
797 (struct formal_hash_entry): Likewise.
798 (hash_formal_entry): Likewise.
799 (eq_formal_entry): Likewise.
800 (formal_entry_alloc): Likewise.
801 (formal_entry_find): Likewise.
803 2020-08-20 Martin Liska <mliska@suse.cz>
805 * as.h: Include hashtab.h.
806 * hash.c (htab_insert): New.
807 (htab_print_statistics): Likewise.
808 * hash.h (htab_insert): Likewise.
809 (htab_print_statistics): Likewise.
811 2020-08-19 Alan Modra <amodra@gmail.com>
813 * testsuite/gas/ppc/int128.s: Correct vcmpuq.
814 * testsuite/gas/ppc/int128.d: Update.
815 * testsuite/gas/ppc/xvtlsbb.d: Update.
817 2020-08-18 Peter Bergner <bergner@linux.ibm.com>
819 * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic.
820 * testsuite/gas/ppc/vsx4.d: Likewise.
822 2020-08-17 Alex Coplan <alex.coplan@arm.com>
824 * config/obj-elf.c (obj_elf_change_section): When repurposing an
825 existing symbol, ensure that we set sy_value as per other (fresh)
827 * testsuite/gas/elf/elf.exp: Add new test.
828 * testsuite/gas/elf/section-symbol-redef.d: New test.
829 * testsuite/gas/elf/section-symbol-redef.s: Input for test.
831 2020-08-13 Nick Clifton <nickc@redhat.com>
834 * config/obj-som.c (obj_som_init_stab_section): Do nothing if the
835 $GDB_DEBUG$ section has already been created.
837 2020-08-12 Joe Ramsay <joe.ramsay@.arm.com>
839 * config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
840 NS_FD shape when MVE is present
841 * testsuite/gas/arm/mve-vcvtne-it-bad.d: New test.
842 * testsuite/gas/arm/mve-vcvtne-it-bad.l: New test.
843 * testsuite/gas/arm/mve-vcvtne-it-bad.s: New test.
844 * testsuite/gas/arm/mve-vcvtne-it.d: New test.
845 * testsuite/gas/arm/mve-vcvtne-it.s: New test.
847 2020-08-12 Alex Coplan <alex.coplan@arm.com>
849 * testsuite/gas/aarch64/mpam-bad.d: New test.
850 * testsuite/gas/aarch64/mpam-bad.l: Error output.
851 * testsuite/gas/aarch64/mpam-bad.s: Input.
852 * testsuite/gas/aarch64/mpam.d: New test.
853 * testsuite/gas/aarch64/mpam.s: Input.
855 2020-08-12 Nick Clifton <nickc@redhat.com>
858 * doc/c-riscv.texi (RISC-V-Options): Fix typo in the description
859 of the -mno-csr-check option.
861 2020-08-12 Nick Clifton <nickc@redhat.com>
863 * po/ru.po: Updated Russian translation.
865 2020-08-10 Alex Coplan <alex.coplan@arm.com>
867 * config/tc-aarch64.c (parse_sys_reg): Don't assert when parsing
868 a long system register.
869 (parse_sys_ins_reg): Likewise.
870 (sysreg_hash_insert): New.
871 (md_begin): Use sysreg_hash_insert() to ensure all system
872 registers are no longer than the maximum length at startup.
873 * testsuite/gas/aarch64/invalid-sysreg-assert.d: New test.
874 * testsuite/gas/aarch64/invalid-sysreg-assert.l: Error output.
875 * testsuite/gas/aarch64/invalid-sysreg-assert.s: Input.
877 2020-08-10 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
879 * config/tc-aarch64.c (parse_sys_reg): Call to
880 aarch64_sys_ins_reg_supported_p instead of
881 aarch64_sys_reg_supported_p.
882 (parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check.
883 * testsuite/gas/aarch64/illegal-sysreg-5.d: New test.
884 * testsuite/gas/aarch64/illegal-sysreg-5.l: New test.
885 * testsuite/gas/aarch64/sysreg-5.s: New test.
887 2020-08-10 Alan Modra <amodra@gmail.com>
889 * testsuite/gas/ppc/power8.d,
890 * testsuite/gas/ppc/power8.s: Add miso.
891 * testsuite/gas/ppc/power9.d,
892 * testsuite/gas/ppc/power8.s: Add exser, msgsndu, msgclru.
894 2020-08-10 Alan Modra <amodra@gmail.com>
896 * testsuite/gas/ppc/power8.d: Update.
897 * testsuite/gas/ppc/vsx2.d: Update.
899 2020-08-10 Alan Modra <amodra@gmail.com>
901 * config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
902 stswi, or stswx in little-endian mode.
903 * testsuite/gas/ppc/476.d,
904 * testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
905 * testsuite/gas/ppc/a2.d,
906 * testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
907 * testsuite/gas/ppc/be.d,
908 * testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
909 * testsuite/gas/ppc/le_error.d,
910 * testsuite/gas/ppc/le_error.l: New little-endian test.
911 * testsuite/gas/ppc/ppc.exp: Run new tests.
913 2020-08-07 H.J. Lu <hongjiu.lu@intel.com>
915 * read.c (read_a_source_file): Ignore rest of line on overflow
918 2020-08-06 Alex Coplan <alex.coplan@arm.com>
920 * read.c (read_a_source_file): Use long for local labels, detect
921 overflow and raise an error for overly-long labels.
922 * testsuite/gas/all/gas.exp: Add local-label-overflow test.
923 * testsuite/gas/all/local-label-overflow.d: New test.
924 * testsuite/gas/all/local-label-overflow.l: Error output.
925 * testsuite/gas/all/local-label-overflow.s: Input.
927 2020-08-04 Christian Groessler <chris@groessler.org>
929 * gas/testsuite/gas/z8k/inout.d: Adapt to correct encoding of
930 "sout/soutb #imm,reg"
932 2020-08-04 H.J. Lu <hongjiu.lu@intel.com>
934 * NEWS: Mention {disp16} pseudo prefix.
936 2020-08-04 H.J. Lu <hongjiu.lu@intel.com>
938 * testsuite/gas/i386/x86-64-pseudos.d: Revert an accidental
941 2020-08-04 Mark Wielaard <mark@klomp.org>
943 * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use
944 DW_FORM_udata for DW_AT_high_pc.
945 (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when
947 * read.c (emit_leb128_exp): No longer static.
948 * read.h (emit_leb128_exp): Define.
950 2020-08-02 Mark Wielaard <mark@klomp.org>
952 * gas/dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at
953 least one directory if there is at least one file. Use dirs[1]
954 if dirs[0] is not set, or if there is no dirs[1] the current
955 working directory. Use files[1] filename, when files[0] filename
958 2020-08-02 Mark Wielaard <mark@klomp.org>
960 * dwarf2dbg.c (out_debug_info): Emit unit type and abbrev offset
962 * gas/testsuite/gas/elf/dwarf-4-cu.d: New file.
963 * gas/testsuite/gas/elf/dwarf-4-cu.s: Likewise.
964 * gas/testsuite/gas/elf/dwarf-5-cu.d: Likewise.
965 * gas/testsuite/gas/elf/dwarf-5-cu.s: Likewise.
966 * testsuite/gas/elf/elf.exp: Run dwarf-4-cu and dwarf-5-cu.
968 2020-08-02 Mark Wielaard <mark@klomp.org>
970 * doc/as.texi (--gdwarf-[345]): Fix typo.
972 2020-08-03 Jozef Lawrynowicz <jozef.l@mittosystems.com>
974 * config/tc-msp430.c (OPTION_MOVE_DATA): Remove.
975 (md_parse_option): Remove case for OPTION_MOVE_DATA.
976 (md_longopts): Remove "md" entry.
977 (md_show_usage): Likewise.
979 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
982 * config/tc-i386.c (_i386_insn::disp_encoding): Add
984 (parse_insn): Check Prefix_XXX for pseudo prefixes. Handle
986 (build_modrm_byte): Handle {disp16}.
987 (i386_index_check): Check invalid {disp16} and {disp32} pseudo
989 * doc/c-i386.texi: Update {disp32} documentation and document
991 * testsuite/gas/i386/i386.exp: Run x86-64-inval-pseudo.
992 * testsuite/gas/i386/inval-pseudo.s: Add {disp32}/{disp16}
994 * testsuite/gas/i386/pseudos.s: Add {disp8}/{disp32} vmovaps
995 tests with 128-byte displacement. Add {disp16} tests.
996 * testsuite/gas/i386/x86-64-pseudos.s: Add {disp8}/{disp32}
997 vmovaps test. Add (%r13)/(%r13d) tests.
998 * testsuite/gas/i386/x86-64-inval-pseudo.l: New file.
999 * testsuite/gas/i386/x86-64-inval-pseudo.s: Likewise.
1000 * testsuite/gas/i386/inval-pseudo.l: Updated.
1001 * testsuite/gas/i386/pseudos.d: Likewise.
1002 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1004 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1006 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
1007 * Makefile.in, doc/Makefile.in: Regenerate.
1008 * configure: Regenerate.
1010 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
1012 * testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler.
1013 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1014 * testsuite/gas/i386/dw2-compress-3a.d: Likewise.
1015 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1016 * testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
1017 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1019 2020-07-30 Nick Clifton <nickc@redhat.com>
1021 * as.c (dwarf_level): Initialise to 3 in case this is not set on
1024 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
1026 * testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.
1027 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: New test.
1028 * testsuite/gas/mips/global-local-symtab-sort-n32.d: New test.
1029 * testsuite/gas/mips/global-local-symtab-sort-n32t.d: New test.
1030 * testsuite/gas/mips/global-local-symtab-sort-n64.d: New test.
1031 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: New test.
1032 * testsuite/gas/mips/mips.exp: Run the new tests.
1034 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
1036 * testsuite/gas/mips/global-local-symtab-o32.d: New test.
1037 * testsuite/gas/mips/global-local-symtab-o32t.d: New test.
1038 * testsuite/gas/mips/global-local-symtab-n32.d: New test.
1039 * testsuite/gas/mips/global-local-symtab-n32t.d: New test.
1040 * testsuite/gas/mips/global-local-symtab-n64.d: New test.
1041 * testsuite/gas/mips/global-local-symtab.s: New test source.
1042 * testsuite/gas/mips/mips.exp: Run the new tests.
1044 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
1047 * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
1048 (%bp)/(%ebp)/(%rbp) for {disp32}.
1049 * doc/c-i386.texi: Update {disp32} documentation.
1050 * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
1051 * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
1052 * testsuite/gas/i386/pseudos.d: Updated.
1053 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1055 2020-07-27 H.J. Lu <hongjiu.lu@intel.com>
1057 * doc/as.texi: Replace preceeded with preceded.
1059 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
1061 * testsuite/gas/mips/jal-svr4pic-irix.d: New file.
1062 * testsuite/gas/mips/mips1@jal-svr4pic-irix.d: New file.
1063 * testsuite/gas/mips/mipsr6@jal-svr4pic-irix.d: New file.
1064 * testsuite/gas/mips/micromips@jal-svr4pic-irix.d: New file.
1065 * testsuite/gas/mips/r3000@jal-svr4pic-irix.d: New file.
1066 * testsuite/gas/mips/jal-svr4pic-local-irix.d: New file.
1067 * testsuite/gas/mips/mips1@jal-svr4pic-local-irix.d: New file.
1068 * testsuite/gas/mips/micromips@jal-svr4pic-local-irix.d: New
1070 * testsuite/gas/mips/r3000@jal-svr4pic-local-irix.d: New file.
1071 * testsuite/gas/mips/jal-svr4pic-noreorder-irix.d: New file.
1072 * testsuite/gas/mips/mips1@jal-svr4pic-noreorder-irix.d: New
1074 * testsuite/gas/mips/mipsr6@jal-svr4pic-noreorder-irix.d: New
1076 * testsuite/gas/mips/micromips@jal-svr4pic-noreorder-irix.d: New
1078 * testsuite/gas/mips/r3000@jal-svr4pic-noreorder-irix.d: New
1080 * testsuite/gas/mips/jal-xgot-irix.d: New file.
1081 * testsuite/gas/mips/jalr2-irix.d: New file.
1082 * testsuite/gas/mips/micromips-branch-relax-insn32-pic-irix.d:
1084 * testsuite/gas/mips/micromips-branch-relax-pic-irix.d: New
1086 * testsuite/gas/mips/mips-abi32-pic2-irix.d: New file.
1087 * testsuite/gas/mips/jal-svr4pic-local.d: Don't exclude
1088 `*-*-irix*' targets. Add source file designator.
1089 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: Don't exclude
1090 `*-*-irix*' targets.
1091 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: Likewise.
1092 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1093 * testsuite/gas/mips/jalr2.d: Add name designator.
1094 * testsuite/gas/mips/mips.exp: Use respective IRIX variants for
1095 tests involving the JALR relocation throughout.
1097 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
1099 * testsuite/gas/mips/mips.exp: Use a helper variable for
1100 IRIX/non-IRIX test selection.
1102 2020-07-21 Jan Beulich <jbeulich@suse.com>
1104 * testsuite/gas/i386/evex-no-scale-64.d,
1105 testsuite/gas/i386/addr32.d,
1106 testsuite/gas/i386/x86-64-addr32-intel.d,
1107 testsuite/gas/i386/x86-64-addr32.d: Adjust expectations.
1109 2020-07-21 Cooper Qu <cooper.qu@linux.alibaba.com>
1111 * config/tc-csky.c (md_begin): Fix tests of arch and mach flags.
1113 2020-07-21 Jan Beulich <jbeulich@suse.com>
1115 * testsuite/gas/i386/evex-no-scale-32.d,
1116 testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass.
1117 * testsuite/gas/i386/evex-no-scale-32.s,
1118 testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ...
1119 * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct
1120 instead of .section.
1121 * testsuite/gas/i386/i386.exp: Move above tests out of ELF-
1124 2020-07-21 Maciej W. Rozycki <macro@linux-mips.org>
1126 * config/tc-mips.c (prev_reloc_op_frag): Remove variable.
1127 (my_getSmallExpression): Adjust accordingly.
1129 2020-07-20 Jan Beulich <jbeulich@suse.com>
1132 * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from
1133 conditional around it.
1134 (md_begin): Insert backslash into operand_chars[] when slash is
1135 a comment character.
1136 * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and
1137 \* as operators when / may be a comment character.
1138 * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New.
1139 * testsuite/gas/i386/i386.exp: Run new test.
1141 2020-07-20 Jan Beulich <jbeulich@suse.com>
1144 * app.c (last_char): Drop TC_ARM conditional around it.
1145 (struct app_save): Drop TC_ARM conditional around last_char.
1146 (app_push, app_pop): Drop TC_ARM conditional from last_char
1148 (do_scrub_chars): Likewise. Drop TC_ARM conditional from
1149 backslash-precedes-comment-character check.
1151 2020-07-20 Jan Beulich <jbeulich@suse.com>
1153 * config/tc-i386.c (frag_opcode_byte): New.
1154 (output_branch): Emit error when in absolute section.
1155 (output_jump, output_insn): Use frag_opcode_byte. Handle being
1156 in absolute section.
1157 (output_interseg_jump, output_disp, output_imm): Handle being in
1159 * testsuite/gas/i386/sizing.s,
1160 testsuite/gas/i386/sizing32.d,
1161 testsuite/gas/i386/sizing64.d: New.
1162 * testsuite/gas/i386/i386.exp: Run new tests.
1164 2020-07-20 Jan Beulich <jbeulich@suse.com>
1166 * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside
1167 is_elf_format as applicable; merely exclude iamcu tests.
1169 2020-07-19 H.J. Lu <hongjiu.lu@intel.com>
1172 * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc
1173 against section to PC32 reloc.
1174 * testsuite/gas/i386/relax-5.d: Updated.
1175 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
1177 2020-07-15 H.J. Lu <hongjiu.lu@intel.com>
1180 * testsuite/gas/i386/evex-no-scale-64.d: Updated.
1181 * testsuite/gas/i386/addr32.d: Likewise.
1182 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1183 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1185 2020-07-15 Nick Clifton <nickc@redhat.com>
1187 * write.c (create_note_reloc): Add desc2_size parameter. Zero out
1188 the addend field of REL relocations. Store the full addend into
1189 the note for REL relocations.
1191 2020-07-15 Jan Beulich <jbeulich@suse.com>
1193 * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push
1195 * testsuite/gas/i386/x86-64-stack-intel.d,
1196 testsuite/gas/i386/x86-64-stack-suffix.d,
1197 testsuite/gas/i386/x86-64-stack.d: Adjust expectations.
1199 2020-07-15 Jan Beulich <jbeulich@suse.com>
1201 * testsuite/gas/i386/disassem.d,
1202 testsuite/gas/i386/ilp32/x86-64-branch.d,
1203 testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d,
1204 testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d,
1205 testsuite/gas/i386/noreg32.d,
1206 testsuite/gas/i386/noreg64-rex64.d,
1207 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d,
1208 testsuite/gas/i386/opcode.d,
1209 testsuite/gas/i386/solaris/x86-64-branch-2.d,
1210 testsuite/gas/i386/solaris/x86-64-jump.d,
1211 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
1212 testsuite/gas/i386/solaris/x86-64-nop-3.d,
1213 testsuite/gas/i386/solaris/x86-64-nop-4.d,
1214 testsuite/gas/i386/solaris/x86-64-nop-5.d,
1215 testsuite/gas/i386/solaris/x86-64-relax-2.d,
1216 testsuite/gas/i386/solaris/x86-64-relax-3.d,
1217 testsuite/gas/i386/x86-64-align-branch-1a.d,
1218 testsuite/gas/i386/x86-64-align-branch-1b.d,
1219 testsuite/gas/i386/x86-64-align-branch-1c.d,
1220 testsuite/gas/i386/x86-64-align-branch-1d.d,
1221 testsuite/gas/i386/x86-64-align-branch-1e.d,
1222 testsuite/gas/i386/x86-64-align-branch-1f.d,
1223 testsuite/gas/i386/x86-64-align-branch-1g.d,
1224 testsuite/gas/i386/x86-64-align-branch-1h.d,
1225 testsuite/gas/i386/x86-64-align-branch-1i.d,
1226 testsuite/gas/i386/x86-64-align-branch-2a.d,
1227 testsuite/gas/i386/x86-64-align-branch-2b.d,
1228 testsuite/gas/i386/x86-64-align-branch-2c.d,
1229 testsuite/gas/i386/x86-64-align-branch-3.d,
1230 testsuite/gas/i386/x86-64-align-branch-4a.d,
1231 testsuite/gas/i386/x86-64-align-branch-4b.d,
1232 testsuite/gas/i386/x86-64-align-branch-5.d,
1233 testsuite/gas/i386/x86-64-align-branch-6.d,
1234 testsuite/gas/i386/x86-64-branch-2.d,
1235 testsuite/gas/i386/x86-64-branch-3.d,
1236 testsuite/gas/i386/x86-64-branch.d,
1237 testsuite/gas/i386/x86-64-disassem.d,
1238 testsuite/gas/i386/x86-64-disp32.d,
1239 testsuite/gas/i386/x86-64-gotpcrel-no-relax.d,
1240 testsuite/gas/i386/x86-64-gotpcrel.d,
1241 testsuite/gas/i386/x86-64-ifunc.d,
1242 testsuite/gas/i386/x86-64-jump.d,
1243 testsuite/gas/i386/x86-64-lfence-byte.d,
1244 testsuite/gas/i386/x86-64-lfence-indbr-a.d,
1245 testsuite/gas/i386/x86-64-lfence-indbr-b.d,
1246 testsuite/gas/i386/x86-64-lfence-indbr-c.d,
1247 testsuite/gas/i386/x86-64-lfence-load.d,
1248 testsuite/gas/i386/x86-64-lfence-ret-a.d,
1249 testsuite/gas/i386/x86-64-lfence-ret-b.d,
1250 testsuite/gas/i386/x86-64-lfence-ret-c.d,
1251 testsuite/gas/i386/x86-64-lfence-ret-d.d,
1252 testsuite/gas/i386/x86-64-lfence-ret-e.d,
1253 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
1254 testsuite/gas/i386/x86-64-mpx-branch-1.d,
1255 testsuite/gas/i386/x86-64-mpx.d,
1256 testsuite/gas/i386/x86-64-nop-3.d,
1257 testsuite/gas/i386/x86-64-nop-4.d,
1258 testsuite/gas/i386/x86-64-nop-5.d,
1259 testsuite/gas/i386/x86-64-nops-7.d,
1260 testsuite/gas/i386/x86-64-notrack.d,
1261 testsuite/gas/i386/x86-64-opcode.d,
1262 testsuite/gas/i386/x86-64-relax-2.d,
1263 testsuite/gas/i386/x86-64-relax-3.d,
1264 testsuite/gas/i386/x86-64-relax-4.d,
1265 testsuite/gas/i386/x86-64-rtm.d,
1266 testsuite/gas/i386/x86-64-stack.d,
1267 testsuite/gas/i386/x86-64-unique.d,
1268 testsuite/gas/i386/x86_64-intel.d: Adjust expectations.
1270 2020-07-14 H.J. Lu <hongjiu.lu@intel.com>
1273 * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
1275 * testsuite/gas/i386/x86-64-addr32.s: Likewise.
1276 * testsuite/gas/i386/addr32.d: Updated.
1277 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1278 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1279 * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
1280 * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
1282 2020-07-14 Jan Beulich <jbeulich@suse.com>
1284 * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>.
1285 * testsuite/gas/i386/intel-intel.d: Disambiguate name.
1286 * testsuite/gas/i386/intel.d,
1287 testsuite/gas/i386/opcode-intel.d: Adjust expectations.
1289 2020-07-14 Jan Beulich <jbeulich@suse.com>
1291 * testsuite/gas/i386/prefix.d: Adjust expectations.
1293 2020-07-14 Jan Beulich <jbeulich@suse.com>
1295 * testsuite/gas/i386/x86-64-avx-intel.d,
1296 testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations.
1298 2020-07-14 Jan Beulich <jbeulich@suse.com>
1300 * testsuite/gas/i386/movbe-suffix.d,
1301 testsuite/gas/i386/x86-64-movbe-suffix.d: New.
1302 * testsuite/gas/i386/i386.exp: Run new tests.
1304 2020-07-14 Jan Beulich <jbeulich@suse.com>
1306 * testsuite/gas/i386/crc32-suffix.d,
1307 testsuite/gas/i386/x86-64-crc32-suffix.d: New.
1308 * testsuite/gas/i386/i386.exp: Run new tests.
1309 * testsuite/gas/i386/arch-10-bdver1.d,
1310 testsuite/gas/i386/arch-10-bdver2.d,
1311 testsuite/gas/i386/arch-10-bdver3.d,
1312 testsuite/gas/i386/arch-10-bdver4.d,
1313 testsuite/gas/i386/arch-10-btver1.d,
1314 testsuite/gas/i386/arch-10-btver2.d,
1315 testsuite/gas/i386/arch-10-lzcnt.d,
1316 testsuite/gas/i386/arch-10-prefetchw.d,
1317 testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d,
1318 testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d,
1319 testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d,
1320 testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d,
1321 testsuite/gas/i386/x86-64-arch-2-bdver1.d,
1322 testsuite/gas/i386/x86-64-arch-2-bdver2.d,
1323 testsuite/gas/i386/x86-64-arch-2-bdver3.d,
1324 testsuite/gas/i386/x86-64-arch-2-bdver4.d,
1325 testsuite/gas/i386/x86-64-arch-2-btver1.d,
1326 testsuite/gas/i386/x86-64-arch-2-btver2.d,
1327 testsuite/gas/i386/x86-64-arch-2-lzcnt.d,
1328 testsuite/gas/i386/x86-64-arch-2-prefetchw.d,
1329 testsuite/gas/i386/x86-64-arch-2.d,
1330 testsuite/gas/i386/x86-64-crc32.d,
1331 testsuite/gas/i386/x86-64-pseudos.d,
1332 testsuite/gas/i386/x86-64-sse-noavx.d,
1333 testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations.
1335 2020-07-14 Jan Beulich <jbeulich@suse.com>
1337 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1338 ModR/M-encoded byte register cases.
1339 * testsuite/gas/i386/x86-64-pseudos.d,
1340 testsuite/gas/i386/x86-64-reg-intel.d,
1341 testsuite/gas/i386/x86-64-reg.d: Adjust expectations.
1343 2020-07-14 Jan Beulich <jbeulich@suse.com>
1345 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1346 not-ModR/M-encoded byte register cases.
1347 * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
1349 2020-07-14 Jan Beulich <jbeulich@suse.com>
1351 * testsuite/gas/i386/ilp32/x86-64-arch-1.d,
1352 testsuite/gas/i386/ilp32/x86-64-arch-2.d,
1353 testsuite/gas/i386/ilp32/x86-64-avx-intel.d,
1354 testsuite/gas/i386/ilp32/x86-64-avx.d,
1355 testsuite/gas/i386/ilp32/x86-64-crc32-intel.d,
1356 testsuite/gas/i386/ilp32/x86-64-crc32.d,
1357 testsuite/gas/i386/ilp32/x86-64-gotpcrel.d,
1358 testsuite/gas/i386/ilp32/x86-64-ifunc.d,
1359 testsuite/gas/i386/ilp32/x86-64-reg-intel.d,
1360 testsuite/gas/i386/ilp32/x86-64-reg.d,
1361 testsuite/gas/i386/ilp32/x86-64-rep-suffix.d,
1362 testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d,
1363 testsuite/gas/i386/ilp32/x86-64-sse4_2.d,
1364 testsuite/gas/i386/ilp32/x86-64-stack-intel.d,
1365 testsuite/gas/i386/ilp32/x86-64-stack-suffix.d,
1366 testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir
1369 2020-07-13 H.J. Lu <hongjiu.lu@intel.com>
1371 * config/tc-i386.c (offset_in_range): Remove 32-bit sign
1374 2020-07-13 Nick Clifton <nickc@redhat.com>
1376 * po/fr.po: Updated French translation.
1378 2020-07-13 Alan Modra <amodra@gmail.com>
1380 * testsuite/gas/elf/dwarf2-7.d: Remove most xfails.
1381 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1382 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1383 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1385 2020-07-11 H.J. Lu <hongjiu.lu@intel.com>
1387 * config/tc-i386.c (output_insn): Check i.xstate to set
1388 GNU_PROPERTY_X86_FEATURE_2_TMM.
1389 * testsuite/gas/i386/i386.exp: Run x86-64-property-7,
1390 x86-64-property-8 and x86-64-property-9.
1391 * testsuite/gas/i386/x86-64-property-7.d: New file.
1392 * testsuite/gas/i386/x86-64-property-7.s: Likewise.
1393 * testsuite/gas/i386/x86-64-property-8.d: Likewise.
1394 * testsuite/gas/i386/x86-64-property-8.s: Likewise.
1395 * testsuite/gas/i386/x86-64-property-9.d: Likewise.
1396 * testsuite/gas/i386/x86-64-property-9.s: Likewise.
1398 2020-07-10 H.J. Lu <hongjiu.lu@intel.com>
1400 * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm,
1401 has_regymm, has_regzmm and has_regtmm. Add xstate.
1402 (md_assemble): Set i.xstate from operand types in instruction
1404 (build_modrm_byte): Updated.
1405 (output_insn): Check i.xstate.
1406 * testsuite/gas/i386/i386.exp: Run property-6 and
1408 * testsuite/gas/i386/property-6.d: New file.
1409 * testsuite/gas/i386/property-6.s: Updated.
1410 * testsuite/gas/i386/x86-64-property-6.d: Likewise.
1412 2020-07-10 H.J. Lu <hongjiu.lu@intel.com>
1414 * testsuite/gas/i386/property-5.d: Correct test name.
1416 2020-07-10 Lili Cui <lili.cui@intel.com>
1418 * NEWS: Mention support for Intel AMX instructions.
1419 * config/tc-i386.c (i386_error): Add invalid_sib_address.
1420 (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile.
1421 (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile.
1422 (match_simd_size): Add tmmword check.
1423 (operand_type_match): Add tmmword.
1424 (type_names): Add rTMM.
1425 (i386_error): Add invalid_tmm_register_set.
1426 (check_VecOperands): Handle invalid_sib_address and
1427 invalid_tmm_register_set.
1428 (match_template): Handle invalid_sib_address.
1429 (build_modrm_byte): Handle non-vector SIB and zmmword.
1430 (i386_index_check): Disallow RegIP for non-vector SIB.
1431 (check_register): Handle zmmword.
1432 * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile.
1433 * testsuite/gas/i386/i386.exp: Add AMX new tests.
1434 * testsuite/gas/i386/intel-regs.d: Add tmm.
1435 * testsuite/gas/i386/intel-regs.s: Add tmm.
1436 * testsuite/gas/i386/x86-64-amx-intel.d: New.
1437 * testsuite/gas/i386/x86-64-amx-inval.l: New.
1438 * testsuite/gas/i386/x86-64-amx-inval.s: New.
1439 * testsuite/gas/i386/x86-64-amx.d: New.
1440 * testsuite/gas/i386/x86-64-amx.s: New.
1441 * testsuite/gas/i386/x86-64-amx-bad.d: New.
1442 * testsuite/gas/i386/x86-64-amx-bad.s: New.
1444 2020-07-10 Tom de Vries <tdevries@suse.de>
1446 * testsuite/gas/elf/dwarf2-11.d: Update expected output from
1447 readelf's line table decoding.
1448 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1449 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1450 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1451 * testsuite/gas/elf/dwarf2-15.d: Likewise.
1452 * testsuite/gas/elf/dwarf2-16.d: Likewise.
1453 * testsuite/gas/elf/dwarf2-17.d: Likewise.
1454 * testsuite/gas/elf/dwarf2-18.d: Likewise.
1455 * testsuite/gas/elf/dwarf2-19.d: Likewise.
1456 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1457 * testsuite/gas/elf/dwarf2-6.d: Likewise.
1458 * testsuite/gas/elf/dwarf2-7.d: Likewise.
1460 2020-07-09 H.J. Lu <hongjiu.lu@intel.com>
1462 * config/tc-i386.c (output_insn): Set YMM/ZMM features for
1463 VEX/EVEX vector instructions.
1464 * testsuite/gas/i386/property-4.d: New file.
1465 * testsuite/gas/i386/property-4.s: Likewise.
1466 * testsuite/gas/i386/property-5.d: Likewise.
1467 * testsuite/gas/i386/property-5.s: Likewise.
1468 * testsuite/gas/i386/x86-64-property-4.d: Likewise.
1469 * testsuite/gas/i386/x86-64-property-5.d: Likewise.
1471 2020-07-09 H.J. Lu <hongjiu.lu@intel.com>
1473 * NEWS: Mention --enable-x86-used-note.
1474 * configure.ac: Configure with --enable-x86-used-note by default
1476 * configure: Regenerated.
1478 2020-07-09 Alan Modra <amodra@gmail.com>
1480 * config/obj-coff.h: Remove TE_PE support.
1481 * config/tc-ppc.c: Likewise.
1482 * config/tc-ppc.h: Likewise.
1483 * configure.tgt: Remove powerpc PE and powerpc lynxos.
1484 * testsuite/gas/cfi/cfi.exp (cfi-common-6): Remove powerpc PE
1486 * testsuite/gas/macros/macros.exp: Don't xfail powerpc PE.
1488 2020-07-08 Jan Beulich <jbeulich@suse.com>
1490 * testsuite/gas/i386/fma4-lig.d, testsuite/gas/i386/xop-lig.d:
1492 * testsuite/gas/i386/i386.exp: Run new tests.
1494 2020-07-07 Claudiu Zissulescu <claziss@synopsys.com>
1496 * config/tc-arc.c (find_opcode_match): Add error messages.
1497 * testsuite/gas/arc/add_s-err.s: Update test.
1498 * testsuite/gas/arc/asm-errors.err: Likewise.
1499 * testsuite/gas/arc/cpu-em-err.s: Likewise.
1500 * testsuite/gas/arc/hregs-err.s: Likewise.
1501 * testsuite/gas/arc/warn.s: Likewise.
1503 2020-07-07 H.J. Lu <hongjiu.lu@intel.com>
1506 * doc/c-i386.texi: Remove an incorrect AVX2 entry.
1508 2020-07-07 Alan Modra <amodra@gmail.com>
1510 * testsuite/gas/all/gas.exp: Use is_xcoff_format.
1511 * testsuite/gas/ppc/ppc.exp: Likewise.
1512 * testsuite/gas/all/weakref1l.d: Likewise.
1514 2020-07-07 Nick Clifton <nickc@redhat.com>
1516 * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in
1519 2020-07-06 Jan Beulich <jbeulich@suse.com>
1521 * testsuite/gas/i386/x86-64-avx512bw-wig1.d,
1522 testsuite/gas/i386/x86-64-avx512bw-wig1-intel.d,
1523 testsuite/gas/i386/x86-64-evex-wig1.d,
1524 testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust
1527 2020-07-06 Jan Beulich <jbeulich@suse.com>
1529 * testsuite/gas/i386/avx512f-opts.s: Add EVEX movq tests.
1530 * testsuite/gas/i386/x86-64-avx512f-opts.s: Add blank line.
1531 * testsuite/gas/i386/avx512f-opts-intel.d,
1532 testsuite/gas/i386/avx512f-opts.d
1533 testsuite/gas/i386/x86-64-avx512f-opts-intel.d
1534 testsuite/gas/i386/x86-64-avx512f-opts.d: Adjust expectations.
1536 2020-07-06 Yuri Chornoivan <yurchor@ukr.net>
1539 * config/tc-arm.c: Fix spelling mistake.
1540 * config/tc-riscv.c: Likewise.
1541 * config/tc-z80.c: Likewise.
1542 * po/gas.pot: Regenerate.
1544 2020-07-06 Nick Clifton <nickc@redhat.com>
1546 * po/uk.po: Updated Ukranian translation.
1548 2020-07-04 Nick Clifton <nickc@redhat.com>
1550 * configure: Regenerate.
1551 * po/gas.pot: Regenerate.
1553 2020-07-04 Nick Clifton <nickc@redhat.com>
1555 * version.m4: Change version number to 2.35.50.
1556 * configure: Regenerate.
1557 * po/bfd.pot: Regenerate.
1559 2020-07-04 Nick Clifton <nickc@redhat.com>
1561 Binutils 2.35 branch created.
1563 2020-07-03 Alan Modra <amodra@gmail.com>
1566 * testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options.
1568 2020-07-02 H.J. Lu <hongjiu.lu@intel.com>
1570 * config/tc-i386.c (build_modrm_byte): Check vexswapsources to
1571 swap two source operands.
1573 2020-07-02 Nick Clifton <nickc@redhat.com>
1575 * testsuite/gas/all/fill-1.d: Skip for MeP targets.
1577 2020-07-02 Alex Coplan <alex.coplan@arm.com>
1579 * config/tc-aarch64.c (reg_name_p): Fix cast so that we don't
1580 segfault on negative chars.
1581 * testsuite/gas/aarch64/reglike-label-unicode-segv.d: New test.
1582 * testsuite/gas/aarch64/reglike-label-unicode-segv.s: Input.
1584 2020-07-02 Nick Clifton <nickc@redhat.com>
1587 * testsuite/gas/ia64/group-2.d: Add -T option to readelf
1589 * testsuite/gas/ia64/unwind.d: Likewise.
1590 * testsuite/gas/mmix/bspec-1.d: Likewise.
1591 * testsuite/gas/mmix/bspec-2.d: Likewise.
1592 * testsuite/gas/mmix/comment-1.d: Likewise.
1593 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1595 2020-07-01 Alan Modra <amodra@gmail.com>
1597 * config/tc-xc16x.c (md_apply_fix): Add FIXME.
1599 2020-07-01 Alan Modra <amodra@gmail.com>
1601 * testsuite/gas/all/eqv-dot.d: xfail targets that set linkrelax
1602 in data sections, and mep.
1604 2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
1606 * NEWS: Mention x86 NaCl target support removal.
1607 * config/tc-i386.c: Remove x86 NaCl target support.
1608 * config/tc-i386.h: Likewise.
1609 * configure.tgt: Likewise.
1610 * testsuite/gas/i386/i386.exp: Likewise.
1611 * testsuite/gas/i386/iamcu-1.d: Likewise.
1612 * testsuite/gas/i386/iamcu-2.d: Likewise.
1613 * testsuite/gas/i386/iamcu-3.d: Likewise.
1614 * testsuite/gas/i386/iamcu-4.d: Likewise.
1615 * testsuite/gas/i386/iamcu-5.d: Likewise.
1616 * testsuite/gas/i386/k1om.d: Likewise.
1617 * testsuite/gas/i386/l1om.d: Likewise.
1619 2020-06-30 Nelson Chu <nelson.chu@sifive.com>
1621 * config/tc-riscv.c (riscv_csr_class_check): Removed. Move the
1622 checking into riscv_csr_address.
1623 (riscv_csr_version_check): Likewise.
1624 (riscv_csr_address): New function. Return the suitable CSR address
1625 after checking the ISA dependency and versions. Issue warnings if
1626 we find any conflict and -mcsr-check is set. CSR_CLASS_F and
1627 CSR_CLASS_DEBUG are unprivileged CSR for now, so don't check the
1628 priv spec versions for them.
1629 (reg_csr_lookup_internal): Call riscv_csr_address to find the
1630 suitable CSR address.
1631 * testsuite/gas/riscv/priv-reg-fail-fext.d: Remove -mpriv-spec=1.11.
1632 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
1633 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
1634 * testsuite/gas/riscv/priv-reg-fail-fext.l: We don't care the
1635 priv spec warnings here. These warnings are added by accident.
1636 Remove them and only focus on the ISA dependency warnings.
1637 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1638 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1639 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Updated since
1640 dscratch0 and dscratch1 are regarded as the unprivileged CSR rather
1641 than the privileged ones.
1642 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1643 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1644 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1645 * testsuite/gas/riscv/priv-reg.s: Likewise. Add missing debug CSR.
1646 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1647 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: Likewise.
1648 * testsuite/gas/riscv/priv-reg-version-1p10.d: Likewise.
1649 * testsuite/gas/riscv/priv-reg-version-1p11.d: Likewise.
1650 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
1651 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
1653 2020-06-29 H.J. Lu <hongjiu.lu@intel.com>
1655 * tc-i386.c (build_vex_prefix): Support VEX base opcode length > 1.
1656 (md_assemble): Don't process ImmExt without operands.
1658 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
1661 * config/tc-mmix.c (md_assemble) <fixup for
1662 BFD_RELOC_MMIX_BASE_PLUS_OFFSET>: This fixup affects 1 byte, not 8.
1663 Also, set its fx_no_overflow.
1664 (md_convert_frag) <case ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO)>:
1665 Similarly this fixup affects 4 bytes, not 8 and needs its
1667 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Don't define.
1668 * testsuite/gas/mmix/pr25331.d, testsuite/gas/mmix/pr25331.s: New test.
1670 2020-06-29 Alan Modra <amodra@gmail.com>
1672 * config/tc-s12z.c: Use C style comments.
1673 * config/tc-z80.c: Likewise.
1674 * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code.
1676 2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
1678 * config/tc-i386.c (md_assemble): Process ImmExt without
1681 2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
1683 * config/tc-i386.c (check_VecOperands): Replace vecsib with sib.
1684 Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128,
1685 VECSIB256 and VECSIB512, respectively.
1686 (build_modrm_byte): Replace vecsib with sib.
1688 2020-06-26 Jan Beulich <jbeulich@suse.com>
1690 * testsuite/gas/i386/nop-1-suffix.d: New.
1691 * testsuite/gas/i386/i386.exp: Run new test.
1693 2020-06-26 Pat Bernardi <bernardi@adacore.com>
1695 * config/tc-m68k.c (m68k_elf_gnu_attribute): New function.
1696 (md_pseudo_table): Handle "gnu_attribute".
1697 * doc/as.texi: Document GNU attribute for M68K.
1699 2020-06-25 Nick Clifton <nickc@redhat.com>
1702 * config/tc-arm.c (arm_force_relocation): Force resolution of
1703 BFD_RELOC_THUMB_PCREL_BRANCH12 relocations.
1704 * testsuite/gas/arm/plt-1.d: Adjust expected disassembly.
1706 2020-06-25 Jan Beulich <jbeulich@suse.com>
1708 * config/tc-i386.c (md_assemble): Move call to process_immext()
1710 (process_operands): ... here.
1712 2020-06-25 Jan Beulich <jbeulich@suse.com>
1714 * config/tc-i386.c (process_suffix): Skip ambiguous operand size
1715 diagnostic when there is a sizing prefix. Switch to word/dword/
1716 qword encoding when there is a sizing prefix and no (explicit or
1718 (update_imm): Handle presence of a sizing prefix.
1719 * testsuite/gas/i386/noreg16-data32.d,
1720 testsuite/gas/i386/noreg32-data16.d,
1721 testsuite/gas/i386/noreg32-data16.e,
1722 testsuite/gas/i386/noreg64-data16.d,
1723 testsuite/gas/i386/noreg64-data16.e,
1724 testsuite/gas/i386/noreg64-rex64.d: New.
1725 * testsuite/gas/i386/i386.exp: Run new tests.
1726 * testsuite/gas/i386/noreg32.s, testsuite/gas/i386/noreg64.s:
1727 Introduce and use pfx* macros.
1728 * testsuite/gas/i386/noreg16.s: Likewise. Replace 32-bit
1730 * testsuite/gas/i386/noreg16.d: Adjust expectations.
1732 2020-06-25 Jan Beulich <jbeulich@suse.com>
1734 * testsuite/gas/i386/avx-16bit.d,
1735 testsuite/gas/i386/avx-scalar.d, testsuite/gas/i386/avx.d,
1736 testsuite/gas/i386/avx512f-16bit.d,
1737 testsuite/gas/i386/avx512f.d,
1738 testsuite/gas/i386/evex-lig256.d,
1739 testsuite/gas/i386/evex-lig512.d
1740 testsuite/gas/i386/evex-wig1.d, testsuite/gas/i386/katmai.d,
1741 testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg32.d,
1742 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/simd.d,
1743 testsuite/gas/i386/sse2-16bit.d,
1744 testsuite/gas/i386/sse2.d, testsuite/gas/i386/sse2avx.d: Adjust
1747 2020-06-25 Jan Beulich <jbeulich@suse.com>
1749 * config/tc-i386.c (md_assemble): Also reject explicit REX
1750 prefixes with VEX and alike encoded insns. Zap consumed bits
1752 (output_insn): Don't ignore REX prefix for VEX and alike
1753 encodings; abort() instead if encountered.
1754 * testsuite/gas/i386/x86-64-pseudos.s: Move REX-with-VEX cases
1756 * testsuite/gas/i386/x86-64-pseudos-bad.s: ... here.
1757 * testsuite/gas/i386/x86-64-pseudos.d,
1758 testsuite/gas/i386/x86-64-pseudos-bad.l: Adjust expectations.
1760 2020-06-25 Jan Beulich <jbeulich@suse.com>
1762 * config/tc-i386.c (process_operands): Translate explicit REX
1763 prefix into i.rex for SSE2AVX templates.
1764 (set_rex_vrex): New helper.
1765 (build_modrm_byte): Use it.
1766 * testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explict
1768 * testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
1770 2020-06-25 Jan Beulich <jbeulich@suse.com>
1772 * config/tc-i386.c (cpu_flags_match): Only match SSE2AVX
1773 templates when there's no data size prefix.
1774 (md_assemble): Reject data size prefix also for legacy encoded
1776 * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix64.s:
1777 Uncomment previously not working line.
1778 * testsuite/gas/i386/sse2avx.s: Add ldmxcsr/stmxcsr cases with
1780 * testsuite/gas/i386/prefix32.l, testsuite/gas/i386/prefix64.l,
1781 testsuite/gas/i386/sse2avx.d: Adjust expectations.
1783 2020-06-25 Jan Beulich <jbeulich@suse.com>
1785 * config/tc-i386.c (build_evex_prefix): Drop early setting of
1788 2020-06-23 Nelson Chu <nelson.chu@sifive.com>
1790 * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to
1791 explicit_priv_attr. It used to indicate CSR or priv instructions are
1793 (riscv_is_priv_insn): Return True if it is a privileged instruction.
1794 (riscv_ip): Call riscv_is_priv_insn to check whether the instruction
1795 is privileged or not. If it is, then set explicit_priv_attr to TRUE.
1796 (riscv_write_out_attrs): Clarification of when to generate the elf
1797 priv spec attributes.
1798 * testsuite/gas/riscv/attribute-11.s: Add comments.
1799 * testsuite/gas/riscv/attribute-14.s: New testcase. Use symbol
1800 `priv_insn_<n>` to decide which priv instruction is expected to used.
1802 * testsuite/gas/riscv/attribute-14a.d: Likewise.
1803 * testsuite/gas/riscv/attribute-14b.d: Likewise.
1804 * testsuite/gas/riscv/attribute-14c.d: Likewise.
1805 * testsuite/gas/riscv/attribute-14d.d: Likewise.
1806 * testsuite/gas/riscv/attribute-14e.d: Likewise.
1808 2020-06-22 Nelson Chu <nelson.chu@sifive.com>
1810 * config/tc-riscv.c (buf_size, buf): Remove the unused variables.
1811 (riscv_set_default_priv_spec): Get the priv spec version from the
1812 priv spec attributes by riscv_get_priv_spec_class_from_numbers.
1814 2020-06-20 Alan Modra <amodra@gmail.com>
1816 * configure.tgt: Set bfd_gas for all SH targets.
1818 2020-06-18 Jan Beulich <jbeulich@suse.com>
1820 * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case.
1821 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
1824 2020-06-16 Lili Cui <lili.cui@intel.com>
1826 * config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect
1827 cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS.
1828 * doc/c-i386.texi: Add avx512_vp2intersect.
1830 2020-06-16 Jan Beulich <jbeulich@suse.com>
1832 * config/tc-i386.c (md_assemble): Drop SSE4a from SSE check
1834 * testsuite/gas/i386/sse-check.s: Adjust comment.
1835 * testsuite/gas/i386/sse-check-error.l,
1836 testsuite/gas/i386/sse-check-warn.e,
1837 testsuite/gas/i386/x86-64-sse-check-error.l: Adjust
1840 2020-06-16 Alan Modra <amodra@gmail.com>
1842 * config/tc-tic30.h: Remove OBJ_AOUT support.
1843 * configure.tgt: Delete tic30-*-*aout* entry.
1845 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1847 * config/tc-xtensa.c (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
1849 (elf32xtensa_abi): New declaration.
1850 (option_abi_windowed, option_abi_call0): New enum constants.
1851 (md_longopts): Add entries for --abi-windowed and --abi-call0.
1852 (md_parse_option): Add handlers for --abi-windowed and
1854 (xtensa_add_config_info): Use xtensa_abi_choice instead of
1855 XSHAL_ABI to format ABI tag.
1856 * doc/as.texi (Target Xtensa options): Add --abi-windowed and
1857 --abi-call0 to the list of options.
1858 * doc/c-xtensa.texi: Add description for options --abi-windowed
1860 * testsuite/gas/xtensa/abi-call0.d: New test definition.
1861 * testsuite/gas/xtensa/abi-windowed.d: New test definition.
1862 * testsuite/gas/xtensa/abi.s: New test source.
1864 2020-06-14 H.J. Lu <hongjiu.lu@intel.com>
1867 * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with
1869 * testsuite/gas/i386/tsxldtrk.s: Likewise.
1870 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
1871 * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise.
1873 2020-06-12 Nelson Chu <nelson.chu@sifive.com>
1875 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
1876 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
1877 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1879 2020-06-09 Seth Girvan <snth@snthhacks.com>
1881 * doc/c-avr.texi: Improve wording.
1883 2020-06-09 Jan Beulich <jbeulich@suse.com>
1885 * testsuite/gas/i386/x86-64-pseudos-bad.s,
1886 testsuite/gas/i386/x86-64-pseudos-bad.l: New.
1888 2020-06-09 Jan Beulich <jbeulich@suse.com>
1890 * testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX
1892 * testsuite/gas/i386/prefix.d: Adjust expectations.
1894 2020-06-09 Jan Beulich <jbeulich@suse.com>
1896 * testsuite/gas/i386/prefix.s: Add bogus REP / EVEX.W prefix
1897 with VEX/EVEX encoding tests.
1898 * testsuite/gas/i386/prefix.d: Adjust expectations.
1900 2020-06-09 Jan Beulich <jbeulich@suse.com>
1902 * config/tc-i386.c (process_suffix): Restrict defaulting to 'q'
1904 * testsuite/gas/i386/noreg64.s: Add lcall/ljmp cases.
1905 * testsuite/gas/i386/noreg64.d: Adjust expectations.
1906 * testsuite/gas/i386/noreg-intel64.d,
1907 testsuite/gas/i386/noreg-intel64.l,
1908 testsuite/gas/i386/noreg-intel64.s: New.
1909 * testsuite/gas/i386/i386.exp: Run new tests.
1911 2020-06-09 Jan Beulich <jbeulich@suse.com>
1913 * config/tc-i386.c (vex_encoding_error): New enumerator.
1914 (VEX_check_operands): Rename to VEX_check_encoding. Check
1915 for vex_encoding_error. Move Imm4 handling ...
1916 (check_VecOperands): ... here.
1917 (match_template): Call VEX_check_encoding when there are no
1918 operands. Split construct calling check_VecOperands and
1919 VEX_check_encoding (when there are operands).
1920 (check_register): Don't blindly set vex_encoding_evex.
1921 * testsuite/gas/i386/pseudos-bad.s,
1922 testsuite/gas/i386/pseudos-bad.l: New.
1923 * testsuite/gas/i386/i386.exp: Run new test.
1924 * testsuite/gas/i386/xmmhi64.s: Drop {vex2}.
1926 2020-06-08 Alex Coplan <alex.coplan@arm.com>
1928 * config/tc-arm.c (insns): Add dfb.
1929 * testsuite/gas/arm/dfb.d: New test.
1930 * testsuite/gas/arm/dfb.s: Input for test.
1932 2020-06-08 Nick Clifton <nickc@redhat.com>
1934 * testsuite/gas/cfi/cfi-i386-2.d: Skip for PE based targets.
1936 2020-06-08 Jan Beulich <jbeulich@suse.com>
1938 * config/tc-i386.c (pi): Add checks for RegMask and RegBND.
1940 2020-06-08 Jan Beulich <jbeulich@suse.com>
1942 * config/tc-i386.c (check_byte_reg): Drop dead conditional
1945 2020-06-08 Jan Beulich <jbeulich@suse.com>
1947 * config/tc-i386.c (check_register): Split RegTR handling, to
1948 fail recognition also in 64-bit mode as well as with i586 or
1949 i686 explicitly enabled.
1950 * testsuite/gas/i386/x86_64.s: Add insns referencing tr<N>.
1951 * testsuite/gas/i386/x86_64-intel.d,
1952 testsuite/gas/i386/x86_64.d: Adjust expectations.
1954 2020-06-08 Jan Beulich <jbeulich@suse.com>
1956 * testsuite/gas/cfi/cfi-i386-2.d: Adjust expectations.
1957 * testsuite/gas/cfi/cfi.exp: Run this test.
1959 2020-06-08 Jan Beulich <jbeulich@suse.com>
1961 * config/tc-i386.c (parse_real_register): Add allow_pseudo_reg
1962 check to %st(N) parsing logic.
1963 * testsuite/gas/cfi/cfi-i386.s: Set "generic32" arch.
1965 2020-06-08 Jan Beulich <jbeulich@suse.com>
1967 * config/tc-i386.c (bad_reg): New.
1968 (check_VecOperations, i386_att_operand, i386_parse_name): Check
1970 (check_register): New, broken out from ...
1971 (parse_real_register): ... here. Call it.
1972 (parse_register): Call it, and error upon failure.
1973 * testsuite/gas/i386/equ-bad.s, testsuite/gas/i386/equ-bad.l,
1974 testsuite/gas/i386/x86-64-equ-bad.s,
1975 testsuite/gas/i386/x86-64-equ-bad.l: New.
1976 * testsuite/gas/i386/i386.exp: Run new tests.
1978 2020-06-06 Alan Modra <amodra@gmail.com>
1980 * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10.
1981 * doc/c-ppc.texi: Likewise.
1983 2020-06-06 Alan Modra <amodra@gmail.com>
1985 * config/tc-ppc.c: Update throughout for reloc renaming.
1987 2020-06-05 Jose E. Marchesi <jose.marchesi@oracle.com>
1989 * config/tc-bpf.c (md_apply_fix): Avoid GCC 10 warning
1992 2020-06-05 Nelson Chu <nelson.chu@sifive.com>
1994 * config/tc-riscv.c (explicit_csr): New static boolean.
1995 Used to indicate CSR are explictly used.
1996 (riscv_ip): Set explicit_csr to TRUE if any CSR is used.
1997 (riscv_write_out_attrs): If we already have set elf priv
1998 attributes, then generate them. Otherwise, don't generate
1999 them when no CSR are used.
2000 * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes.
2001 * testsuite/gas/riscv/attribute-02.d: Likewise.
2002 * testsuite/gas/riscv/attribute-03.d: Likewise.
2003 * testsuite/gas/riscv/attribute-04.d: Likewise.
2004 * testsuite/gas/riscv/attribute-05.d: Likewise.
2005 * testsuite/gas/riscv/attribute-06.d: Likewise.
2006 * testsuite/gas/riscv/attribute-07.d: Likewise.
2007 * testsuite/gas/riscv/attribute-08.d: Likewise.
2008 * testsuite/gas/riscv/attribute-09.d: Likewise.
2009 * testsuite/gas/riscv/attribute-10.d: Likewise.
2010 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2011 * testsuite/gas/riscv/attribute-11.s: New testcase.
2012 * testsuite/gas/riscv/attribute-11.d: New testcase. The CSR is
2013 used, so we should output the ELF priv attributes.
2014 * testsuite/gas/riscv/attribute-12.d: New testcase. The CSR is
2015 used, so output the priv attributes according to the -mpriv-spec.
2016 * testsuite/gas/riscv/attribute-13.d: New testcase. The CSR isn't
2017 used, so ignore the -mpriv-spec setting.
2019 2020-06-04 H.J. Lu <hongjiu.lu@intel.com>
2021 * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to
2022 cgen_get_insn_value.
2023 * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass
2024 endianness to cgen_get_insn_value and cgen_put_insn_value.
2026 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2028 * config/tc-bpf.c (md_apply_fix): Simplify and avoid using
2029 cgen_put_insn_value.
2031 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2033 * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to
2035 (md_assemble): Remove no longer needed hack.
2037 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2039 * cgen.c (gas_cgen_finish_insn): Pass the endianness to
2040 cgen_put_insn_value.
2041 (gas_cgen_md_apply_fix): Likewise.
2042 (gas_cgen_md_apply_fix): Likewise.
2043 * config/tc-bpf.c (md_apply_fix): Pass data endianness to
2044 cgen_put_insn_value.
2045 * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
2046 cgen_put_insn_value.
2048 2020-06-04 Alan Modra <amodra@gmail.com>
2050 * testsuite/config/default.exp: Remove global directive outside
2052 * testsuite/gas/mep/complex-relocs.exp: Likewise.
2053 * testsuite/gas/microblaze/relax_size.exp: Likewise.
2054 * testsuite/gas/microblaze/reloc_sym.exp: Likewise.
2055 * testsuite/gas/mt/relocs.exp: Likewise.
2056 * testsuite/gas/rx/rx.exp: Likewise.
2058 2020-06-03 Stephen Casner <casner@acm.org>
2060 * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe.
2062 2020-06-02 Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr>
2063 Jim Wilson <jimw@sifive.com>
2066 * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
2067 simm12(rs1). Correct S format to use simm12(rs1). Drop SB and B
2068 formats using simm12(rs1). Correct SB and B to use rs1 and rs2.
2069 Move B before SB. Move J before UJ.
2071 2020-06-01 Alex Coplan <alex.coplan@arm.com>
2073 * write.c (relax_segment): Fix handling of negative offset when
2074 relaxing an rs_org frag.
2075 * testsuite/gas/aarch64/org-neg.d: New test.
2076 * testsuite/gas/aarch64/org-neg.l: Error output for test.
2077 * testsuite/gas/aarch64/org-neg.s: Input for test.
2078 * testsuite/gas/arm/org-neg.d: New test.
2079 * testsuite/gas/arm/org-neg.l: Error output for test.
2080 * testsuite/gas/arm/org-neg.s: Input for test.
2082 2020-05-28 Stephen Casner <casner@acm.org>
2084 Fix unexpected failures in gas testsuite for pdp11-aout target.
2085 These are caused by the PDP11's mix of little-endian octets in
2086 shorts but shorts in big endian order for long or quad.
2088 * config/tc-pdp11.c (md_number_to_chars): Implement .quad
2089 * testsuite/gas/all/gas.exp: Select alternate test scripts for
2090 pdp11, skip octa test completely.
2091 * testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s
2092 * testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order.
2093 * testsuite/gas/all/cond-pdp11.l: Match different octet order.
2095 2020-05-28 Alex Coplan <alex.coplan@arm.com>
2097 * frags.c (frag_grow): Fix comment.
2099 2020-05-27 Stephen Casner <casner@acm.org>
2102 * config/tc-pdp11.c (parse_reg): Distinguish register names from
2103 symbols that begin with a register name.
2104 * testsuite/gas/pdp11/pdp11.exp: Add test of such symbols.
2105 * testsuite/gas/pdp11/pr26001.s: Likewise.
2106 * testsuite/gas/pdp11/pr26001.d: Likewise.
2108 2020-05-27 Simon Cook <simon.cook@embecosm.com>
2110 * config/tc-riscv.c (riscv_init_csr_hash): NULL initilize next
2111 pointer when creating struct riscv_csr_extra.
2113 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2115 * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF.
2116 * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF.
2117 * testsuite/gas/i386/inval-avx512f.l: Updated.
2119 2020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
2121 * testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector
2122 load/store instruction variants with alignment hints.
2123 * testsuite/gas/s390/zarch-z13.s: Emit new vector load/store
2124 instruction variants with alignment hints.
2126 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2129 * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X
2130 instead of R_XGATE_PCREL_X.
2131 (xgate_parse_operand): Replace R_XGATE_PCREL_X with
2132 BFD_RELOC_XGATE_PCREL_X.
2134 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2137 * config/tc-visium.c (md_convert_frag): Replace fragP->fr_literal
2138 with &fragP->fr_literal[0].
2140 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2143 * config/tc-vax.c (md_estimate_size_before_relax): Replace
2144 fragP->fr_literal with &fragP->fr_literal[0].
2145 (md_convert_frag): Likewise.
2147 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2150 * config/tc-v850.c (md_convert_frag): Replace fragP->fr_literal
2151 with &fragP->fr_literal[0].
2153 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2156 * config/tc-crx.c (getreg_image): Change argument type to int.
2157 (md_convert_frag): Replace fragP->fr_literal with
2158 &fragP->fr_literal[0].
2160 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2163 * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping
2164 sprintf with memmove.
2166 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2168 * config/tc-mcore.c (md_convert_frag): Replace fragP->fr_literal
2169 with &fragP->fr_literal[0].
2171 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2174 * config/tc-cr16.c (md_assemble): Use memmove to concatenate
2175 2 overlapping strings.
2177 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2179 * config/tc-cr16.c (md_convert_frag): Replace fragP->fr_literal
2180 with &fragP->fr_literal[0].
2182 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2184 * config/tc-csky.c (md_convert_frag): Replace fragp->fr_literal
2185 with &fragp->fr_literal[0].
2186 * config/tc-microblaze.c (md_apply_fix): Likewise.
2187 * config/tc-sh.c (md_convert_frag): Likewise.
2189 2020-05-24 Jim Wilson <jimw@sifive.com>
2192 * config/tc-riscv.c (riscv_pre_output_hook): Change s type from const
2193 asection to segT. New locals seg and subseg. Call subseg_set before
2194 fix_new_exp. Call subseg_set after loop to restore original values.
2196 2020-05-21 Alan Modra <amodra@gmail.com>
2198 * atof-generic.c: Replace "if (x) free (x)" with "free (x)"
2200 * config/obj-elf.c: Likewise.
2201 * config/tc-aarch64.c: Likewise.
2202 * config/tc-arm.c: Likewise.
2203 * config/tc-m68k.c: Likewise.
2204 * config/tc-nios2.c: Likewise.
2205 * config/tc-tic30.c: Likewise.
2206 * ecoff.c: Likewise.
2208 * stabs.c: Likewise.
2209 * symbols.c: Likewise.
2210 * testsuite/gas/all/test-gen.c: Likewise.
2212 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
2214 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
2215 * config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
2216 Static variables which are used to set the ISA extensions. You can
2217 use -march (or ELF build attributes) and -misa-spec to set them,
2219 (ext_version_hash): The hash table used to handle the extensions
2221 (init_ext_version_hash): Initialize the ext_version_hash according
2222 to riscv_ext_version_table.
2223 (riscv_get_default_ext_version): The callback function of
2224 riscv_parse_subset_t. According to the choosed ISA spec,
2225 get the default version for the specific extension.
2226 (riscv_set_arch): Set the callback function.
2227 (enum options, struct option md_longopts): Add new option -misa-spec.
2228 (md_parse_option): Do not call riscv_set_arch for -march. We will
2229 call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
2230 to set default_isa_spec class.
2231 (riscv_after_parse_args): Call init_ext_version_hash to initialize the
2232 ext_version_hash, and then call riscv_set_arch to set the architecture
2233 with versions according to default_arch_with_ext.
2234 * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
2236 * testsuite/gas/riscv/attribute-03.d: Likewise.
2237 * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
2238 already set it's version to 2p1 by march, so no need to use the default
2239 2p2 version. For m-ext, we do not set the version by -march and ELF arch
2240 attribute, so set the default 2p0 to it. For zicsr, it is not defined in
2241 ISA spec 2p2, so set 0p0 to it.
2242 * testsuite/gas/riscv/attribute-10.d: New testcase. The version of
2243 zicsr is 2p0 according to ISA spec 20191213.
2244 * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
2245 (DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
2246 You can set them by configure options --with-arch and
2247 --with-isa-spec, respectively.
2248 (riscv_set_default_isa_spec): New function used to set the
2250 (md_parse_option): Call riscv_set_default_isa_spec rather than
2251 call riscv_get_isa_spec_class directly.
2252 (riscv_after_parse_args): If the -isa-spec is not set, then we
2253 set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
2254 calling riscv_set_default_isa_spec.
2255 * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
2256 the --with-isa-spec may be set to different ISA spec.
2257 * testsuite/gas/riscv/attribute-02.d: Likewise.
2258 * testsuite/gas/riscv/attribute-03.d: Likewise.
2259 * testsuite/gas/riscv/attribute-04.d: Likewise.
2260 * testsuite/gas/riscv/attribute-05.d: Likewise.
2261 * testsuite/gas/riscv/attribute-06.d: Likewise.
2262 * testsuite/gas/riscv/attribute-07.d: Likewise.
2263 * configure.ac: Add configure options, --with-arch and
2265 * configure: Regenerated.
2266 * config.in: Regenerated.
2267 * config/tc-riscv.c (default_priv_spec): Static variable which is
2268 used to check if the CSR is valid for the chosen privilege spec. You
2269 can use -mpriv-spec to set it.
2270 (enum reg_class): We now get the CSR address from csr_extra_hash rather
2271 than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
2272 (riscv_init_csr_hashes): Only need to initialize one hash table
2274 (riscv_csr_class_check): Change the return type to void. Don't check
2275 the ISA dependency if -mcsr-check isn't set.
2276 (riscv_csr_version_check): New function. Check and find the CSR address
2277 from csr_extra_hash, according to default_priv_spec. Report warning
2278 for the invalid CSR if -mcsr-check is set.
2279 (reg_csr_lookup_internal): Updated.
2280 (reg_lookup_internal): Likewise.
2281 (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
2282 (enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
2283 (md_parse_option): Call riscv_set_default_priv_version to set
2285 (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
2286 privilege spec to the newest one.
2287 (enum riscv_csr_class, struct riscv_csr_extra): Move them to
2288 include/opcode/riscv.h.
2289 * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
2290 to check the ISA dependency for CSR, so fix the spec version by adding
2292 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
2293 version warnings for the test case.
2294 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
2295 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
2296 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
2297 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
2298 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2299 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
2300 Check whether the CSR is valid when privilege version 1.9 is choosed.
2301 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
2302 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
2303 Check whether the CSR is valid when privilege version 1.9.1 is choosed.
2304 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
2305 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
2306 Check whether the CSR is valid when privilege version 1.10 is choosed.
2307 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
2308 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
2309 Check whether the CSR is valid when privilege version 1.11 is choosed.
2310 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
2311 * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
2312 setting. You can set it by configure option --with-priv-spec.
2313 (riscv_set_default_priv_spec): New function used to set the default
2315 (md_parse_option): Call riscv_set_default_priv_spec rather than
2316 call riscv_get_priv_spec_class directly.
2317 (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
2318 default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
2319 calling riscv_set_default_priv_spec.
2320 * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
2321 the --with-priv-spec may be set to different privilege spec.
2322 * testsuite/gas/riscv/priv-reg.d: Likewise.
2323 * configure.ac: Add configure option --with-priv-spec.
2324 * configure: Regenerated.
2325 * config.in: Regenerated.
2326 * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
2327 explicit_attr. Set it to TRUE if any ELF attribute is found.
2328 (riscv_set_default_priv_spec): Try to set the default_priv_spec if
2329 the priv attributes are set.
2330 (md_assemble): Set the default_priv_spec according to the priv
2331 attributes when we start to assemble instruction.
2332 (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
2333 riscv_write_out_attrs. Update the arch and priv attributes. If we
2334 don't set the corresponding ELF attributes, then try to output the
2336 (riscv_set_public_attributes): If any ELF attribute or -march-attr
2337 options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
2338 to update the arch and priv attributes.
2339 (s_riscv_attribute): Make sure all arch and priv attributes are set
2340 before any instruction.
2341 * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
2342 ELF attribute or -march-attr is set. If the priv attributes are not
2343 set, then try to update them by the default setting (-mpriv-spec or
2345 * testsuite/gas/riscv/attribute-02.d: Likewise.
2346 * testsuite/gas/riscv/attribute-03.d: Likewise.
2347 * testsuite/gas/riscv/attribute-04.d: Likewise.
2348 * testsuite/gas/riscv/attribute-06.d: Likewise.
2349 * testsuite/gas/riscv/attribute-07.d: Likewise.
2350 * testsuite/gas/riscv/attribute-08.d: Likewise.
2351 * testsuite/gas/riscv/attribute-09.d: Likewise.
2352 * testsuite/gas/riscv/attribute-10.d: Likewise.
2353 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2354 * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
2355 set by priv attributes must be supported.
2356 * testsuite/gas/riscv/attribute-05.s: Likewise.
2357 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
2358 priv attributes according to the -mpriv-spec option.
2359 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
2360 * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
2361 * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
2362 * testsuite/gas/riscv/priv-reg.d: Removed.
2363 * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
2364 CSR according to the priv spec 1.9.
2365 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
2366 CSR according to the priv spec 1.9.1.
2367 * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
2368 CSR according to the priv spec 1.10.
2369 * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
2370 CSR according to the priv spec 1.11.
2371 * config/tc-riscv.c (md_show_usage): Add descriptions about
2372 the new GAS options.
2373 * doc/c-riscv.texi: Likewise.
2375 2020-05-19 Peter Bergner <bergner@linux.ibm.com>
2377 * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
2378 * testsuite/gas/ppc/power9.d: Likewise.
2379 * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
2380 pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
2381 sync, wait, waitrsv>: Add tests.
2382 * testsuite/gas/ppc/power10.d: Likewise.
2384 2020-05-19 Alexander Fedotov <alfedotov@gmail.com>
2387 * config/tc-arm.c : Add arm_ext_v8r feature.
2388 (it_fsm_post_encode): Check arm_ext_v8r feature.
2389 (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.
2391 2020-05-19 Alan Modra <amodra@gmail.com>
2393 * write.c (write_contents): Use bfd_get_filename rather than
2394 accessing bfd->filename directly. Use bfd_section_name rather
2395 than accessing section->name directly.
2397 2020-05-19 Alan Modra <amodra@gmail.com>
2399 * symbols.c (local_symbol_make): Init all of lsy_flags.
2401 2020-05-18 Alan Modra <amodra@gmail.com>
2403 * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
2404 before looking at add_symbol->sy_flags.
2406 2020-05-18 Hongtao Liu <hongtao.liu@intel.com>
2408 * config/tc-i386.c: Not handle lret/iret.
2409 * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
2410 * testsuite/gas/i386/lfence-ret-b.d: Ditto.
2411 * testsuite/gas/i386/lfence-ret-c.d: Ditto.
2412 * testsuite/gas/i386/lfence-ret-d.d: Ditto.
2413 * testsuite/gas/i386/lfence-ret.s: Ditto.
2414 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
2415 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
2416 * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
2417 * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
2418 * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
2419 * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
2420 * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
2422 2020-05-15 Alan Modra <amodra@gmail.com>
2423 Alex Coplan <alex.coplan@arm.com>
2425 * symbols.c (struct local_symbol): Update comment.
2426 (resolve_symbol_value): For resolved symbols equated to other
2427 symbols, verify that the referenced symbol is not a local_symbol
2428 before accessing sy_value. Don't leave symbol loops during
2429 finalize_syms resolution.
2430 * testsuite/gas/all/assign-bad-recursive.d: New test.
2431 * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
2432 * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
2433 * testsuite/gas/all/gas.exp: Run it.
2435 2020-05-14 Nick Clifton <nickc@redhat.com>
2437 * po/sv.po: Updated Swedish translation.
2439 2020-05-11 Alan Modra <amodra@gmail.com>
2441 * testsuite/gas/ppc/scalarquad.d,
2442 * testsuite/gas/ppc/scalarquad.s: New test.
2443 * testsuite/gas/ppc/ppc.exp: Run it.
2445 2020-05-11 Alan Modra <amodra@gmail.com>
2447 * testsuite/gas/ppc/rightmost.d,
2448 * testsuite/gas/ppc/rightmost.s: New test.
2449 * testsuite/gas/ppc/ppc.exp: Run it.
2451 2020-05-11 Alan Modra <amodra@gmail.com>
2453 * testsuite/gas/ppc/xvtlsbb.d,
2454 * testsuite/gas/ppc/xvtlsbb.s: New test.
2455 * testsuite/gas/ppc/ppc.exp: Run it.
2457 2020-05-11 Alan Modra <amodra@gmail.com>
2459 * testsuite/gas/ppc/stringop.d,
2460 * testsuite/gas/ppc/stringop.s: New test.
2461 * testsuite/gas/ppc/ppc.exp: Run it.
2463 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2465 * testsuite/gas/ppc/set_bool.d,
2466 * testsuite/gas/ppc/set_bool.s: New test.
2467 * testsuite/gas/ppc/ppc.exp: Run it.
2469 2020-05-11 Alan Modra <amodra@gmail.com>
2471 * testsuite/gas/ppc/bitmanip.d,
2472 * testsuite/gas/ppc/bitmanip.s: New test.
2473 * testsuite/gas/ppc/ppc.exp: Run it.
2475 2020-05-11 Alan Modra <amodra@gmail.com>
2477 * testsuite/gas/ppc/genpcv.d,
2478 * testsuite/gas/ppc/genpcv.s: New test.
2479 * testsuite/gas/ppc/ppc.exp: Run it.
2481 2020-05-11 Alan Modra <amodra@gmail.com>
2483 * testsuite/gas/ppc/maskmanip.d,
2484 * testsuite/gas/ppc/maskmanip.s: New test.
2485 * testsuite/gas/ppc/ppc.exp: Run it.
2487 2020-05-11 Alan Modra <amodra@gmail.com>
2488 Peter Bergner <bergner@linux.ibm.com>
2490 * config/tc-ppc.c (pre_defined_registers): Add accumulators.
2491 (md_assemble): Check acc specified in correct operand.
2492 * testsuite/gas/ppc/outerprod.d,
2493 * testsuite/gas/ppc/outerprod.s,
2494 * testsuite/gas/ppc/vsx4.d,
2495 * testsuite/gas/ppc/vsx4.s: New tests.
2496 * testsuite/gas/ppc/ppc.exp: Run them.
2498 2020-05-11 Alan Modra <amodra@gmail.com>
2500 * testsuite/gas/ppc/simd_perm.d,
2501 * testsuite/gas/ppc/simd_perm.s: New test.
2502 * testsuite/gas/ppc/ppc.exp: Run it.
2504 2020-05-11 Alan Modra <amodra@gmail.com>
2506 * testsuite/gas/ppc/int128.d,
2507 * testsuite/gas/ppc/int128.s: New test.
2508 * testsuite/gas/ppc/ppc.exp: Run it.
2510 2020-05-11 Alan Modra <amodra@gmail.com>
2512 * testsuite/gas/ppc/vsx_32byte.d,
2513 * testsuite/gas/ppc/vsx_32byte.s: New test.
2514 * testsuite/gas/ppc/ppc.exp: Run it.
2516 2020-05-11 Alan Modra <amodra@gmail.com>
2518 * testsuite/gas/ppc/vec_mul.s,
2519 * testsuite/gas/ppc/vec_mul.d: New test.
2520 * testsuite/gas/ppc/ppc.exp: Run it.
2522 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2524 * testsuite/gas/ppc/byte_rev.d,
2525 * testsuite/gas/ppc/byte_rev.s: New test.
2526 * testsuite/gas/ppc/ppc.exp: Run it.
2528 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2530 * testsuite/gas/ppc/power10.d: Add paste. tests.
2531 * testsuite/gas/ppc/power10.s: Likewise.
2533 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
2535 * testsuite/gas/ppc/power10.s: New test.
2536 * testsuite/gas/ppc/power10.d: Likewise.
2537 * testsuite/gas/ppc/ppc.exp: Run it.
2539 2020-05-11 Alan Modra <amodra@gmail.com>
2541 * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
2543 * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
2544 place of -mfuture/-Mfuture.
2545 * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
2546 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
2548 2020-05-06 Nick Clifton <nickc@redhat.com>
2550 * po/sv.po: Updated Swedish translation.
2552 2020-05-06 Nick Clifton <nickc@redhat.com>
2555 * doc/as.texi (Preprocessing): Replace cross reference to not
2556 existant document with a URL to the equivalent page in the GCC
2559 2020-05-05 Nick Clifton <nickc@redhat.com>
2561 * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
2562 construction of a DWARF-5 directory name table.
2563 * testsuite/gas/elf/pr25917.d: Update expected output.
2565 2020-05-05 Gunther Nikl <gnikl@justmail.de>
2567 * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
2568 (md_parse_option): Remove initialization of elf_flags.
2570 2020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com>
2573 * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
2574 * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
2575 * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
2577 2020-05-04 Nick Clifton <nickc@redhat.com>
2580 * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
2581 table's existence before looking at its entries.
2582 Also do not emit a default directory entry if there are no
2585 * testsuite/gas/elf/pr25917.s: New test source file.
2586 * testsuite/gas/elf/pr25917.d: New test driver.
2587 * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
2589 2020-04-30 Alex Coplan <alex.coplan@arm.com>
2591 * config/tc-aarch64.c (fix_insn): Implement for
2592 AARCH64_OPND_UNDEFINED.
2593 (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
2594 * testsuite/gas/aarch64/udf.s: New.
2595 * testsuite/gas/aarch64/udf.d: New.
2596 * testsuite/gas/aarch64/udf-invalid.s: New.
2597 * testsuite/gas/aarch64/udf-invalid.l: New.
2598 * testsuite/gas/aarch64/udf-invalid.d: New.
2600 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
2602 * config/tc-rx.c (elf_flags): Reset default value.
2603 (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
2605 2020-04-29 Max Filippov <jcmvbkbc@gmail.com>
2607 * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
2608 if it's not defined.
2609 (microarch_earliest): New static variable.
2610 (xg_translate_idioms): Translate "simcall" to "simcall 0" when
2611 simcall opcode has mandatory parameter.
2612 (xg_init_global_config): Initialize microarch_earliest.
2614 2020-04-29 Nick Clifton <nickc@redhat.com>
2617 * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
2618 IMM0_8S and add support for IMM0_8U.
2619 * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
2620 unsigned 8-bit immediate.
2621 * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
2622 * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
2624 2020-04-27 Tamar Christina <tamar.christina@arm.com>
2626 * NEWS: Add news entry for big-obj.
2627 * config/tc-i386.c (i386_target_format): Support new format.
2628 * doc/c-i386.texi: Add i386 support.
2629 * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
2630 * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
2632 2020-04-27 Nick Clifton <nickc@redhat.com>
2635 * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
2636 (assign_file_to_slot): New function. Fills in an entry in the
2638 (allocate_filenum): Use new function.
2639 (allocate_filename_to_slot): Use new function. If the specified
2640 slot entry is already in use, but was chosen automatically then
2641 reassign the automatic entry.
2643 2020-04-26 Hongtao Liu <hongtao.liu@intel.com
2645 * config/tc-i386.c (lfence_before_ret_shl): New member.
2646 (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
2648 (insert_after_load): Issue warning for REP CMPS/SCAS.
2649 (insert_before_before): Handle iret, Handle
2650 -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
2651 (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
2652 -mlfence-before-ret=[none/not/or/shl/yes].
2653 Enable -mlfence-before-ret=shl when
2654 -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
2655 (md_show_usage): Ditto.
2656 * doc/c-i386.texi: Ditto.
2657 * testsuite/gas/i386/i386.exp: Add new testcases.
2658 * testsuite/gas/i386/lfence-load-b.d: New.
2659 * testsuite/gas/i386/lfence-load-b.e: New.
2660 * testsuite/gas/i386/lfence-load.d: Modified.
2661 * testsuite/gas/i386/lfence-load.e: New.
2662 * testsuite/gas/i386/lfence-load.s: Modified.
2663 * testsuite/gas/i386/lfence-ret-a.d: Modified.
2664 * testsuite/gas/i386/lfence-ret-b.d: Modified.
2665 * testsuite/gas/i386/lfence-ret-c.d: New.
2666 * testsuite/gas/i386/lfence-ret-d.d: New.
2667 * testsuite/gas/i386/lfence-ret.s: Modified.
2668 * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
2669 * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
2670 * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
2671 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
2672 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
2673 * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
2674 * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
2675 * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
2676 * testsuite/gas/i386/x86-64-lfence-ret.e: New.
2677 * testsuite/gas/i386/x86-64-lfence-ret.s: New.
2679 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
2682 * config/tc-xtensa.c (md_apply_fix): Replace
2683 BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
2684 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
2685 BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
2686 * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
2687 with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
2689 2020-04-22 Alan Modra <amodra@gmail.com>
2691 * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
2692 symbol for ".symver .. remove".
2693 * doc/as.texi (.symver): Update.
2694 * testsuite/gas/symver/symver11.s: Make foo weak.
2695 * testsuite/gas/symver/symver11.d: Expect an error.
2696 * testsuite/gas/symver/symver7.d: Allow other random symbols.
2698 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
2700 * testsuite/gas/symver/symver11.s: Add ".balign 8".
2702 2020-04-21 Andreas Schwab <schwab@linux-m68k.org>
2705 * testsuite/gas/m68k/operands.s: Add tests for cmpi.
2706 * testsuite/gas/m68k/operands.d: Update.
2707 * testsuite/gas/m68k/op68000.d: Update for new error messages.
2709 2020-04-21 Tamar Christina <tamar.christina@arm.com>
2712 * testsuite/gas/arm/pr24753.d: New test.
2713 * testsuite/gas/arm/pr24753.s: New test.
2715 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
2719 * NEWS: Mention .symver extension.
2720 * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
2722 (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
2723 add a version name. Add local, hidden and remove visibility
2725 (elf_frob_symbol): Handle the list of version names. Update the
2726 original symbol to local, hidden or remove it from the symbol
2728 (elf_frob_file_before_adjust): Handle the list of version names.
2729 * config/obj-elf.h (elf_visibility): New.
2730 (elf_versioned_name_list): Likewise.
2731 (elf_obj_sy): Change local to bitfield. Add rename, bad_version
2732 and visibility. Change versioned_name pointer to struct
2733 elf_versioned_name_list.
2734 * doc/as.texi: Update .symver directive.
2735 * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more
2736 error checking tests.
2737 * testsuite/gas/symver/symver6.d: New file.
2738 * testsuite/gas/symver/symver7.d: Likewise.
2739 * testsuite/gas/symver/symver7.s: Likewise.
2740 * testsuite/gas/symver/symver8.d: Likewise.
2741 * testsuite/gas/symver/symver8.s: Likewise.
2742 * testsuite/gas/symver/symver9.s: Likewise.
2743 * testsuite/gas/symver/symver9a.d: Likewise.
2744 * testsuite/gas/symver/symver9b.d: Likewise.
2745 * testsuite/gas/symver/symver10.s: Likewise.
2746 * testsuite/gas/symver/symver10a.d: Likewise.
2747 * testsuite/gas/symver/symver10b.d: Likewise.
2748 * testsuite/gas/symver/symver11.d: Likewise.
2749 * testsuite/gas/symver/symver11.s: Likewise.
2750 * testsuite/gas/symver/symver12.d: Likewise.
2751 * testsuite/gas/symver/symver12.s: Likewise.
2752 * testsuite/gas/symver/symver13.d: Likewise.
2753 * testsuite/gas/symver/symver13.s: Likewise.
2754 * testsuite/gas/symver/symver14.d: Likewise.
2755 * testsuite/gas/symver/symver14.l: Likewise.
2756 * testsuite/gas/symver/symver15.d: Likewise.
2757 * testsuite/gas/symver/symver15.l: Likewise.
2758 * testsuite/gas/symver/symver6.l: Removed.
2759 * testsuite/gas/symver/symver6.s: Updated.
2761 2020-04-20 Sudakshina Das <sudi.das@arm.com>
2763 * config/tc-aarch64.c (parse_barrier_psb): Update error messages
2765 * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests.
2766 * testsuite/gas/aarch64/system-2.s: Add new tsb tests.
2767 * testsuite/gas/aarch64/system.d: Update.
2769 2020-04-20 Sudakshina Das <sudi.das@arm.com>
2771 * testsuite/gas/aarch64/bti.d: Update -march option.
2772 * testsuite/gas/aarch64/illegal-bti.d: Remove.
2773 * testsuite/gas/aarch64/illegal-bti.l: Remove.
2774 * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
2775 * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
2777 2020-04-17 Alan Modra <amodra@gmail.com>
2779 * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot.
2781 2020-04-16 Gagan Singh Sidhu <broly@mac.com>
2782 Nick Clifton <nickc@redhat.com>
2785 * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
2787 * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
2788 for the type-2 test.
2789 * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
2790 targets running this test.
2792 2020-02-16 David Faust <david.faust@oracle.com>
2794 * testsuite/gas/bpf/bpf.exp: Run jump32 tests.
2795 * testsuite/gas/bpf/jump32.s: New file.
2796 * testsuite/gas/bpf/jump32.d: Likewise.
2798 2020-04-08 H.J. Lu <hongjiu.lu@intel.com>
2800 * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
2803 2020-04-08 Gunther Nikl <gnikl@justmail.de>
2805 * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
2806 (md_pcrel_from): Remove prototytpe.
2807 * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
2809 (md_pcrel_from_section): Remove duplicate prototype.
2810 * tc.h (md_pcrel_from_section): Add prototype.
2811 * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
2812 * config/tc-arc.h (md_pcrel_from_section): Likewise.
2813 * config/tc-arm.h (md_pcrel_from_section): Likewise.
2814 * config/tc-avr.h (md_pcrel_from_section): Likewise.
2815 * config/tc-bfin.h (md_pcrel_from_section): Likewise.
2816 * config/tc-bpf.h (md_pcrel_from_section): Likewise.
2817 * config/tc-csky.h (md_pcrel_from_section): Likewise.
2818 * config/tc-d10v.h (md_pcrel_from_section): Likewise.
2819 * config/tc-d30v.h (md_pcrel_from_section): Likewise.
2820 * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
2821 * config/tc-fr30.h (md_pcrel_from_section): Likewise.
2822 * config/tc-frv.h (md_pcrel_from_section): Likewise.
2823 * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
2824 * config/tc-lm32.h (md_pcrel_from_section): Likewise.
2825 * config/tc-m32c.h (md_pcrel_from_section): Likewise.
2826 * config/tc-m32r.h (md_pcrel_from_section): Likewise.
2827 * config/tc-mcore.h (md_pcrel_from_section): Likewise.
2828 * config/tc-mep.h (md_pcrel_from_section): Likewise.
2829 * config/tc-metag.h (md_pcrel_from_section): Likewise.
2830 * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
2831 * config/tc-mmix.h (md_pcrel_from_section): Likewise.
2832 * config/tc-moxie.h (md_pcrel_from_section): Likewise.
2833 * config/tc-msp430.h (md_pcrel_from_section): Likewise.
2834 * config/tc-mt.h (md_pcrel_from_section): Likewise.
2835 * config/tc-or1k.h (md_pcrel_from_section): Likewise.
2836 * config/tc-ppc.h (md_pcrel_from_section): Likewise.
2837 * config/tc-rl78.h (md_pcrel_from_section): Likewise.
2838 * config/tc-rx.h (md_pcrel_from_section): Likewise.
2839 * config/tc-s390.h (md_pcrel_from_section): Likewise.
2840 * config/tc-sh.h (md_pcrel_from_section): Likewise.
2841 * config/tc-xc16x.h (md_pcrel_from_section): Likewise.
2842 * config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
2843 * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
2844 md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
2845 md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
2846 md_apply_fix3): Delete prototypes.
2848 2020-04-07 H.J. Lu <hongjiu.lu@intel.com>
2850 * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
2853 2020-04-07 H.J. Lu <hongjiu.lu@intel.com>
2855 * doc/c-z80.texi: Fix @xref warnings.
2857 2020-04-07 Lili Cui <lili.cui@intel.com>
2859 * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
2860 (cpu_noarch): Likewise.
2861 * doc/c-i386.texi: Document TSXLDTRK.
2862 * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
2863 * testsuite/gas/i386/tsxldtrk.d: Likewise.
2864 * testsuite/gas/i386/tsxldtrk.s: Likewise.
2865 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
2867 2020-04-02 Lili Cui <lili.cui@intel.com>
2869 * config/tc-i386.c (cpu_arch): Add .serialize.
2870 (cpu_noarch): Likewise.
2871 * doc/c-i386.texi: Document serialize.
2872 * testsuite/gas/i386/i386.exp: Run serialize tests
2873 * testsuite/gas/i386/serialize.d: Likewise.
2874 * testsuite/gas/i386/x86-64-serialize.d: Likewise.
2875 * testsuite/gas/i386/serialize.s: Likewise.
2877 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2879 * testsuite/gas/elf/section12a.d: Use notarget instead of xfail.
2880 * testsuite/gas/elf/section12b.d: Likewise.
2881 * testsuite/gas/elf/section16a.d: Likewise.
2882 * testsuite/gas/elf/section16b.d: Likewise.
2884 2020-04-02 Gunther Nikl <gnikl@justmail.de>
2886 * config/tc-m68k.c (m68k_ip): Fix range check for index register
2887 with a suppressed address register.
2889 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
2892 * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New.
2893 * testsuite/gas/i386/localpic.s: Add a test for relocation
2894 against local absolute symbol.
2895 * testsuite/gas/i386/x86-64-localpic.s: Likewise.
2896 * testsuite/gas/i386/localpic.d: Updated.
2897 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2898 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2900 2020-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2903 * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
2904 * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
2905 * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
2906 testsuite/gas/i386/x86-64-jump.d.
2907 * gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
2908 Incorporate changes to
2909 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
2910 * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
2911 changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
2912 * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
2913 * testsuite/gas/i386/x86-64-branch-3.d: Likewise.
2915 2020-03-31 Maciej W. Rozycki <macro@linux-mips.org>
2919 * dwarf2dbg.c: Do not include "bignum.h".
2921 2020-03-30 Nelson Chu <nelson.chu@sifive.com>
2923 * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo.
2924 * testsuite/gas/riscv/alias-csr.s: Likewise.
2925 * testsuite/gas/riscv/no-aliases-csr.d: Move this
2926 to priv-reg-pseudo-noalias.
2927 * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent.
2928 * testsuite/gas/riscv/bad-csr.l: Likewise.
2929 * testsuite/gas/riscv/bad-csr.s: Likewise.
2930 * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg.
2931 * testsuite/gas/riscv/satp.s: Likewise.
2932 * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo
2933 csr instruction, including alias-csr testcase.
2934 * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise.
2935 * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all
2936 pseudo instruction with objdump -Mno-aliases.
2937 * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase.
2938 * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise.
2939 * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise.
2940 * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11.
2941 * testsuite/gas/riscv/priv-reg.s: Likewise.
2942 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2943 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
2944 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
2946 2020-03-25 J.W. Jagersma <jwjagersma@gmail.com>
2948 * config/obj-coff.c (obj_coff_section): Set the bss flag on
2949 sections with the "b" attribute.
2951 2020-03-22 Alan Modra <amodra@gmail.com>
2953 * testsuite/gas/s12z/truncated.d: Update expected output.
2955 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
2958 * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
2959 * doc/c-z80.texi: Update documentation.
2961 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
2966 Fix disassembling ED+A4/AC/B4/BC opcodes.
2967 Fix assembling lines containing colonless label and instruction
2968 with first operand inside parentheses.
2969 Fix registration of unsupported by target CPU registers.
2970 * config/tc-z80.c: See above.
2971 * config/tc-z80.h: See above.
2972 * testsuite/gas/z80/colonless.d: Update test.
2973 * testsuite/gas/z80/colonless.s: Likewise.
2974 * testsuite/gas/z80/ez80_adl_all.d: Likewise.
2975 * testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
2976 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
2977 * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
2978 * testsuite/gas/z80/r800_unsup_regs.d: Likewise.
2979 * testsuite/gas/z80/unsup_regs.s: Likewise.
2980 * testsuite/gas/z80/z180_unsup_regs.d: Likewise.
2981 * testsuite/gas/z80/z80.exp: Likewise.
2982 * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
2983 * testsuite/gas/z80/z80_unsup_regs.d: Likewise.
2984 * testsuite/gas/z80/z80n_unsup_regs.d: Likewise.
2986 2020-03-13 Andre Vieira <andre.simoesdiasvieira@arm.com>
2989 * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ.
2990 (parse_operands): Handle new operand codes.
2991 (do_neon_dyadic_long): Make shape check accept the scalar variants.
2992 (asm_opcode_insns): Fix operand codes for vaddl and vsubl.
2993 * testsuite/gas/arm/mve-vaddsub-it.s: New test.
2994 * testsuite/gas/arm/mve-vaddsub-it.d: New test.
2995 * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test.
2996 * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test.
2997 * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test.
2998 * testsuite/gas/arm/nomve-vaddsub-it.d: New test.
3000 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3002 * NEWS: Mention x86 assembler options for CVE-2020-0551.
3004 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3006 * testsuite/gas/i386/i386.exp: Run new tests.
3007 * testsuite/gas/i386/lfence-byte.d: New file.
3008 * testsuite/gas/i386/lfence-byte.e: Likewise.
3009 * testsuite/gas/i386/lfence-byte.s: Likewise.
3010 * testsuite/gas/i386/lfence-indbr-a.d: Likewise.
3011 * testsuite/gas/i386/lfence-indbr-b.d: Likewise.
3012 * testsuite/gas/i386/lfence-indbr-c.d: Likewise.
3013 * testsuite/gas/i386/lfence-indbr.e: Likewise.
3014 * testsuite/gas/i386/lfence-indbr.s: Likewise.
3015 * testsuite/gas/i386/lfence-load.d: Likewise.
3016 * testsuite/gas/i386/lfence-load.s: Likewise.
3017 * testsuite/gas/i386/lfence-ret-a.d: Likewise.
3018 * testsuite/gas/i386/lfence-ret-b.d: Likewise.
3019 * testsuite/gas/i386/lfence-ret.s: Likewise.
3020 * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise.
3021 * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise.
3022 * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise.
3023 * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise.
3024 * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise.
3025 * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise.
3026 * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise.
3027 * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise.
3028 * testsuite/gas/i386/x86-64-lfence-load.d: Likewise.
3029 * testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
3030 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise.
3031 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise.
3033 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3035 * config/tc-i386.c (lfence_after_load): New.
3036 (lfence_before_indirect_branch_kind): New.
3037 (lfence_before_indirect_branch): New.
3038 (lfence_before_ret_kind): New.
3039 (lfence_before_ret): New.
3042 (insert_lfence_after): New.
3043 (insert_lfence_before): New.
3044 (md_assemble): Call insert_lfence_before and insert_lfence_after.
3046 (OPTION_MLFENCE_AFTER_LOAD): New.
3047 (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New.
3048 (OPTION_MLFENCE_BEFORE_RET): New.
3049 (md_longopts): Add -mlfence-after-load=,
3050 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3051 (md_parse_option): Handle -mlfence-after-load=,
3052 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3053 (md_show_usage): Display -mlfence-after-load=,
3054 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3055 (i386_cons_align): New.
3056 * config/tc-i386.h (i386_cons_align): New.
3057 (md_cons_align): New.
3058 * doc/c-i386.texi: Document -mlfence-after-load=,
3059 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3061 2020-03-11 Nick Clifton <nickc@redhat.com>
3065 * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1.
3066 (DWARF2_FILE_SIZE_NAME): Default to -1.
3067 (DWARF2_LINE_VERSION): Default to the current dwarf level or 3,
3068 whichever is higher.
3069 (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1.
3070 (NUM_MD5_BYTES): Define.
3071 (struct file entry): Add md5 field.
3072 (get_filenum): Delete and replace with...
3073 (get_basename): New function.
3074 (get_directory_table_entry): New function.
3075 (allocate_filenum): New function.
3076 (allocate_filename_to_slot): New function.
3077 (dwarf2_where): Use new functions.
3078 (dwarf2_directive_filename): Add support for extended .file
3080 (dwarf2_directive_loc): Allow the use of file number zero with
3082 (out_file_list): Rename to...
3083 (out_dir_and_file_list): Add DWARF 5 support.
3084 (out_debug_line): Emit extra values into the section header for
3086 (out_debug_str): Allow for file 0 to be used with DWARF 5.
3087 * doc/as.texi (.file): Update the description of this pseudo-op.
3088 * testsuite/gas/elf-dwarf-5-file0.s: Add more lines.
3089 * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output.
3090 * testsuite/gas/lns/lns-diag-1.l: Update expected error message.
3091 * NEWS: Mention the new feature.
3093 2020-03-10 Alan Modra <amodra@gmail.com>
3095 * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
3096 to avoid signed overflow.
3097 * config/tc-mcore.c (md_assemble): Likewise.
3098 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
3099 * config/tc-nds32.c (SET_ADDEND): Likewise.
3100 * config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
3102 2020-03-09 Jan Beulich <jbeulich@suse.com>
3104 * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos.
3105 * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d,
3106 testsuite/gas/i386/avx-intel.d: Adjust expectations.
3108 2020-03-07 Alan Modra <amodra@gmail.com>
3110 * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in
3113 2020-03-06 Nick Clifton <nickc@redhat.com>
3116 * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
3117 0 if the dwarf_level is 5 or more. Complain if a filename follows
3119 * testsuite/gas/elf/dwarf-5-file0.s: New test.
3120 * testsuite/gas/elf/dwarf-5-file0.d: New test driver.
3121 * testsuite/gas/elf/elf.exp: Run the new test.
3124 * config/tc-ia64.h (DWARF2_VERISION): Fix typo.
3125 * doc/as.texi: Fix another typo.
3127 2020-03-06 Nick Clifton <nickc@redhat.com>
3130 * as.c (dwarf_level): Define.
3131 (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
3132 (parse_args): Add support for the new options.
3133 as.h (dwarf_level): Prototype.
3134 * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
3136 * config/tc-ia64.h (DWARF2_VERISION): Update definition.
3137 (DWARF2_LINE_VERSION): Remove definition.
3138 * doc/as.texi: Document the new options.
3140 2020-03-06 Nick Clifton <nickc@redhat.com>
3143 * as.c (main): Allow matching input and outputs when they are
3146 2020-03-06 Jan Beulich <jbeulich@suse.com>
3148 * config/tc-i386.c (match_mem_size): Generalize broadcast special
3150 (check_VecOperands): Zap xmmword/ymmword/zmmword when more than
3151 one of byte/word/dword/qword is set alongside a SIMD register in
3152 a template's operand.
3154 2020-03-06 Jan Beulich <jbeulich@suse.com>
3156 * config/tc-i386.c (match_template): Extend code in logic
3157 rejecting certain suffixes in certain modes to also cover mask
3158 register use and VecSIB. Drop special casing of broadcast. Skip
3159 immediates in the check.
3161 2020-03-06 Jan Beulich <jbeulich@suse.com>
3163 * config/tc-i386.c (match_template): Fold duplicate code in
3164 logic rejecting certain suffixes in certain modes. Drop
3167 2020-03-06 Jan Beulich <jbeulich@suse.com>
3169 * config/tc-i386.c (process_suffix): Exlucde !vexw insns
3170 alongside !norex64 ones.
3171 * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR*
3172 with both 32- and 64-bit GPR operands.
3173 * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both
3174 32- and 64-bit GPR operands.
3175 * testsuite/gas/i386/x86-64-avx512bw-intel.d,
3176 testsuite/gas/i386/x86-64-avx512bw.d,
3177 testsuite/gas/i386/x86-64-avx512f-intel.d,
3178 testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations.
3180 2020-03-06 Jan Beulich <jbeulich@suse.com>
3182 * config/tc-i386.c (md_assemble): Drop use of rex64.
3183 (process_suffix): For REX.W for 64-bit CRC32.
3185 2020-03-06 Jan Beulich <jbeulich@suse.com>
3187 * config/tc-i386.c (i386_addressing_mode): For 32-bit
3188 addressing for MPX insns without base/index.
3189 * testsuite/gas/i386/mpx-16bit.s,
3190 * testsuite/gas/i386/mpx-16bit.d: New.
3191 * testsuite/gas/i386/i386.exp: Run new test.
3193 2020-03-06 Jan Beulich <jbeulich@suse.com>
3195 * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s,
3196 testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s,
3197 testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s,
3198 testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s,
3199 * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases
3200 as well as a BSWAP one.
3201 * testsuite/gas/i386/rdpid.s: Add 16-bit case.
3202 * testsuite/gas/i386/sse2-16bit.s: Cover more insns.
3203 * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d,
3204 testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
3205 testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d,
3206 testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d,
3207 testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d,
3208 testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d,
3209 testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d,
3210 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d,
3211 testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d,
3212 testsuite/gas/i386/vmx.d: Adjust expectations.
3214 2020-03-06 Jan Beulich <jbeulich@suse.com>
3216 * config/tc-i386.c (md_assemble): Also exclude tpause and umwait
3217 from having their operands swapped.
3218 * testsuite/gas/i386/waitpkg.s,
3219 testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait
3220 3-operand cases as well as testing of 16-bit code generation.
3221 * testsuite/gas/i386/waitpkg.d,
3222 testsuite/gas/i386/waitpkg-intel.d,
3223 testsuite/gas/i386/x86-64-waitpkg.d,
3224 testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations.
3226 2020-03-04 Nelson Chu <nelson.chu@sifive.com>
3228 * config/tc-riscv.c (percent_op_utype): Support the modifier
3230 * doc/c-riscv.texi: Add documentation.
3231 * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
3232 modifier %got_pcrel_hi.
3233 * testsuite/gas/riscv/no-relax-reloc.s: Likewise.
3234 * testsuite/gas/riscv/relax-reloc.d: Likewise.
3235 * testsuite/gas/riscv/relax-reloc.s: Likewise.
3237 * doc/c-riscv.texi (relocation modifiers): Add documentation.
3238 (RISC-V-Formats): Update the section name from "Instruction Formats"
3239 to "RISC-V Instruction Formats".
3241 2020-03-04 Alexandre Oliva <oliva@adacore.com>
3243 * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is
3244 detected in a section which does not have at least 4 byte
3246 * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive.
3247 * testsuite/gas/arm/ldr-t.s: Likewise.
3248 * testsuite/gas/arm/sp-pc-usage-t.s: Likewise.
3249 * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of
3250 disassembly, ignoring any NOPs that may have been inserted because
3251 of section alignment.
3252 * testsuite/gas/arm/ldr-t.d: Likewise.
3254 2020-03-04 Jan Beulich <jbeulich@suse.com>
3256 * config/tc-i386.c (cpu_arch): Add .sev_es entry.
3257 * doc/c-i386.texi: Mention sev_es.
3258 * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
3259 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
3261 * testsuite/gas/i386/arch-13-znver1.d,
3262 testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
3264 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3266 * config/tc-i386.c (match_template): Replace ignoresize and
3267 defaultsize with mnemonicsize.
3268 (process_suffix): Likewise.
3270 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
3273 * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of
3274 instruction LD IY,(HL).
3275 * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly.
3276 * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction.
3277 * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly.
3278 * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction.
3280 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3283 * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
3284 x86-64-default-suffix-avx.
3285 * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
3286 vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
3287 * testsuite/gas/i386/noreg64.d: Updated.
3288 * testsuite/gas/i386/noreg64.l: Likewise.
3289 * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
3290 * testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
3291 * testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
3293 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
3296 * config/tc-z80.c (contains_register): Prevent an illegal memory
3297 access when checking an expression for a register name.
3299 2020-03-03 Alan Modra <amodra@gmail.com>
3301 * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips
3304 2020-03-02 Alan Modra <amodra@gmail.com>
3306 * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section.
3307 * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata
3309 * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout.
3310 (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section.
3311 (s3_s_score_lcomm): Likewise.
3312 * config/tc-score7.c: Similarly.
3313 * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section.
3315 2020-02-28 YunQiang Su <syq@debian.org>
3318 * config/tc-mips.c (fix_loongson3_llsc): Compare label value
3319 to handle multi-labels.
3320 (has_label_name): New.
3322 2020-02-26 Matthew Malcomson <matthew.malcomson@arm.com>
3324 * config/tc-arm.c (enum pred_instruction_type): Remove
3325 NEUTRAL_IT_NO_VPT_INSN predication type.
3326 (cxn_handle_predication): Modify to require condition suffixes.
3327 (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases.
3328 * testsuite/gas/arm/cde-scalar.s: Update test.
3329 * testsuite/gas/arm/cde-warnings.l: Update test.
3330 * testsuite/gas/arm/cde-warnings.s: Update test.
3332 2020-02-26 Alan Modra <amodra@gmail.com>
3334 * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
3335 N_() on empty string.
3337 2020-02-26 Alan Modra <amodra@gmail.com>
3339 * read.c (read_a_source_file): Call strncpy with length one
3340 less than size of original_case_string.
3342 2020-02-26 Alan Modra <amodra@gmail.com>
3344 * config/obj-elf.c: Indent labels correctly.
3345 * config/obj-macho.c: Likewise.
3346 * config/tc-aarch64.c: Likewise.
3347 * config/tc-alpha.c: Likewise.
3348 * config/tc-arm.c: Likewise.
3349 * config/tc-cr16.c: Likewise.
3350 * config/tc-crx.c: Likewise.
3351 * config/tc-frv.c: Likewise.
3352 * config/tc-i386-intel.c: Likewise.
3353 * config/tc-i386.c: Likewise.
3354 * config/tc-ia64.c: Likewise.
3355 * config/tc-mn10200.c: Likewise.
3356 * config/tc-mn10300.c: Likewise.
3357 * config/tc-nds32.c: Likewise.
3358 * config/tc-riscv.c: Likewise.
3359 * config/tc-s12z.c: Likewise.
3360 * config/tc-xtensa.c: Likewise.
3361 * config/tc-z80.c: Likewise.
3363 * symbols.c: Likewise.
3364 * write.c: Likewise.
3366 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
3368 * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
3369 we are assembling instruction with CSR. Call riscv_csr_read_only_check
3370 after parsing all arguments.
3371 (enum csr_insn_type): New enum is used to classify the CSR instruction.
3372 (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These
3373 are used to check if we write a read-only CSR by the CSR instruction.
3374 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test
3375 all CSR for the read-only CSR checking.
3376 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
3377 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
3378 * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test
3379 all CSR instructions for the read-only CSR checking.
3380 * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
3381 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
3383 * config/tc-riscv.c (struct riscv_set_options): New field csr_check.
3384 (riscv_opts): Initialize it.
3385 (reg_lookup_internal): Check the `riscv_opts.csr_check`
3386 before doing the CSR checking.
3387 (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK.
3388 (md_longopts): Add mcsr-check and mno-csr-check.
3389 (md_parse_option): Handle new enum option values.
3390 (s_riscv_option): Handle new long options.
3391 * doc/c-riscv.texi: Add description for the new .option and assembler
3393 * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable
3395 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
3397 * config/tc-riscv.c (csr_extra_hash): New.
3398 (enum riscv_csr_class): New enum. Used to decide
3399 whether or not this CSR is legal in the current ISA string.
3400 (struct riscv_csr_extra): New structure to hold all extra information
3402 (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
3403 DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
3404 Call hash_reg_name to insert CSR address into reg_names_hash.
3405 (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
3406 Decide whether the CSR is valid according to the csr_extra_hash.
3407 (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
3408 (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
3409 not a boolean. This is same as riscv_init_csr_hash, so keep the
3411 (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
3412 * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
3413 * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
3414 * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
3415 file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
3416 f-ext CSR are not allowed.
3417 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
3418 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
3419 source file is `priv-reg.s`, and the ISA is rv64if, so the
3420 rv32-only CSR are not allowed.
3421 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
3423 2020-02-21 Alan Modra <amodra@gmail.com>
3425 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
3426 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
3428 2020-02-21 Alan Modra <amodra@gmail.com>
3431 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
3432 on section size adjustment, instead perform another write if
3433 exec header size is larger than section size.
3435 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
3437 * doc/c-riscv.texi: Add the doc entries for -march-attr/
3438 -mno-arch-attr command line options.
3440 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
3442 * testsuite/gas/riscv/c-add-addi.d: New testcase.
3443 * testsuite/gas/riscv/c-add-addi.s: Likewise.
3445 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
3448 * config/tc-z80.c (md_parse_option): Do not use an underscore
3449 prefix for local labels in SDCC compatability mode.
3450 (z80_start_line_hook): Remove SDCC dollar label support.
3451 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
3452 * testsuite/gas/z80/sdcc.s: Likewise.
3454 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
3457 * config/tc-z80.c: Add -march option.
3458 * doc/as.texi: Update Z80 documentation.
3459 * doc/c-z80.texi: Likewise.
3460 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
3461 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
3462 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
3463 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3464 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
3465 * testsuite/gas/z80/gbz80_all.d: Likewise.
3466 * testsuite/gas/z80/r800_extra.d: Likewise.
3467 * testsuite/gas/z80/r800_ii8.d: Likewise.
3468 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
3469 * testsuite/gas/z80/sdcc.d: Likewise.
3470 * testsuite/gas/z80/z180.d: Likewise.
3471 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
3472 * testsuite/gas/z80/z80_doc.d: Likewise.
3473 * testsuite/gas/z80/z80_ii8.d: Likewise.
3474 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
3475 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
3476 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
3477 * testsuite/gas/z80/z80_sli.d: Likewise.
3478 * testsuite/gas/z80/z80n_all.d: Likewise.
3479 * testsuite/gas/z80/z80n_reloc.d: Likewise.
3481 2020-02-19 H.J. Lu <hongjiu.lu@intel.com>
3483 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
3484 with GNU_PROPERTY_X86_FEATURE_2_MMX.
3485 * testsuite/gas/i386/i386.exp: Run property-3 and
3487 * testsuite/gas/i386/property-3.d: New file.
3488 * testsuite/gas/i386/property-3.s: Likewise.
3489 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
3491 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
3493 * config/tc-i386.c (cpu_arch): Add .popcnt.
3494 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
3495 Add a tab before @samp{.sse4a}.
3497 2020-02-17 Jan Beulich <jbeulich@suse.com>
3499 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
3500 for AddrPrefixOpReg templates. Combine the two pieces of
3501 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
3504 2020-02-17 Jan Beulich <jbeulich@suse.com>
3507 * config/tc-i386.c (md_assemble): Also suppress operand
3508 swapping for MONITOR{,X} and MWAIT{,X}.
3509 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
3510 Add Intel syntax monitor/mwait tests.
3511 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
3512 Adjust expectations.
3513 *testsuite/gas/i386/sse3-intel.d,
3514 testsuite/gas/i386/x86-64-sse3-intel.d: New.
3515 * testsuite/gas/i386/i386.exp: Run new tests.
3517 2020-02-17 Jan Beulich <jbeulich@suse.com>
3520 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
3521 [XYZ]MMWord memory operand ambiguity recognition logic (largely
3523 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
3525 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
3526 * testsuite/gas/i386/avx512dq-inval.l,
3527 testsuite/gas/i386/inval-avx.l,
3528 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
3529 * testsuite/gas/i386/avx512vl-ambig.s,
3530 testsuite/gas/i386/avx512vl-ambig.l: New.
3531 * testsuite/gas/i386/i386.exp: Run new test.
3533 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
3535 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
3537 * doc/c-i386.texi: Document sse4a and nosse4a.
3539 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
3541 * doc/c-i386.texi: Remove the old movsx and movzx documentation
3544 2020-02-14 Jan Beulich <jbeulich@suse.com>
3547 * config/tc-i386.c (md_assemble): Move movsx/movzx special
3549 (process_suffix): ... here. Consider just the first operand
3551 (check_long_reg): Drop opcode 0x63 special case again.
3552 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
3553 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
3554 Move ambiguous operand size tests ...
3555 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
3556 testsuite/gas/i386/noreg64.s: ... here.
3557 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
3558 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
3559 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
3560 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
3561 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
3562 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
3563 testsuite/gas/i386/x86-64-movsxd.d,
3564 testsuite/gas/i386/x86-64-movsxd-intel.d,
3565 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
3566 Adjust expectations.
3567 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
3568 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
3569 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
3570 * testsuite/gas/i386/i386.exp: Run new tests.
3572 2020-02-14 Jan Beulich <jbeulich@suse.com>
3574 * config/tc-i386.c (process_operands): Also skip segment
3575 override prefix emission if it matches an already present one.
3576 * testsuite/gas/i386/prefix32.s: Add double segment override
3578 * testsuite/gas/i386/prefix32.l: Adjust expectations.
3580 2020-02-14 Jan Beulich <jbeulich@suse.com>
3582 * config/tc-i386.c (process_operands): Drop ineffectual segment
3583 overrides when optimizing.
3584 * testsuite/gas/i386/lea-optimize.d: New.
3585 * testsuite/gas/i386/i386.exp: Run new test.
3587 2020-02-14 Jan Beulich <jbeulich@suse.com>
3589 * config/tc-i386.c (process_operands): Also check insn prefix
3590 for ineffectual segment override warning. Don't cover possible
3591 VEX/EVEX encoded insns there.
3592 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
3593 testsuite/gas/i386/lea.e: New.
3594 * testsuite/gas/i386/i386.exp: Run new test.
3596 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
3599 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
3602 2020-02-13 Fangrui Song <maskray@google.com>
3603 H.J. Lu <hongjiu.lu@intel.com>
3606 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
3607 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
3608 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
3609 * testsuite/gas/i386/relax-5.d: New file.
3610 * testsuite/gas/i386/relax-5.s: Likewise.
3611 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
3612 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
3614 2020-02-13 Jan Beulich <jbeulich@suse.com>
3616 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
3619 2020-02-12 Jan Beulich <jbeulich@suse.com>
3621 * config/tc-i386.c (avx512): New (at file scope), moved from
3622 (check_VecOperands): ... here.
3623 (process_suffix): Add [XYZ]MMword operand size handling.
3624 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
3625 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
3627 * testsuite/gas/i386/avx512dq-inval.l,
3628 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
3630 2020-02-12 Jan Beulich <jbeulich@suse.com>
3633 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
3635 * config/tc-i386-intel.c (i386_intel_operand): Also handle
3636 CALL/JMP in O_tbyte_ptr case.
3637 * doc/c-i386.texi: Mention far call and full pointer load ISA
3639 * testsuite/gas/i386/x86-64-branch-3.s,
3640 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
3641 * testsuite/gas/i386/x86-64-branch-3.d,
3642 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
3643 * testsuite/gas/i386/x86-64-branch-5.l,
3644 testsuite/gas/i386/x86-64-branch-5.s: New.
3645 * testsuite/gas/i386/i386.exp: Run new test.
3647 2020-02-12 Jan Beulich <jbeulich@suse.com>
3650 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
3651 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
3652 64-bit-only warning.
3653 (check_word_reg): Consistently error on mismatching register
3655 * testsuite/gas/i386/general.s: Replace dword GPR with word one
3656 for movw. Replace suffix / GPR for orb.
3657 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
3658 byte GPRs as well as ones for inb/outb with a word accumulator.
3659 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
3660 testsuite/gas/i386/inval.l: Adjust expectations.
3662 2020-02-12 Jan Beulich <jbeulich@suse.com>
3664 * config/tc-i386.c (operand_type_register_match): Also fall
3665 through initial two if()-s when the template allows for a GPR
3666 operand. Adjust comment.
3668 2020-02-11 Jan Beulich <jbeulich@suse.com>
3670 (struct _i386_insn): New field "short_form".
3671 (optimize_encoding): Drop setting of shortform field.
3672 (process_suffix): Set i.short_form. Replace shortform use.
3673 (process_operands): Replace shortform use.
3675 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
3677 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
3678 loop initial declaration.
3680 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
3682 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
3683 instructions that can have 5 arguments.
3684 (enum operand_parse_code): Add new operands.
3685 (parse_operands): Account for new operands.
3687 (enum neon_shape_el): Introduce P suffixes for coprocessor.
3688 (neon_select_shape): Account for P suffix.
3689 (LOW1): Move macro to global position.
3690 (HI4): Move macro to global position.
3691 (vcx_assign_vec_d): New.
3692 (vcx_assign_vec_m): New.
3693 (vcx_assign_vec_n): New.
3694 (enum vcx_reg_type): New.
3695 (vcx_get_reg_type): New.
3696 (vcx_size_pos): New.
3698 (vcx_handle_shape): New.
3699 (vcx_ensure_register_in_range): New.
3700 (vcx_handle_register_arguments): New.
3701 (vcx_handle_insn_block): New.
3702 (vcx_handle_common_checks): New.
3706 * testsuite/gas/arm/cde-missing-fp.d: New test.
3707 * testsuite/gas/arm/cde-missing-fp.l: New test.
3708 * testsuite/gas/arm/cde-missing-mve.d: New test.
3709 * testsuite/gas/arm/cde-missing-mve.l: New test.
3710 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
3711 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
3712 * testsuite/gas/arm/cde-mve.s: New test.
3713 * testsuite/gas/arm/cde-warnings.l:
3714 * testsuite/gas/arm/cde-warnings.s:
3715 * testsuite/gas/arm/cde.d:
3716 * testsuite/gas/arm/cde.s:
3718 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
3719 Matthew Malcomson <matthew.malcomson@arm.com>
3721 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
3722 CDE coprocessor that can be enabled.
3723 (enum pred_instruction_type): New pred type.
3724 (BAD_NO_VPT): New error message.
3725 (BAD_CDE): New error message.
3726 (BAD_CDE_COPROC): New error message.
3727 (enum operand_parse_code): Add new immediate operands.
3728 (parse_operands): Account for new immediate operands.
3729 (check_cde_operand): New.
3730 (cde_coproc_enabled): New.
3731 (cde_coproc_pos): New.
3732 (cde_handle_coproc): New.
3733 (cxn_handle_predication): New.
3734 (do_custom_instruction_1): New.
3735 (do_custom_instruction_2): New.
3736 (do_custom_instruction_3): New.
3749 (handle_pred_state): Define new IT block behaviour.
3750 (insns): Add newn CX*{,d}{,a} instructions.
3751 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
3752 Define new cdecp extension strings.
3753 * doc/c-arm.texi: Document new cdecp extension arguments.
3754 * testsuite/gas/arm/cde-scalar.d: New test.
3755 * testsuite/gas/arm/cde-scalar.s: New test.
3756 * testsuite/gas/arm/cde-warnings.d: New test.
3757 * testsuite/gas/arm/cde-warnings.l: New test.
3758 * testsuite/gas/arm/cde-warnings.s: New test.
3759 * testsuite/gas/arm/cde.d: New test.
3760 * testsuite/gas/arm/cde.s: New test.
3762 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3765 * config/tc-i386.c (intel64): Renamed to ...
3767 (match_template): Accept Intel64 only instruction by default.
3768 (i386_displacement): Updated.
3769 (md_parse_option): Updated.
3770 * c-i386.texi: Update -mamd64/-mintel64 documentation.
3771 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
3772 -mamd64 to x86-64-sysenter-amd.
3773 * testsuite/gas/i386/x86-64-sysenter.d: New file.
3775 2020-02-10 Alan Modra <amodra@gmail.com>
3777 * config/obj-elf.c (obj_elf_change_section): Error for section
3778 type, attr or entsize changes in assembly.
3779 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
3780 * testsuite/gas/elf/section5.l: Update.
3782 2020-02-10 Alan Modra <amodra@gmail.com>
3784 * output-file.c (output_file_close): Do a normal close when
3785 flag_always_generate_output.
3786 * write.c (write_object_file): Don't stop output when
3787 flag_always_generate_output.
3789 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
3792 * config/tc-z80.c: Add -gbz80 command line option to generate code
3793 for the GameBoy Z80. Add support for generating DWARF.
3794 * config/tc-z80.h: Add support for DWARF debug information
3796 * doc/c-z80.texi: Document new command line option.
3797 * testsuite/gas/z80/gbz80_all.d: New file.
3798 * testsuite/gas/z80/gbz80_all.s: New file.
3799 * testsuite/gas/z80/z80.exp: Run the new tests.
3800 * testsuite/gas/z80/z80n_all.d: New file.
3801 * testsuite/gas/z80/z80n_all.s: New file.
3802 * testsuite/gas/z80/z80n_reloc.d: New file.
3804 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3807 * config/obj-elf.c (get_section): Also check
3808 linked_to_symbol_name.
3809 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
3810 (obj_elf_parse_section_letters): Handle the 'o' flag.
3811 (build_group_lists): Renamed to ...
3812 (build_additional_section_info): This. Set elf_linked_to_section
3813 from map_head.linked_to_symbol_name.
3814 (elf_adjust_symtab): Updated.
3815 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
3816 * doc/as.texi: Document the 'o' flag.
3817 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
3818 * testsuite/gas/elf/section18.d: New file.
3819 * testsuite/gas/elf/section18.s: Likewise.
3820 * testsuite/gas/elf/section19.d: Likewise.
3821 * testsuite/gas/elf/section19.s: Likewise.
3822 * testsuite/gas/elf/section20.d: Likewise.
3823 * testsuite/gas/elf/section20.s: Likewise.
3824 * testsuite/gas/elf/section21.d: Likewise.
3825 * testsuite/gas/elf/section21.l: Likewise.
3826 * testsuite/gas/elf/section21.s: Likewise.
3828 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3830 * NEWS: Mention x86 assembler options to align branches for
3833 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3835 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
3836 only for ELF targets.
3837 * testsuite/gas/i386/unique.d: Don't xfail.
3838 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3840 2020-02-06 Alan Modra <amodra@gmail.com>
3842 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
3843 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3845 2020-02-06 Alan Modra <amodra@gmail.com>
3847 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
3848 xfail, and rename test.
3849 * testsuite/gas/elf/section12b.d: Likewise.
3850 * testsuite/gas/elf/section16a.d: Likewise.
3851 * testsuite/gas/elf/section16b.d: Likewise.
3853 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
3856 * config/obj-elf.c (section_match): Removed.
3857 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
3859 (obj_elf_change_section): Replace info and group_name arguments
3860 with match_p. Also update the section ID and flags from match_p.
3861 (obj_elf_section): Handle "unique,N". Update call to
3862 obj_elf_change_section.
3863 * config/obj-elf.h (elf_section_match): New.
3864 (obj_elf_change_section): Updated.
3865 * config/tc-arm.c (start_unwind_section): Update call to
3866 obj_elf_change_section.
3867 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3868 * config/tc-microblaze.c (microblaze_s_data): Likewise.
3869 (microblaze_s_sdata): Likewise.
3870 (microblaze_s_rdata): Likewise.
3871 (microblaze_s_bss): Likewise.
3872 * config/tc-mips.c (s_change_section): Likewise.
3873 * config/tc-msp430.c (msp430_profiler): Likewise.
3874 * config/tc-rx.c (parse_rx_section): Likewise.
3875 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
3876 * doc/as.texi: Document "unique,N" in .section directive.
3877 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
3878 * testsuite/gas/elf/section15.d: New file.
3879 * testsuite/gas/elf/section15.s: Likewise.
3880 * testsuite/gas/elf/section16.s: Likewise.
3881 * testsuite/gas/elf/section16a.d: Likewise.
3882 * testsuite/gas/elf/section16b.d: Likewise.
3883 * testsuite/gas/elf/section17.d: Likewise.
3884 * testsuite/gas/elf/section17.l: Likewise.
3885 * testsuite/gas/elf/section17.s: Likewise.
3886 * testsuite/gas/i386/unique.d: Likewise.
3887 * testsuite/gas/i386/unique.s: Likewise.
3888 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3889 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
3891 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
3893 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
3895 2020-02-01 Anthony Green <green@moxielogic.com>
3897 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
3899 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3901 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
3904 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
3907 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
3908 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
3910 * testsuite/gas/arm/mve_dsp.d: New test.
3912 2020-01-31 Nick Clifton <nickc@redhat.com>
3914 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
3915 rather than BFD_RELOC_NONE.
3917 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3919 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
3920 to support VLDMIA instruction for MVE.
3921 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
3922 instruction for MVE.
3923 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
3924 instruction for MVE.
3925 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
3926 instruction for MVE.
3927 * testsuite/gas/arm/mve-ldst.d: New test.
3928 * testsuite/gas/arm/mve-ldst.s: Likewise.
3930 2020-01-31 Nick Clifton <nickc@redhat.com>
3932 * po/fr.po: Updated French translation.
3933 * po/ru.po: Updated Russian translation.
3935 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
3937 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
3939 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
3940 * testsuite/gas/aarch64/sve-movprfx_28.d,
3941 * testsuite/gas/aarch64/sve-movprfx_28.l,
3942 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
3944 2020-01-30 Jan Beulich <jbeulich@suse.com>
3946 * config/tc-i386.c (output_disp): Tighten base_opcode check.
3947 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
3948 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
3949 Adjust expectations.
3951 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
3953 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
3954 * testsuite/gas/bpf/alu-be.d: Likewise.
3955 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
3956 * testsuite/gas/bpf/alu32-be.d: Likewise.
3958 2020-01-30 Jan Beulich <jbeulich@suse.com>
3960 * testsuite/gas/i386/x86-64-branch-2.s,
3961 testsuite/gas/i386/x86-64-branch-4.s,
3962 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
3963 * testsuite/gas/i386/ilp32/x86-64-branch.d,
3964 testsuite/gas/i386/x86-64-branch-2.d,
3965 testsuite/gas/i386/x86-64-branch-4.l,
3966 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
3968 2020-01-30 Jan Beulich <jbeulich@suse.com>
3970 * config/tc-i386.c (process_suffix): .
3971 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
3972 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
3974 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
3976 testsuite/gas/i386/x86_64.s: Add RETF cases.
3977 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
3978 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
3979 testsuite/gas/i386/x86-64-opcode.d,
3980 testsuite/gas/i386/x86-64-suffix-intel.d,
3981 testsuite/gas/i386/x86-64-suffix.d,
3982 testsuite/gas/i386/x86_64-intel.d
3983 testsuite/gas/i386/x86_64.d: Adjust expectations.
3984 * testsuite/gas/i386/x86-64-suffix.e,
3985 testsuite/gas/i386/x86_64.e: New.
3987 2020-01-30 Jan Beulich <jbeulich@suse.com>
3989 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
3992 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
3995 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
3997 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
3998 differences. Document movslq and movsxd.
3999 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
4000 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
4001 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
4002 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
4003 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
4004 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
4005 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
4006 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
4007 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
4008 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
4009 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
4011 2020-01-27 Alan Modra <amodra@gmail.com>
4013 * testsuite/gas/all/gas.exp: Replace case statements with switch
4015 * testsuite/gas/elf/elf.exp: Likewise.
4016 * testsuite/gas/macros/macros.exp: Likewise.
4017 * testsuite/lib/gas-defs.exp: Likewise.
4019 2020-01-27 Tamar Christina <tamar.christina@arm.com>
4022 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
4023 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
4025 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
4027 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
4028 s exts must be known, so rename *ok* to *fail*.
4029 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
4030 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
4031 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
4033 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
4034 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
4036 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
4039 * config/tc-i386.c (check_long_reg): Always disallow double word
4040 suffix in mnemonic with word general register.
4041 * testsuite/gas/i386/general.s: Replace word general register
4042 with double word general register for movl.
4043 * testsuite/gas/i386/inval.s: Add tests for movl with word general
4045 * testsuite/gas/i386/general.l: Updated.
4046 * testsuite/gas/i386/inval.l: Likewise.
4048 2020-01-22 Alan Modra <amodra@gmail.com>
4050 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
4051 __tls_get_addr_desc and __tls_get_addr_opt.
4053 2020-01-21 Jan Beulich <jbeulich@suse.com>
4055 * testsuite/gas/i386/inval-crc32.s,
4056 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
4057 * testsuite/gas/i386/inval-crc32.l,
4058 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
4060 2020-01-21 Jan Beulich <jbeulich@suse.com>
4062 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
4063 generic code path. Deal with No_lSuf being set in a template.
4064 * testsuite/gas/i386/inval-crc32.l,
4065 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
4066 instead of error(s) when operand size is ambiguous.
4067 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4068 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
4069 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
4070 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
4071 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
4072 Adjust expectations.
4074 2020-01-21 Jan Beulich <jbeulich@suse.com>
4076 * config/tc-i386.c (process_suffix): Drop SYSRET special case
4077 and an intel_syntax check. Re-write lack-of-suffix processing
4079 * doc/c-i386.texi: Document operand size defaults for suffix-
4080 less AT&T syntax insns.
4081 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
4082 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
4083 testsuite/gas/i386/x86-64-avx-scalar.s,
4084 testsuite/gas/i386/x86-64-avx.s,
4085 testsuite/gas/i386/x86-64-bundle.s,
4086 testsuite/gas/i386/x86-64-intel64.s,
4087 testsuite/gas/i386/x86-64-lock-1.s,
4088 testsuite/gas/i386/x86-64-opcode.s,
4089 testsuite/gas/i386/x86-64-sse2avx.s,
4090 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
4091 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
4092 testsuite/gas/i386/x86-64-nops.s,
4093 testsuite/gas/i386/x86-64-ptwrite.s,
4094 testsuite/gas/i386/x86-64-simd.s,
4095 testsuite/gas/i386/x86-64-sse-noavx.s,
4096 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
4098 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4099 testsuite/gas/i386/noreg64.s: Add further tests.
4100 * testsuite/gas/i386/ilp32/x86-64-nops.d,
4101 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
4102 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
4103 testsuite/gas/i386/sse-noavx.d,
4104 testsuite/gas/i386/x86-64-intel64.d,
4105 testsuite/gas/i386/x86-64-nops.d,
4106 testsuite/gas/i386/x86-64-opcode.d,
4107 testsuite/gas/i386/x86-64-ptwrite-intel.d,
4108 testsuite/gas/i386/x86-64-ptwrite.d,
4109 testsuite/gas/i386/x86-64-simd-intel.d,
4110 testsuite/gas/i386/x86-64-simd-suffix.d,
4111 testsuite/gas/i386/x86-64-simd.d,
4112 testsuite/gas/i386/x86-64-sse-noavx.d
4113 testsuite/gas/i386/x86-64-suffix.d,
4114 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
4115 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
4116 testsuite/gas/i386/noreg64.l: New.
4117 * testsuite/gas/i386/i386.exp: Run new tests.
4119 2020-01-21 Jan Beulich <jbeulich@suse.com>
4121 * testsuite/gas/i386/avx512_bf16_vl.s,
4122 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
4123 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
4124 broadcast forms of VCVTNEPS2BF16.
4125 * testsuite/gas/i386/avx512_bf16_vl.d,
4126 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
4128 2020-01-20 Nick Clifton <nickc@redhat.com>
4130 * po/uk.po: Updated Ukranian translation.
4132 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
4135 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
4136 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
4138 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
4139 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
4140 R_X86_64_GOTPC32_TLSDESC relocation.
4142 2020-01-18 Nick Clifton <nickc@redhat.com>
4144 * configure: Regenerate.
4145 * po/gas.pot: Regenerate.
4147 2020-01-18 Nick Clifton <nickc@redhat.com>
4149 Binutils 2.34 branch created.
4151 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
4153 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
4154 with vex_encoding_vex.
4155 (parse_insn): Likewise.
4156 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
4157 and {vex3} documentation.
4158 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
4160 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
4162 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
4165 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
4166 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
4167 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
4168 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
4169 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
4170 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
4172 2020-01-16 Jan Beulich <jbeulich@suse.com>
4174 * config/tc-i386.c (match_template): Drop found_cpu_match local
4177 2020-01-16 Jan Beulich <jbeulich@suse.com>
4179 * testsuite/gas/i386/avx512dq-inval.l,
4180 testsuite/gas/i386/avx512dq-inval.s: New.
4181 * testsuite/gas/i386/i386.exp: Run new test.
4183 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4185 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
4186 relocations when the target is 430X, except when extracting part of an
4188 (msp430_srcoperand): Adjust comment.
4189 Initialize the expp member of the msp430_operand_s struct as
4191 (msp430_dstoperand): Likewise.
4192 * testsuite/gas/msp430/msp430.exp: Run new test.
4193 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
4194 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
4196 2020-01-15 Alan Modra <amodra@gmail.com>
4198 * configure.tgt: Add sparc-*-freebsd case.
4200 2020-01-14 Lili Cui <lili.cui@intel.com>
4202 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
4203 * testsuite/gas/i386/align-branch-1b.d: Likewise.
4204 * testsuite/gas/i386/align-branch-1c.d: Likewise.
4205 * testsuite/gas/i386/align-branch-1d.d: Likewise.
4206 * testsuite/gas/i386/align-branch-1e.d: Likewise.
4207 * testsuite/gas/i386/align-branch-1f.d: Likewise.
4208 * testsuite/gas/i386/align-branch-1g.d: Likewise.
4209 * testsuite/gas/i386/align-branch-1h.d: Likewise.
4210 * testsuite/gas/i386/align-branch-1i.d: Likewise.
4211 * testsuite/gas/i386/align-branch-5.d: Likewise.
4212 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
4213 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
4214 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
4215 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
4216 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
4217 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
4218 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
4219 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
4220 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
4221 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
4222 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
4223 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
4225 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
4228 * config/tc-z80.c: Add support for half precision, single
4229 precision and double precision floating point values.
4230 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
4231 * doc/as.texi: Add new z80 command line options.
4232 * doc/c-z80.texi: Document new z80 command line options.
4233 * testsuite/gas/z80/ez80_pref_dis.s: New test.
4234 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
4235 * testsuite/gas/z80/z80.exp: Run the new test.
4236 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
4237 * testsuite/gas/z80/fp_zeda32.d: Likewise.
4238 * testsuite/gas/z80/strings.d: Update expected output.
4240 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
4242 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
4245 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
4247 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
4249 * config/tc-arc.h: Add header if/defs.
4250 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
4252 2020-01-13 Alan Modra <amodra@gmail.com>
4254 * testsuite/gas/wasm32/allinsn.d: Update expected output.
4256 2020-01-13 Alan Modra <amodra@gmail.com>
4258 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
4261 2020-01-10 Alan Modra <amodra@gmail.com>
4263 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
4264 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
4266 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
4269 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
4271 (emit_ld_r_r): Likewise.
4272 (emit_ld_rr_m): Likewise.
4273 (emit_ld_rr_nn): Likewise.
4275 2020-01-09 Jan Beulich <jbeulich@suse.com>
4277 * config/tc-i386.c (optimize_encoding): Add
4278 is_any_vex_encoding() invocations. Drop respective
4279 i.tm.extension_opcode == None checks.
4281 2020-01-09 Jan Beulich <jbeulich@suse.com>
4283 * config/tc-i386.c (md_assemble): Check RegRex is clear during
4284 REX transformations. Correct comment indentation.
4286 2020-01-09 Jan Beulich <jbeulich@suse.com>
4288 * config/tc-i386.c (optimize_encoding): Generalize register
4289 transformation for TEST optimization.
4291 2020-01-09 Jan Beulich <jbeulich@suse.com>
4293 * testsuite/gas/i386/x86-64-sysenter-amd.s,
4294 testsuite/gas/i386/x86-64-sysenter-amd.d,
4295 testsuite/gas/i386/x86-64-sysenter-amd.l,
4296 testsuite/gas/i386/x86-64-sysenter-intel.d,
4297 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
4298 * testsuite/gas/i386/i386.exp: Run new tests.
4300 2020-01-08 Nick Clifton <nickc@redhat.com>
4303 * doc/as.texi (Align): Document the fact that all arguments can be
4306 (P2align): Likewise.
4308 2020-01-08 Nick Clifton <nickc@redhat.com>
4311 * config/obj-elf.c (obj_elf_section): Fail if the section name is
4312 already defined as a different symbol type.
4313 * testsuite/gas/elf/pr14891.s: New test source file.
4314 * testsuite/gas/elf/pr14891.d: New test driver.
4315 * testsuite/gas/elf/pr14891.s: New test expected error output.
4316 * testsuite/gas/elf/elf.exp: Run the new test.
4318 2020-01-08 Alan Modra <amodra@gmail.com>
4320 * config/tc-z8k.c (md_begin): Make idx unsigned.
4321 (get_specific): Likewise for this_index.
4323 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
4325 * onfig/tc-arc.c (parse_reloc_symbol): New function.
4326 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
4327 (md_operand): Set X_md to absent.
4328 (arc_parse_name): Check for X_md.
4330 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
4333 * as.h (TC_STRING_ESCAPES): Provide a default definition.
4334 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
4336 * read.c (next_char_of_string): Likewise.
4337 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
4338 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
4340 2020-01-03 Nick Clifton <nickc@redhat.com>
4342 * po/sv.po: Updated Swedish translation.
4344 2020-01-03 Jan Beulich <jbeulich@suse.com>
4346 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
4347 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4349 2020-01-03 Jan Beulich <jbeulich@suse.com>
4351 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
4352 by-element usdot. Add 64-bit form tests for by-element sudot.
4353 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
4355 2020-01-03 Jan Beulich <jbeulich@suse.com>
4357 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
4358 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4360 2020-01-03 Jan Beulich <jbeulich@suse.com>
4362 * testsuite/gas/aarch64/f64mm.d,
4363 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
4365 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
4367 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
4368 support for assembler code generated by SDCC. Add new relocation
4369 types. Add z80-elf target support.
4370 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
4371 labels. Local labels starts from ".L".
4372 * NEWS: Mention the new support.
4373 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
4374 * testsuite/gas/all/fwdexp.s: Likewise.
4375 * testsuite/gas/all/cond.l: Likewise.
4376 * testsuite/gas/all/cond.s: Likewise.
4377 * testsuite/gas/all/fwdexp.d: Likewise.
4378 * testsuite/gas/all/fwdexp.s: Likewise.
4379 * testsuite/gas/elf/section2.e-mips: Likewise.
4380 * testsuite/gas/elf/section2.l: Likewise.
4381 * testsuite/gas/elf/section2.s: Likewise.
4382 * testsuite/gas/macros/app1.d: Likewise.
4383 * testsuite/gas/macros/app1.s: Likewise.
4384 * testsuite/gas/macros/app2.d: Likewise.
4385 * testsuite/gas/macros/app2.s: Likewise.
4386 * testsuite/gas/macros/app3.d: Likewise.
4387 * testsuite/gas/macros/app3.s: Likewise.
4388 * testsuite/gas/macros/app4.d: Likewise.
4389 * testsuite/gas/macros/app4.s: Likewise.
4390 * testsuite/gas/macros/app4b.s: Likewise.
4391 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
4392 * testsuite/gas/z80/z80.exp: Add new tests
4393 * testsuite/gas/z80/dollar.d: New file.
4394 * testsuite/gas/z80/dollar.s: New file.
4395 * testsuite/gas/z80/ez80_adl_all.d: New file.
4396 * testsuite/gas/z80/ez80_adl_all.s: New file.
4397 * testsuite/gas/z80/ez80_adl_suf.d: New file.
4398 * testsuite/gas/z80/ez80_isuf.s: New file.
4399 * testsuite/gas/z80/ez80_z80_all.d: New file.
4400 * testsuite/gas/z80/ez80_z80_all.s: New file.
4401 * testsuite/gas/z80/ez80_z80_suf.d: New file.
4402 * testsuite/gas/z80/r800_extra.d: New file.
4403 * testsuite/gas/z80/r800_extra.s: New file.
4404 * testsuite/gas/z80/r800_ii8.d: New file.
4405 * testsuite/gas/z80/r800_z80_doc.d: New file.
4406 * testsuite/gas/z80/z180.d: New file.
4407 * testsuite/gas/z80/z180.s: New file.
4408 * testsuite/gas/z80/z180_z80_doc.d: New file.
4409 * testsuite/gas/z80/z80_doc.d: New file.
4410 * testsuite/gas/z80/z80_doc.s: New file.
4411 * testsuite/gas/z80/z80_ii8.d: New file.
4412 * testsuite/gas/z80/z80_ii8.s: New file.
4413 * testsuite/gas/z80/z80_in_f_c.d: New file.
4414 * testsuite/gas/z80/z80_in_f_c.s: New file.
4415 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
4416 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
4417 * testsuite/gas/z80/z80_out_c_0.d: New file.
4418 * testsuite/gas/z80/z80_out_c_0.s: New file.
4419 * testsuite/gas/z80/z80_reloc.d: New file.
4420 * testsuite/gas/z80/z80_reloc.s: New file.
4421 * testsuite/gas/z80/z80_sli.d: New file.
4422 * testsuite/gas/z80/z80_sli.s: New file.
4424 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4426 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
4429 2020-01-01 Alan Modra <amodra@gmail.com>
4431 Update year range in copyright notice of all files.
4433 For older changes see ChangeLog-2019
4435 Copyright (C) 2020 Free Software Foundation, Inc.
4437 Copying and distribution of this file, with or without modification,
4438 are permitted in any medium without royalty provided the copyright
4439 notice and this notice are preserved.
4445 version-control: never