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