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