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