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