CSKY: Support attribute section.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0861f561
CQ
12020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
2
3 * gas/config/tc-csky.c (md_begin): Set attributes.
4 (isa_flag): Change type to unsigned 64 bits.
5 (struct csky_cpu_info): Likewise.
6 (struct csky_macro_info): Likewise.
7 (set_csky_attribute): New.
8 * testsuite/gas/csky/802j.d: Ignore .csky.attributes section.
9 * testsuite/gas/csky/all.d: Likewise.
10 * testsuite/gas/csky/bsr1.d: Likewise.
11 * testsuite/gas/csky/csky_vdsp.d: Likewise.
12 * testsuite/gas/csky/cskyv2_all.d: Likewise.
13 * testsuite/gas/csky/cskyv2_ck803r2.d: Likewise.
14 * testsuite/gas/csky/cskyv2_ck860.d: Likewise.
15 * testsuite/gas/csky/cskyv2_dsp.d: Likewise.
16 * testsuite/gas/csky/cskyv2_elrw.d: Likewise.
17 * testsuite/gas/csky/cskyv2_float.d: Likewise.
18 * testsuite/gas/csky/enhance_dsp.d: Likewise.
19 * testsuite/gas/csky/java.d: Likewise.
20 * testsuite/gas/csky/v1_float.d: Likewise.
21 * testsuite/gas/csky/v2_float_part1.d: Likewise.
22 * testsuite/gas/csky/v2_float_part2.d: Likewise.
23 * testsuite/gas/csky/v2_tls_gd.d: Likewise.
24 * testsuite/gas/csky/v2_tls_ie.d: Likewise.
25 * testsuite/gas/csky/v2_tls_ld.d: Likewise.
26 * testsuite/gas/csky/v2_tls_le.d: Likewise.
27 * testsuite/gas/elf/elf.exp: Add handler for CSKY.
28 * testsuite/gas/elf/section2.e-csky: New.
29
6fbd4a8e
AM
302020-08-27 Alan Modra <amodra@gmail.com>
31
32 PR 26467
33 * cgen.c (weak_operand_overflow_check): Handle opmask for
34 operand length zero. Use 1UL constant.
35
e637b7ba
AM
362020-08-26 Alan Modra <amodra@gmail.com>
37
38 PR 26508
39 * config/tc-xtensa.c (xg_get_trampoline_chain): Return early
40 when n_entries is zero.
41
d8d6da13
AM
422020-08-26 Alan Modra <amodra@gmail.com>
43
44 PR 26448
45 * symbols.c: Include limits.h.
46 (resolve_symbol_value <O_left_shift, O_right_shift>): Do an
47 unsigned shift. Warn if shift count larger than valueT size.
48
b2f386b9
AM
492020-08-26 Alan Modra <amodra@gmail.com>
50
51 PR 26447
52 * expr.c (expr <O_left_shift>): Do an unsigned shift.
53
542020-08-25 Alan Modra <amodra@gmail.com>
55
4449c81a
DF
562020-08-26 David Faust <david.faust@oracle.com>
57
58 * config/tc-bpf.c: Add option -mxbpf to select xbpf isa.
59 * testsuite/gas/bpf/indcall-1.d: New file.
60 * testsuite/gas/bpf/indcall-1.s: Likewise.
61 * testsuite/gas/bpf/indcall-bad-1.l: Likewise.
62 * testsuite/gas/bpf/indcall-bad-1.s: Likewise.
63 * testsuite/gas/bpf/bpf.exp: Run new tests.
64
69ff2100
AM
652020-08-25 Alan Modra <amodra@gmail.com>
66
b2f386b9 67 PR 26501
69ff2100
AM
68 * gas/config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat
69 misc_symbol_hash entries without values.
70
1de153a1
AM
712020-08-25 Alan Modra <amodra@gmail.com>
72
73 PR 26500
74 * tc-tic4x.c (tic4x_inst_make): Don't die on terminating insn
75 with name = "".
76
d3e0badd
AM
772020-08-25 Alan Modra <amodra@gmail.com>
78
79 PR 26441
80 * config/tc-cr16.c (get_b_cc): Return NULL early if op isn't
81 two or three chars, and don't bother copying.
82
250dd99f
AM
832020-08-25 Alan Modra <amodra@gmail.com>
84
85 PR 26426
86 * config/tc-arm.c (do_neon_mvn, do_neon_swp): Bail out on
87 NS_NULL shape.
88
30b940a0
AM
892020-08-25 Alan Modra <amodra@gmail.com>
90
91 PR 26410
92 * symbols.c (dollar_label_count, dollar_label_max): Make size_t.
93 (dollar_label_clear): Don't call memset with NULL pointer.
94
ca159256
AM
952020-08-25 Alan Modra <amodra@gmail.com>
96
97 * config/tc-arc.c (declare_register_set): Avoid false positive
98 format-overflow warning.
99 * config/tc-epiphany.c (md_assemble): Likewise.
100 * config/tc-mips.c (md_begin): Likewise.
101 * config/tc-mmix.c (mmix_md_begin): Likewise.
102 * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false
103 positive "may be used uninitialized" warning.
104
531c73a3
CQ
1052020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
106
107 * config/tc-csky.c (csky_archs): Add item for CK860,
108 change ck810 and ck807's arch_flag.
109 (csky_cpus): Add item for CK860.
110 (md_begin): Enable DSP for CK810 and CK807 by default.
111 (md_apply_fix): Fix CKCORE_TLS_IE32 relocation failure.
112 * gas/testsuite/gas/csky/cskyv2_all.d: Change 'sync 0'
113 to 'sync'.
114 * gas/testsuite/gas/csky/cskyv2_all.s: Likewise.
115 * gas/testsuite/gas/csky/cskyv2_ck860.d: New.
116 * gas/testsuite/gas/csky/cskyv2_ck860.s: New.
117 * gas/testsuite/gas/csky/enhance_dsp.d: Change plsli.u16
118 to plsli.16.
119 * gas/testsuite/gas/csky/enhance_dsp.s: Likewise.
120
12c4b9aa
AM
1212020-08-24 Alan Modra <amodra@gmail.com>
122
123 * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name"
124 in case where it isn't copied.
125 * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef.
126 * testsuite/gas/tic54x/field.d: Dump section contents and symbols
127 rather than disassembling.
128 * testsuite/gas/tic54x/set.d: Adjust for newer disassembly.
129
f16c3d4f
AM
1302020-08-24 Alan Modra <amodra@gmail.com>
131
132 * config/tc-aarch64.c (md_begin): Don't bother checking for
133 out of memory failure from str_htab_create.
134 * config/tc-arc.c (arc_insert_opcode, md_begin): Likewise.
135 (arc_extcorereg, arc_stralloc): Likewise.
136 * config/tc-arm.c (md_begin): Likewise.
137 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
138 * config/tc-cris.c (md_begin): Likewise.
139 * config/tc-crx.c (md_begin): Likewise.
140 * config/tc-pdp11.c (md_begin): Likewise.
141 * config/tc-score.c (s3_build_reg_hsh, s3_begin): Likewise.
142 * config/tc-score7.c (s7_build_reg_hsh, s7_begin): Likewise.
143
f3da8a96
AM
1442020-08-24 Alan Modra <amodra@gmail.com>
145
146 * config/tc-arm.c (move_or_literal_pool): Avoid false positive
147 "may be used uninitialised".
148 (opcode_lookup): Likewise.
149
85d14aae
AM
1502020-08-24 Alan Modra <amodra@gmail.com>
151
152 PR 26526
153 * symbols.c (local_symbol_convert): Clear out xtra.
154
d04aee0f
CQ
1552020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
156
157 * config/tc-csky.c (CSKY_ISA_803R2): New.
158 (csky_archs): Add ck803r2 series.
159 (md_begin): Fix warning about -medsp.
160 (csky_get_freg_val): Support lowercase of fpu register name.
161 * testsuite/gas/csky/cskyv2_ck803r2.s: New file.
162 * testsuite/gas/csky/cskyv2_ck803r2.d: New file.
163
fe0e921f
AM
1642020-08-23 Alan Modra <amodra@gmail.com>
165
166 PR 26513
167 * hash.h (htab_insert): Update prototype and comment.
168 (struct string_tuple): Make "value" a const void*.
169 (string_tuple_alloc): Likewise.
170 (str_hash_find, str_hash_find_n): Cast returned value.
171 (str_hash_insert): Add "replace" parameter, and return slot pointer.
172 Free alloc'd element when not inserted.
173 * hash.c (htab_insert): Likewise. Return slot when element exists,
174 otherwise return NULL.
175 * read.c (pop_insert): Insert into hash table without first searching.
176 * config/tc-avr.c (md_begin): Likewise.
177 * config/tc-msp430.c (md_begin): Likewise.
178 * config/tc-nds32.c (nds32_init_nds32_pseudo_opcodes): Likewise.
179 * config/tc-v850.c (md_begin): Likewise.
180 * macro.c (do_formals, define_macro, macro_expand_body): Likewise.
181 (delete_macro): Delete from hash table.
182 * config/tc-tic54x.c (subsym_create_or_replace): Correct logic.
183
184 * symbols.c (local_symbol_make, symbol_table_insert): Allow
185 replacement of hash table entries.
186 * config/obj-coff-seh.c (seh_hash_insert): Likewise.
187 * config/obj-coff.c (tag_insert): Likewise.
188 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
189 * config/tc-m68k.c (md_begin): Likewise for aliases.
190 * config/tc-tic4x.c (tic4x_asg): Likewise.
191 * config/tc-tic6x.c (md_begin): Likewise.
192
193 * dw2gencfi.c (dwcfi_hash_find_or_make): Disallow replacement of
194 hash table entries.
195 * ecoff.c (add_string, get_tag): Likewise.
196 * macro.c (expand_irp): Likewise.
197 * config/obj-elf.c (build_additional_section_info): Likewise.
198 * config/tc-aarch64.c (insert_reg_alias): Likewise.
199 (checked_hash_insert): Likewise.
200 * config/tc-alpha.c (get_alpha_reloc_tag, md_begin): Likewise.
201 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
202 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
203 * config/tc-arm.c (insert_reg_alias): Likewise.
204 (arm_tc_equal_in_insn, md_begin): Likewise.
205 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
206 * config/tc-cris.c (md_begin): Likewise.
207 * config/tc-crx.c (md_begin): Likewise.
208 * config/tc-csky.c (md_begin): Likewise.
209 * config/tc-d10v.c (md_begin): Likewise.
210 * config/tc-dlx.c (md_begin): Likewise.
211 * config/tc-ft32.c (md_begin): Likewise.
212 * config/tc-h8300.c (md_begin): Likewise.
213 * config/tc-hppa.c (md_begin): Likewise.
214 * config/tc-i386.c (md_begin): Likewise.
215 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
216 (md_begin, dot_alias): Likewise.
217 * config/tc-m68hc11.c (md_begin): Likewise.
218 * config/tc-m68k.c (md_begin): Likewise.
219 * config/tc-mcore.c (md_begin): Likewise.
220 * config/tc-microblaze.c (md_begin): Likewise.
221 * config/tc-mips.c (md_begin): Likewise.
222 * config/tc-mmix.c (md_begin): Likewise.
223 * config/tc-mn10200.c (md_begin): Likewise.
224 * config/tc-mn10300.c (md_begin): Likewise.
225 * config/tc-moxie.c (md_begin): Likewise.
226 * config/tc-nds32.c (nds32_relax_hint, md_begin): Likewise.
227 * config/tc-nios2.c (md_begin): Likewise.
228 * config/tc-ns32k.c (md_begin): Likewise.
229 * config/tc-pdp11.c (md_begin): Likewise.
230 * config/tc-pj.c (fake_opcode, md_begin): Likewise.
231 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
232 * config/tc-pru.c (md_begin): Likewise.
233 * config/tc-riscv.c (init_ext_version_hash): Likewise.
234 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
235 (riscv_init_csr_hash): Likewise.
236 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
237 * config/tc-score.c (s3_insert_reg): Likewise.
238 (s3_build_score_ops_hsh, s3_build_dependency_insn_hsh): Likewise.
239 * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
240 (s7_build_dependency_insn_hsh, s7_insert_reg): Likewise.
241 * config/tc-sh.c (md_begin): Likewise.
242 * config/tc-sparc.c (md_begin): Likewise.
243 * config/tc-spu.c (md_begin): Likewise.
244 * config/tc-tic30.c (md_begin): Likewise.
245 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
246 * config/tc-tic54x.c (stag_add_field_symbols, md_begin): Likewise.
247 (tic54x_endstruct, tic54x_var, tic54x_macro_info): Likewise.
248 (subsym_substitute): Likewise.
249 * config/tc-tilegx.c (md_begin): Likewise.
250 * config/tc-tilepro.c (md_begin): Likewise.
251 * config/tc-vax.c (vip_begin): Likewise.
252 * config/tc-wasm32.c (md_begin): Likewise.
253 * config/tc-xgate.c (md_begin): Likewise.
254 * config/tc-z8k.c (md_begin): Likewise.
255 * testsuite/gas/ppc/dcbt.d,
256 * testsuite/gas/ppc/dcbt.s: New test.
257 * testsuite/gas/ppc/ppc.exp: Run it.
258
259 * ecoff.c (add_string): Report fatal error on duplicates.
260 * config/tc-alpha.c (md_begin): Likewise.
261 * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
262 (declare_addrtype, md_begin, arc_extcorereg): Likewise.
263 * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
264 * config/tc-cris.c (md_begin): Likewise.
265 * config/tc-crx.c (md_begin): Likewise.
266 * config/tc-dlx.c (md_begin): Likewise.
267 * config/tc-hppa.c (md_begin): Likewise.
268 * config/tc-i386.c (md_begin): Likewise.
269 * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
270 (md_begin): Likewise.
271 * config/tc-m68k.c (md_begin): Likewise.
272 * config/tc-mips.c (md_begin): Likewise.
273 * config/tc-nios2.c (md_begin): Likewise.
274 * config/tc-ns32k.c (md_begin): Likewise.
275 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
276 * config/tc-pru.c (md_begin): Likewise.
277 * config/tc-riscv.c (init_ext_version_hash): Likewise.
278 (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
279 * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
280 * config/tc-sparc.c (md_begin): Likewise.
281 * config/tc-tic30.c (md_begin): Likewise.
282 * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
283 * config/tc-tilegx.c (md_begin): Likewise.
284 * config/tc-tilepro.c (md_begin): Likewise.
285 * config/tc-vax.c (vip_begin): Likewise.
286
287 * config/tc-alpha.c,
288 * config/tc-arm.c,
289 * config/tc-avr.c,
290 * config/tc-cr16.c,
291 * config/tc-csky.c,
292 * config/tc-i386.c,
293 * config/tc-m68hc11.c,
294 * config/tc-m68k.c,
295 * config/tc-microblaze.c,
296 * config/tc-ns32k.c,
297 * config/tc-pj.c,
298 * config/tc-ppc.c,
299 * config/tc-score.c,
300 * config/tc-score7.c,
301 * config/tc-tic4x.c,
302 * config/tc-tic54x.c,
303 * config/tc-tilegx.c,
304 * config/tc-tilepro.c,
305 * config/tc-xgate.c: Formatting.
306
5014c2d2
AM
3072020-08-21 Alan Modra <amodra@gmail.com>
308
309 * symbols.c (struct local_symbol): Add "hash" entry. Reorder fields.
310 Delete union. Adjust code throughout file.
311 (struct symbol): Add "hash", "name" and "x" entries. Reorder fields.
312 Split off some to..
313 (struct xsymbol): ..this. New struct. Adjust code throughout file
314 accessing these fields.
315 (struct symbol_entry): Delete.
316 (union symbol_entry): New.
317 (hash_symbol_entry): Adjust for symbol_entry_t change.
318 (symbol_entry_find): Likewise.
319 (eq_symbol_entry): Compare hash values too.
320 (symbol_entry_alloc): Delete.
321 (local_symbol_converted_p, local_symbol_mark_converted): Delete.
322 (local_symbol_get_real_symbol, local_symbol_set_real_symbol): Delete.
323 (local_hash): Delete.
324 (abs_symbol_x, dot_symbol_x): New static var.
325 (symbol_init): New function.
326 (symbol_create): Rewrite.
327 (LOCAL_SYMBOL_CHECK): Delete. Replace uses throughout with simple
328 test of flags.local_symbol.
329 (local_symbol_make): Adjust for struct local_symbol changes.
330 (local_symbol_convert): Rewrite. Adjust all callers.
331 (symbol_table_insert): Simplify.
332 (symbol_clone): Comment on local sym cloning. Handle split symbol
333 struct.
334 (get_real_sym): Delete. Remove all uses.
335 (symbol_find_exact_noref): Simplify.
336 (resolve_local_symbol): Don't resolve non-locals.
337 (S_SET_SEGMENT): Don't special case reg_section.
338 (S_SET_NAME): Set both name and bsym->name.
339 (symbol_mark_resolved, symbol_resolved_p): Simplify.
340 (symbol_symbolS): Update comment.
341 (symbol_begin): Don't create local_hash. Adjust abs_symbol setup.
342 (dot_symbol_init): Adjust dot_symbol setup.
343 (symbol_print_statistics): Delete local_hash stats.
344
3c0d9d71
AM
3452020-08-21 Alan Modra <amodra@gmail.com>
346
347 * symbols.c (struct symbol_flags): Rename sy_volatile to volatil,
348 and remove sy_ from other field names. Update throughout.
349 (struct symbol): Remove sy_ from field names. Delete unused
350 TARGET_SYMBOL_FIELDS. Update throughout file. Move after..
351 (struct local_symbol): ..here. Remove lsy_ from field names.
352 Delete unused TC_LOCAL_SYMFIELD_TYPE. Update throughout file.
353 (local_symbol_resolved_p, local_symbol_mark_resolved): Delete.
354 Expand uses throughout file.
355 (local_symbol_get_frag, local_symbol_set_frag): Likewise.
356 (symbol_new): Move symbol_table_frozen test to..
357 (symbol_append): ..here, and..
358 (symbol_insert): ..here.
359 (resolve_symbol_value, symbol_relc_make_expr): White space fixes.
360 (HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise.
361 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update.
362
e01e1cee
AM
3632020-08-21 Alan Modra <amodra@gmail.com>
364
365 * symbols.h (symbol_new, symbol_create, local_symbol_make),
366 (symbol_temp_new): Arrange params as section, frag, offset.
367 * symbols.c: Adjust to suit.
368 * as.c: Likewise.
369 * cgen.c: Likewise.
370 * dwarf2dbg.c: Likewise.
371 * ecoff.c: Likewise.
372 * expr.c: Likewise.
373 * itbl-ops.c: Likewise.
374 * read.c: Likewise.
375 * stabs.c: Likewise.
376 * subsegs.c: Likewise.
377 * config/obj-coff.c: Likewise.
378 * config/obj-elf.c: Likewise.
379 * config/obj-macho.c: Likewise.
380 * config/tc-aarch64.c: Likewise.
381 * config/tc-alpha.c: Likewise.
382 * config/tc-arc.c: Likewise.
383 * config/tc-arm.c: Likewise.
384 * config/tc-avr.c: Likewise.
385 * config/tc-cr16.c: Likewise.
386 * config/tc-cris.c: Likewise.
387 * config/tc-csky.c: Likewise.
388 * config/tc-dlx.c: Likewise.
389 * config/tc-hppa.c: Likewise.
390 * config/tc-i386.c: Likewise.
391 * config/tc-ia64.c: Likewise.
392 * config/tc-m32r.c: Likewise.
393 * config/tc-m68k.c: Likewise.
394 * config/tc-mips.c: Likewise.
395 * config/tc-mmix.c: Likewise.
396 * config/tc-mn10200.c: Likewise.
397 * config/tc-mn10300.c: Likewise.
398 * config/tc-nds32.c: Likewise.
399 * config/tc-nios2.c: Likewise.
400 * config/tc-ppc.c: Likewise.
401 * config/tc-riscv.c: Likewise.
402 * config/tc-s390.c: Likewise.
403 * config/tc-sh.c: Likewise.
404 * config/tc-tic4x.c: Likewise.
405 * config/tc-tic54x.c: Likewise.
406 * config/tc-xtensa.c: Likewise.
407
d285ba8d
CQ
4082020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
409
410 * config/tc-csky.c (csky_insn_info): Add member last_isize.
411 (md_assemble): Assign value to csky_insn.last_isize.
412 * testsuite/gas/csky/enhance_dsp.d: Test bloop's two operands form.
413 * testsuite/gas/csky/enhance_dsp.s: Likewise.
414
a0522545
ML
4152020-08-20 Martin Liska <mliska@suse.cz>
416
417 * NEWS: Mention --reduce-memory-overheads and --hash-size arguments
418 options.
419 * as.c: Remove the options from help.
420 * doc/as.texi: Remove options.
421 * doc/internals.texi: Remove hash from documentation.
422 * hash.c (struct hash_entry): Remove.
423 (struct hash_control): Likewise.
424 (set_gas_hash_table_size): Likewise.
425 (hash_new_sized): Likewise.
426 (hash_new): Likewise.
427 (hash_die): Likewise.
428 (hash_lookup): Likewise.
429 (hash_insert): Likewise.
430 (hash_jam): Likewise.
431 (hash_replace): Likewise.
432 (hash_find): Likewise.
433 (hash_find_n): Likewise.
434 (hash_delete): Likewise.
435 (hash_traverse): Likewise.
436 (hash_print_statistics): Likewise.
437 (TABLES): Likewise.
438 (STATBUFSIZE): Likewise.
439 (main): Likewise.
440 (what): Likewise.
441 (destroy): Likewise.
442 (applicatee): Likewise.
443 (whattable): Likewise.
444 * hash.h (struct hash_control): Likewise.
445 (set_gas_hash_table_size): Likewise.
446 (hash_new): Likewise.
447 (hash_new_sized): Likewise.
448 (hash_die): Likewise.
449 (hash_insert): Likewise.
450 (hash_jam): Likewise.
451 (hash_replace): Likewise.
452 (hash_find): Likewise.
453 (hash_find_n): Likewise.
454 (hash_delete): Likewise.
455 (hash_traverse): Likewise.
456 (hash_print_statistics): Likewise.
457
629310ab
ML
4582020-08-20 Martin Liska <mliska@suse.cz>
459
460 * config/obj-coff-seh.c (seh_hash_insert): Port to use new
461 str_htab type.
462 (seh_hash_find): Likewise.
463 (seh_hash_find_or_make): Likewise.
464 * config/obj-coff.c (tag_init): Likewise.
465 (tag_insert): Likewise.
466 (tag_find): Likewise.
467 * config/obj-elf.c (struct group_list): Likewise.
468 (build_additional_section_info): Likewise.
469 (free_section_idx): Likewise.
470 (elf_adjust_symtab): Likewise.
471 (elf_frob_file_after_relocs): Likewise.
472 * config/tc-aarch64.c (INSN_SIZE): Likewise.
473 (parse_reg): Likewise.
474 (insert_reg_alias): Likewise.
475 (create_register_alias): Likewise.
476 (s_unreq): Likewise.
477 (parse_shift): Likewise.
478 (parse_pldop): Likewise.
479 (parse_barrier): Likewise.
480 (parse_barrier_psb): Likewise.
481 (parse_bti_operand): Likewise.
482 (parse_sys_reg): Likewise.
483 (parse_sys_ins_reg): Likewise.
484 (lookup_mnemonic): Likewise.
485 (opcode_lookup): Likewise.
486 (parse_operands): Likewise.
487 (checked_hash_insert): Likewise.
488 (sysreg_hash_insert): Likewise.
489 (fill_instruction_hash_table): Likewise.
490 (md_begin): Likewise.
491 * config/tc-alpha.c (struct alpha_reloc_tag): Likewise.
492 (get_alpha_reloc_tag): Likewise.
493 (assemble_tokens_to_insn): Likewise.
494 (assemble_tokens): Likewise.
495 (md_begin): Likewise.
496 * config/tc-arc.c (arc_find_opcode): Likewise.
497 (arc_insert_opcode): Likewise.
498 (find_opcode_match): Likewise.
499 (declare_register): Likewise.
500 (declare_addrtype): Likewise.
501 (md_begin): Likewise.
502 (arc_parse_name): Likewise.
503 (tc_arc_regname_to_dw2regnum): Likewise.
504 (arc_extcorereg): Likewise.
505 * config/tc-arm.c (MVE_BAD_QREG): Likewise.
506 (arm_reg_parse_multi): Likewise.
507 (parse_reloc): Likewise.
508 (insert_reg_alias): Likewise.
509 (create_register_alias): Likewise.
510 (s_unreq): Likewise.
511 (parse_shift): Likewise.
512 (parse_psr): Likewise.
513 (parse_cond): Likewise.
514 (parse_barrier): Likewise.
515 (do_vfp_nsyn_opcode): Likewise.
516 (opcode_lookup): Likewise.
517 (arm_tc_equal_in_insn): Likewise.
518 (md_begin): Likewise.
519 * config/tc-avr.c (md_begin): Likewise.
520 (avr_ldi_expression): Likewise.
521 (md_assemble): Likewise.
522 (avr_update_gccisr): Likewise.
523 (avr_emit_insn): Likewise.
524 * config/tc-cr16.c (get_register): Likewise.
525 (get_register_pair): Likewise.
526 (get_index_register): Likewise.
527 (get_index_register_pair): Likewise.
528 (get_pregister): Likewise.
529 (get_pregisterp): Likewise.
530 (initialise_reg_hash_table): Likewise.
531 (md_begin): Likewise.
532 (cr16_assemble): Likewise.
533 (md_assemble): Likewise.
534 * config/tc-cris.c (cris_insn_first_word_frag): Likewise.
535 (md_begin): Likewise.
536 (cris_process_instruction): Likewise.
537 * config/tc-crx.c (get_register): Likewise.
538 (get_copregister): Likewise.
539 (md_begin): Likewise.
540 (md_assemble): Likewise.
541 * config/tc-csky.c (md_begin): Likewise.
542 (parse_opcode): Likewise.
543 (get_operand_value): Likewise.
544 (v1_work_jbsr): Likewise.
545 (v2_work_rotlc): Likewise.
546 (v2_work_bgeni): Likewise.
547 (v2_work_not): Likewise.
548 * config/tc-d10v.c (sizeof): Likewise.
549 (md_begin): Likewise.
550 (do_assemble): Likewise.
551 (md_apply_fix): Likewise.
552 * config/tc-d30v.c (sizeof): Likewise.
553 (md_begin): Likewise.
554 (do_assemble): Likewise.
555 * config/tc-dlx.c (RELOC_DLX_VTENTRY): Likewise.
556 (md_begin): Likewise.
557 (machine_ip): Likewise.
558 * config/tc-ft32.c (md_begin): Likewise.
559 (md_assemble): Likewise.
560 * config/tc-h8300.c (md_begin): Likewise.
561 (md_assemble): Likewise.
562 * config/tc-hppa.c (pa_ip): Likewise.
563 (md_begin): Likewise.
564 * config/tc-i386.c (md_begin): Likewise.
565 (i386_print_statistics): Likewise.
566 (parse_insn): Likewise.
567 (process_operands): Likewise.
568 (i386_index_check): Likewise.
569 (parse_real_register): Likewise.
570 * config/tc-ia64.c (dot_rot): Likewise.
571 (dot_entry): Likewise.
572 (declare_register): Likewise.
573 (md_begin): Likewise.
574 (ia64_parse_name): Likewise.
575 (md_assemble): Likewise.
576 (dot_alias): Likewise.
577 (do_alias): Likewise.
578 (ia64_adjust_symtab): Likewise.
579 (do_secalias): Likewise.
580 (ia64_frob_file): Likewise.
581 * config/tc-m68hc11.c (m68hc11_print_statistics): Likewise.
582 (md_begin): Likewise.
583 (print_insn_format): Likewise.
584 (md_assemble): Likewise.
585 * config/tc-m68k.c (tc_gen_reloc): Likewise.
586 (m68k_ip): Likewise.
587 (md_begin): Likewise.
588 * config/tc-mcore.c (md_begin): Likewise.
589 (md_assemble): Likewise.
590 * config/tc-microblaze.c (md_begin): Likewise.
591 (md_assemble): Likewise.
592 (md_apply_fix): Likewise.
593 * config/tc-mips.c (nopic_need_relax): Likewise.
594 (md_begin): Likewise.
595 (macro_build): Likewise.
596 (mips16_macro_build): Likewise.
597 (mips_lookup_insn): Likewise.
598 (mips_ip): Likewise.
599 (mips16_ip): Likewise.
600 * config/tc-mmix.c (sizeof): Likewise.
601 (mmix_md_begin): Likewise.
602 (md_assemble): Likewise.
603 * config/tc-mn10200.c (md_begin): Likewise.
604 (md_assemble): Likewise.
605 * config/tc-mn10300.c (HAVE_AM30): Likewise.
606 (md_begin): Likewise.
607 (md_assemble): Likewise.
608 * config/tc-moxie.c (md_begin): Likewise.
609 (md_assemble): Likewise.
610 * config/tc-msp430.c (md_begin): Likewise.
611 (msp430_operands): Likewise.
612 (md_assemble): Likewise.
613 * config/tc-nds32.c (PV_DONT_CARE): Likewise.
614 (builtin_isreg): Likewise.
615 (builtin_regnum): Likewise.
616 (nds32_init_nds32_pseudo_opcodes): Likewise.
617 (nds32_lookup_pseudo_opcode): Likewise.
618 (nds32_relax_hint): Likewise.
619 (md_begin): Likewise.
620 (nds32_find_reloc_table): Likewise.
621 (nds32_elf_append_relax_relocs_traverse): Likewise.
622 (nds32_relax_branch_instructions): Likewise.
623 (md_convert_frag): Likewise.
624 (nds32_elf_analysis_relax_hint): Likewise.
625 (tc_nds32_regname_to_dw2regnum): Likewise.
626 * config/tc-nios2.c (nios2_opcode_lookup): Likewise.
627 (nios2_reg_lookup): Likewise.
628 (nios2_ps_lookup): Likewise.
629 (md_begin): Likewise.
630 * config/tc-ns32k.c (struct hash_control): Likewise.
631 (parse): Likewise.
632 (md_begin): Likewise.
633 * config/tc-pdp11.c (md_begin): Likewise.
634 (md_assemble): Likewise.
635 * config/tc-pj.c (fake_opcode): Likewise.
636 (alias): Likewise.
637 (md_begin): Likewise.
638 (md_assemble): Likewise.
639 * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
640 (md_assemble): Likewise.
641 * config/tc-pru.c (pru_opcode_lookup): Likewise.
642 (pru_reg_lookup): Likewise.
643 (md_begin): Likewise.
644 (md_end): Likewise.
645 * config/tc-riscv.c (init_ext_version_hash): Likewise.
646 (riscv_get_default_ext_version): Likewise.
647 (riscv_set_arch): Likewise.
648 (init_opcode_names_hash): Likewise.
649 (opcode_name_lookup): Likewise.
650 (enum reg_class): Likewise.
651 (hash_reg_name): Likewise.
652 (riscv_init_csr_hash): Likewise.
653 (reg_csr_lookup_internal): Likewise.
654 (reg_lookup_internal): Likewise.
655 (init_opcode_hash): Likewise.
656 (md_begin): Likewise.
657 (DECLARE_CSR): Likewise.
658 (macro_build): Likewise.
659 (riscv_ip): Likewise.
660 * config/tc-s390.c (register_name): Likewise.
661 (s390_setup_opcodes): Likewise.
662 (md_begin): Likewise.
663 (md_assemble): Likewise.
664 (s390_insn): Likewise.
665 * config/tc-score.c (struct s3_reg_map): Likewise.
666 (s3_score_reg_parse): Likewise.
667 (s3_dependency_type_from_insn): Likewise.
668 (s3_parse_16_32_inst): Likewise.
669 (s3_parse_48_inst): Likewise.
670 (s3_insert_reg): Likewise.
671 (s3_build_reg_hsh): Likewise.
672 (s3_build_score_ops_hsh): Likewise.
673 (s3_build_dependency_insn_hsh): Likewise.
674 (s3_begin): Likewise.
675 * config/tc-score7.c (struct s7_reg_map): Likewise.
676 (s7_score_reg_parse): Likewise.
677 (s7_dependency_type_from_insn): Likewise.
678 (s7_parse_16_32_inst): Likewise.
679 (s7_build_score_ops_hsh): Likewise.
680 (s7_build_dependency_insn_hsh): Likewise.
681 (s7_insert_reg): Likewise.
682 (s7_build_reg_hsh): Likewise.
683 (s7_begin): Likewise.
684 * config/tc-sh.c (EMPTY): Likewise.
685 (md_begin): Likewise.
686 (find_cooked_opcode): Likewise.
687 * config/tc-sparc.c (md_begin): Likewise.
688 (sparc_ip): Likewise.
689 * config/tc-spu.c (md_begin): Likewise.
690 (md_assemble): Likewise.
691 * config/tc-tic30.c (md_begin): Likewise.
692 (tic30_operand): Likewise.
693 (tic30_parallel_insn): Likewise.
694 (md_assemble): Likewise.
695 * config/tc-tic4x.c (TIC4X_ALT_SYNTAX): Likewise.
696 (tic4x_asg): Likewise.
697 (tic4x_inst_insert): Likewise.
698 (tic4x_inst_add): Likewise.
699 (md_begin): Likewise.
700 (tic4x_operand_parse): Likewise.
701 (md_assemble): Likewise.
702 * config/tc-tic54x.c (MAX_SUBSYM_HASH): Likewise.
703 (stag_add_field_symbols): Likewise.
704 (tic54x_endstruct): Likewise.
705 (tic54x_tag): Likewise.
706 (tic54x_remove_local_label): Likewise.
707 (tic54x_clear_local_labels): Likewise.
708 (tic54x_var): Likewise.
709 (tic54x_macro_start): Likewise.
710 (tic54x_macro_info): Likewise.
711 (tic54x_macro_end): Likewise.
712 (subsym_isreg): Likewise.
713 (subsym_structsz): Likewise.
714 (md_begin): Likewise.
715 (is_mmreg): Likewise.
716 (is_type): Likewise.
717 (encode_condition): Likewise.
718 (encode_cc3): Likewise.
719 (encode_cc2): Likewise.
720 (encode_operand): Likewise.
721 (tic54x_parse_insn): Likewise.
722 (tic54x_parse_parallel_insn_firstline): Likewise.
723 (subsym_create_or_replace): Likewise.
724 (subsym_lookup): Likewise.
725 (subsym_substitute): Likewise.
726 (tic54x_undefined_symbol): Likewise.
727 * config/tc-tic6x.c (md_begin): Likewise.
728 (md_assemble): Likewise.
729 * config/tc-tilegx.c (O_hw2_last_plt): Likewise.
730 (INSERT_SPECIAL_OP): Likewise.
731 (md_begin): Likewise.
732 (tilegx_parse_name): Likewise.
733 (parse_reg_expression): Likewise.
734 (md_assemble): Likewise.
735 * config/tc-tilepro.c (O_tls_ie_load): Likewise.
736 (INSERT_SPECIAL_OP): Likewise.
737 (tilepro_parse_name): Likewise.
738 (parse_reg_expression): Likewise.
739 (md_assemble): Likewise.
740 * config/tc-v850.c (md_begin): Likewise.
741 (md_assemble): Likewise.
742 * config/tc-vax.c (md_ri_to_chars): Likewise.
743 (vip_begin): Likewise.
744 (vip): Likewise.
745 (main): Likewise.
746 (md_begin): Likewise.
747 * config/tc-wasm32.c (md_begin): Likewise.
748 (md_assemble): Likewise.
749 * config/tc-xgate.c (xgate_parse_operand): Likewise.
750 (md_begin): Likewise.
751 (md_assemble): Likewise.
752 * config/tc-z8k.c (md_begin): Likewise.
753 (md_assemble): Likewise.
754
494b2fc8
ML
7552020-08-20 Martin Liska <mliska@suse.cz>
756
757 * dw2gencfi.c (dwcfi_hash_insert): Use htab_t and str_hash_*
758 functions.
759 (dwcfi_hash_find): Likewise.
760 (dwcfi_hash_find_or_make): Likewise.
761
f7a5981b
ML
7622020-08-20 Martin Liska <mliska@suse.cz>
763
764 * ecoff.c (INIT_VARRAY): Use htab_t.
765 (add_string): Likewise.
766 (ecoff_read_begin_hook): Use new str_htab_create.
767 (get_tag): Use htab_t.
768 (add_file): Likewise.
769
8d32ded0
ML
7702020-08-20 Martin Liska <mliska@suse.cz>
771
772 * hash.h (struct string_tuple): New.
773 (hash_string_tuple): Likewise.
774 (eq_string_tuple): Likewise.
775 (string_tuple_alloc): Likewise.
776 (str_hash_find): Likewise.
777 (str_hash_find_n): Likewise.
778 (str_hash_delete): Likewise.
779 (str_hash_insert): Likewise.
780 (str_htab_create): Likewise.
781
d3b740ca
ML
7822020-08-20 Martin Liska <mliska@suse.cz>
783
784 * symbols.c (struct symbol_entry): New.
785 (hash_symbol_entry): Likewise.
786 (eq_symbol_entry): Likewise.
787 (symbol_entry_alloc): Likewise.
788 (symbol_entry_find): Likewise.
789 (local_symbol_make): Use htab hash table.
790 (local_symbol_convert): Likewise.
791 (symbol_table_insert): Likewise.
792 (symbol_find_exact_noref): Likewise.
793 (resolve_local_symbol): Likewise.
794 (resolve_local_symbol_values): Likewise.
795 (symbol_begin): Likewise.
796 (symbol_print_statistics): Likewise.
797
32e4c1c2
ML
7982020-08-20 Martin Liska <mliska@suse.cz>
799
800 * read.c (struct po_entry): New.
801 (hash_po_entry): Likewise.
802 (eq_po_entry): Likewise.
803 (po_entry_alloc): Likewise.
804 (po_entry_find): Likewise.
805 (pop_insert): Likewise.
806 (pobegin): Use htab hash table.
807 (read_a_source_file): Likewise.
808 (s_macro): Likewise.
809 (read_print_statistics): Likewise.
810 * config/tc-m68k.c (m68k_conditional_pseudoop): Add const qualifier.
811 * config/tc-m68k.h (m68k_conditional_pseudoop): Likewise.
812
2b272f44
ML
8132020-08-20 Martin Liska <mliska@suse.cz>
814
815 * config/tc-iq2000.c (iq2000_add_macro): Use htab hash table.
816 * macro.c (struct hash_control): Use htab.
817 (macro_init): Likewise.
818 (do_formals): Likewise.
819 (free_macro): Likewise.
820 (define_macro): Likewise.
821 (sub_actual): Likewise.
822 (macro_expand_body): Likewise.
823 (macro_expand): Likewise.
824 (check_macro): Likewise.
825 (delete_macro): Likewise.
826 (expand_irp): Likewise.
827 * macro.h (struct macro_hash_entry): New struct.
828 (hash_macro_entry): New.
829 (eq_macro_entry): Likewise.
830 (macro_entry_alloc): Likewise.
831 (macro_entry_find): Likewise.
832 (struct formal_hash_entry): Likewise.
833 (hash_formal_entry): Likewise.
834 (eq_formal_entry): Likewise.
835 (formal_entry_alloc): Likewise.
836 (formal_entry_find): Likewise.
837
abebb03c
ML
8382020-08-20 Martin Liska <mliska@suse.cz>
839
840 * as.h: Include hashtab.h.
841 * hash.c (htab_insert): New.
842 (htab_print_statistics): Likewise.
843 * hash.h (htab_insert): Likewise.
844 (htab_print_statistics): Likewise.
845
18a8a00e
AM
8462020-08-19 Alan Modra <amodra@gmail.com>
847
848 * testsuite/gas/ppc/int128.s: Correct vcmpuq.
849 * testsuite/gas/ppc/int128.d: Update.
850 * testsuite/gas/ppc/xvtlsbb.d: Update.
851
587a4371
PB
8522020-08-18 Peter Bergner <bergner@linux.ibm.com>
853
854 * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic.
855 * testsuite/gas/ppc/vsx4.d: Likewise.
856
d4d05d13
AC
8572020-08-17 Alex Coplan <alex.coplan@arm.com>
858
859 * config/obj-elf.c (obj_elf_change_section): When repurposing an
860 existing symbol, ensure that we set sy_value as per other (fresh)
861 section symbols.
862 * testsuite/gas/elf/elf.exp: Add new test.
863 * testsuite/gas/elf/section-symbol-redef.d: New test.
864 * testsuite/gas/elf/section-symbol-redef.s: Input for test.
865
8118fd43
NC
8662020-08-13 Nick Clifton <nickc@redhat.com>
867
868 PR 26359
869 * config/obj-som.c (obj_som_init_stab_section): Do nothing if the
870 $GDB_DEBUG$ section has already been created.
871
225f1684
JR
8722020-08-12 Joe Ramsay <joe.ramsay@.arm.com>
873
874 * config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
875 NS_FD shape when MVE is present
876 * testsuite/gas/arm/mve-vcvtne-it-bad.d: New test.
877 * testsuite/gas/arm/mve-vcvtne-it-bad.l: New test.
878 * testsuite/gas/arm/mve-vcvtne-it-bad.s: New test.
879 * testsuite/gas/arm/mve-vcvtne-it.d: New test.
880 * testsuite/gas/arm/mve-vcvtne-it.s: New test.
881
2e49fd1e
AC
8822020-08-12 Alex Coplan <alex.coplan@arm.com>
883
884 * testsuite/gas/aarch64/mpam-bad.d: New test.
885 * testsuite/gas/aarch64/mpam-bad.l: Error output.
886 * testsuite/gas/aarch64/mpam-bad.s: Input.
887 * testsuite/gas/aarch64/mpam.d: New test.
888 * testsuite/gas/aarch64/mpam.s: Input.
889
369afd50
NC
8902020-08-12 Nick Clifton <nickc@redhat.com>
891
892 PR 26346
893 * doc/c-riscv.texi (RISC-V-Options): Fix typo in the description
894 of the -mno-csr-check option.
895
79ddc884
NC
8962020-08-12 Nick Clifton <nickc@redhat.com>
897
898 * po/ru.po: Updated Russian translation.
899
fa63795f
AC
9002020-08-10 Alex Coplan <alex.coplan@arm.com>
901
902 * config/tc-aarch64.c (parse_sys_reg): Don't assert when parsing
903 a long system register.
904 (parse_sys_ins_reg): Likewise.
905 (sysreg_hash_insert): New.
906 (md_begin): Use sysreg_hash_insert() to ensure all system
907 registers are no longer than the maximum length at startup.
908 * testsuite/gas/aarch64/invalid-sysreg-assert.d: New test.
909 * testsuite/gas/aarch64/invalid-sysreg-assert.l: Error output.
910 * testsuite/gas/aarch64/invalid-sysreg-assert.s: Input.
911
f7cb161e
PW
9122020-08-10 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
913
914 * config/tc-aarch64.c (parse_sys_reg): Call to
915 aarch64_sys_ins_reg_supported_p instead of
916 aarch64_sys_reg_supported_p.
917 (parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check.
918 * testsuite/gas/aarch64/illegal-sysreg-5.d: New test.
919 * testsuite/gas/aarch64/illegal-sysreg-5.l: New test.
920 * testsuite/gas/aarch64/sysreg-5.s: New test.
921
8b2742a1
AM
9222020-08-10 Alan Modra <amodra@gmail.com>
923
924 * testsuite/gas/ppc/power8.d,
925 * testsuite/gas/ppc/power8.s: Add miso.
926 * testsuite/gas/ppc/power9.d,
927 * testsuite/gas/ppc/power8.s: Add exser, msgsndu, msgclru.
928
5fbec329
AM
9292020-08-10 Alan Modra <amodra@gmail.com>
930
931 * testsuite/gas/ppc/power8.d: Update.
932 * testsuite/gas/ppc/vsx2.d: Update.
933
86c0f617
AM
9342020-08-10 Alan Modra <amodra@gmail.com>
935
936 * config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
937 stswi, or stswx in little-endian mode.
938 * testsuite/gas/ppc/476.d,
939 * testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
940 * testsuite/gas/ppc/a2.d,
941 * testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
942 * testsuite/gas/ppc/be.d,
943 * testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
944 * testsuite/gas/ppc/le_error.d,
945 * testsuite/gas/ppc/le_error.l: New little-endian test.
946 * testsuite/gas/ppc/ppc.exp: Run new tests.
947
7bb178ec
L
9482020-08-07 H.J. Lu <hongjiu.lu@intel.com>
949
950 * read.c (read_a_source_file): Ignore rest of line on overflow
951 error.
952
d27aad4e
AC
9532020-08-06 Alex Coplan <alex.coplan@arm.com>
954
955 * read.c (read_a_source_file): Use long for local labels, detect
956 overflow and raise an error for overly-long labels.
957 * testsuite/gas/all/gas.exp: Add local-label-overflow test.
958 * testsuite/gas/all/local-label-overflow.d: New test.
959 * testsuite/gas/all/local-label-overflow.l: Error output.
960 * testsuite/gas/all/local-label-overflow.s: Input.
961
563a3225
CG
9622020-08-04 Christian Groessler <chris@groessler.org>
963
964 * gas/testsuite/gas/z8k/inout.d: Adapt to correct encoding of
965 "sout/soutb #imm,reg"
966
789198ca
L
9672020-08-04 H.J. Lu <hongjiu.lu@intel.com>
968
969 * NEWS: Mention {disp16} pseudo prefix.
970
b0a72f49
L
9712020-08-04 H.J. Lu <hongjiu.lu@intel.com>
972
973 * testsuite/gas/i386/x86-64-pseudos.d: Revert an accidental
974 change.
975
6b9a135d
MW
9762020-08-04 Mark Wielaard <mark@klomp.org>
977
978 * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use
979 DW_FORM_udata for DW_AT_high_pc.
980 (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when
981 DWARF2_VERSION >= 4.
982 * read.c (emit_leb128_exp): No longer static.
983 * read.h (emit_leb128_exp): Define.
984
f63d03dd
MW
9852020-08-02 Mark Wielaard <mark@klomp.org>
986
987 * gas/dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at
988 least one directory if there is at least one file. Use dirs[1]
989 if dirs[0] is not set, or if there is no dirs[1] the current
990 working directory. Use files[1] filename, when files[0] filename
991 isn't set.
992
a3b3e858
MW
9932020-08-02 Mark Wielaard <mark@klomp.org>
994
995 * dwarf2dbg.c (out_debug_info): Emit unit type and abbrev offset
996 for DWARF5.
997 * gas/testsuite/gas/elf/dwarf-4-cu.d: New file.
998 * gas/testsuite/gas/elf/dwarf-4-cu.s: Likewise.
999 * gas/testsuite/gas/elf/dwarf-5-cu.d: Likewise.
1000 * gas/testsuite/gas/elf/dwarf-5-cu.s: Likewise.
1001 * testsuite/gas/elf/elf.exp: Run dwarf-4-cu and dwarf-5-cu.
1002
25b1f10d
MW
10032020-08-02 Mark Wielaard <mark@klomp.org>
1004
1005 * doc/as.texi (--gdwarf-[345]): Fix typo.
1006
e4ae357f
JL
10072020-08-03 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1008
1009 * config/tc-msp430.c (OPTION_MOVE_DATA): Remove.
1010 (md_parse_option): Remove case for OPTION_MOVE_DATA.
1011 (md_longopts): Remove "md" entry.
1012 (md_show_usage): Likewise.
1013
41eb8e88
L
10142020-07-30 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 PR gas/26305
1017 * config/tc-i386.c (_i386_insn::disp_encoding): Add
1018 disp_encoding_16bit.
1019 (parse_insn): Check Prefix_XXX for pseudo prefixes. Handle
1020 {disp16}.
1021 (build_modrm_byte): Handle {disp16}.
1022 (i386_index_check): Check invalid {disp16} and {disp32} pseudo
1023 prefixes.
1024 * doc/c-i386.texi: Update {disp32} documentation and document
1025 {disp16}.
1026 * testsuite/gas/i386/i386.exp: Run x86-64-inval-pseudo.
1027 * testsuite/gas/i386/inval-pseudo.s: Add {disp32}/{disp16}
1028 tests.
1029 * testsuite/gas/i386/pseudos.s: Add {disp8}/{disp32} vmovaps
1030 tests with 128-byte displacement. Add {disp16} tests.
1031 * testsuite/gas/i386/x86-64-pseudos.s: Add {disp8}/{disp32}
1032 vmovaps test. Add (%r13)/(%r13d) tests.
1033 * testsuite/gas/i386/x86-64-inval-pseudo.l: New file.
1034 * testsuite/gas/i386/x86-64-inval-pseudo.s: Likewise.
1035 * testsuite/gas/i386/inval-pseudo.l: Updated.
1036 * testsuite/gas/i386/pseudos.d: Likewise.
1037 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1038
c8693053
RO
10392020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1040
1041 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
1042 * Makefile.in, doc/Makefile.in: Regenerate.
1043 * configure: Regenerate.
1044
ac2599c4
L
10452020-07-30 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler.
1048 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1049 * testsuite/gas/i386/dw2-compress-3a.d: Likewise.
1050 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1051 * testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
1052 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1053
4d8ee860
NC
10542020-07-30 Nick Clifton <nickc@redhat.com>
1055
f291783b 1056 * as.c (dwarf_level): Initialise to 3 in case this is not set on
4d8ee860
NC
1057 the command line.
1058
c77cb2a0
MR
10592020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
1060
1061 * testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.
1062 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: New test.
1063 * testsuite/gas/mips/global-local-symtab-sort-n32.d: New test.
1064 * testsuite/gas/mips/global-local-symtab-sort-n32t.d: New test.
1065 * testsuite/gas/mips/global-local-symtab-sort-n64.d: New test.
1066 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: New test.
1067 * testsuite/gas/mips/mips.exp: Run the new tests.
1068
3f1b17bb
MR
10692020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
1070
1071 * testsuite/gas/mips/global-local-symtab-o32.d: New test.
1072 * testsuite/gas/mips/global-local-symtab-o32t.d: New test.
1073 * testsuite/gas/mips/global-local-symtab-n32.d: New test.
1074 * testsuite/gas/mips/global-local-symtab-n32t.d: New test.
1075 * testsuite/gas/mips/global-local-symtab-n64.d: New test.
1076 * testsuite/gas/mips/global-local-symtab.s: New test source.
1077 * testsuite/gas/mips/mips.exp: Run the new tests.
1078
1a02d6b0
L
10792020-07-28 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 PR gas/26305
1082 * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
1083 (%bp)/(%ebp)/(%rbp) for {disp32}.
1084 * doc/c-i386.texi: Update {disp32} documentation.
1085 * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
1086 * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
1087 * testsuite/gas/i386/pseudos.d: Updated.
1088 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1089
608d61c2
L
10902020-07-27 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 * doc/as.texi: Replace preceeded with preceded.
1093
39fdda07
MR
10942020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
1095
1096 * testsuite/gas/mips/jal-svr4pic-irix.d: New file.
1097 * testsuite/gas/mips/mips1@jal-svr4pic-irix.d: New file.
1098 * testsuite/gas/mips/mipsr6@jal-svr4pic-irix.d: New file.
1099 * testsuite/gas/mips/micromips@jal-svr4pic-irix.d: New file.
1100 * testsuite/gas/mips/r3000@jal-svr4pic-irix.d: New file.
1101 * testsuite/gas/mips/jal-svr4pic-local-irix.d: New file.
1102 * testsuite/gas/mips/mips1@jal-svr4pic-local-irix.d: New file.
1103 * testsuite/gas/mips/micromips@jal-svr4pic-local-irix.d: New
1104 file.
1105 * testsuite/gas/mips/r3000@jal-svr4pic-local-irix.d: New file.
1106 * testsuite/gas/mips/jal-svr4pic-noreorder-irix.d: New file.
1107 * testsuite/gas/mips/mips1@jal-svr4pic-noreorder-irix.d: New
1108 file.
1109 * testsuite/gas/mips/mipsr6@jal-svr4pic-noreorder-irix.d: New
1110 file.
1111 * testsuite/gas/mips/micromips@jal-svr4pic-noreorder-irix.d: New
1112 file.
1113 * testsuite/gas/mips/r3000@jal-svr4pic-noreorder-irix.d: New
1114 file.
1115 * testsuite/gas/mips/jal-xgot-irix.d: New file.
1116 * testsuite/gas/mips/jalr2-irix.d: New file.
1117 * testsuite/gas/mips/micromips-branch-relax-insn32-pic-irix.d:
1118 New file.
1119 * testsuite/gas/mips/micromips-branch-relax-pic-irix.d: New
1120 file.
1121 * testsuite/gas/mips/mips-abi32-pic2-irix.d: New file.
1122 * testsuite/gas/mips/jal-svr4pic-local.d: Don't exclude
1123 `*-*-irix*' targets. Add source file designator.
1124 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: Don't exclude
1125 `*-*-irix*' targets.
1126 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: Likewise.
1127 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
1128 * testsuite/gas/mips/jalr2.d: Add name designator.
1129 * testsuite/gas/mips/mips.exp: Use respective IRIX variants for
1130 tests involving the JALR relocation throughout.
1131
b83d958f
MR
11322020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
1133
1134 * testsuite/gas/mips/mips.exp: Use a helper variable for
1135 IRIX/non-IRIX test selection.
1136
bf4ba07c
JB
11372020-07-21 Jan Beulich <jbeulich@suse.com>
1138
1139 * testsuite/gas/i386/evex-no-scale-64.d,
1140 testsuite/gas/i386/addr32.d,
1141 testsuite/gas/i386/x86-64-addr32-intel.d,
1142 testsuite/gas/i386/x86-64-addr32.d: Adjust expectations.
1143
2b42b041
CQ
11442020-07-21 Cooper Qu <cooper.qu@linux.alibaba.com>
1145
1146 * config/tc-csky.c (md_begin): Fix tests of arch and mach flags.
1147
185a798e
JB
11482020-07-21 Jan Beulich <jbeulich@suse.com>
1149
1150 * testsuite/gas/i386/evex-no-scale-32.d,
1151 testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass.
1152 * testsuite/gas/i386/evex-no-scale-32.s,
1153 testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ...
1154 * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct
1155 instead of .section.
1156 * testsuite/gas/i386/i386.exp: Move above tests out of ELF-
1157 specific section.
1158
ec4fcab0
MR
11592020-07-21 Maciej W. Rozycki <macro@linux-mips.org>
1160
1161 * config/tc-mips.c (prev_reloc_op_frag): Remove variable.
1162 (my_getSmallExpression): Adjust accordingly.
1163
b3983e5f
JB
11642020-07-20 Jan Beulich <jbeulich@suse.com>
1165
1166 PR gas/4572
1167 * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from
1168 conditional around it.
1169 (md_begin): Insert backslash into operand_chars[] when slash is
1170 a comment character.
1171 * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and
1172 \* as operators when / may be a comment character.
1173 * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New.
1174 * testsuite/gas/i386/i386.exp: Run new test.
1175
750e4bf7
JB
11762020-07-20 Jan Beulich <jbeulich@suse.com>
1177
1178 PR gas/4572
1179 * app.c (last_char): Drop TC_ARM conditional around it.
1180 (struct app_save): Drop TC_ARM conditional around last_char.
1181 (app_push, app_pop): Drop TC_ARM conditional from last_char
1182 accesses.
1183 (do_scrub_chars): Likewise. Drop TC_ARM conditional from
1184 backslash-precedes-comment-character check.
1185
48ef937e
JB
11862020-07-20 Jan Beulich <jbeulich@suse.com>
1187
1188 * config/tc-i386.c (frag_opcode_byte): New.
1189 (output_branch): Emit error when in absolute section.
1190 (output_jump, output_insn): Use frag_opcode_byte. Handle being
1191 in absolute section.
1192 (output_interseg_jump, output_disp, output_imm): Handle being in
1193 absolute section.
1194 * testsuite/gas/i386/sizing.s,
1195 testsuite/gas/i386/sizing32.d,
1196 testsuite/gas/i386/sizing64.d: New.
1197 * testsuite/gas/i386/i386.exp: Run new tests.
1198
693bec1e
JB
11992020-07-20 Jan Beulich <jbeulich@suse.com>
1200
1201 * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside
1202 is_elf_format as applicable; merely exclude iamcu tests.
1203
2585b7a5
L
12042020-07-19 H.J. Lu <hongjiu.lu@intel.com>
1205
1206 PR gas/26263
1207 * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc
1208 against section to PC32 reloc.
1209 * testsuite/gas/i386/relax-5.d: Updated.
1210 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
1211
04c662e2
L
12122020-07-15 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 PR gas/26237
1215 * testsuite/gas/i386/evex-no-scale-64.d: Updated.
1216 * testsuite/gas/i386/addr32.d: Likewise.
1217 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1218 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1219
56c1b507
NC
12202020-07-15 Nick Clifton <nickc@redhat.com>
1221
1222 * write.c (create_note_reloc): Add desc2_size parameter. Zero out
1223 the addend field of REL relocations. Store the full addend into
1224 the note for REL relocations.
1225
e2e018c3
JB
12262020-07-15 Jan Beulich <jbeulich@suse.com>
1227
1228 * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push
1229 immediate.
1230 * testsuite/gas/i386/x86-64-stack-intel.d,
1231 testsuite/gas/i386/x86-64-stack-suffix.d,
1232 testsuite/gas/i386/x86-64-stack.d: Adjust expectations.
1233
36938cab
JB
12342020-07-15 Jan Beulich <jbeulich@suse.com>
1235
1236 * testsuite/gas/i386/disassem.d,
1237 testsuite/gas/i386/ilp32/x86-64-branch.d,
1238 testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d,
1239 testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d,
1240 testsuite/gas/i386/noreg32.d,
1241 testsuite/gas/i386/noreg64-rex64.d,
1242 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d,
1243 testsuite/gas/i386/opcode.d,
1244 testsuite/gas/i386/solaris/x86-64-branch-2.d,
1245 testsuite/gas/i386/solaris/x86-64-jump.d,
1246 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
1247 testsuite/gas/i386/solaris/x86-64-nop-3.d,
1248 testsuite/gas/i386/solaris/x86-64-nop-4.d,
1249 testsuite/gas/i386/solaris/x86-64-nop-5.d,
1250 testsuite/gas/i386/solaris/x86-64-relax-2.d,
1251 testsuite/gas/i386/solaris/x86-64-relax-3.d,
1252 testsuite/gas/i386/x86-64-align-branch-1a.d,
1253 testsuite/gas/i386/x86-64-align-branch-1b.d,
1254 testsuite/gas/i386/x86-64-align-branch-1c.d,
1255 testsuite/gas/i386/x86-64-align-branch-1d.d,
1256 testsuite/gas/i386/x86-64-align-branch-1e.d,
1257 testsuite/gas/i386/x86-64-align-branch-1f.d,
1258 testsuite/gas/i386/x86-64-align-branch-1g.d,
1259 testsuite/gas/i386/x86-64-align-branch-1h.d,
1260 testsuite/gas/i386/x86-64-align-branch-1i.d,
1261 testsuite/gas/i386/x86-64-align-branch-2a.d,
1262 testsuite/gas/i386/x86-64-align-branch-2b.d,
1263 testsuite/gas/i386/x86-64-align-branch-2c.d,
1264 testsuite/gas/i386/x86-64-align-branch-3.d,
1265 testsuite/gas/i386/x86-64-align-branch-4a.d,
1266 testsuite/gas/i386/x86-64-align-branch-4b.d,
1267 testsuite/gas/i386/x86-64-align-branch-5.d,
1268 testsuite/gas/i386/x86-64-align-branch-6.d,
1269 testsuite/gas/i386/x86-64-branch-2.d,
1270 testsuite/gas/i386/x86-64-branch-3.d,
1271 testsuite/gas/i386/x86-64-branch.d,
1272 testsuite/gas/i386/x86-64-disassem.d,
1273 testsuite/gas/i386/x86-64-disp32.d,
1274 testsuite/gas/i386/x86-64-gotpcrel-no-relax.d,
1275 testsuite/gas/i386/x86-64-gotpcrel.d,
1276 testsuite/gas/i386/x86-64-ifunc.d,
1277 testsuite/gas/i386/x86-64-jump.d,
1278 testsuite/gas/i386/x86-64-lfence-byte.d,
1279 testsuite/gas/i386/x86-64-lfence-indbr-a.d,
1280 testsuite/gas/i386/x86-64-lfence-indbr-b.d,
1281 testsuite/gas/i386/x86-64-lfence-indbr-c.d,
1282 testsuite/gas/i386/x86-64-lfence-load.d,
1283 testsuite/gas/i386/x86-64-lfence-ret-a.d,
1284 testsuite/gas/i386/x86-64-lfence-ret-b.d,
1285 testsuite/gas/i386/x86-64-lfence-ret-c.d,
1286 testsuite/gas/i386/x86-64-lfence-ret-d.d,
1287 testsuite/gas/i386/x86-64-lfence-ret-e.d,
1288 testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
1289 testsuite/gas/i386/x86-64-mpx-branch-1.d,
1290 testsuite/gas/i386/x86-64-mpx.d,
1291 testsuite/gas/i386/x86-64-nop-3.d,
1292 testsuite/gas/i386/x86-64-nop-4.d,
1293 testsuite/gas/i386/x86-64-nop-5.d,
1294 testsuite/gas/i386/x86-64-nops-7.d,
1295 testsuite/gas/i386/x86-64-notrack.d,
1296 testsuite/gas/i386/x86-64-opcode.d,
1297 testsuite/gas/i386/x86-64-relax-2.d,
1298 testsuite/gas/i386/x86-64-relax-3.d,
1299 testsuite/gas/i386/x86-64-relax-4.d,
1300 testsuite/gas/i386/x86-64-rtm.d,
1301 testsuite/gas/i386/x86-64-stack.d,
1302 testsuite/gas/i386/x86-64-unique.d,
1303 testsuite/gas/i386/x86_64-intel.d: Adjust expectations.
1304
8e58ef80
L
13052020-07-14 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 PR gas/26237
1308 * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
1309 address.
1310 * testsuite/gas/i386/x86-64-addr32.s: Likewise.
1311 * testsuite/gas/i386/addr32.d: Updated.
1312 * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
1313 * testsuite/gas/i386/x86-64-addr32.d: Likewise.
1314 * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
1315 * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
1316
bfbd9438
JB
13172020-07-14 Jan Beulich <jbeulich@suse.com>
1318
1319 * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>.
1320 * testsuite/gas/i386/intel-intel.d: Disambiguate name.
1321 * testsuite/gas/i386/intel.d,
1322 testsuite/gas/i386/opcode-intel.d: Adjust expectations.
1323
7531c613
JB
13242020-07-14 Jan Beulich <jbeulich@suse.com>
1325
1326 * testsuite/gas/i386/prefix.d: Adjust expectations.
1327
b24d668c
JB
13282020-07-14 Jan Beulich <jbeulich@suse.com>
1329
1330 * testsuite/gas/i386/x86-64-avx-intel.d,
1331 testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations.
1332
9ab00b61
JB
13332020-07-14 Jan Beulich <jbeulich@suse.com>
1334
1335 * testsuite/gas/i386/movbe-suffix.d,
1336 testsuite/gas/i386/x86-64-movbe-suffix.d: New.
1337 * testsuite/gas/i386/i386.exp: Run new tests.
1338
2875b28a
JB
13392020-07-14 Jan Beulich <jbeulich@suse.com>
1340
1341 * testsuite/gas/i386/crc32-suffix.d,
1342 testsuite/gas/i386/x86-64-crc32-suffix.d: New.
1343 * testsuite/gas/i386/i386.exp: Run new tests.
1344 * testsuite/gas/i386/arch-10-bdver1.d,
1345 testsuite/gas/i386/arch-10-bdver2.d,
1346 testsuite/gas/i386/arch-10-bdver3.d,
1347 testsuite/gas/i386/arch-10-bdver4.d,
1348 testsuite/gas/i386/arch-10-btver1.d,
1349 testsuite/gas/i386/arch-10-btver2.d,
1350 testsuite/gas/i386/arch-10-lzcnt.d,
1351 testsuite/gas/i386/arch-10-prefetchw.d,
1352 testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d,
1353 testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d,
1354 testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d,
1355 testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d,
1356 testsuite/gas/i386/x86-64-arch-2-bdver1.d,
1357 testsuite/gas/i386/x86-64-arch-2-bdver2.d,
1358 testsuite/gas/i386/x86-64-arch-2-bdver3.d,
1359 testsuite/gas/i386/x86-64-arch-2-bdver4.d,
1360 testsuite/gas/i386/x86-64-arch-2-btver1.d,
1361 testsuite/gas/i386/x86-64-arch-2-btver2.d,
1362 testsuite/gas/i386/x86-64-arch-2-lzcnt.d,
1363 testsuite/gas/i386/x86-64-arch-2-prefetchw.d,
1364 testsuite/gas/i386/x86-64-arch-2.d,
1365 testsuite/gas/i386/x86-64-crc32.d,
1366 testsuite/gas/i386/x86-64-pseudos.d,
1367 testsuite/gas/i386/x86-64-sse-noavx.d,
1368 testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations.
1369
e184e611
JB
13702020-07-14 Jan Beulich <jbeulich@suse.com>
1371
1372 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1373 ModR/M-encoded byte register cases.
1374 * testsuite/gas/i386/x86-64-pseudos.d,
1375 testsuite/gas/i386/x86-64-reg-intel.d,
1376 testsuite/gas/i386/x86-64-reg.d: Adjust expectations.
1377
e8b5d5f9
JB
13782020-07-14 Jan Beulich <jbeulich@suse.com>
1379
1380 * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
1381 not-ModR/M-encoded byte register cases.
1382 * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
1383
38397794
JB
13842020-07-14 Jan Beulich <jbeulich@suse.com>
1385
1386 * testsuite/gas/i386/ilp32/x86-64-arch-1.d,
1387 testsuite/gas/i386/ilp32/x86-64-arch-2.d,
1388 testsuite/gas/i386/ilp32/x86-64-avx-intel.d,
1389 testsuite/gas/i386/ilp32/x86-64-avx.d,
1390 testsuite/gas/i386/ilp32/x86-64-crc32-intel.d,
1391 testsuite/gas/i386/ilp32/x86-64-crc32.d,
1392 testsuite/gas/i386/ilp32/x86-64-gotpcrel.d,
1393 testsuite/gas/i386/ilp32/x86-64-ifunc.d,
1394 testsuite/gas/i386/ilp32/x86-64-reg-intel.d,
1395 testsuite/gas/i386/ilp32/x86-64-reg.d,
1396 testsuite/gas/i386/ilp32/x86-64-rep-suffix.d,
1397 testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d,
1398 testsuite/gas/i386/ilp32/x86-64-sse4_2.d,
1399 testsuite/gas/i386/ilp32/x86-64-stack-intel.d,
1400 testsuite/gas/i386/ilp32/x86-64-stack-suffix.d,
1401 testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir
1402 dump expectations.
1403
7a705315
L
14042020-07-13 H.J. Lu <hongjiu.lu@intel.com>
1405
1406 * config/tc-i386.c (offset_in_range): Remove 32-bit sign
1407 extension.
1408
0a5c31d1
NC
14092020-07-13 Nick Clifton <nickc@redhat.com>
1410
1411 * po/fr.po: Updated French translation.
1412
8884c29c
AM
14132020-07-13 Alan Modra <amodra@gmail.com>
1414
1415 * testsuite/gas/elf/dwarf2-7.d: Remove most xfails.
1416 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1417 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1418 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1419
a308b89d
L
14202020-07-11 H.J. Lu <hongjiu.lu@intel.com>
1421
1422 * config/tc-i386.c (output_insn): Check i.xstate to set
1423 GNU_PROPERTY_X86_FEATURE_2_TMM.
1424 * testsuite/gas/i386/i386.exp: Run x86-64-property-7,
1425 x86-64-property-8 and x86-64-property-9.
1426 * testsuite/gas/i386/x86-64-property-7.d: New file.
1427 * testsuite/gas/i386/x86-64-property-7.s: Likewise.
1428 * testsuite/gas/i386/x86-64-property-8.d: Likewise.
1429 * testsuite/gas/i386/x86-64-property-8.s: Likewise.
1430 * testsuite/gas/i386/x86-64-property-9.d: Likewise.
1431 * testsuite/gas/i386/x86-64-property-9.s: Likewise.
1432
921eafea
L
14332020-07-10 H.J. Lu <hongjiu.lu@intel.com>
1434
1435 * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm,
1436 has_regymm, has_regzmm and has_regtmm. Add xstate.
1437 (md_assemble): Set i.xstate from operand types in instruction
1438 template.
1439 (build_modrm_byte): Updated.
1440 (output_insn): Check i.xstate.
1441 * testsuite/gas/i386/i386.exp: Run property-6 and
1442 x86-64-property-6.
1443 * testsuite/gas/i386/property-6.d: New file.
1444 * testsuite/gas/i386/property-6.s: Updated.
1445 * testsuite/gas/i386/x86-64-property-6.d: Likewise.
1446
d249bf86
L
14472020-07-10 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * testsuite/gas/i386/property-5.d: Correct test name.
1450
260cd341
LC
14512020-07-10 Lili Cui <lili.cui@intel.com>
1452
1453 * NEWS: Mention support for Intel AMX instructions.
1454 * config/tc-i386.c (i386_error): Add invalid_sib_address.
1455 (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile.
1456 (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile.
1457 (match_simd_size): Add tmmword check.
1458 (operand_type_match): Add tmmword.
1459 (type_names): Add rTMM.
1460 (i386_error): Add invalid_tmm_register_set.
1461 (check_VecOperands): Handle invalid_sib_address and
1462 invalid_tmm_register_set.
1463 (match_template): Handle invalid_sib_address.
1464 (build_modrm_byte): Handle non-vector SIB and zmmword.
1465 (i386_index_check): Disallow RegIP for non-vector SIB.
1466 (check_register): Handle zmmword.
1467 * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile.
1468 * testsuite/gas/i386/i386.exp: Add AMX new tests.
1469 * testsuite/gas/i386/intel-regs.d: Add tmm.
1470 * testsuite/gas/i386/intel-regs.s: Add tmm.
1471 * testsuite/gas/i386/x86-64-amx-intel.d: New.
1472 * testsuite/gas/i386/x86-64-amx-inval.l: New.
1473 * testsuite/gas/i386/x86-64-amx-inval.s: New.
1474 * testsuite/gas/i386/x86-64-amx.d: New.
1475 * testsuite/gas/i386/x86-64-amx.s: New.
1476 * testsuite/gas/i386/x86-64-amx-bad.d: New.
1477 * testsuite/gas/i386/x86-64-amx-bad.s: New.
1478
af2b3186
TV
14792020-07-10 Tom de Vries <tdevries@suse.de>
1480
1481 * testsuite/gas/elf/dwarf2-11.d: Update expected output from
1482 readelf's line table decoding.
1483 * testsuite/gas/elf/dwarf2-12.d: Likewise.
1484 * testsuite/gas/elf/dwarf2-13.d: Likewise.
1485 * testsuite/gas/elf/dwarf2-14.d: Likewise.
1486 * testsuite/gas/elf/dwarf2-15.d: Likewise.
1487 * testsuite/gas/elf/dwarf2-16.d: Likewise.
1488 * testsuite/gas/elf/dwarf2-17.d: Likewise.
1489 * testsuite/gas/elf/dwarf2-18.d: Likewise.
1490 * testsuite/gas/elf/dwarf2-19.d: Likewise.
1491 * testsuite/gas/elf/dwarf2-5.d: Likewise.
1492 * testsuite/gas/elf/dwarf2-6.d: Likewise.
1493 * testsuite/gas/elf/dwarf2-7.d: Likewise.
1494
39776b11
L
14952020-07-09 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 * config/tc-i386.c (output_insn): Set YMM/ZMM features for
1498 VEX/EVEX vector instructions.
1499 * testsuite/gas/i386/property-4.d: New file.
1500 * testsuite/gas/i386/property-4.s: Likewise.
1501 * testsuite/gas/i386/property-5.d: Likewise.
1502 * testsuite/gas/i386/property-5.s: Likewise.
1503 * testsuite/gas/i386/x86-64-property-4.d: Likewise.
1504 * testsuite/gas/i386/x86-64-property-5.d: Likewise.
1505
939b95c7
L
15062020-07-09 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * NEWS: Mention --enable-x86-used-note.
1509 * configure.ac: Configure with --enable-x86-used-note by default
1510 for Linux/x86.
1511 * configure: Regenerated.
1512
fe49679d
AM
15132020-07-09 Alan Modra <amodra@gmail.com>
1514
1515 * config/obj-coff.h: Remove TE_PE support.
1516 * config/tc-ppc.c: Likewise.
1517 * config/tc-ppc.h: Likewise.
1518 * configure.tgt: Remove powerpc PE and powerpc lynxos.
1519 * testsuite/gas/cfi/cfi.exp (cfi-common-6): Remove powerpc PE
1520 condition.
1521 * testsuite/gas/macros/macros.exp: Don't xfail powerpc PE.
1522
6384fd9e
JB
15232020-07-08 Jan Beulich <jbeulich@suse.com>
1524
1525 * testsuite/gas/i386/fma4-lig.d, testsuite/gas/i386/xop-lig.d:
1526 New.
1527 * testsuite/gas/i386/i386.exp: Run new tests.
1528
3128916d
CZ
15292020-07-07 Claudiu Zissulescu <claziss@synopsys.com>
1530
1531 * config/tc-arc.c (find_opcode_match): Add error messages.
1532 * testsuite/gas/arc/add_s-err.s: Update test.
1533 * testsuite/gas/arc/asm-errors.err: Likewise.
1534 * testsuite/gas/arc/cpu-em-err.s: Likewise.
1535 * testsuite/gas/arc/hregs-err.s: Likewise.
1536 * testsuite/gas/arc/warn.s: Likewise.
1537
dbdba9b0
L
15382020-07-07 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 PR gas/26212
1541 * doc/c-i386.texi: Remove an incorrect AVX2 entry.
1542
34e79798
AM
15432020-07-07 Alan Modra <amodra@gmail.com>
1544
1545 * testsuite/gas/all/gas.exp: Use is_xcoff_format.
1546 * testsuite/gas/ppc/ppc.exp: Likewise.
1547 * testsuite/gas/all/weakref1l.d: Likewise.
1548
3c6e74ce
NC
15492020-07-07 Nick Clifton <nickc@redhat.com>
1550
1551 * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in
1552 expected output.
1553
e74d9fa9
JB
15542020-07-06 Jan Beulich <jbeulich@suse.com>
1555
1556 * testsuite/gas/i386/x86-64-avx512bw-wig1.d,
1557 testsuite/gas/i386/x86-64-avx512bw-wig1-intel.d,
1558 testsuite/gas/i386/x86-64-evex-wig1.d,
1559 testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust
1560 expectations.
1561
39e0f456
JB
15622020-07-06 Jan Beulich <jbeulich@suse.com>
1563
1564 * testsuite/gas/i386/avx512f-opts.s: Add EVEX movq tests.
1565 * testsuite/gas/i386/x86-64-avx512f-opts.s: Add blank line.
1566 * testsuite/gas/i386/avx512f-opts-intel.d,
1567 testsuite/gas/i386/avx512f-opts.d
1568 testsuite/gas/i386/x86-64-avx512f-opts-intel.d
1569 testsuite/gas/i386/x86-64-avx512f-opts.d: Adjust expectations.
1570
ddc73fa9
NC
15712020-07-06 Yuri Chornoivan <yurchor@ukr.net>
1572
1573 PR 26204
1574 * config/tc-arm.c: Fix spelling mistake.
1575 * config/tc-riscv.c: Likewise.
1576 * config/tc-z80.c: Likewise.
1577 * po/gas.pot: Regenerate.
1578
17550be7
NC
15792020-07-06 Nick Clifton <nickc@redhat.com>
1580
1581 * po/uk.po: Updated Ukranian translation.
1582
b19d852d
NC
15832020-07-04 Nick Clifton <nickc@redhat.com>
1584
1585 * configure: Regenerate.
1586 * po/gas.pot: Regenerate.
1587
15882020-07-04 Nick Clifton <nickc@redhat.com>
1589
1590 * version.m4: Change version number to 2.35.50.
1591 * configure: Regenerate.
1592 * po/bfd.pot: Regenerate.
1593
b115b9fd
NC
15942020-07-04 Nick Clifton <nickc@redhat.com>
1595
1596 Binutils 2.35 branch created.
1597
b657622c
AM
15982020-07-03 Alan Modra <amodra@gmail.com>
1599
1600 PR 26028
1601 * testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options.
1602
c2ecccb3
L
16032020-07-02 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 * config/tc-i386.c (build_modrm_byte): Check vexswapsources to
1606 swap two source operands.
1607
f436f38e
NC
16082020-07-02 Nick Clifton <nickc@redhat.com>
1609
1610 * testsuite/gas/all/fill-1.d: Skip for MeP targets.
1611
f405494f
AC
16122020-07-02 Alex Coplan <alex.coplan@arm.com>
1613
1614 * config/tc-aarch64.c (reg_name_p): Fix cast so that we don't
1615 segfault on negative chars.
1616 * testsuite/gas/aarch64/reglike-label-unicode-segv.d: New test.
1617 * testsuite/gas/aarch64/reglike-label-unicode-segv.s: Input.
1618
0942c7ab
NC
16192020-07-02 Nick Clifton <nickc@redhat.com>
1620
1621 PR 26028
1622 * testsuite/gas/ia64/group-2.d: Add -T option to readelf
1623 command line.
1624 * testsuite/gas/ia64/unwind.d: Likewise.
1625 * testsuite/gas/mmix/bspec-1.d: Likewise.
1626 * testsuite/gas/mmix/bspec-2.d: Likewise.
1627 * testsuite/gas/mmix/comment-1.d: Likewise.
1628 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1629
3443489c
AM
16302020-07-01 Alan Modra <amodra@gmail.com>
1631
1632 * config/tc-xc16x.c (md_apply_fix): Add FIXME.
1633
054b336d
AM
16342020-07-01 Alan Modra <amodra@gmail.com>
1635
1636 * testsuite/gas/all/eqv-dot.d: xfail targets that set linkrelax
1637 in data sections, and mep.
1638
bbd19b19
L
16392020-06-30 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 * NEWS: Mention x86 NaCl target support removal.
1642 * config/tc-i386.c: Remove x86 NaCl target support.
1643 * config/tc-i386.h: Likewise.
1644 * configure.tgt: Likewise.
1645 * testsuite/gas/i386/i386.exp: Likewise.
1646 * testsuite/gas/i386/iamcu-1.d: Likewise.
1647 * testsuite/gas/i386/iamcu-2.d: Likewise.
1648 * testsuite/gas/i386/iamcu-3.d: Likewise.
1649 * testsuite/gas/i386/iamcu-4.d: Likewise.
1650 * testsuite/gas/i386/iamcu-5.d: Likewise.
1651 * testsuite/gas/i386/k1om.d: Likewise.
1652 * testsuite/gas/i386/l1om.d: Likewise.
1653
08ccfccf
NC
16542020-06-30 Nelson Chu <nelson.chu@sifive.com>
1655
1656 * config/tc-riscv.c (riscv_csr_class_check): Removed. Move the
1657 checking into riscv_csr_address.
1658 (riscv_csr_version_check): Likewise.
1659 (riscv_csr_address): New function. Return the suitable CSR address
1660 after checking the ISA dependency and versions. Issue warnings if
1661 we find any conflict and -mcsr-check is set. CSR_CLASS_F and
1662 CSR_CLASS_DEBUG are unprivileged CSR for now, so don't check the
1663 priv spec versions for them.
1664 (reg_csr_lookup_internal): Call riscv_csr_address to find the
1665 suitable CSR address.
1666 * testsuite/gas/riscv/priv-reg-fail-fext.d: Remove -mpriv-spec=1.11.
1667 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
1668 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
1669 * testsuite/gas/riscv/priv-reg-fail-fext.l: We don't care the
1670 priv spec warnings here. These warnings are added by accident.
1671 Remove them and only focus on the ISA dependency warnings.
1672 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1673 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1674 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Updated since
1675 dscratch0 and dscratch1 are regarded as the unprivileged CSR rather
1676 than the privileged ones.
1677 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1678 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1679 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1680 * testsuite/gas/riscv/priv-reg.s: Likewise. Add missing debug CSR.
1681 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1682 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: Likewise.
1683 * testsuite/gas/riscv/priv-reg-version-1p10.d: Likewise.
1684 * testsuite/gas/riscv/priv-reg-version-1p11.d: Likewise.
1685 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
1686 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
1687
8c190ce0
L
16882020-06-29 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 * tc-i386.c (build_vex_prefix): Support VEX base opcode length > 1.
1691 (md_assemble): Don't process ImmExt without operands.
1692
b20e7614
HPN
16932020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
1694
1695 PR gas/25331
1696 * config/tc-mmix.c (md_assemble) <fixup for
1697 BFD_RELOC_MMIX_BASE_PLUS_OFFSET>: This fixup affects 1 byte, not 8.
1698 Also, set its fx_no_overflow.
1699 (md_convert_frag) <case ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO)>:
1700 Similarly this fixup affects 4 bytes, not 8 and needs its
1701 fx_no_overflow set.
1702 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Don't define.
4e394b28 1703 * testsuite/gas/mmix/pr25331.d, testsuite/gas/mmix/pr25331.s: New test.
b20e7614 1704
279edac5
AM
17052020-06-29 Alan Modra <amodra@gmail.com>
1706
1707 * config/tc-s12z.c: Use C style comments.
1708 * config/tc-z80.c: Likewise.
1709 * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code.
1710
b6cd5d10
L
17112020-06-26 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * config/tc-i386.c (md_assemble): Process ImmExt without
1714 operands.
1715
63112cd6
L
17162020-06-26 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * config/tc-i386.c (check_VecOperands): Replace vecsib with sib.
1719 Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128,
1720 VECSIB256 and VECSIB512, respectively.
1721 (build_modrm_byte): Replace vecsib with sib.
1722
2a1bb84c
JB
17232020-06-26 Jan Beulich <jbeulich@suse.com>
1724
1725 * testsuite/gas/i386/nop-1-suffix.d: New.
1726 * testsuite/gas/i386/i386.exp: Run new test.
1727
85f7484a
PB
17282020-06-26 Pat Bernardi <bernardi@adacore.com>
1729
1730 * config/tc-m68k.c (m68k_elf_gnu_attribute): New function.
1731 (md_pseudo_table): Handle "gnu_attribute".
1732 * doc/as.texi: Document GNU attribute for M68K.
1733
b59d128a
NC
17342020-06-25 Nick Clifton <nickc@redhat.com>
1735
1736 PR 26141
1737 * config/tc-arm.c (arm_force_relocation): Force resolution of
1738 BFD_RELOC_THUMB_PCREL_BRANCH12 relocations.
1739 * testsuite/gas/arm/plt-1.d: Adjust expected disassembly.
1740
c423d21a
JB
17412020-06-25 Jan Beulich <jbeulich@suse.com>
1742
1743 * config/tc-i386.c (md_assemble): Move call to process_immext()
1744 ...
1745 (process_operands): ... here.
1746
8bbb3ad8
JB
17472020-06-25 Jan Beulich <jbeulich@suse.com>
1748
1749 * config/tc-i386.c (process_suffix): Skip ambiguous operand size
1750 diagnostic when there is a sizing prefix. Switch to word/dword/
1751 qword encoding when there is a sizing prefix and no (explicit or
1752 derived) suffix.
1753 (update_imm): Handle presence of a sizing prefix.
1754 * testsuite/gas/i386/noreg16-data32.d,
1755 testsuite/gas/i386/noreg32-data16.d,
1756 testsuite/gas/i386/noreg32-data16.e,
1757 testsuite/gas/i386/noreg64-data16.d,
1758 testsuite/gas/i386/noreg64-data16.e,
1759 testsuite/gas/i386/noreg64-rex64.d: New.
1760 * testsuite/gas/i386/i386.exp: Run new tests.
1761 * testsuite/gas/i386/noreg32.s, testsuite/gas/i386/noreg64.s:
1762 Introduce and use pfx* macros.
1763 * testsuite/gas/i386/noreg16.s: Likewise. Replace 32-bit
1764 addressing.
1765 * testsuite/gas/i386/noreg16.d: Adjust expectations.
1766
589958d6
JB
17672020-06-25 Jan Beulich <jbeulich@suse.com>
1768
1769 * testsuite/gas/i386/avx-16bit.d,
1770 testsuite/gas/i386/avx-scalar.d, testsuite/gas/i386/avx.d,
1771 testsuite/gas/i386/avx512f-16bit.d,
1772 testsuite/gas/i386/avx512f.d,
1773 testsuite/gas/i386/evex-lig256.d,
1774 testsuite/gas/i386/evex-lig512.d
1775 testsuite/gas/i386/evex-wig1.d, testsuite/gas/i386/katmai.d,
1776 testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg32.d,
1777 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/simd.d,
1778 testsuite/gas/i386/sse2-16bit.d,
1779 testsuite/gas/i386/sse2.d, testsuite/gas/i386/sse2avx.d: Adjust
1780 expectations.
1781
0b9404fd
JB
17822020-06-25 Jan Beulich <jbeulich@suse.com>
1783
1784 * config/tc-i386.c (md_assemble): Also reject explicit REX
1785 prefixes with VEX and alike encoded insns. Zap consumed bits
1786 from i.rex.
1787 (output_insn): Don't ignore REX prefix for VEX and alike
1788 encodings; abort() instead if encountered.
1789 * testsuite/gas/i386/x86-64-pseudos.s: Move REX-with-VEX cases
1790 ...
1791 * testsuite/gas/i386/x86-64-pseudos-bad.s: ... here.
1792 * testsuite/gas/i386/x86-64-pseudos.d,
1793 testsuite/gas/i386/x86-64-pseudos-bad.l: Adjust expectations.
1794
a5aeccd9
JB
17952020-06-25 Jan Beulich <jbeulich@suse.com>
1796
1797 * config/tc-i386.c (process_operands): Translate explicit REX
1798 prefix into i.rex for SSE2AVX templates.
1799 (set_rex_vrex): New helper.
1800 (build_modrm_byte): Use it.
1801 * testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explict
1802 REX prefixes.
1803 * testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
1804
40d231b4
JB
18052020-06-25 Jan Beulich <jbeulich@suse.com>
1806
1807 * config/tc-i386.c (cpu_flags_match): Only match SSE2AVX
1808 templates when there's no data size prefix.
1809 (md_assemble): Reject data size prefix also for legacy encoded
1810 SIMD templates.
1811 * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix64.s:
1812 Uncomment previously not working line.
1813 * testsuite/gas/i386/sse2avx.s: Add ldmxcsr/stmxcsr cases with
1814 data16 prefix.
1815 * testsuite/gas/i386/prefix32.l, testsuite/gas/i386/prefix64.l,
1816 testsuite/gas/i386/sse2avx.d: Adjust expectations.
1817
11abe426
JB
18182020-06-25 Jan Beulich <jbeulich@suse.com>
1819
1820 * config/tc-i386.c (build_evex_prefix): Drop early setting of
1821 vec_length.
1822
1a79004f
NC
18232020-06-23 Nelson Chu <nelson.chu@sifive.com>
1824
1825 * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to
1826 explicit_priv_attr. It used to indicate CSR or priv instructions are
1827 explictly used.
1828 (riscv_is_priv_insn): Return True if it is a privileged instruction.
1829 (riscv_ip): Call riscv_is_priv_insn to check whether the instruction
1830 is privileged or not. If it is, then set explicit_priv_attr to TRUE.
1831 (riscv_write_out_attrs): Clarification of when to generate the elf
1832 priv spec attributes.
1833 * testsuite/gas/riscv/attribute-11.s: Add comments.
1834 * testsuite/gas/riscv/attribute-14.s: New testcase. Use symbol
1835 `priv_insn_<n>` to decide which priv instruction is expected to used.
1836 (<n> is a to e.)
1837 * testsuite/gas/riscv/attribute-14a.d: Likewise.
1838 * testsuite/gas/riscv/attribute-14b.d: Likewise.
1839 * testsuite/gas/riscv/attribute-14c.d: Likewise.
1840 * testsuite/gas/riscv/attribute-14d.d: Likewise.
1841 * testsuite/gas/riscv/attribute-14e.d: Likewise.
1842
39ff0b81
NC
18432020-06-22 Nelson Chu <nelson.chu@sifive.com>
1844
1845 * config/tc-riscv.c (buf_size, buf): Remove the unused variables.
1846 (riscv_set_default_priv_spec): Get the priv spec version from the
1847 priv spec attributes by riscv_get_priv_spec_class_from_numbers.
1848
e2201c2a
AM
18492020-06-20 Alan Modra <amodra@gmail.com>
1850
1851 * configure.tgt: Set bfd_gas for all SH targets.
1852
d27c357a
JB
18532020-06-18 Jan Beulich <jbeulich@suse.com>
1854
1855 * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case.
1856 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
1857 expectations.
1858
708a2fff
CL
18592020-06-16 Lili Cui <lili.cui@intel.com>
1860
1861 * config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect
1862 cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS.
1863 * doc/c-i386.texi: Add avx512_vp2intersect.
1864
2106ed9b
JB
18652020-06-16 Jan Beulich <jbeulich@suse.com>
1866
1867 * config/tc-i386.c (md_assemble): Drop SSE4a from SSE check
1868 conditional.
1869 * testsuite/gas/i386/sse-check.s: Adjust comment.
1870 * testsuite/gas/i386/sse-check-error.l,
1871 testsuite/gas/i386/sse-check-warn.e,
1872 testsuite/gas/i386/x86-64-sse-check-error.l: Adjust
1873 expectations.
1874
a435742a
AM
18752020-06-16 Alan Modra <amodra@gmail.com>
1876
1877 * config/tc-tic30.h: Remove OBJ_AOUT support.
1878 * configure.tgt: Delete tic30-*-*aout* entry.
1879
7a77f1ac
MF
18802020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1881
1882 * config/tc-xtensa.c (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
1883 macros.
1884 (elf32xtensa_abi): New declaration.
1885 (option_abi_windowed, option_abi_call0): New enum constants.
1886 (md_longopts): Add entries for --abi-windowed and --abi-call0.
1887 (md_parse_option): Add handlers for --abi-windowed and
1888 --abi-call0.
1889 (xtensa_add_config_info): Use xtensa_abi_choice instead of
1890 XSHAL_ABI to format ABI tag.
1891 * doc/as.texi (Target Xtensa options): Add --abi-windowed and
1892 --abi-call0 to the list of options.
1893 * doc/c-xtensa.texi: Add description for options --abi-windowed
1894 and --abi-call0.
1895 * testsuite/gas/xtensa/abi-call0.d: New test definition.
1896 * testsuite/gas/xtensa/abi-windowed.d: New test definition.
1897 * testsuite/gas/xtensa/abi.s: New test source.
1898
efe30057
L
18992020-06-14 H.J. Lu <hongjiu.lu@intel.com>
1900
1901 PR gas/26115
1902 * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with
1903 xsusldtrk.
1904 * testsuite/gas/i386/tsxldtrk.s: Likewise.
1905 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
1906 * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise.
1907
d8af286f
NC
19082020-06-12 Nelson Chu <nelson.chu@sifive.com>
1909
1910 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
1911 * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
1912 * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
1913
18ca16be
SG
19142020-06-09 Seth Girvan <snth@snthhacks.com>
1915
1916 * doc/c-avr.texi: Improve wording.
1917
6778f1c4
JB
19182020-06-09 Jan Beulich <jbeulich@suse.com>
1919
1920 * testsuite/gas/i386/x86-64-pseudos-bad.s,
1921 testsuite/gas/i386/x86-64-pseudos-bad.l: New.
1922
73239888
JB
19232020-06-09 Jan Beulich <jbeulich@suse.com>
1924
1925 * testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX
1926 encoding tests.
1927 * testsuite/gas/i386/prefix.d: Adjust expectations.
1928
bf926894
JB
19292020-06-09 Jan Beulich <jbeulich@suse.com>
1930
1931 * testsuite/gas/i386/prefix.s: Add bogus REP / EVEX.W prefix
1932 with VEX/EVEX encoding tests.
1933 * testsuite/gas/i386/prefix.d: Adjust expectations.
1934
828c2a25
JB
19352020-06-09 Jan Beulich <jbeulich@suse.com>
1936
1937 * config/tc-i386.c (process_suffix): Restrict defaulting to 'q'
1938 suffix.
1939 * testsuite/gas/i386/noreg64.s: Add lcall/ljmp cases.
1940 * testsuite/gas/i386/noreg64.d: Adjust expectations.
1941 * testsuite/gas/i386/noreg-intel64.d,
1942 testsuite/gas/i386/noreg-intel64.l,
1943 testsuite/gas/i386/noreg-intel64.s: New.
1944 * testsuite/gas/i386/i386.exp: Run new tests.
1945
da4977e0
JB
19462020-06-09 Jan Beulich <jbeulich@suse.com>
1947
1948 * config/tc-i386.c (vex_encoding_error): New enumerator.
1949 (VEX_check_operands): Rename to VEX_check_encoding. Check
1950 for vex_encoding_error. Move Imm4 handling ...
1951 (check_VecOperands): ... here.
1952 (match_template): Call VEX_check_encoding when there are no
1953 operands. Split construct calling check_VecOperands and
1954 VEX_check_encoding (when there are operands).
1955 (check_register): Don't blindly set vex_encoding_evex.
1956 * testsuite/gas/i386/pseudos-bad.s,
1957 testsuite/gas/i386/pseudos-bad.l: New.
1958 * testsuite/gas/i386/i386.exp: Run new test.
1959 * testsuite/gas/i386/xmmhi64.s: Drop {vex2}.
1960
26417f19
AC
19612020-06-08 Alex Coplan <alex.coplan@arm.com>
1962
1963 * config/tc-arm.c (insns): Add dfb.
1964 * testsuite/gas/arm/dfb.d: New test.
1965 * testsuite/gas/arm/dfb.s: Input for test.
1966
9f3e7dbc
NC
19672020-06-08 Nick Clifton <nickc@redhat.com>
1968
1969 * testsuite/gas/cfi/cfi-i386-2.d: Skip for PE based targets.
1970
dd6b8a0b
JB
19712020-06-08 Jan Beulich <jbeulich@suse.com>
1972
1973 * config/tc-i386.c (pi): Add checks for RegMask and RegBND.
1974
73c76375
JB
19752020-06-08 Jan Beulich <jbeulich@suse.com>
1976
1977 * config/tc-i386.c (check_byte_reg): Drop dead conditional
1978 around as_bad().
1979
22e00a3f
JB
19802020-06-08 Jan Beulich <jbeulich@suse.com>
1981
1982 * config/tc-i386.c (check_register): Split RegTR handling, to
1983 fail recognition also in 64-bit mode as well as with i586 or
1984 i686 explicitly enabled.
1985 * testsuite/gas/i386/x86_64.s: Add insns referencing tr<N>.
1986 * testsuite/gas/i386/x86_64-intel.d,
1987 testsuite/gas/i386/x86_64.d: Adjust expectations.
1988
1ab84e02
JB
19892020-06-08 Jan Beulich <jbeulich@suse.com>
1990
1991 * testsuite/gas/cfi/cfi-i386-2.d: Adjust expectations.
1992 * testsuite/gas/cfi/cfi.exp: Run this test.
1993
af32b722
JB
19942020-06-08 Jan Beulich <jbeulich@suse.com>
1995
1996 * config/tc-i386.c (parse_real_register): Add allow_pseudo_reg
1997 check to %st(N) parsing logic.
1998 * testsuite/gas/cfi/cfi-i386.s: Set "generic32" arch.
1999
8a6fb3f9
JB
20002020-06-08 Jan Beulich <jbeulich@suse.com>
2001
2002 * config/tc-i386.c (bad_reg): New.
2003 (check_VecOperations, i386_att_operand, i386_parse_name): Check
2004 for it.
2005 (check_register): New, broken out from ...
2006 (parse_real_register): ... here. Call it.
2007 (parse_register): Call it, and error upon failure.
2008 * testsuite/gas/i386/equ-bad.s, testsuite/gas/i386/equ-bad.l,
2009 testsuite/gas/i386/x86-64-equ-bad.s,
2010 testsuite/gas/i386/x86-64-equ-bad.l: New.
2011 * testsuite/gas/i386/i386.exp: Run new tests.
2012
1424c35d
AM
20132020-06-06 Alan Modra <amodra@gmail.com>
2014
2015 * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10.
2016 * doc/c-ppc.texi: Likewise.
2017
87c69f97
AM
20182020-06-06 Alan Modra <amodra@gmail.com>
2019
2020 * config/tc-ppc.c: Update throughout for reloc renaming.
2021
f1919c56
JM
20222020-06-05 Jose E. Marchesi <jose.marchesi@oracle.com>
2023
2024 * config/tc-bpf.c (md_apply_fix): Avoid GCC 10 warning
2025 stringop-overflow.
2026
3fc6c3dc
NC
20272020-06-05 Nelson Chu <nelson.chu@sifive.com>
2028
2029 * config/tc-riscv.c (explicit_csr): New static boolean.
2030 Used to indicate CSR are explictly used.
2031 (riscv_ip): Set explicit_csr to TRUE if any CSR is used.
2032 (riscv_write_out_attrs): If we already have set elf priv
2033 attributes, then generate them. Otherwise, don't generate
2034 them when no CSR are used.
2035 * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes.
2036 * testsuite/gas/riscv/attribute-02.d: Likewise.
2037 * testsuite/gas/riscv/attribute-03.d: Likewise.
2038 * testsuite/gas/riscv/attribute-04.d: Likewise.
2039 * testsuite/gas/riscv/attribute-05.d: Likewise.
2040 * testsuite/gas/riscv/attribute-06.d: Likewise.
2041 * testsuite/gas/riscv/attribute-07.d: Likewise.
2042 * testsuite/gas/riscv/attribute-08.d: Likewise.
2043 * testsuite/gas/riscv/attribute-09.d: Likewise.
2044 * testsuite/gas/riscv/attribute-10.d: Likewise.
2045 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2046 * testsuite/gas/riscv/attribute-11.s: New testcase.
2047 * testsuite/gas/riscv/attribute-11.d: New testcase. The CSR is
2048 used, so we should output the ELF priv attributes.
2049 * testsuite/gas/riscv/attribute-12.d: New testcase. The CSR is
2050 used, so output the priv attributes according to the -mpriv-spec.
2051 * testsuite/gas/riscv/attribute-13.d: New testcase. The CSR isn't
2052 used, so ignore the -mpriv-spec setting.
2053
d413a623
L
20542020-06-04 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to
2057 cgen_get_insn_value.
2058 * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass
2059 endianness to cgen_get_insn_value and cgen_put_insn_value.
2060
7d8b91fd
JM
20612020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2062
2063 * config/tc-bpf.c (md_apply_fix): Simplify and avoid using
2064 cgen_put_insn_value.
2065
d8740be1
JM
20662020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2067
2068 * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to
2069 bpf_cgen_cpu_open.
2070 (md_assemble): Remove no longer needed hack.
2071
e9bffec9
JM
20722020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
2073
2074 * cgen.c (gas_cgen_finish_insn): Pass the endianness to
2075 cgen_put_insn_value.
2076 (gas_cgen_md_apply_fix): Likewise.
2077 (gas_cgen_md_apply_fix): Likewise.
2078 * config/tc-bpf.c (md_apply_fix): Pass data endianness to
2079 cgen_put_insn_value.
2080 * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
2081 cgen_put_insn_value.
2082
1cf67587
AM
20832020-06-04 Alan Modra <amodra@gmail.com>
2084
2085 * testsuite/config/default.exp: Remove global directive outside
2086 proc body.
2087 * testsuite/gas/mep/complex-relocs.exp: Likewise.
2088 * testsuite/gas/microblaze/relax_size.exp: Likewise.
2089 * testsuite/gas/microblaze/reloc_sym.exp: Likewise.
2090 * testsuite/gas/mt/relocs.exp: Likewise.
2091 * testsuite/gas/rx/rx.exp: Likewise.
2092
338d56a8
SC
20932020-06-03 Stephen Casner <casner@acm.org>
2094
2095 * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe.
2096
bb7322c6
JW
20972020-06-02 Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr>
2098 Jim Wilson <jimw@sifive.com>
2099
2100 PR 26051
2101 * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
2102 simm12(rs1). Correct S format to use simm12(rs1). Drop SB and B
2103 formats using simm12(rs1). Correct SB and B to use rs1 and rs2.
2104 Move B before SB. Move J before UJ.
2105
c39c821c
AC
21062020-06-01 Alex Coplan <alex.coplan@arm.com>
2107
2108 * write.c (relax_segment): Fix handling of negative offset when
2109 relaxing an rs_org frag.
2110 * testsuite/gas/aarch64/org-neg.d: New test.
2111 * testsuite/gas/aarch64/org-neg.l: Error output for test.
2112 * testsuite/gas/aarch64/org-neg.s: Input for test.
2113 * testsuite/gas/arm/org-neg.d: New test.
2114 * testsuite/gas/arm/org-neg.l: Error output for test.
2115 * testsuite/gas/arm/org-neg.s: Input for test.
2116
66e3eb08
SC
21172020-05-28 Stephen Casner <casner@acm.org>
2118
2119 Fix unexpected failures in gas testsuite for pdp11-aout target.
2120 These are caused by the PDP11's mix of little-endian octets in
2121 shorts but shorts in big endian order for long or quad.
2122
2123 * config/tc-pdp11.c (md_number_to_chars): Implement .quad
2124 * testsuite/gas/all/gas.exp: Select alternate test scripts for
2125 pdp11, skip octa test completely.
2126 * testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s
2127 * testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order.
2128 * testsuite/gas/all/cond-pdp11.l: Match different octet order.
2129
9e85f042
NC
21302020-05-28 Alex Coplan <alex.coplan@arm.com>
2131
2132 * frags.c (frag_grow): Fix comment.
2133
1c912705
SC
21342020-05-27 Stephen Casner <casner@acm.org>
2135
2136 PR gas/26001
2137 * config/tc-pdp11.c (parse_reg): Distinguish register names from
2138 symbols that begin with a register name.
2139 * testsuite/gas/pdp11/pdp11.exp: Add test of such symbols.
2140 * testsuite/gas/pdp11/pr26001.s: Likewise.
2141 * testsuite/gas/pdp11/pr26001.d: Likewise.
2142
5c505568
SC
21432020-05-27 Simon Cook <simon.cook@embecosm.com>
2144
2145 * config/tc-riscv.c (riscv_init_csr_hash): NULL initilize next
2146 pointer when creating struct riscv_csr_extra.
2147
3c730740
L
21482020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF.
2151 * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF.
2152 * testsuite/gas/i386/inval-avx512f.l: Updated.
2153
57b17940
SSF
21542020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
2155
2156 * testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector
2157 load/store instruction variants with alignment hints.
2158 * testsuite/gas/s390/zarch-z13.s: Emit new vector load/store
2159 instruction variants with alignment hints.
2160
e3fed0f2
L
21612020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2162
2163 PR gas/26044
2164 * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X
2165 instead of R_XGATE_PCREL_X.
2166 (xgate_parse_operand): Replace R_XGATE_PCREL_X with
2167 BFD_RELOC_XGATE_PCREL_X.
2168
8bbc5da5
L
21692020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 PR gas/26044
2172 * config/tc-visium.c (md_convert_frag): Replace fragP->fr_literal
2173 with &fragP->fr_literal[0].
2174
c4612b92
L
21752020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 PR gas/26044
2178 * config/tc-vax.c (md_estimate_size_before_relax): Replace
2179 fragP->fr_literal with &fragP->fr_literal[0].
2180 (md_convert_frag): Likewise.
2181
70b1b570
L
21822020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 PR gas/26044
2185 * config/tc-v850.c (md_convert_frag): Replace fragP->fr_literal
2186 with &fragP->fr_literal[0].
2187
e67e940f
L
21882020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 PR gas/26044
2191 * config/tc-crx.c (getreg_image): Change argument type to int.
2192 (md_convert_frag): Replace fragP->fr_literal with
2193 &fragP->fr_literal[0].
2194
a05e3e20
L
21952020-05-26 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 PR gas/26044
2198 * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping
2199 sprintf with memmove.
2200
c6412eee
L
22012020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 * config/tc-mcore.c (md_convert_frag): Replace fragP->fr_literal
2204 with &fragP->fr_literal[0].
2205
9fcc3457
L
22062020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 PR gas/26041
2209 * config/tc-cr16.c (md_assemble): Use memmove to concatenate
2210 2 overlapping strings.
2211
6c115e16
L
22122020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * config/tc-cr16.c (md_convert_frag): Replace fragP->fr_literal
2215 with &fragP->fr_literal[0].
2216
a39d29cd
L
22172020-05-25 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * config/tc-csky.c (md_convert_frag): Replace fragp->fr_literal
2220 with &fragp->fr_literal[0].
2221 * config/tc-microblaze.c (md_apply_fix): Likewise.
2222 * config/tc-sh.c (md_convert_frag): Likewise.
2223
72393fd1
JW
22242020-05-24 Jim Wilson <jimw@sifive.com>
2225
2226 PR 26025
2227 * config/tc-riscv.c (riscv_pre_output_hook): Change s type from const
2228 asection to segT. New locals seg and subseg. Call subseg_set before
2229 fix_new_exp. Call subseg_set after loop to restore original values.
2230
9fbb53c7
AM
22312020-05-21 Alan Modra <amodra@gmail.com>
2232
2233 * atof-generic.c: Replace "if (x) free (x)" with "free (x)"
2234 throughout.
2235 * config/obj-elf.c: Likewise.
2236 * config/tc-aarch64.c: Likewise.
2237 * config/tc-arm.c: Likewise.
2238 * config/tc-m68k.c: Likewise.
2239 * config/tc-nios2.c: Likewise.
2240 * config/tc-tic30.c: Likewise.
2241 * ecoff.c: Likewise.
2242 * read.c: Likewise.
2243 * stabs.c: Likewise.
2244 * symbols.c: Likewise.
2245 * testsuite/gas/all/test-gen.c: Likewise.
2246
8f595e9b
NC
22472020-05-20 Nelson Chu <nelson.chu@sifive.com>
2248
2249 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
2250 * config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
2251 Static variables which are used to set the ISA extensions. You can
2252 use -march (or ELF build attributes) and -misa-spec to set them,
2253 respectively.
2254 (ext_version_hash): The hash table used to handle the extensions
2255 with versions.
2256 (init_ext_version_hash): Initialize the ext_version_hash according
2257 to riscv_ext_version_table.
2258 (riscv_get_default_ext_version): The callback function of
2259 riscv_parse_subset_t. According to the choosed ISA spec,
2260 get the default version for the specific extension.
2261 (riscv_set_arch): Set the callback function.
2262 (enum options, struct option md_longopts): Add new option -misa-spec.
2263 (md_parse_option): Do not call riscv_set_arch for -march. We will
2264 call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
2265 to set default_isa_spec class.
2266 (riscv_after_parse_args): Call init_ext_version_hash to initialize the
2267 ext_version_hash, and then call riscv_set_arch to set the architecture
2268 with versions according to default_arch_with_ext.
2269 * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
2270 x extensions.
2271 * testsuite/gas/riscv/attribute-03.d: Likewise.
2272 * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
2273 already set it's version to 2p1 by march, so no need to use the default
2274 2p2 version. For m-ext, we do not set the version by -march and ELF arch
2275 attribute, so set the default 2p0 to it. For zicsr, it is not defined in
2276 ISA spec 2p2, so set 0p0 to it.
2277 * testsuite/gas/riscv/attribute-10.d: New testcase. The version of
2278 zicsr is 2p0 according to ISA spec 20191213.
2279 * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
2280 (DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
2281 You can set them by configure options --with-arch and
2282 --with-isa-spec, respectively.
2283 (riscv_set_default_isa_spec): New function used to set the
2284 default ISA spec.
2285 (md_parse_option): Call riscv_set_default_isa_spec rather than
2286 call riscv_get_isa_spec_class directly.
2287 (riscv_after_parse_args): If the -isa-spec is not set, then we
2288 set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
2289 calling riscv_set_default_isa_spec.
2290 * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
2291 the --with-isa-spec may be set to different ISA spec.
2292 * testsuite/gas/riscv/attribute-02.d: Likewise.
2293 * testsuite/gas/riscv/attribute-03.d: Likewise.
2294 * testsuite/gas/riscv/attribute-04.d: Likewise.
2295 * testsuite/gas/riscv/attribute-05.d: Likewise.
2296 * testsuite/gas/riscv/attribute-06.d: Likewise.
2297 * testsuite/gas/riscv/attribute-07.d: Likewise.
2298 * configure.ac: Add configure options, --with-arch and
2299 --with-isa-spec.
2300 * configure: Regenerated.
2301 * config.in: Regenerated.
2302 * config/tc-riscv.c (default_priv_spec): Static variable which is
2303 used to check if the CSR is valid for the chosen privilege spec. You
2304 can use -mpriv-spec to set it.
2305 (enum reg_class): We now get the CSR address from csr_extra_hash rather
2306 than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
2307 (riscv_init_csr_hashes): Only need to initialize one hash table
2308 csr_extra_hash.
2309 (riscv_csr_class_check): Change the return type to void. Don't check
2310 the ISA dependency if -mcsr-check isn't set.
2311 (riscv_csr_version_check): New function. Check and find the CSR address
2312 from csr_extra_hash, according to default_priv_spec. Report warning
2313 for the invalid CSR if -mcsr-check is set.
2314 (reg_csr_lookup_internal): Updated.
2315 (reg_lookup_internal): Likewise.
2316 (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
2317 (enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
2318 (md_parse_option): Call riscv_set_default_priv_version to set
2319 default_priv_spec.
2320 (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
2321 privilege spec to the newest one.
2322 (enum riscv_csr_class, struct riscv_csr_extra): Move them to
2323 include/opcode/riscv.h.
2324 * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
2325 to check the ISA dependency for CSR, so fix the spec version by adding
2326 -mpriv-spec=1.11.
2327 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
2328 version warnings for the test case.
2329 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
2330 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
2331 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
2332 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
2333 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2334 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
2335 Check whether the CSR is valid when privilege version 1.9 is choosed.
2336 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
2337 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
2338 Check whether the CSR is valid when privilege version 1.9.1 is choosed.
2339 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
2340 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
2341 Check whether the CSR is valid when privilege version 1.10 is choosed.
2342 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
2343 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
2344 Check whether the CSR is valid when privilege version 1.11 is choosed.
2345 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
2346 * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
2347 setting. You can set it by configure option --with-priv-spec.
2348 (riscv_set_default_priv_spec): New function used to set the default
2349 privilege spec.
2350 (md_parse_option): Call riscv_set_default_priv_spec rather than
2351 call riscv_get_priv_spec_class directly.
2352 (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
2353 default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
2354 calling riscv_set_default_priv_spec.
2355 * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
2356 the --with-priv-spec may be set to different privilege spec.
2357 * testsuite/gas/riscv/priv-reg.d: Likewise.
2358 * configure.ac: Add configure option --with-priv-spec.
2359 * configure: Regenerated.
2360 * config.in: Regenerated.
2361 * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
2362 explicit_attr. Set it to TRUE if any ELF attribute is found.
2363 (riscv_set_default_priv_spec): Try to set the default_priv_spec if
2364 the priv attributes are set.
2365 (md_assemble): Set the default_priv_spec according to the priv
2366 attributes when we start to assemble instruction.
2367 (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
2368 riscv_write_out_attrs. Update the arch and priv attributes. If we
2369 don't set the corresponding ELF attributes, then try to output the
2370 default ones.
2371 (riscv_set_public_attributes): If any ELF attribute or -march-attr
2372 options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
2373 to update the arch and priv attributes.
2374 (s_riscv_attribute): Make sure all arch and priv attributes are set
2375 before any instruction.
2376 * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
2377 ELF attribute or -march-attr is set. If the priv attributes are not
2378 set, then try to update them by the default setting (-mpriv-spec or
2379 --with-priv-spec).
2380 * testsuite/gas/riscv/attribute-02.d: Likewise.
2381 * testsuite/gas/riscv/attribute-03.d: Likewise.
2382 * testsuite/gas/riscv/attribute-04.d: Likewise.
2383 * testsuite/gas/riscv/attribute-06.d: Likewise.
2384 * testsuite/gas/riscv/attribute-07.d: Likewise.
2385 * testsuite/gas/riscv/attribute-08.d: Likewise.
2386 * testsuite/gas/riscv/attribute-09.d: Likewise.
2387 * testsuite/gas/riscv/attribute-10.d: Likewise.
2388 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2389 * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
2390 set by priv attributes must be supported.
2391 * testsuite/gas/riscv/attribute-05.s: Likewise.
2392 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
2393 priv attributes according to the -mpriv-spec option.
2394 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
2395 * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
2396 * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
2397 * testsuite/gas/riscv/priv-reg.d: Removed.
2398 * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
2399 CSR according to the priv spec 1.9.
2400 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
2401 CSR according to the priv spec 1.9.1.
2402 * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
2403 CSR according to the priv spec 1.10.
2404 * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
2405 CSR according to the priv spec 1.11.
2406 * config/tc-riscv.c (md_show_usage): Add descriptions about
2407 the new GAS options.
2408 * doc/c-riscv.texi: Likewise.
2409
3d205eb4
PB
24102020-05-19 Peter Bergner <bergner@linux.ibm.com>
2411
2412 * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
2413 * testsuite/gas/ppc/power9.d: Likewise.
2414 * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
2415 pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
2416 sync, wait, waitrsv>: Add tests.
2417 * testsuite/gas/ppc/power10.d: Likewise.
2418
164446e0
AF
24192020-05-19 Alexander Fedotov <alfedotov@gmail.com>
2420
2421 PR 25992
2422 * config/tc-arm.c : Add arm_ext_v8r feature.
2423 (it_fsm_post_encode): Check arm_ext_v8r feature.
2424 (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.
2425
69f57659
AM
24262020-05-19 Alan Modra <amodra@gmail.com>
2427
2428 * write.c (write_contents): Use bfd_get_filename rather than
2429 accessing bfd->filename directly. Use bfd_section_name rather
2430 than accessing section->name directly.
2431
0e1d094e
AM
24322020-05-19 Alan Modra <amodra@gmail.com>
2433
2434 * symbols.c (local_symbol_make): Init all of lsy_flags.
2435
d402189f
AM
24362020-05-18 Alan Modra <amodra@gmail.com>
2437
2438 * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
2439 before looking at add_symbol->sy_flags.
2440
503648e4 24412020-05-18 Hongtao Liu <hongtao.liu@intel.com>
2442
2443 * config/tc-i386.c: Not handle lret/iret.
2444 * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
2445 * testsuite/gas/i386/lfence-ret-b.d: Ditto.
2446 * testsuite/gas/i386/lfence-ret-c.d: Ditto.
2447 * testsuite/gas/i386/lfence-ret-d.d: Ditto.
2448 * testsuite/gas/i386/lfence-ret.s: Ditto.
2449 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
2450 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
2451 * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
2452 * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
2453 * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
2454 * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
2455 * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
2456
2a50b401
AM
24572020-05-15 Alan Modra <amodra@gmail.com>
2458 Alex Coplan <alex.coplan@arm.com>
2459
2460 * symbols.c (struct local_symbol): Update comment.
2461 (resolve_symbol_value): For resolved symbols equated to other
2462 symbols, verify that the referenced symbol is not a local_symbol
2463 before accessing sy_value. Don't leave symbol loops during
2464 finalize_syms resolution.
2465 * testsuite/gas/all/assign-bad-recursive.d: New test.
2466 * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
2467 * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
2468 * testsuite/gas/all/gas.exp: Run it.
2469
9d95b8e9
NC
24702020-05-14 Nick Clifton <nickc@redhat.com>
2471
2472 * po/sv.po: Updated Swedish translation.
2473
3b646889
AM
24742020-05-11 Alan Modra <amodra@gmail.com>
2475
2476 * testsuite/gas/ppc/scalarquad.d,
2477 * testsuite/gas/ppc/scalarquad.s: New test.
2478 * testsuite/gas/ppc/ppc.exp: Run it.
2479
9cc4ce88
AM
24802020-05-11 Alan Modra <amodra@gmail.com>
2481
2482 * testsuite/gas/ppc/rightmost.d,
2483 * testsuite/gas/ppc/rightmost.s: New test.
2484 * testsuite/gas/ppc/ppc.exp: Run it.
2485
5d57bc3f
AM
24862020-05-11 Alan Modra <amodra@gmail.com>
2487
2488 * testsuite/gas/ppc/xvtlsbb.d,
2489 * testsuite/gas/ppc/xvtlsbb.s: New test.
2490 * testsuite/gas/ppc/ppc.exp: Run it.
2491
66ef5847
AM
24922020-05-11 Alan Modra <amodra@gmail.com>
2493
2494 * testsuite/gas/ppc/stringop.d,
2495 * testsuite/gas/ppc/stringop.s: New test.
2496 * testsuite/gas/ppc/ppc.exp: Run it.
2497
4f3e9537
PB
24982020-05-11 Peter Bergner <bergner@linux.ibm.com>
2499
2500 * testsuite/gas/ppc/set_bool.d,
2501 * testsuite/gas/ppc/set_bool.s: New test.
2502 * testsuite/gas/ppc/ppc.exp: Run it.
2503
ec40e91c
AM
25042020-05-11 Alan Modra <amodra@gmail.com>
2505
2506 * testsuite/gas/ppc/bitmanip.d,
2507 * testsuite/gas/ppc/bitmanip.s: New test.
2508 * testsuite/gas/ppc/ppc.exp: Run it.
2509
d7e97a76
AM
25102020-05-11 Alan Modra <amodra@gmail.com>
2511
2512 * testsuite/gas/ppc/genpcv.d,
2513 * testsuite/gas/ppc/genpcv.s: New test.
2514 * testsuite/gas/ppc/ppc.exp: Run it.
2515
fdefed7c
AM
25162020-05-11 Alan Modra <amodra@gmail.com>
2517
2518 * testsuite/gas/ppc/maskmanip.d,
2519 * testsuite/gas/ppc/maskmanip.s: New test.
2520 * testsuite/gas/ppc/ppc.exp: Run it.
2521
aa3c112f
AM
25222020-05-11 Alan Modra <amodra@gmail.com>
2523 Peter Bergner <bergner@linux.ibm.com>
2524
2525 * config/tc-ppc.c (pre_defined_registers): Add accumulators.
2526 (md_assemble): Check acc specified in correct operand.
2527 * testsuite/gas/ppc/outerprod.d,
2528 * testsuite/gas/ppc/outerprod.s,
2529 * testsuite/gas/ppc/vsx4.d,
2530 * testsuite/gas/ppc/vsx4.s: New tests.
2531 * testsuite/gas/ppc/ppc.exp: Run them.
2532
6edbfd3b
AM
25332020-05-11 Alan Modra <amodra@gmail.com>
2534
2535 * testsuite/gas/ppc/simd_perm.d,
2536 * testsuite/gas/ppc/simd_perm.s: New test.
2537 * testsuite/gas/ppc/ppc.exp: Run it.
2538
c7d7aea2
AM
25392020-05-11 Alan Modra <amodra@gmail.com>
2540
2541 * testsuite/gas/ppc/int128.d,
2542 * testsuite/gas/ppc/int128.s: New test.
2543 * testsuite/gas/ppc/ppc.exp: Run it.
2544
94ba9882
AM
25452020-05-11 Alan Modra <amodra@gmail.com>
2546
2547 * testsuite/gas/ppc/vsx_32byte.d,
2548 * testsuite/gas/ppc/vsx_32byte.s: New test.
2549 * testsuite/gas/ppc/ppc.exp: Run it.
2550
f4791f1a
AM
25512020-05-11 Alan Modra <amodra@gmail.com>
2552
2553 * testsuite/gas/ppc/vec_mul.s,
2554 * testsuite/gas/ppc/vec_mul.d: New test.
2555 * testsuite/gas/ppc/ppc.exp: Run it.
2556
3ff0a5ba
PB
25572020-05-11 Peter Bergner <bergner@linux.ibm.com>
2558
2559 * testsuite/gas/ppc/byte_rev.d,
2560 * testsuite/gas/ppc/byte_rev.s: New test.
2561 * testsuite/gas/ppc/ppc.exp: Run it.
2562
afef4fe9
PB
25632020-05-11 Peter Bergner <bergner@linux.ibm.com>
2564
2565 * testsuite/gas/ppc/power10.d: Add paste. tests.
2566 * testsuite/gas/ppc/power10.s: Likewise.
2567
1224c05d
PB
25682020-05-11 Peter Bergner <bergner@linux.ibm.com>
2569
2570 * testsuite/gas/ppc/power10.s: New test.
2571 * testsuite/gas/ppc/power10.d: Likewise.
2572 * testsuite/gas/ppc/ppc.exp: Run it.
2573
7c1f4227
AM
25742020-05-11 Alan Modra <amodra@gmail.com>
2575
2576 * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
2577 renaming.
2578 * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
2579 place of -mfuture/-Mfuture.
2580 * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
2581 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
2582
bfeaed38
NC
25832020-05-06 Nick Clifton <nickc@redhat.com>
2584
2585 * po/sv.po: Updated Swedish translation.
2586
6ef719c0
NC
25872020-05-06 Nick Clifton <nickc@redhat.com>
2588
2589 PR 25927
2590 * doc/as.texi (Preprocessing): Replace cross reference to not
2591 existant document with a URL to the equivalent page in the GCC
2592 manual.
2593
546cb2d8
NC
25942020-05-05 Nick Clifton <nickc@redhat.com>
2595
2596 * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
2597 construction of a DWARF-5 directory name table.
2598 * testsuite/gas/elf/pr25917.d: Update expected output.
2599
7d0bd487
GN
26002020-05-05 Gunther Nikl <gnikl@justmail.de>
2601
2602 * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
2603 (md_parse_option): Remove initialization of elf_flags.
070b775f 2604
fe05f369
ASDV
26052020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com>
2606
2607 PR gas/25863
2608 * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
2609 * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
2610 * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
2611
4706679d
NC
26122020-05-04 Nick Clifton <nickc@redhat.com>
2613
2614 PR 25917
2615 * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
2616 table's existence before looking at its entries.
070b775f
NC
2617 Also do not emit a default directory entry if there are no
2618 directories in use.
2619
4706679d
NC
2620 * testsuite/gas/elf/pr25917.s: New test source file.
2621 * testsuite/gas/elf/pr25917.d: New test driver.
2622 * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
2623
09c1e68a
AC
26242020-04-30 Alex Coplan <alex.coplan@arm.com>
2625
2626 * config/tc-aarch64.c (fix_insn): Implement for
2627 AARCH64_OPND_UNDEFINED.
2628 (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
2629 * testsuite/gas/aarch64/udf.s: New.
2630 * testsuite/gas/aarch64/udf.d: New.
2631 * testsuite/gas/aarch64/udf-invalid.s: New.
2632 * testsuite/gas/aarch64/udf-invalid.l: New.
2633 * testsuite/gas/aarch64/udf-invalid.d: New.
2634
c578f16e
YS
26352020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
2636
2637 * config/tc-rx.c (elf_flags): Reset default value.
2638 (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
2639
935f1f4b
MF
26402020-04-29 Max Filippov <jcmvbkbc@gmail.com>
2641
2642 * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
2643 if it's not defined.
2644 (microarch_earliest): New static variable.
2645 (xg_translate_idioms): Translate "simcall" to "simcall 0" when
2646 simcall opcode has mandatory parameter.
2647 (xg_init_global_config): Initialize microarch_earliest.
2648
5c936ef5
NC
26492020-04-29 Nick Clifton <nickc@redhat.com>
2650
2651 PR 22699
2652 * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
2653 IMM0_8S and add support for IMM0_8U.
2654 * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
2655 unsigned 8-bit immediate.
2656 * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
241e541d 2657 * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
5c936ef5 2658
251dae91
TC
26592020-04-27 Tamar Christina <tamar.christina@arm.com>
2660
2661 * NEWS: Add news entry for big-obj.
2662 * config/tc-i386.c (i386_target_format): Support new format.
2663 * doc/c-i386.texi: Add i386 support.
2664 * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
2665 * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
2666
714e6c96
NC
26672020-04-27 Nick Clifton <nickc@redhat.com>
2668
2669 PR 25878
2670 * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
2671 (assign_file_to_slot): New function. Fills in an entry in the
2672 files table.
2673 (allocate_filenum): Use new function.
2674 (allocate_filename_to_slot): Use new function. If the specified
2675 slot entry is already in use, but was chosen automatically then
2676 reassign the automatic entry.
2677
a09f656b 26782020-04-26 Hongtao Liu <hongtao.liu@intel.com
2679
2680 * config/tc-i386.c (lfence_before_ret_shl): New member.
2681 (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
2682 for Anysize insns.
2683 (insert_after_load): Issue warning for REP CMPS/SCAS.
2684 (insert_before_before): Handle iret, Handle
2685 -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
2686 (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
2687 -mlfence-before-ret=[none/not/or/shl/yes].
2688 Enable -mlfence-before-ret=shl when
2689 -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
2690 (md_show_usage): Ditto.
2691 * doc/c-i386.texi: Ditto.
2692 * testsuite/gas/i386/i386.exp: Add new testcases.
2693 * testsuite/gas/i386/lfence-load-b.d: New.
2694 * testsuite/gas/i386/lfence-load-b.e: New.
2695 * testsuite/gas/i386/lfence-load.d: Modified.
2696 * testsuite/gas/i386/lfence-load.e: New.
2697 * testsuite/gas/i386/lfence-load.s: Modified.
2698 * testsuite/gas/i386/lfence-ret-a.d: Modified.
2699 * testsuite/gas/i386/lfence-ret-b.d: Modified.
2700 * testsuite/gas/i386/lfence-ret-c.d: New.
2701 * testsuite/gas/i386/lfence-ret-d.d: New.
2702 * testsuite/gas/i386/lfence-ret.s: Modified.
2703 * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
2704 * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
2705 * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
2706 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
2707 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
2708 * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
2709 * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
2710 * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
2711 * testsuite/gas/i386/x86-64-lfence-ret.e: New.
2712 * testsuite/gas/i386/x86-64-lfence-ret.s: New.
2713
30ce8e47
MF
27142020-04-22 Max Filippov <jcmvbkbc@gmail.com>
2715
2716 PR ld/25861
2717 * config/tc-xtensa.c (md_apply_fix): Replace
2718 BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
2719 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
2720 BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
2721 * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
2722 with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
2723
31c89d60
AM
27242020-04-22 Alan Modra <amodra@gmail.com>
2725
2726 * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
2727 symbol for ".symver .. remove".
2728 * doc/as.texi (.symver): Update.
2729 * testsuite/gas/symver/symver11.s: Make foo weak.
2730 * testsuite/gas/symver/symver11.d: Expect an error.
2731 * testsuite/gas/symver/symver7.d: Allow other random symbols.
2732
1d3eb556
L
27332020-04-21 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 * testsuite/gas/symver/symver11.s: Add ".balign 8".
2736
bb2a1453
AS
27372020-04-21 Andreas Schwab <schwab@linux-m68k.org>
2738
2739 PR 25848
2740 * testsuite/gas/m68k/operands.s: Add tests for cmpi.
2741 * testsuite/gas/m68k/operands.d: Update.
2742 * testsuite/gas/m68k/op68000.d: Update for new error messages.
2743
c36876fe
TC
27442020-04-21 Tamar Christina <tamar.christina@arm.com>
2745
2746 PR binutils/24753
2747 * testsuite/gas/arm/pr24753.d: New test.
2748 * testsuite/gas/arm/pr24753.s: New test.
2749
6914be53
L
27502020-04-21 H.J. Lu <hongjiu.lu@intel.com>
2751
2752 PR gas/23840
2753 PR gas/25295
2754 * NEWS: Mention .symver extension.
2755 * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
2756 function.
2757 (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
2758 add a version name. Add local, hidden and remove visibility
2759 support.
2760 (elf_frob_symbol): Handle the list of version names. Update the
2761 original symbol to local, hidden or remove it from the symbol
2762 table.
2763 (elf_frob_file_before_adjust): Handle the list of version names.
2764 * config/obj-elf.h (elf_visibility): New.
2765 (elf_versioned_name_list): Likewise.
2766 (elf_obj_sy): Change local to bitfield. Add rename, bad_version
2767 and visibility. Change versioned_name pointer to struct
2768 elf_versioned_name_list.
2769 * doc/as.texi: Update .symver directive.
2770 * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more
2771 error checking tests.
2772 * testsuite/gas/symver/symver6.d: New file.
2773 * testsuite/gas/symver/symver7.d: Likewise.
2774 * testsuite/gas/symver/symver7.s: Likewise.
2775 * testsuite/gas/symver/symver8.d: Likewise.
2776 * testsuite/gas/symver/symver8.s: Likewise.
2777 * testsuite/gas/symver/symver9.s: Likewise.
2778 * testsuite/gas/symver/symver9a.d: Likewise.
2779 * testsuite/gas/symver/symver9b.d: Likewise.
2780 * testsuite/gas/symver/symver10.s: Likewise.
2781 * testsuite/gas/symver/symver10a.d: Likewise.
2782 * testsuite/gas/symver/symver10b.d: Likewise.
2783 * testsuite/gas/symver/symver11.d: Likewise.
2784 * testsuite/gas/symver/symver11.s: Likewise.
2785 * testsuite/gas/symver/symver12.d: Likewise.
2786 * testsuite/gas/symver/symver12.s: Likewise.
2787 * testsuite/gas/symver/symver13.d: Likewise.
2788 * testsuite/gas/symver/symver13.s: Likewise.
2789 * testsuite/gas/symver/symver14.d: Likewise.
2790 * testsuite/gas/symver/symver14.l: Likewise.
2791 * testsuite/gas/symver/symver15.d: Likewise.
2792 * testsuite/gas/symver/symver15.l: Likewise.
2793 * testsuite/gas/symver/symver6.l: Removed.
2794 * testsuite/gas/symver/symver6.s: Updated.
2795
c2e5c986
SD
27962020-04-20 Sudakshina Das <sudi.das@arm.com>
2797
2798 * config/tc-aarch64.c (parse_barrier_psb): Update error messages
2799 to include TSB.
2800 * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests.
2801 * testsuite/gas/aarch64/system-2.s: Add new tsb tests.
2802 * testsuite/gas/aarch64/system.d: Update.
2803
8a6e1d1d
SD
28042020-04-20 Sudakshina Das <sudi.das@arm.com>
2805
2806 * testsuite/gas/aarch64/bti.d: Update -march option.
2807 * testsuite/gas/aarch64/illegal-bti.d: Remove.
2808 * testsuite/gas/aarch64/illegal-bti.l: Remove.
2809 * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
2810 * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
2811
49af2f5c
AM
28122020-04-17 Alan Modra <amodra@gmail.com>
2813
2814 * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot.
2815
8e4979ac
NC
28162020-04-16 Gagan Singh Sidhu <broly@mac.com>
2817 Nick Clifton <nickc@redhat.com>
2818
2819 PR 25803
2820 * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
2821 targets.
2822 * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
2823 for the type-2 test.
2824 * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
2825 targets running this test.
2826
c54a9b56
DF
28272020-02-16 David Faust <david.faust@oracle.com>
2828
2829 * testsuite/gas/bpf/bpf.exp: Run jump32 tests.
2830 * testsuite/gas/bpf/jump32.s: New file.
2831 * testsuite/gas/bpf/jump32.d: Likewise.
2832
3071b197
L
28332020-04-08 H.J. Lu <hongjiu.lu@intel.com>
2834
2835 * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
2836 documentation.
2837
6a3ab923
GN
28382020-04-08 Gunther Nikl <gnikl@justmail.de>
2839
2840 * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
2841 (md_pcrel_from): Remove prototytpe.
d9f19885
GN
2842 * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
2843 define.
2844 (md_pcrel_from_section): Remove duplicate prototype.
9ad4cfa8
GN
2845 * tc.h (md_pcrel_from_section): Add prototype.
2846 * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
2847 * config/tc-arc.h (md_pcrel_from_section): Likewise.
2848 * config/tc-arm.h (md_pcrel_from_section): Likewise.
2849 * config/tc-avr.h (md_pcrel_from_section): Likewise.
2850 * config/tc-bfin.h (md_pcrel_from_section): Likewise.
2851 * config/tc-bpf.h (md_pcrel_from_section): Likewise.
2852 * config/tc-csky.h (md_pcrel_from_section): Likewise.
2853 * config/tc-d10v.h (md_pcrel_from_section): Likewise.
2854 * config/tc-d30v.h (md_pcrel_from_section): Likewise.
2855 * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
2856 * config/tc-fr30.h (md_pcrel_from_section): Likewise.
2857 * config/tc-frv.h (md_pcrel_from_section): Likewise.
2858 * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
2859 * config/tc-lm32.h (md_pcrel_from_section): Likewise.
2860 * config/tc-m32c.h (md_pcrel_from_section): Likewise.
2861 * config/tc-m32r.h (md_pcrel_from_section): Likewise.
2862 * config/tc-mcore.h (md_pcrel_from_section): Likewise.
2863 * config/tc-mep.h (md_pcrel_from_section): Likewise.
2864 * config/tc-metag.h (md_pcrel_from_section): Likewise.
2865 * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
2866 * config/tc-mmix.h (md_pcrel_from_section): Likewise.
2867 * config/tc-moxie.h (md_pcrel_from_section): Likewise.
2868 * config/tc-msp430.h (md_pcrel_from_section): Likewise.
2869 * config/tc-mt.h (md_pcrel_from_section): Likewise.
2870 * config/tc-or1k.h (md_pcrel_from_section): Likewise.
2871 * config/tc-ppc.h (md_pcrel_from_section): Likewise.
2872 * config/tc-rl78.h (md_pcrel_from_section): Likewise.
2873 * config/tc-rx.h (md_pcrel_from_section): Likewise.
2874 * config/tc-s390.h (md_pcrel_from_section): Likewise.
2875 * config/tc-sh.h (md_pcrel_from_section): Likewise.
2876 * config/tc-xc16x.h (md_pcrel_from_section): Likewise.
2877 * config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
4c09b8c4
GN
2878 * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
2879 md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
2880 md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
2881 md_apply_fix3): Delete prototypes.
6a3ab923 2882
6e0e8b45
L
28832020-04-07 H.J. Lu <hongjiu.lu@intel.com>
2884
2885 * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
2886 instructions.
2887
266803a2
L
28882020-04-07 H.J. Lu <hongjiu.lu@intel.com>
2889
2890 * doc/c-z80.texi: Fix @xref warnings.
2891
bb651e8b
CL
28922020-04-07 Lili Cui <lili.cui@intel.com>
2893
2894 * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
2895 (cpu_noarch): Likewise.
2896 * doc/c-i386.texi: Document TSXLDTRK.
2897 * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
2898 * testsuite/gas/i386/tsxldtrk.d: Likewise.
2899 * testsuite/gas/i386/tsxldtrk.s: Likewise.
2900 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
2901
4b27d27c
L
29022020-04-02 Lili Cui <lili.cui@intel.com>
2903
2904 * config/tc-i386.c (cpu_arch): Add .serialize.
2905 (cpu_noarch): Likewise.
2906 * doc/c-i386.texi: Document serialize.
2907 * testsuite/gas/i386/i386.exp: Run serialize tests
2908 * testsuite/gas/i386/serialize.d: Likewise.
2909 * testsuite/gas/i386/x86-64-serialize.d: Likewise.
2910 * testsuite/gas/i386/serialize.s: Likewise.
2911
bb897477
RO
29122020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2913
2914 * testsuite/gas/elf/section12a.d: Use notarget instead of xfail.
2915 * testsuite/gas/elf/section12b.d: Likewise.
2916 * testsuite/gas/elf/section16a.d: Likewise.
2917 * testsuite/gas/elf/section16b.d: Likewise.
2918
59e28a97
GN
29192020-04-02 Gunther Nikl <gnikl@justmail.de>
2920
2921 * config/tc-m68k.c (m68k_ip): Fix range check for index register
2922 with a suppressed address register.
2923
efc3a950
L
29242020-04-01 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 PR gas/25756
2927 * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New.
2928 * testsuite/gas/i386/localpic.s: Add a test for relocation
2929 against local absolute symbol.
2930 * testsuite/gas/i386/x86-64-localpic.s: Likewise.
2931 * testsuite/gas/i386/localpic.d: Updated.
2932 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2933 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2934
15d47c3a
RO
29352020-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2936
2937 PR gas/25732
2938 * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
2939 * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
2940 * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
2941 testsuite/gas/i386/x86-64-jump.d.
2942 * gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
2943 Incorporate changes to
2944 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
2945 * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
2946 changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
2947 * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
2948 * testsuite/gas/i386/x86-64-branch-3.d: Likewise.
2949
876678f0
MR
29502020-03-31 Maciej W. Rozycki <macro@linux-mips.org>
2951
2952 PR 25611
2953 PR 25614
2954 * dwarf2dbg.c: Do not include "bignum.h".
2955
d1a89da5
NC
29562020-03-30 Nelson Chu <nelson.chu@sifive.com>
2957
2958 * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo.
2959 * testsuite/gas/riscv/alias-csr.s: Likewise.
2960 * testsuite/gas/riscv/no-aliases-csr.d: Move this
2961 to priv-reg-pseudo-noalias.
2962 * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent.
2963 * testsuite/gas/riscv/bad-csr.l: Likewise.
2964 * testsuite/gas/riscv/bad-csr.s: Likewise.
2965 * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg.
2966 * testsuite/gas/riscv/satp.s: Likewise.
2967 * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo
2968 csr instruction, including alias-csr testcase.
2969 * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise.
2970 * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all
2971 pseudo instruction with objdump -Mno-aliases.
2972 * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase.
2973 * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise.
2974 * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise.
2975 * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11.
2976 * testsuite/gas/riscv/priv-reg.s: Likewise.
2977 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2978 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
2979 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
2980
b7780957
J
29812020-03-25 J.W. Jagersma <jwjagersma@gmail.com>
2982
2983 * config/obj-coff.c (obj_coff_section): Set the bss flag on
2984 sections with the "b" attribute.
2985
d1023b5d
AM
29862020-03-22 Alan Modra <amodra@gmail.com>
2987
2988 * testsuite/gas/s12z/truncated.d: Update expected output.
2989
0d832e7f
SB
29902020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
2991
2992 PR 25690
2993 * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
2994 * doc/c-z80.texi: Update documentation.
2995
327ef784
NC
29962020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
2997
2998 PR 25641
2999 PR 25668
3000 PR 25633
3001 Fix disassembling ED+A4/AC/B4/BC opcodes.
3002 Fix assembling lines containing colonless label and instruction
3003 with first operand inside parentheses.
3004 Fix registration of unsupported by target CPU registers.
3005 * config/tc-z80.c: See above.
3006 * config/tc-z80.h: See above.
3007 * testsuite/gas/z80/colonless.d: Update test.
3008 * testsuite/gas/z80/colonless.s: Likewise.
3009 * testsuite/gas/z80/ez80_adl_all.d: Likewise.
3010 * testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
3011 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3012 * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
3013 * testsuite/gas/z80/r800_unsup_regs.d: Likewise.
3014 * testsuite/gas/z80/unsup_regs.s: Likewise.
3015 * testsuite/gas/z80/z180_unsup_regs.d: Likewise.
3016 * testsuite/gas/z80/z80.exp: Likewise.
3017 * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
3018 * testsuite/gas/z80/z80_unsup_regs.d: Likewise.
3019 * testsuite/gas/z80/z80n_unsup_regs.d: Likewise.
3020
66d1f7cc
AV
30212020-03-13 Andre Vieira <andre.simoesdiasvieira@arm.com>
3022
3023 PR 25660
3024 * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ.
3025 (parse_operands): Handle new operand codes.
3026 (do_neon_dyadic_long): Make shape check accept the scalar variants.
3027 (asm_opcode_insns): Fix operand codes for vaddl and vsubl.
3028 * testsuite/gas/arm/mve-vaddsub-it.s: New test.
3029 * testsuite/gas/arm/mve-vaddsub-it.d: New test.
3030 * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test.
3031 * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test.
3032 * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test.
3033 * testsuite/gas/arm/nomve-vaddsub-it.d: New test.
3034
9e8f1c90
L
30352020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 * NEWS: Mention x86 assembler options for CVE-2020-0551.
3038
97b4a8f7
L
30392020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3040
3041 * testsuite/gas/i386/i386.exp: Run new tests.
3042 * testsuite/gas/i386/lfence-byte.d: New file.
3043 * testsuite/gas/i386/lfence-byte.e: Likewise.
3044 * testsuite/gas/i386/lfence-byte.s: Likewise.
3045 * testsuite/gas/i386/lfence-indbr-a.d: Likewise.
3046 * testsuite/gas/i386/lfence-indbr-b.d: Likewise.
3047 * testsuite/gas/i386/lfence-indbr-c.d: Likewise.
3048 * testsuite/gas/i386/lfence-indbr.e: Likewise.
3049 * testsuite/gas/i386/lfence-indbr.s: Likewise.
3050 * testsuite/gas/i386/lfence-load.d: Likewise.
3051 * testsuite/gas/i386/lfence-load.s: Likewise.
3052 * testsuite/gas/i386/lfence-ret-a.d: Likewise.
3053 * testsuite/gas/i386/lfence-ret-b.d: Likewise.
3054 * testsuite/gas/i386/lfence-ret.s: Likewise.
3055 * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise.
3056 * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise.
3057 * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise.
3058 * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise.
3059 * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise.
3060 * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise.
3061 * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise.
3062 * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise.
3063 * testsuite/gas/i386/x86-64-lfence-load.d: Likewise.
3064 * testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
3065 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise.
3066 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise.
3067
ae531041
L
30682020-03-11 H.J. Lu <hongjiu.lu@intel.com>
3069
3070 * config/tc-i386.c (lfence_after_load): New.
3071 (lfence_before_indirect_branch_kind): New.
3072 (lfence_before_indirect_branch): New.
3073 (lfence_before_ret_kind): New.
3074 (lfence_before_ret): New.
3075 (last_insn): New.
3076 (load_insn_p): New.
3077 (insert_lfence_after): New.
3078 (insert_lfence_before): New.
3079 (md_assemble): Call insert_lfence_before and insert_lfence_after.
3080 Set last_insn.
3081 (OPTION_MLFENCE_AFTER_LOAD): New.
3082 (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New.
3083 (OPTION_MLFENCE_BEFORE_RET): New.
3084 (md_longopts): Add -mlfence-after-load=,
3085 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3086 (md_parse_option): Handle -mlfence-after-load=,
3087 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3088 (md_show_usage): Display -mlfence-after-load=,
3089 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3090 (i386_cons_align): New.
3091 * config/tc-i386.h (i386_cons_align): New.
3092 (md_cons_align): New.
3093 * doc/c-i386.texi: Document -mlfence-after-load=,
3094 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
3095
5496f3c6
NC
30962020-03-11 Nick Clifton <nickc@redhat.com>
3097
3098 PR 25611
3099 PR 25614
3100 * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1.
3101 (DWARF2_FILE_SIZE_NAME): Default to -1.
3102 (DWARF2_LINE_VERSION): Default to the current dwarf level or 3,
3103 whichever is higher.
3104 (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1.
3105 (NUM_MD5_BYTES): Define.
3106 (struct file entry): Add md5 field.
3107 (get_filenum): Delete and replace with...
3108 (get_basename): New function.
3109 (get_directory_table_entry): New function.
3110 (allocate_filenum): New function.
3111 (allocate_filename_to_slot): New function.
3112 (dwarf2_where): Use new functions.
3113 (dwarf2_directive_filename): Add support for extended .file
3114 pseudo-op.
3115 (dwarf2_directive_loc): Allow the use of file number zero with
3116 DWARF 5 or higher.
3117 (out_file_list): Rename to...
3118 (out_dir_and_file_list): Add DWARF 5 support.
3119 (out_debug_line): Emit extra values into the section header for
3120 DWARF 5.
3121 (out_debug_str): Allow for file 0 to be used with DWARF 5.
3122 * doc/as.texi (.file): Update the description of this pseudo-op.
3123 * testsuite/gas/elf-dwarf-5-file0.s: Add more lines.
3124 * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output.
3125 * testsuite/gas/lns/lns-diag-1.l: Update expected error message.
3126 * NEWS: Mention the new feature.
3127
a6a1f5e0
AM
31282020-03-10 Alan Modra <amodra@gmail.com>
3129
3130 * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
3131 to avoid signed overflow.
3132 * config/tc-mcore.c (md_assemble): Likewise.
3133 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
3134 * config/tc-nds32.c (SET_ADDEND): Likewise.
3135 * config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
3136
3fabc179
JB
31372020-03-09 Jan Beulich <jbeulich@suse.com>
3138
3139 * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos.
3140 * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d,
3141 testsuite/gas/i386/avx-intel.d: Adjust expectations.
3142
190e5fc8
AM
31432020-03-07 Alan Modra <amodra@gmail.com>
3144
3145 * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in
3146 first column.
3147
84d9ab33
NC
31482020-03-06 Nick Clifton <nickc@redhat.com>
3149
3150 PR 25614
3151 * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
3152 0 if the dwarf_level is 5 or more. Complain if a filename follows
3153 a file 0.
3154 * testsuite/gas/elf/dwarf-5-file0.s: New test.
3155 * testsuite/gas/elf/dwarf-5-file0.d: New test driver.
3156 * testsuite/gas/elf/elf.exp: Run the new test.
3157
3158 PR 25612
3159 * config/tc-ia64.h (DWARF2_VERISION): Fix typo.
3160 * doc/as.texi: Fix another typo.
3161
31bf1864
NC
31622020-03-06 Nick Clifton <nickc@redhat.com>
3163
3164 PR 25612
3165 * as.c (dwarf_level): Define.
3166 (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
3167 (parse_args): Add support for the new options.
3168 as.h (dwarf_level): Prototype.
3169 * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
3170 value.
3171 * config/tc-ia64.h (DWARF2_VERISION): Update definition.
3172 (DWARF2_LINE_VERSION): Remove definition.
3173 * doc/as.texi: Document the new options.
3174
3c968de5
NC
31752020-03-06 Nick Clifton <nickc@redhat.com>
3176
3177 PR 25572
3178 * as.c (main): Allow matching input and outputs when they are
3179 not regular files.
3180
bc49bfd8
JB
31812020-03-06 Jan Beulich <jbeulich@suse.com>
3182
3183 * config/tc-i386.c (match_mem_size): Generalize broadcast special
3184 casing.
3185 (check_VecOperands): Zap xmmword/ymmword/zmmword when more than
3186 one of byte/word/dword/qword is set alongside a SIMD register in
3187 a template's operand.
3188
4873e243
JB
31892020-03-06 Jan Beulich <jbeulich@suse.com>
3190
3191 * config/tc-i386.c (match_template): Extend code in logic
3192 rejecting certain suffixes in certain modes to also cover mask
3193 register use and VecSIB. Drop special casing of broadcast. Skip
3194 immediates in the check.
3195
e365e234
JB
31962020-03-06 Jan Beulich <jbeulich@suse.com>
3197
3198 * config/tc-i386.c (match_template): Fold duplicate code in
3199 logic rejecting certain suffixes in certain modes. Drop
3200 pointless "else".
3201
4ed21b58
JB
32022020-03-06 Jan Beulich <jbeulich@suse.com>
3203
3204 * config/tc-i386.c (process_suffix): Exlucde !vexw insns
3205 alongside !norex64 ones.
3206 * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR*
3207 with both 32- and 64-bit GPR operands.
3208 * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both
3209 32- and 64-bit GPR operands.
3210 * testsuite/gas/i386/x86-64-avx512bw-intel.d,
3211 testsuite/gas/i386/x86-64-avx512bw.d,
3212 testsuite/gas/i386/x86-64-avx512f-intel.d,
3213 testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations.
3214
643bb870
JB
32152020-03-06 Jan Beulich <jbeulich@suse.com>
3216
3217 * config/tc-i386.c (md_assemble): Drop use of rex64.
3218 (process_suffix): For REX.W for 64-bit CRC32.
3219
a23b33b3
JB
32202020-03-06 Jan Beulich <jbeulich@suse.com>
3221
3222 * config/tc-i386.c (i386_addressing_mode): For 32-bit
3223 addressing for MPX insns without base/index.
3224 * testsuite/gas/i386/mpx-16bit.s,
3225 * testsuite/gas/i386/mpx-16bit.d: New.
3226 * testsuite/gas/i386/i386.exp: Run new test.
3227
a0497384
JB
32282020-03-06 Jan Beulich <jbeulich@suse.com>
3229
3230 * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s,
3231 testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s,
3232 testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s,
3233 testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s,
3234 * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases
3235 as well as a BSWAP one.
3236 * testsuite/gas/i386/rdpid.s: Add 16-bit case.
3237 * testsuite/gas/i386/sse2-16bit.s: Cover more insns.
3238 * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d,
3239 testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
3240 testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d,
3241 testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d,
3242 testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d,
3243 testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d,
3244 testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d,
3245 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d,
3246 testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d,
3247 testsuite/gas/i386/vmx.d: Adjust expectations.
3248
b630c145
JB
32492020-03-06 Jan Beulich <jbeulich@suse.com>
3250
3251 * config/tc-i386.c (md_assemble): Also exclude tpause and umwait
3252 from having their operands swapped.
3253 * testsuite/gas/i386/waitpkg.s,
3254 testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait
3255 3-operand cases as well as testing of 16-bit code generation.
3256 * testsuite/gas/i386/waitpkg.d,
3257 testsuite/gas/i386/waitpkg-intel.d,
3258 testsuite/gas/i386/x86-64-waitpkg.d,
3259 testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations.
3260
de48783e
NC
32612020-03-04 Nelson Chu <nelson.chu@sifive.com>
3262
dee35d02
NC
3263 * config/tc-riscv.c (percent_op_utype): Support the modifier
3264 %got_pcrel_hi.
3265 * doc/c-riscv.texi: Add documentation.
3266 * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
3267 modifier %got_pcrel_hi.
3268 * testsuite/gas/riscv/no-relax-reloc.s: Likewise.
3269 * testsuite/gas/riscv/relax-reloc.d: Likewise.
3270 * testsuite/gas/riscv/relax-reloc.s: Likewise.
3271
de48783e
NC
3272 * doc/c-riscv.texi (relocation modifiers): Add documentation.
3273 (RISC-V-Formats): Update the section name from "Instruction Formats"
3274 to "RISC-V Instruction Formats".
3275
749479c8
AO
32762020-03-04 Alexandre Oliva <oliva@adacore.com>
3277
3278 * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is
3279 detected in a section which does not have at least 4 byte
3280 alignment.
3281 * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive.
3282 * testsuite/gas/arm/ldr-t.s: Likewise.
3283 * testsuite/gas/arm/sp-pc-usage-t.s: Likewise.
3284 * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of
3285 disassembly, ignoring any NOPs that may have been inserted because
3286 of section alignment.
3287 * testsuite/gas/arm/ldr-t.d: Likewise.
3288
a847e322
JB
32892020-03-04 Jan Beulich <jbeulich@suse.com>
3290
3291 * config/tc-i386.c (cpu_arch): Add .sev_es entry.
3292 * doc/c-i386.texi: Mention sev_es.
3293 * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
3294 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
3295 expectations.
3296 * testsuite/gas/i386/arch-13-znver1.d,
3297 testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
3298
3cd7f3e3
L
32992020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * config/tc-i386.c (match_template): Replace ignoresize and
3302 defaultsize with mnemonicsize.
3303 (process_suffix): Likewise.
3304
b8ba1385
SB
33052020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
3306
3307 PR 25627
3308 * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of
3309 instruction LD IY,(HL).
3310 * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly.
3311 * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction.
3312 * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly.
3313 * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction.
3314
10d97a0f
L
33152020-03-03 H.J. Lu <hongjiu.lu@intel.com>
3316
3317 PR gas/25622
3318 * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
3319 x86-64-default-suffix-avx.
3320 * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
3321 vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
3322 * testsuite/gas/i386/noreg64.d: Updated.
3323 * testsuite/gas/i386/noreg64.l: Likewise.
3324 * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
3325 * testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
3326 * testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
3327
8326546e
SB
33282020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
3329
3330 PR 25604
3331 * config/tc-z80.c (contains_register): Prevent an illegal memory
3332 access when checking an expression for a register name.
3333
e3e896e6
AM
33342020-03-03 Alan Modra <amodra@gmail.com>
3335
3336 * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips
3337 support.
3338
a4dd6c97
AM
33392020-03-02 Alan Modra <amodra@gmail.com>
3340
3341 * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section.
3342 * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata
3343 and .sbss sections.
3344 * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout.
3345 (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section.
3346 (s3_s_score_lcomm): Likewise.
3347 * config/tc-score7.c: Similarly.
3348 * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section.
3349
dec7b24b
YS
33502020-02-28 YunQiang Su <syq@debian.org>
3351
3352 PR gas/25539
3353 * config/tc-mips.c (fix_loongson3_llsc): Compare label value
3354 to handle multi-labels.
3355 (has_label_name): New.
3356
cceb53b8
MM
33572020-02-26 Matthew Malcomson <matthew.malcomson@arm.com>
3358
3359 * config/tc-arm.c (enum pred_instruction_type): Remove
3360 NEUTRAL_IT_NO_VPT_INSN predication type.
3361 (cxn_handle_predication): Modify to require condition suffixes.
3362 (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases.
3363 * testsuite/gas/arm/cde-scalar.s: Update test.
3364 * testsuite/gas/arm/cde-warnings.l: Update test.
3365 * testsuite/gas/arm/cde-warnings.s: Update test.
3366
da3ec71f
AM
33672020-02-26 Alan Modra <amodra@gmail.com>
3368
3369 * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
3370 N_() on empty string.
3371
42135cad
AM
33722020-02-26 Alan Modra <amodra@gmail.com>
3373
3374 * read.c (read_a_source_file): Call strncpy with length one
3375 less than size of original_case_string.
3376
dc1e8a47
AM
33772020-02-26 Alan Modra <amodra@gmail.com>
3378
3379 * config/obj-elf.c: Indent labels correctly.
3380 * config/obj-macho.c: Likewise.
3381 * config/tc-aarch64.c: Likewise.
3382 * config/tc-alpha.c: Likewise.
3383 * config/tc-arm.c: Likewise.
3384 * config/tc-cr16.c: Likewise.
3385 * config/tc-crx.c: Likewise.
3386 * config/tc-frv.c: Likewise.
3387 * config/tc-i386-intel.c: Likewise.
3388 * config/tc-i386.c: Likewise.
3389 * config/tc-ia64.c: Likewise.
3390 * config/tc-mn10200.c: Likewise.
3391 * config/tc-mn10300.c: Likewise.
3392 * config/tc-nds32.c: Likewise.
3393 * config/tc-riscv.c: Likewise.
3394 * config/tc-s12z.c: Likewise.
3395 * config/tc-xtensa.c: Likewise.
3396 * config/tc-z80.c: Likewise.
3397 * read.c: Likewise.
3398 * symbols.c: Likewise.
3399 * write.c: Likewise.
3400
bd0cf5a6
NC
34012020-02-20 Nelson Chu <nelson.chu@sifive.com>
3402
54b2aec1
NC
3403 * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
3404 we are assembling instruction with CSR. Call riscv_csr_read_only_check
3405 after parsing all arguments.
3406 (enum csr_insn_type): New enum is used to classify the CSR instruction.
3407 (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These
3408 are used to check if we write a read-only CSR by the CSR instruction.
3409 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test
3410 all CSR for the read-only CSR checking.
3411 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
3412 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
3413 * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test
3414 all CSR instructions for the read-only CSR checking.
3415 * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
3416 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
3417
2ca89224
NC
3418 * config/tc-riscv.c (struct riscv_set_options): New field csr_check.
3419 (riscv_opts): Initialize it.
3420 (reg_lookup_internal): Check the `riscv_opts.csr_check`
3421 before doing the CSR checking.
3422 (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK.
3423 (md_longopts): Add mcsr-check and mno-csr-check.
3424 (md_parse_option): Handle new enum option values.
3425 (s_riscv_option): Handle new long options.
3426 * doc/c-riscv.texi: Add description for the new .option and assembler
3427 options.
3428 * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable
3429 the CSR checking.
3430 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
3431
bd0cf5a6
NC
3432 * config/tc-riscv.c (csr_extra_hash): New.
3433 (enum riscv_csr_class): New enum. Used to decide
3434 whether or not this CSR is legal in the current ISA string.
3435 (struct riscv_csr_extra): New structure to hold all extra information
3436 of CSR.
3437 (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
3438 DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
3439 Call hash_reg_name to insert CSR address into reg_names_hash.
3440 (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
3441 Decide whether the CSR is valid according to the csr_extra_hash.
3442 (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
3443 (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
3444 not a boolean. This is same as riscv_init_csr_hash, so keep the
3445 consistent usage.
3446 (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
3447 * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
3448 * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
3449 * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
3450 file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
3451 f-ext CSR are not allowed.
3452 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
3453 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
3454 source file is `priv-reg.s`, and the ISA is rv64if, so the
3455 rv32-only CSR are not allowed.
3456 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
3457
10a95fcc
AM
34582020-02-21 Alan Modra <amodra@gmail.com>
3459
3460 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
3461 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
3462
dda2980f
AM
34632020-02-21 Alan Modra <amodra@gmail.com>
3464
3465 PR 25569
3466 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
3467 on section size adjustment, instead perform another write if
3468 exec header size is larger than section size.
3469
bd3380bc
NC
34702020-02-19 Nelson Chu <nelson.chu@sifive.com>
3471
3472 * doc/c-riscv.texi: Add the doc entries for -march-attr/
3473 -mno-arch-attr command line options.
3474
fa164239
JW
34752020-02-19 Nelson Chu <nelson.chu@sifive.com>
3476
3477 * testsuite/gas/riscv/c-add-addi.d: New testcase.
3478 * testsuite/gas/riscv/c-add-addi.s: Likewise.
3479
fcaaac0a
SB
34802020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
3481
3482 PR 25576
3483 * config/tc-z80.c (md_parse_option): Do not use an underscore
3484 prefix for local labels in SDCC compatability mode.
3485 (z80_start_line_hook): Remove SDCC dollar label support.
3486 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
3487 * testsuite/gas/z80/sdcc.s: Likewise.
3488
34892020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
3490
3491 PR 25517
3492 * config/tc-z80.c: Add -march option.
3493 * doc/as.texi: Update Z80 documentation.
3494 * doc/c-z80.texi: Likewise.
3495 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
3496 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
3497 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
3498 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
3499 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
3500 * testsuite/gas/z80/gbz80_all.d: Likewise.
3501 * testsuite/gas/z80/r800_extra.d: Likewise.
3502 * testsuite/gas/z80/r800_ii8.d: Likewise.
3503 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
3504 * testsuite/gas/z80/sdcc.d: Likewise.
3505 * testsuite/gas/z80/z180.d: Likewise.
3506 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
3507 * testsuite/gas/z80/z80_doc.d: Likewise.
3508 * testsuite/gas/z80/z80_ii8.d: Likewise.
3509 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
3510 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
3511 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
3512 * testsuite/gas/z80/z80_sli.d: Likewise.
3513 * testsuite/gas/z80/z80n_all.d: Likewise.
3514 * testsuite/gas/z80/z80n_reloc.d: Likewise.
3515
a7e12755
L
35162020-02-19 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
3519 with GNU_PROPERTY_X86_FEATURE_2_MMX.
3520 * testsuite/gas/i386/i386.exp: Run property-3 and
3521 x86-64-property-3.
3522 * testsuite/gas/i386/property-3.d: New file.
3523 * testsuite/gas/i386/property-3.s: Likewise.
3524 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
3525
272a84b1
L
35262020-02-17 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * config/tc-i386.c (cpu_arch): Add .popcnt.
3529 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
3530 Add a tab before @samp{.sse4a}.
3531
c8f8eebc
JB
35322020-02-17 Jan Beulich <jbeulich@suse.com>
3533
3534 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
3535 for AddrPrefixOpReg templates. Combine the two pieces of
3536 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
3537 mode.
3538
eedb0f2c
JB
35392020-02-17 Jan Beulich <jbeulich@suse.com>
3540
3541 PR gas/14439
3542 * config/tc-i386.c (md_assemble): Also suppress operand
3543 swapping for MONITOR{,X} and MWAIT{,X}.
3544 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
3545 Add Intel syntax monitor/mwait tests.
3546 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
3547 Adjust expectations.
3548 *testsuite/gas/i386/sse3-intel.d,
3549 testsuite/gas/i386/x86-64-sse3-intel.d: New.
3550 * testsuite/gas/i386/i386.exp: Run new tests.
3551
b9915cbc
JB
35522020-02-17 Jan Beulich <jbeulich@suse.com>
3553
3554 PR gas/6518
3555 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
3556 [XYZ]MMWord memory operand ambiguity recognition logic (largely
3557 re-indentation).
3558 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
3559 cases.
3560 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
3561 * testsuite/gas/i386/avx512dq-inval.l,
3562 testsuite/gas/i386/inval-avx.l,
3563 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
3564 * testsuite/gas/i386/avx512vl-ambig.s,
3565 testsuite/gas/i386/avx512vl-ambig.l: New.
3566 * testsuite/gas/i386/i386.exp: Run new test.
3567
af5c13b0
L
35682020-02-16 H.J. Lu <hongjiu.lu@intel.com>
3569
3570 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
3571 nosse4.
3572 * doc/c-i386.texi: Document sse4a and nosse4a.
3573
07d98387
L
35742020-02-14 H.J. Lu <hongjiu.lu@intel.com>
3575
3576 * doc/c-i386.texi: Remove the old movsx and movzx documentation
3577 for AT&T syntax.
3578
65fca059
JB
35792020-02-14 Jan Beulich <jbeulich@suse.com>
3580
3581 PR gas/25438
3582 * config/tc-i386.c (md_assemble): Move movsx/movzx special
3583 casing ...
3584 (process_suffix): ... here. Consider just the first operand
3585 initially.
3586 (check_long_reg): Drop opcode 0x63 special case again.
3587 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
3588 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
3589 Move ambiguous operand size tests ...
3590 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
3591 testsuite/gas/i386/noreg64.s: ... here.
3592 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
3593 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
3594 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
3595 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
3596 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
3597 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
3598 testsuite/gas/i386/x86-64-movsxd.d,
3599 testsuite/gas/i386/x86-64-movsxd-intel.d,
3600 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
3601 Adjust expectations.
3602 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
3603 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
3604 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
3605 * testsuite/gas/i386/i386.exp: Run new tests.
3606
b6773884
JB
36072020-02-14 Jan Beulich <jbeulich@suse.com>
3608
3609 * config/tc-i386.c (process_operands): Also skip segment
3610 override prefix emission if it matches an already present one.
3611 * testsuite/gas/i386/prefix32.s: Add double segment override
3612 cases.
3613 * testsuite/gas/i386/prefix32.l: Adjust expectations.
3614
92334ad2
JB
36152020-02-14 Jan Beulich <jbeulich@suse.com>
3616
3617 * config/tc-i386.c (process_operands): Drop ineffectual segment
3618 overrides when optimizing.
3619 * testsuite/gas/i386/lea-optimize.d: New.
3620 * testsuite/gas/i386/i386.exp: Run new test.
3621
36222020-02-14 Jan Beulich <jbeulich@suse.com>
514a8bb0
JB
3623
3624 * config/tc-i386.c (process_operands): Also check insn prefix
3625 for ineffectual segment override warning. Don't cover possible
3626 VEX/EVEX encoded insns there.
3627 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
3628 testsuite/gas/i386/lea.e: New.
3629 * testsuite/gas/i386/i386.exp: Run new test.
3630
0e6724de
L
36312020-02-14 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 PR gas/25438
3634 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
3635 syntax.
3636
292676c1
L
36372020-02-13 Fangrui Song <maskray@google.com>
3638 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 PR gas/25551
3641 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
3642 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
3643 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
3644 * testsuite/gas/i386/relax-5.d: New file.
3645 * testsuite/gas/i386/relax-5.s: Likewise.
3646 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
3647 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
3648
7deea9aa
JB
36492020-02-13 Jan Beulich <jbeulich@suse.com>
3650
3651 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
3652 "nosse4" entry.
3653
6c0946d0
JB
36542020-02-12 Jan Beulich <jbeulich@suse.com>
3655
3656 * config/tc-i386.c (avx512): New (at file scope), moved from
3657 (check_VecOperands): ... here.
3658 (process_suffix): Add [XYZ]MMword operand size handling.
3659 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
3660 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
3661 tests.
3662 * testsuite/gas/i386/avx512dq-inval.l,
3663 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
3664
5990e377
JB
36652020-02-12 Jan Beulich <jbeulich@suse.com>
3666
3667 PR gas/24546
3668 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
3669 code only.
3670 * config/tc-i386-intel.c (i386_intel_operand): Also handle
3671 CALL/JMP in O_tbyte_ptr case.
3672 * doc/c-i386.texi: Mention far call and full pointer load ISA
3673 differences.
3674 * testsuite/gas/i386/x86-64-branch-3.s,
3675 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
3676 * testsuite/gas/i386/x86-64-branch-3.d,
3677 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
3678 * testsuite/gas/i386/x86-64-branch-5.l,
3679 testsuite/gas/i386/x86-64-branch-5.s: New.
3680 * testsuite/gas/i386/i386.exp: Run new test.
3681
9706160a
JB
36822020-02-12 Jan Beulich <jbeulich@suse.com>
3683
3684 PR gas/25438
3685 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
3686 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
3687 64-bit-only warning.
3688 (check_word_reg): Consistently error on mismatching register
3689 size and suffix.
3690 * testsuite/gas/i386/general.s: Replace dword GPR with word one
3691 for movw. Replace suffix / GPR for orb.
3692 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
3693 byte GPRs as well as ones for inb/outb with a word accumulator.
3694 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
3695 testsuite/gas/i386/inval.l: Adjust expectations.
3696
5de4d9ef
JB
36972020-02-12 Jan Beulich <jbeulich@suse.com>
3698
3699 * config/tc-i386.c (operand_type_register_match): Also fall
3700 through initial two if()-s when the template allows for a GPR
3701 operand. Adjust comment.
3702
50128d0c
JB
37032020-02-11 Jan Beulich <jbeulich@suse.com>
3704
3705 (struct _i386_insn): New field "short_form".
3706 (optimize_encoding): Drop setting of shortform field.
3707 (process_suffix): Set i.short_form. Replace shortform use.
3708 (process_operands): Replace shortform use.
3709
1ed818b4
MM
37102020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
3711
3712 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
3713 loop initial declaration.
3714
5aae9ae9
MM
37152020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
3716
3717 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
3718 instructions that can have 5 arguments.
3719 (enum operand_parse_code): Add new operands.
3720 (parse_operands): Account for new operands.
3721 (S5): New macro.
3722 (enum neon_shape_el): Introduce P suffixes for coprocessor.
3723 (neon_select_shape): Account for P suffix.
3724 (LOW1): Move macro to global position.
3725 (HI4): Move macro to global position.
3726 (vcx_assign_vec_d): New.
3727 (vcx_assign_vec_m): New.
3728 (vcx_assign_vec_n): New.
3729 (enum vcx_reg_type): New.
3730 (vcx_get_reg_type): New.
3731 (vcx_size_pos): New.
3732 (vcx_vec_pos): New.
3733 (vcx_handle_shape): New.
3734 (vcx_ensure_register_in_range): New.
3735 (vcx_handle_register_arguments): New.
3736 (vcx_handle_insn_block): New.
3737 (vcx_handle_common_checks): New.
3738 (do_vcx1): New.
3739 (do_vcx2): New.
3740 (do_vcx3): New.
3741 * testsuite/gas/arm/cde-missing-fp.d: New test.
3742 * testsuite/gas/arm/cde-missing-fp.l: New test.
3743 * testsuite/gas/arm/cde-missing-mve.d: New test.
3744 * testsuite/gas/arm/cde-missing-mve.l: New test.
3745 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
3746 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
3747 * testsuite/gas/arm/cde-mve.s: New test.
3748 * testsuite/gas/arm/cde-warnings.l:
3749 * testsuite/gas/arm/cde-warnings.s:
3750 * testsuite/gas/arm/cde.d:
3751 * testsuite/gas/arm/cde.s:
3752
4934a27c
MM
37532020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
3754 Matthew Malcomson <matthew.malcomson@arm.com>
3755
3756 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
3757 CDE coprocessor that can be enabled.
3758 (enum pred_instruction_type): New pred type.
3759 (BAD_NO_VPT): New error message.
3760 (BAD_CDE): New error message.
3761 (BAD_CDE_COPROC): New error message.
3762 (enum operand_parse_code): Add new immediate operands.
3763 (parse_operands): Account for new immediate operands.
3764 (check_cde_operand): New.
3765 (cde_coproc_enabled): New.
3766 (cde_coproc_pos): New.
3767 (cde_handle_coproc): New.
3768 (cxn_handle_predication): New.
3769 (do_custom_instruction_1): New.
3770 (do_custom_instruction_2): New.
3771 (do_custom_instruction_3): New.
3772 (do_cx1): New.
3773 (do_cx1a): New.
3774 (do_cx1d): New.
3775 (do_cx1da): New.
3776 (do_cx2): New.
3777 (do_cx2a): New.
3778 (do_cx2d): New.
3779 (do_cx2da): New.
3780 (do_cx3): New.
3781 (do_cx3a): New.
3782 (do_cx3d): New.
3783 (do_cx3da): New.
3784 (handle_pred_state): Define new IT block behaviour.
3785 (insns): Add newn CX*{,d}{,a} instructions.
3786 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
3787 Define new cdecp extension strings.
3788 * doc/c-arm.texi: Document new cdecp extension arguments.
3789 * testsuite/gas/arm/cde-scalar.d: New test.
3790 * testsuite/gas/arm/cde-scalar.s: New test.
3791 * testsuite/gas/arm/cde-warnings.d: New test.
3792 * testsuite/gas/arm/cde-warnings.l: New test.
3793 * testsuite/gas/arm/cde-warnings.s: New test.
3794 * testsuite/gas/arm/cde.d: New test.
3795 * testsuite/gas/arm/cde.s: New test.
3796
4b5aaf5f
L
37972020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3798
3799 PR gas/25516
3800 * config/tc-i386.c (intel64): Renamed to ...
3801 (isa64): This.
3802 (match_template): Accept Intel64 only instruction by default.
3803 (i386_displacement): Updated.
3804 (md_parse_option): Updated.
3805 * c-i386.texi: Update -mamd64/-mintel64 documentation.
3806 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
3807 -mamd64 to x86-64-sysenter-amd.
3808 * testsuite/gas/i386/x86-64-sysenter.d: New file.
3809
33176d91
AM
38102020-02-10 Alan Modra <amodra@gmail.com>
3811
3812 * config/obj-elf.c (obj_elf_change_section): Error for section
3813 type, attr or entsize changes in assembly.
3814 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
3815 * testsuite/gas/elf/section5.l: Update.
3816
82194874
AM
38172020-02-10 Alan Modra <amodra@gmail.com>
3818
3819 * output-file.c (output_file_close): Do a normal close when
3820 flag_always_generate_output.
3821 * write.c (write_object_file): Don't stop output when
3822 flag_always_generate_output.
3823
9fc0b501
SB
38242020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
3825
3826 PR 25469
3827 * config/tc-z80.c: Add -gbz80 command line option to generate code
3828 for the GameBoy Z80. Add support for generating DWARF.
3829 * config/tc-z80.h: Add support for DWARF debug information
3830 generation.
3831 * doc/c-z80.texi: Document new command line option.
3832 * testsuite/gas/z80/gbz80_all.d: New file.
3833 * testsuite/gas/z80/gbz80_all.s: New file.
3834 * testsuite/gas/z80/z80.exp: Run the new tests.
3835 * testsuite/gas/z80/z80n_all.d: New file.
3836 * testsuite/gas/z80/z80n_all.s: New file.
3837 * testsuite/gas/z80/z80n_reloc.d: New file.
3838
b7d07216
L
38392020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 PR gas/25381
3842 * config/obj-elf.c (get_section): Also check
3843 linked_to_symbol_name.
3844 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
3845 (obj_elf_parse_section_letters): Handle the 'o' flag.
3846 (build_group_lists): Renamed to ...
3847 (build_additional_section_info): This. Set elf_linked_to_section
3848 from map_head.linked_to_symbol_name.
3849 (elf_adjust_symtab): Updated.
3850 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
3851 * doc/as.texi: Document the 'o' flag.
3852 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
3853 * testsuite/gas/elf/section18.d: New file.
3854 * testsuite/gas/elf/section18.s: Likewise.
3855 * testsuite/gas/elf/section19.d: Likewise.
3856 * testsuite/gas/elf/section19.s: Likewise.
3857 * testsuite/gas/elf/section20.d: Likewise.
3858 * testsuite/gas/elf/section20.s: Likewise.
3859 * testsuite/gas/elf/section21.d: Likewise.
3860 * testsuite/gas/elf/section21.l: Likewise.
3861 * testsuite/gas/elf/section21.s: Likewise.
3862
5eb617a7
L
38632020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * NEWS: Mention x86 assembler options to align branches for
3866 binutils 2.34.
3867
986ac314
L
38682020-02-06 H.J. Lu <hongjiu.lu@intel.com>
3869
3870 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
3871 only for ELF targets.
3872 * testsuite/gas/i386/unique.d: Don't xfail.
3873 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3874
19234a6d
AM
38752020-02-06 Alan Modra <amodra@gmail.com>
3876
3877 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
3878 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3879
02e0be69
AM
38802020-02-06 Alan Modra <amodra@gmail.com>
3881
3882 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
3883 xfail, and rename test.
3884 * testsuite/gas/elf/section12b.d: Likewise.
3885 * testsuite/gas/elf/section16a.d: Likewise.
3886 * testsuite/gas/elf/section16b.d: Likewise.
3887
a8c4d40b
L
38882020-02-02 H.J. Lu <hongjiu.lu@intel.com>
3889
3890 PR gas/25380
3891 * config/obj-elf.c (section_match): Removed.
3892 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
3893 section_id.
3894 (obj_elf_change_section): Replace info and group_name arguments
3895 with match_p. Also update the section ID and flags from match_p.
3896 (obj_elf_section): Handle "unique,N". Update call to
3897 obj_elf_change_section.
3898 * config/obj-elf.h (elf_section_match): New.
3899 (obj_elf_change_section): Updated.
3900 * config/tc-arm.c (start_unwind_section): Update call to
3901 obj_elf_change_section.
3902 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3903 * config/tc-microblaze.c (microblaze_s_data): Likewise.
3904 (microblaze_s_sdata): Likewise.
3905 (microblaze_s_rdata): Likewise.
3906 (microblaze_s_bss): Likewise.
3907 * config/tc-mips.c (s_change_section): Likewise.
3908 * config/tc-msp430.c (msp430_profiler): Likewise.
3909 * config/tc-rx.c (parse_rx_section): Likewise.
3910 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
3911 * doc/as.texi: Document "unique,N" in .section directive.
3912 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
3913 * testsuite/gas/elf/section15.d: New file.
3914 * testsuite/gas/elf/section15.s: Likewise.
3915 * testsuite/gas/elf/section16.s: Likewise.
3916 * testsuite/gas/elf/section16a.d: Likewise.
3917 * testsuite/gas/elf/section16b.d: Likewise.
3918 * testsuite/gas/elf/section17.d: Likewise.
3919 * testsuite/gas/elf/section17.l: Likewise.
3920 * testsuite/gas/elf/section17.s: Likewise.
3921 * testsuite/gas/i386/unique.d: Likewise.
3922 * testsuite/gas/i386/unique.s: Likewise.
3923 * testsuite/gas/i386/x86-64-unique.d: Likewise.
3924 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
3925
575d37ae
L
39262020-02-02 H.J. Lu <hongjiu.lu@intel.com>
3927
3928 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
3929
2384096c
G
39302020-02-01 Anthony Green <green@moxielogic.com>
3931
3932 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
3933
95441c43
SL
39342020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3935
3936 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
3937 %tls_ldo.
3938
d465d695
AV
39392020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
3940
3941 PR gas/25472
3942 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
3943 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
3944 +mve.
3945 * testsuite/gas/arm/mve_dsp.d: New test.
3946
d26cc8a9
NC
39472020-01-31 Nick Clifton <nickc@redhat.com>
3948
3949 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
3950 rather than BFD_RELOC_NONE.
3951
90e9955a
SP
39522020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3953
3954 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
3955 to support VLDMIA instruction for MVE.
3956 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
3957 instruction for MVE.
3958 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
3959 instruction for MVE.
3960 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
3961 instruction for MVE.
3962 * testsuite/gas/arm/mve-ldst.d: New test.
3963 * testsuite/gas/arm/mve-ldst.s: Likewise.
3964
53943f32
NC
39652020-01-31 Nick Clifton <nickc@redhat.com>
3966
3967 * po/fr.po: Updated French translation.
3968 * po/ru.po: Updated Russian translation.
3969
c3036ed0
RS
39702020-01-31 Richard Sandiford <richard.sandiford@arm.com>
3971
3972 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
3973 .s for the movprfx.
3974 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
3975 * testsuite/gas/aarch64/sve-movprfx_28.d,
3976 * testsuite/gas/aarch64/sve-movprfx_28.l,
3977 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
3978
2ae4c703
JB
39792020-01-30 Jan Beulich <jbeulich@suse.com>
3980
3981 * config/tc-i386.c (output_disp): Tighten base_opcode check.
3982 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
3983 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
3984 Adjust expectations.
3985
bd434cc4
JM
39862020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
3987
3988 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
3989 * testsuite/gas/bpf/alu-be.d: Likewise.
3990 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
3991 * testsuite/gas/bpf/alu32-be.d: Likewise.
3992
aeab2b26
JB
39932020-01-30 Jan Beulich <jbeulich@suse.com>
3994
3995 * testsuite/gas/i386/x86-64-branch-2.s,
3996 testsuite/gas/i386/x86-64-branch-4.s,
3997 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
3998 * testsuite/gas/i386/ilp32/x86-64-branch.d,
3999 testsuite/gas/i386/x86-64-branch-2.d,
4000 testsuite/gas/i386/x86-64-branch-4.l,
4001 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
4002
873494c8
JB
40032020-01-30 Jan Beulich <jbeulich@suse.com>
4004
4005 * config/tc-i386.c (process_suffix): .
4006 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
4007 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
4008 Add LRETQ case.
4009 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
4010 suffix.
4011 testsuite/gas/i386/x86_64.s: Add RETF cases.
4012 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
4013 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
4014 testsuite/gas/i386/x86-64-opcode.d,
4015 testsuite/gas/i386/x86-64-suffix-intel.d,
4016 testsuite/gas/i386/x86-64-suffix.d,
4017 testsuite/gas/i386/x86_64-intel.d
4018 testsuite/gas/i386/x86_64.d: Adjust expectations.
4019 * testsuite/gas/i386/x86-64-suffix.e,
4020 testsuite/gas/i386/x86_64.e: New.
4021
62b3f548
JB
40222020-01-30 Jan Beulich <jbeulich@suse.com>
4023
4024 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
4025 special case.
4026
bc31405e
L
40272020-01-27 H.J. Lu <hongjiu.lu@intel.com>
4028
4029 PR binutils/25445
4030 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
4031 movsxd.
4032 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
4033 differences. Document movslq and movsxd.
4034 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
4035 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
4036 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
4037 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
4038 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
4039 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
4040 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
4041 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
4042 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
4043 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
4044 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
4045
e3696f67
AM
40462020-01-27 Alan Modra <amodra@gmail.com>
4047
4048 * testsuite/gas/all/gas.exp: Replace case statements with switch
4049 statements.
4050 * testsuite/gas/elf/elf.exp: Likewise.
4051 * testsuite/gas/macros/macros.exp: Likewise.
4052 * testsuite/lib/gas-defs.exp: Likewise.
4053
7568c93b
TC
40542020-01-27 Tamar Christina <tamar.christina@arm.com>
4055
4056 PR 25403
4057 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
4058 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
4059
403d1bd9
JW
40602020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
4061
4062 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
4063 s exts must be known, so rename *ok* to *fail*.
4064 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
4065 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
4066 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
4067 above change.
4068 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
4069 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
4070
be4c5e58
L
40712020-01-22 H.J. Lu <hongjiu.lu@intel.com>
4072
4073 PR gas/25438
4074 * config/tc-i386.c (check_long_reg): Always disallow double word
4075 suffix in mnemonic with word general register.
4076 * testsuite/gas/i386/general.s: Replace word general register
4077 with double word general register for movl.
4078 * testsuite/gas/i386/inval.s: Add tests for movl with word general
4079 register.
4080 * testsuite/gas/i386/general.l: Updated.
4081 * testsuite/gas/i386/inval.l: Likewise.
4082
9e7028aa
AM
40832020-01-22 Alan Modra <amodra@gmail.com>
4084
4085 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
4086 __tls_get_addr_desc and __tls_get_addr_opt.
4087
e3ed17f3
JB
40882020-01-21 Jan Beulich <jbeulich@suse.com>
4089
4090 * testsuite/gas/i386/inval-crc32.s,
4091 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
4092 * testsuite/gas/i386/inval-crc32.l,
4093 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
4094
1a035124
JB
40952020-01-21 Jan Beulich <jbeulich@suse.com>
4096
4097 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
4098 generic code path. Deal with No_lSuf being set in a template.
4099 * testsuite/gas/i386/inval-crc32.l,
4100 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
4101 instead of error(s) when operand size is ambiguous.
4102 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4103 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
4104 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
4105 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
4106 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
4107 Adjust expectations.
4108
c006a730
JB
41092020-01-21 Jan Beulich <jbeulich@suse.com>
4110
4111 * config/tc-i386.c (process_suffix): Drop SYSRET special case
4112 and an intel_syntax check. Re-write lack-of-suffix processing
4113 logic.
4114 * doc/c-i386.texi: Document operand size defaults for suffix-
4115 less AT&T syntax insns.
4116 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
4117 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
4118 testsuite/gas/i386/x86-64-avx-scalar.s,
4119 testsuite/gas/i386/x86-64-avx.s,
4120 testsuite/gas/i386/x86-64-bundle.s,
4121 testsuite/gas/i386/x86-64-intel64.s,
4122 testsuite/gas/i386/x86-64-lock-1.s,
4123 testsuite/gas/i386/x86-64-opcode.s,
4124 testsuite/gas/i386/x86-64-sse2avx.s,
4125 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
4126 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
4127 testsuite/gas/i386/x86-64-nops.s,
4128 testsuite/gas/i386/x86-64-ptwrite.s,
4129 testsuite/gas/i386/x86-64-simd.s,
4130 testsuite/gas/i386/x86-64-sse-noavx.s,
4131 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
4132 insns.
4133 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
4134 testsuite/gas/i386/noreg64.s: Add further tests.
4135 * testsuite/gas/i386/ilp32/x86-64-nops.d,
4136 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
4137 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
4138 testsuite/gas/i386/sse-noavx.d,
4139 testsuite/gas/i386/x86-64-intel64.d,
4140 testsuite/gas/i386/x86-64-nops.d,
4141 testsuite/gas/i386/x86-64-opcode.d,
4142 testsuite/gas/i386/x86-64-ptwrite-intel.d,
4143 testsuite/gas/i386/x86-64-ptwrite.d,
4144 testsuite/gas/i386/x86-64-simd-intel.d,
4145 testsuite/gas/i386/x86-64-simd-suffix.d,
4146 testsuite/gas/i386/x86-64-simd.d,
4147 testsuite/gas/i386/x86-64-sse-noavx.d
4148 testsuite/gas/i386/x86-64-suffix.d,
4149 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
4150 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
4151 testsuite/gas/i386/noreg64.l: New.
4152 * testsuite/gas/i386/i386.exp: Run new tests.
4153
c906a69a
JB
41542020-01-21 Jan Beulich <jbeulich@suse.com>
4155
4156 * testsuite/gas/i386/avx512_bf16_vl.s,
4157 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
4158 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
4159 broadcast forms of VCVTNEPS2BF16.
4160 * testsuite/gas/i386/avx512_bf16_vl.d,
4161 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
4162
26916852
NC
41632020-01-20 Nick Clifton <nickc@redhat.com>
4164
4165 * po/uk.po: Updated Ukranian translation.
4166
14470f07
L
41672020-01-20 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 PR ld/25416
4170 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
4171 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
4172 x32 object.
4173 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
4174 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
4175 R_X86_64_GOTPC32_TLSDESC relocation.
4176
1b1bb2c6
NC
41772020-01-18 Nick Clifton <nickc@redhat.com>
4178
4179 * configure: Regenerate.
4180 * po/gas.pot: Regenerate.
4181
ae774686
NC
41822020-01-18 Nick Clifton <nickc@redhat.com>
4183
4184 Binutils 2.34 branch created.
4185
42e04b36
L
41862020-01-17 H.J. Lu <hongjiu.lu@intel.com>
4187
4188 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
4189 with vex_encoding_vex.
4190 (parse_insn): Likewise.
4191 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
4192 and {vex3} documentation.
4193 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
4194 {vex}.
4195 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
4196
2da2eaf4
AV
41972020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
4198
4199 PR 25376
4200 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
4201 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
4202 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
4203 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
4204 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
4205 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
4206
45a4bb20
JB
42072020-01-16 Jan Beulich <jbeulich@suse.com>
4208
4209 * config/tc-i386.c (match_template): Drop found_cpu_match local
4210 variable.
4211
4814632e
JB
42122020-01-16 Jan Beulich <jbeulich@suse.com>
4213
4214 * testsuite/gas/i386/avx512dq-inval.l,
4215 testsuite/gas/i386/avx512dq-inval.s: New.
4216 * testsuite/gas/i386/i386.exp: Run new test.
4217
131cb553
JL
42182020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4219
4220 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
4221 relocations when the target is 430X, except when extracting part of an
4222 expression.
4223 (msp430_srcoperand): Adjust comment.
4224 Initialize the expp member of the msp430_operand_s struct as
4225 appropriate.
4226 (msp430_dstoperand): Likewise.
4227 * testsuite/gas/msp430/msp430.exp: Run new test.
4228 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
4229 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
4230
c24d0e8d
AM
42312020-01-15 Alan Modra <amodra@gmail.com>
4232
4233 * configure.tgt: Add sparc-*-freebsd case.
4234
e44925ae
LC
42352020-01-14 Lili Cui <lili.cui@intel.com>
4236
4237 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
4238 * testsuite/gas/i386/align-branch-1b.d: Likewise.
4239 * testsuite/gas/i386/align-branch-1c.d: Likewise.
4240 * testsuite/gas/i386/align-branch-1d.d: Likewise.
4241 * testsuite/gas/i386/align-branch-1e.d: Likewise.
4242 * testsuite/gas/i386/align-branch-1f.d: Likewise.
4243 * testsuite/gas/i386/align-branch-1g.d: Likewise.
4244 * testsuite/gas/i386/align-branch-1h.d: Likewise.
4245 * testsuite/gas/i386/align-branch-1i.d: Likewise.
4246 * testsuite/gas/i386/align-branch-5.d: Likewise.
4247 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
4248 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
4249 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
4250 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
4251 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
4252 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
4253 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
4254 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
4255 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
4256 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
4257 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
4258 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
4259
7a6bf3be
SB
42602020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
4261
4262 PR 25377
4263 * config/tc-z80.c: Add support for half precision, single
4264 precision and double precision floating point values.
4265 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
4266 * doc/as.texi: Add new z80 command line options.
4267 * doc/c-z80.texi: Document new z80 command line options.
4268 * testsuite/gas/z80/ez80_pref_dis.s: New test.
4269 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
4270 * testsuite/gas/z80/z80.exp: Run the new test.
4271 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
4272 * testsuite/gas/z80/fp_zeda32.d: Likewise.
4273 * testsuite/gas/z80/strings.d: Update expected output.
4274
82e9597c
MM
42752020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
4276
4277 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
4278 dependency.
4279
5e4f7e05
CZ
42802020-01-13 Claudiu Zissulescu <claziss@gmail.com>
4281
4282 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
4283 the CPU.
4284 * config/tc-arc.h: Add header if/defs.
4285 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
4286
febda64f
AM
42872020-01-13 Alan Modra <amodra@gmail.com>
4288
4289 * testsuite/gas/wasm32/allinsn.d: Update expected output.
4290
5496abe1
AM
42912020-01-13 Alan Modra <amodra@gmail.com>
4292
4293 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
4294 insertion.
4295
ec4181f2
AM
42962020-01-10 Alan Modra <amodra@gmail.com>
4297
4298 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
4299 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
4300
40c75bc8
SB
43012020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
4302
4303 PR 25224
4304 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
4305 opcode byte values.
4306 (emit_ld_r_r): Likewise.
4307 (emit_ld_rr_m): Likewise.
4308 (emit_ld_rr_nn): Likewise.
4309
72aea328
JB
43102020-01-09 Jan Beulich <jbeulich@suse.com>
4311
4312 * config/tc-i386.c (optimize_encoding): Add
4313 is_any_vex_encoding() invocations. Drop respective
4314 i.tm.extension_opcode == None checks.
4315
3f93af61
JB
43162020-01-09 Jan Beulich <jbeulich@suse.com>
4317
4318 * config/tc-i386.c (md_assemble): Check RegRex is clear during
4319 REX transformations. Correct comment indentation.
4320
7697afb6
JB
43212020-01-09 Jan Beulich <jbeulich@suse.com>
4322
4323 * config/tc-i386.c (optimize_encoding): Generalize register
4324 transformation for TEST optimization.
4325
d835a58b
JB
43262020-01-09 Jan Beulich <jbeulich@suse.com>
4327
4328 * testsuite/gas/i386/x86-64-sysenter-amd.s,
4329 testsuite/gas/i386/x86-64-sysenter-amd.d,
4330 testsuite/gas/i386/x86-64-sysenter-amd.l,
4331 testsuite/gas/i386/x86-64-sysenter-intel.d,
4332 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
4333 * testsuite/gas/i386/i386.exp: Run new tests.
4334
915808f6
NC
43352020-01-08 Nick Clifton <nickc@redhat.com>
4336
4337 PR 25284
4338 * doc/as.texi (Align): Document the fact that all arguments can be
4339 omitted.
4340 (Balign): Likewise.
4341 (P2align): Likewise.
4342
f1f28025
NC
43432020-01-08 Nick Clifton <nickc@redhat.com>
4344
4345 PR 14891
4346 * config/obj-elf.c (obj_elf_section): Fail if the section name is
4347 already defined as a different symbol type.
4348 * testsuite/gas/elf/pr14891.s: New test source file.
4349 * testsuite/gas/elf/pr14891.d: New test driver.
4350 * testsuite/gas/elf/pr14891.s: New test expected error output.
4351 * testsuite/gas/elf/elf.exp: Run the new test.
4352
030a2e78
AM
43532020-01-08 Alan Modra <amodra@gmail.com>
4354
4355 * config/tc-z8k.c (md_begin): Make idx unsigned.
4356 (get_specific): Likewise for this_index.
4357
2a1ebfb2
CZ
43582020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
4359
4360 * onfig/tc-arc.c (parse_reloc_symbol): New function.
4361 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
4362 (md_operand): Set X_md to absent.
4363 (arc_parse_name): Check for X_md.
4364
16d87673
SB
43652020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
4366
4367 PR 25311
4368 * as.h (TC_STRING_ESCAPES): Provide a default definition.
4369 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
4370 NO_STRING_ESCAPES.
4371 * read.c (next_char_of_string): Likewise.
4372 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
4373 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
4374
a2322019
NC
43752020-01-03 Nick Clifton <nickc@redhat.com>
4376
4377 * po/sv.po: Updated Swedish translation.
4378
5437a02a
JB
43792020-01-03 Jan Beulich <jbeulich@suse.com>
4380
4381 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
4382 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4383
567dfba2
JB
43842020-01-03 Jan Beulich <jbeulich@suse.com>
4385
4386 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
4387 by-element usdot. Add 64-bit form tests for by-element sudot.
4388 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
4389
8c45011a
JB
43902020-01-03 Jan Beulich <jbeulich@suse.com>
4391
4392 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
4393 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
4394
f4950f76
JB
43952020-01-03 Jan Beulich <jbeulich@suse.com>
4396
4397 * testsuite/gas/aarch64/f64mm.d,
4398 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
4399
6655dba2
SB
44002020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
4401
4402 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
4403 support for assembler code generated by SDCC. Add new relocation
4404 types. Add z80-elf target support.
4405 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
4406 labels. Local labels starts from ".L".
4407 * NEWS: Mention the new support.
4408 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
4409 * testsuite/gas/all/fwdexp.s: Likewise.
4410 * testsuite/gas/all/cond.l: Likewise.
4411 * testsuite/gas/all/cond.s: Likewise.
4412 * testsuite/gas/all/fwdexp.d: Likewise.
4413 * testsuite/gas/all/fwdexp.s: Likewise.
4414 * testsuite/gas/elf/section2.e-mips: Likewise.
4415 * testsuite/gas/elf/section2.l: Likewise.
4416 * testsuite/gas/elf/section2.s: Likewise.
4417 * testsuite/gas/macros/app1.d: Likewise.
4418 * testsuite/gas/macros/app1.s: Likewise.
4419 * testsuite/gas/macros/app2.d: Likewise.
4420 * testsuite/gas/macros/app2.s: Likewise.
4421 * testsuite/gas/macros/app3.d: Likewise.
4422 * testsuite/gas/macros/app3.s: Likewise.
4423 * testsuite/gas/macros/app4.d: Likewise.
4424 * testsuite/gas/macros/app4.s: Likewise.
4425 * testsuite/gas/macros/app4b.s: Likewise.
4426 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
4427 * testsuite/gas/z80/z80.exp: Add new tests
4428 * testsuite/gas/z80/dollar.d: New file.
4429 * testsuite/gas/z80/dollar.s: New file.
4430 * testsuite/gas/z80/ez80_adl_all.d: New file.
4431 * testsuite/gas/z80/ez80_adl_all.s: New file.
4432 * testsuite/gas/z80/ez80_adl_suf.d: New file.
4433 * testsuite/gas/z80/ez80_isuf.s: New file.
4434 * testsuite/gas/z80/ez80_z80_all.d: New file.
4435 * testsuite/gas/z80/ez80_z80_all.s: New file.
4436 * testsuite/gas/z80/ez80_z80_suf.d: New file.
4437 * testsuite/gas/z80/r800_extra.d: New file.
4438 * testsuite/gas/z80/r800_extra.s: New file.
4439 * testsuite/gas/z80/r800_ii8.d: New file.
4440 * testsuite/gas/z80/r800_z80_doc.d: New file.
4441 * testsuite/gas/z80/z180.d: New file.
4442 * testsuite/gas/z80/z180.s: New file.
4443 * testsuite/gas/z80/z180_z80_doc.d: New file.
4444 * testsuite/gas/z80/z80_doc.d: New file.
4445 * testsuite/gas/z80/z80_doc.s: New file.
4446 * testsuite/gas/z80/z80_ii8.d: New file.
4447 * testsuite/gas/z80/z80_ii8.s: New file.
4448 * testsuite/gas/z80/z80_in_f_c.d: New file.
4449 * testsuite/gas/z80/z80_in_f_c.s: New file.
4450 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
4451 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
4452 * testsuite/gas/z80/z80_out_c_0.d: New file.
4453 * testsuite/gas/z80/z80_out_c_0.s: New file.
4454 * testsuite/gas/z80/z80_reloc.d: New file.
4455 * testsuite/gas/z80/z80_reloc.s: New file.
4456 * testsuite/gas/z80/z80_sli.d: New file.
4457 * testsuite/gas/z80/z80_sli.s: New file.
4458
a65b5de6
SN
44592020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4460
4461 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
4462 REGLIST_RN.
4463
b14ce8bf
AM
44642020-01-01 Alan Modra <amodra@gmail.com>
4465
4466 Update year range in copyright notice of all files.
4467
0b114740 4468For older changes see ChangeLog-2019
3499769a 4469\f
0b114740 4470Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
4471
4472Copying and distribution of this file, with or without modification,
4473are permitted in any medium without royalty provided the copyright
4474notice and this notice are preserved.
4475
4476Local Variables:
4477mode: change-log
4478left-margin: 8
4479fill-column: 74
4480version-control: never
4481End:
This page took 0.473845 seconds and 4 git commands to generate.