]> Git Repo - binutils.git/blob - gas/ChangeLog
x86: integrate broadcast_op into struct _i386_insn
[binutils.git] / gas / ChangeLog
1 2021-03-30  Jan Beulich  <[email protected]>
2
3         * config/tc-i386.c (broadcast_op): Delete.
4         (struct Broadcast_Operation): Move ...
5         (struct _i386_insn): ... here. Change field "broadcast".
6         (match_mem_size): Adjust check for broadcast.
7         (optimize_encoding): Likewise.
8         (process_suffix): Likewise.
9         (build_evex_prefix): Adjust broadcast processing.
10         (swap_2_operands): Likewise.
11         (check_VecOperations): Likewise.
12         (match_template): Likewise.
13         (check_VecOperands): Likewise.
14
15 2021-03-30  Jan Beulich  <[email protected]>
16
17         * config/tc-i386.c (reg_k0): New.
18         (mask_op): Delete.
19         (struct Mask_Operation): Move ...
20         (struct _i386_insn): ... here. Change field "mask".
21         (md_begin): Initialize reg_k0.
22         (build_evex_prefix): Adjust mask processing.
23         (swap_2_operands): Likewise.
24         (check_VecOperands): Likewise.
25         (check_VecOperations): Likewise.
26         (optimize_encoding): Adjust checks for masking.
27         (output_insn): Likewise.
28
29 2021-03-30  Jan Beulich  <[email protected]>
30
31         * config/tc-i386.c (swap_2_operands): Switch parameters to
32         unsigned.
33         (struct RC_Operation): Switch operand field to unsigned.
34         (struct Mask_Operation): Likewise.
35         (struct Broadcast_Operation): Likewise.
36         (build_evex_prefix): Drop cast.
37         (check_VecOperands): Likewise.
38         (build_modrm_byte): Likewise.
39         (output_imm): Likewise.
40         (check_VecOperations): Add casts to unsigned.
41
42 2021-03-29  Jan Beulich  <[email protected]>
43
44         * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
45         * testsuite/gas/i386/x86-64-avx-swap-2.d.
46         testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
47
48 2021-03-29  Jan Beulich  <[email protected]>
49
50         * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
51         checks by opcodespace ones.
52         (insert_lfence_before): Likewise.
53         (maybe_fused_with_jcc_p): Likewise.
54         (add_branch_padding_frag_p): Likewise.
55         (output_disp): Likewise.
56         (load_insn_p): Re-arrange checks to key applicable ones off of
57         an opcodespace check.
58         (md_assemble): Adjust opcode checks.
59         (check_byte_reg): Likewise.
60         (process_operands): Likewise.
61         (i386_index_check): Likewise.
62         (process_suffix): Likewise. New local variable is_movx. Adjust
63         movsx/movzx and crc32 handling.
64         (output_insn): Adjust opcode checks. Drop no longer reachable
65         case labels. Output legacy encoding prefixes in addition to the
66         base_opcode byte(s). Rework counting of prefixes for extended
67         opcode maps.
68         * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
69         opcode checks.
70
71 2021-03-29  Alan Modra  <[email protected]>
72
73         * atof-generic.c (FALSE, TRUE): Don't define.
74         * config/obj-elf.h (FALSE, TRUE): Don't define.
75         * config/obj-som.h (FALSE, TRUE): Don't define.
76         * config/tc-hppa.h (FALSE, TRUE): Don't define.
77         * config/tc-pdp11.c (FALSE, TRUE): Don't define.
78         * config/tc-iq2000.h (obj_fix_adjustable): Delete.
79         * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
80         * config/tc-mt.h (obj_fix_adjustable): Delete.
81         * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
82         * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
83         (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
84         (tokenize_extregister): Likewise.
85         * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
86         (parse_operands_op, parse_operands, md_assemble): Likewise.
87         * config/tc-d10v.c (build_insn): Likewise.
88         * config/tc-score.c (s3_gen_insn_frag): Likewise.
89         * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
90         * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
91         * config/tc-z80.c (emit_byte): Likewise.
92
93 2021-03-29  Alan Modra  <[email protected]>
94
95         * config/tc-arm.c (struct arm_long_option_table <func>): Return
96         bfd_boolean.
97         * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
98         * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
99         with bfd_boolean.
100         (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
101         (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
102         (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
103         logical expressions.
104         (struct metag_long_option <func>): Return bfd_boolean.
105         (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
106         * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
107         * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
108         (no_operands, lex_force_match, lex_reg_list): Likewise.
109         (size_from_suffix): Return int.
110         (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
111         * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
112
113 2021-03-26  Jan Beulich  <[email protected]>
114
115         * testsuite/gas/i386/x86-64-nosse2.s,
116         testsuite/gas/i386/x86-64-nosse2.l: New.
117         * testsuite/gas/i386/i386.exp: Run new test.
118
119 2021-03-25  Abid Qadeer  <[email protected]>
120
121         * testsuite/gas/nios2/brn.d: New.
122         * testsuite/gas/nios2/brn.d: New.
123
124 2021-03-25  Jan Beulich  <[email protected]>
125
126         * config/tc-i386.c (match_template): Use t instead of i.tm.
127
128 2021-03-25  Jan Beulich  <[email protected]>
129
130         * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
131         * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
132         colliding registers in the upper half of the space.
133         * testsuite/gas/i386/avx512f-nondef.d,
134         testsuite/gas/i386/vgather-check.d,
135         testsuite/gas/i386/x86-64-vgather-check.d,
136         testsuite/gas/i386/x86-64-vgather-check-error.l,
137         testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
138         expecations.
139         * testsuite/gas/i386/vgather-check-none.d,
140         testsuite/gas/i386/vgather-check-warn.d,
141         testsuite/gas/i386/x86-64-vgather-check-none.d,
142         testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
143         tests for expected dump output.
144
145 2021-03-25  Jan Beulich  <[email protected]>
146
147         * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
148         without mask register.
149         * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
150
151 2021-03-25  Jan Beulich  <[email protected]>
152
153         * config/tc-i386.c (md_assemble): Widen set of insns to avoid
154         swapping operands for.
155         * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
156         syntax tests.
157         * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
158         well as Intel syntax tests.
159         * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
160         expectations.
161         * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d: 
162         Likewise. Drop passing --def-sym to as.
163
164 2021-03-25  Jan Beulich  <[email protected]>
165
166         PR/gas 27419
167         * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
168         conversion to x32 mode.
169         * testsuite/gas/i386/ilp32/enqcmd.s,
170         testsuite/gas/i386/ilp32/enqcmd.d,
171         testsuite/gas/i386/ilp32/movdir.s,
172         testsuite/gas/i386/ilp32/movdir.d: New.
173         * testsuite/gas/i386/x86-64-enqcmd.s,
174         testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
175         cases.
176         * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
177         (%eip) cases.
178         * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
179         * testsuite/gas/i386/x86-64-enqcmd.d,
180         testsuite/gas/i386/x86-64-enqcmd-intel.d,
181         testsuite/gas/i386/x86-64-enqcmd-inval.l,
182         testsuite/gas/i386/x86-64-movdir.d,
183         testsuite/gas/i386/x86-64-movdir-intel.d,
184         testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
185
186 2021-03-25  Alan Modra  <[email protected]>
187
188         PR 27647
189         * testsuite/gas/ppc/a2.d: Update expected output.
190         * testsuite/gas/ppc/power8.d: Likewise.
191
192 2021-03-24  Jan Beulich  <[email protected]>
193
194         * config/tc-i386.c (struct _i386_insn): New field
195         opcode_length.
196         (md_begin): Drop assertion.
197         (install_template): New.
198         (build_vex_prefix): Call install_template.
199         (match_template): Likewise.
200         (process_operands): Use new opcode_length field.
201         (output_jump): Likewise.
202         (output_insn): Likewise. Adjust psedo prefix check.
203
204 2021-03-24  Jan Beulich  <[email protected]>
205
206         * config/tc-i386.c (md_begin): Add assertion.
207         (build_vex_prefix): Drop implied prefix calculation.
208         (build_evex_prefix): Likewise.
209         (optimize_encoding): Adjust opcode checks.
210         (load_insn_p): Also check opcodeprefix.
211         (match_template): Also check opcodespace.
212         (process_suffix): Likewise.
213         (process_operands): Likewise.
214         (output_insn): Likewise. Also check isprefix when discaring
215         standalone LOCK.
216         * config/tc-i386-intel.c (i386_intel_operand): Also check
217         opcodespace.
218
219 2021-03-24  Jan Beulich  <[email protected]>
220
221         * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
222         base_opcode and extension_opcode.
223
224 2021-03-23  Jan Beulich  <[email protected]>
225
226         * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
227
228 2021-03-23  Jan Beulich  <[email protected]>
229
230         * config/tc-i386.c (output_i386_opcode): Invoke
231         process_i386_cpu_flag() slightly later.
232         (process_i386_opcodes): Likewise.
233
234 2021-03-23  Jan Beulich  <[email protected]>
235
236         * config/tc-i386.c (pte): Print prefix and encoding space.
237         (build_vex_prefix): Check opcodespace instead of opcodeprefix.
238         (build_evex_prefix): Likewise.
239         (load_insn_p): Likewise.
240
241 2021-03-23  Jan Beulich  <[email protected]>
242
243         * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
244         if()-s.
245         (match_template, output_insn): Use PREFIX_NONE.
246
247 2021-03-23  Jan Beulich  <[email protected]>
248
249         * config/tc-i386.c (i386_index_check): New local variable t.
250         Correct MPX insn check.
251         * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
252         MPX insn check.
253         * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
254         index scaling by other than 1.
255         * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
256
257 2021-03-22  Martin Liska  <[email protected]>
258
259         * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
260         (x86_64_section_word): Likewise.
261         * config/tc-sparc.c (md_parse_option): Likewise.
262
263 2021-03-19  Alan Modra  <[email protected]>
264
265         * app.c (do_scrub_chars): Don't lose spaces before a slash.
266
267 2021-03-18  Christian Groessler  <[email protected]>
268
269         * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
270         Problem found by Tadashi G. Takaoka <[email protected]>.
271
272 2021-03-16  Kuan-Lin Chen  <[email protected]>
273
274         * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
275         (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
276         * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
277         * testsuite/gas/riscv/b-ext-64.d: Likewise.
278         * testsuite/gas/riscv/b-ext.s: Likewise.
279         * testsuite/gas/riscv/b-ext.d: Likewise.
280
281 2021-03-12  Przemyslaw Wirkus  <[email protected]>
282
283         * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
284         * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
285         * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
286         * testsuite/gas/aarch64/sysreg-7.d: New test.
287         * testsuite/gas/aarch64/sysreg-7.s: New test.
288
289 2021-03-12  Clément Chigot  <[email protected]>
290
291         * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
292         (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
293         (ppc_xcoff_tbss_section): New variables.
294         (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
295         (ppc_data_csects): Removed.
296         (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
297         ppc_xcoff_parse_cons): New functions.
298         (md_being): Initialize XCOFF sections.
299         (ppc_xcoff_suffix): Add support for TLS relocations
300         (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
301         (ppc_change_csect): Handle XMC_TL, XMC_UL.  Correctly, add XMC_BS
302         to .bss section.  Handle new XCOFF section variables.
303         (ppc_comm): Likewise.
304         (ppc_toc): Likewise.
305         (ppc_symbol_new_hook): Likewise.
306         (ppc_frob_symbol): Likewise.
307         (ppc_fix_adjustable): Add tbss support.
308         * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
309         (ppc_xcoff_parse_cons): Add prototype.
310         (struct ppc_xcoff_section): New structure.
311
312 2021-03-12  Clément Chigot  <[email protected]>
313
314         * config/tc-ppc.c (ppc_xcoff_suffix): New function.
315         (MAP, MAP32, MAP64): New macros for XCOFF.
316         (ppc_xcoff_fixup_addis): New function.
317         (ppc_is_toc_sym): Handle XMC_TE.
318         (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
319         BFD_RELOC_PPC_TOC16_LO.
320         (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
321         (ppc_change_csect): Handle XMC_TE.
322         (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
323         storage class.
324         (ppc_symbol_new_hook): Handle XMC_TE.
325         (ppc_frob_symbol): Likewise.
326         (ppc_fix_adjustable): Likewise.
327         (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
328         BFD_RELOC_PPC_TOC16_LO.
329
330 2021-03-10  Jan Beulich  <[email protected]>
331
332         * testsuite/gas/i386/avx512f-intel.d,
333         testsuite/gas/i386/avx512f_vl-intel.d,
334         testsuite/gas/i386/avx512pf-intel.d,
335         testsuite/gas/i386/x86-64-avx512f-intel.d,
336         testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
337         testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
338
339 2021-03-10  Jan Beulich  <[email protected]>
340
341         * testsuite/gas/i386/prefetch.d,
342         testsuite/gas/i386/prefetch-intel.d,
343         testsuite/gas/i386/x86-64-prefetch.d,
344         testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
345         * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
346         * testsuite/gas/i386/i386.exp: Run new test.
347
348 2021-03-09  Jan Beulich  <[email protected]>
349
350         * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
351         (md_assemble): Replace use of repprefixok, islockable, and
352         notrackprefixok.
353         (i386_index_check): Replace use of repprefixok.
354
355 2021-03-09  Jan Beulich  <[email protected]>
356
357         * testsuite/gas/i386/noreg64.s: Add sysexit.
358         * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
359         sysexitl and sysexitq.
360         * testsuite/gas/i386/noreg-intel64.l,
361         testsuite/gas/i386/noreg64-data16.d,
362         testsuite/gas/i386/noreg64-data16.e,
363         testsuite/gas/i386/noreg64-rex64.d,
364         testsuite/gas/i386/noreg64.d,
365         testsuite/gas/i386/noreg64.l,
366         testsuite/gas/i386/x86-64-sysenter-amd.d,
367         testsuite/gas/i386/x86-64-sysenter-amd.l,
368         testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
369
370 2021-02-26  Nick Clifton  <[email protected]>
371
372         PR 27411
373         * config/tc-arm.c (do_t_add_sub): Correct error message.
374         * testsuite/gas/arm/pr27411.s: New test.
375         * testsuite/gas/arm/pr27411.d: New test driver.
376         * testsuite/gas/arm/pr27411.l: Expected error output for new test.
377
378 2021-02-24  Alan Modra  <[email protected]>
379
380         PR 23691
381         * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
382         (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
383         (TARGET_EXTRA_FILES): ..to here.  Add config/bfin-lex-wrapper.c,
384         and use alongside TARGET_CPU_CFILES.
385         (EXTRA_DIST): Update location of generated .c files.
386         (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
387         (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
388         (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
389         (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
390         dependencies.
391         (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
392         (itbl-parse.c, itbl-parse.h): Tidy.
393         * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
394         * config/bfin-lex.l: Include config/bfin-parse.h.
395         * configure.ac (extra_objects): Move object files corresponding
396         to .y and .l files now in config/ to config/.
397         * Makefile.in: Regenerate.
398         * configure: Regenerate.
399         * po/POTFILES.in: Regenerate.
400
401 2021-02-19  Nick Clifton  <[email protected]>
402
403         * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
404         misleading indentation.
405
406 2021-02-19  Nelson Chu  <[email protected]>
407
408         PR 27158
409         * config/tc-riscv.c (riscv_ip): Updated encoding macros.
410         (md_apply_fix): Likewise.
411         (md_convert_frag_branch): Likewise.
412         (validate_riscv_insn): Likewise.  Also arranged operands, including
413         added C5 and C6 operands, and removed unused Ci and C< operands.
414         * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
415         * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
416         * testsuite/gas/riscv/insn.s: Likewise.
417
418 2021-02-18  Nelson Chu  <[email protected]>
419
420         * config/tc-riscv.c: Included cpu-riscv.h.
421         (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
422         (struct riscv_csr_extra): Likewise.
423         (struct riscv_ext_version): Likewise.
424         (ext_version_table): Moved from opcodes/riscv-opc.c.
425         (default_isa_spec): Updated type to riscv_spec_class.
426         (default_priv_spec): Likewise.
427         (riscv_set_default_isa_spec): Updated.
428         (init_ext_version_hash): Likewise.
429         (riscv_init_csr_hash): Likewise, also fixed indent.
430
431 2021-02-17  Alan Modra  <[email protected]>
432
433         * testsuite/gas/elf/section28.d: xfail h8300.
434
435 2021-02-16  H.J. Lu  <[email protected]>
436
437         PR gas/27412
438         * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
439         when checking incorrect section attributes.
440         * testsuite/gas/elf/elf.exp: Run section28 and section29.
441         * testsuite/gas/elf/section28.d: New file.
442         * testsuite/gas/elf/section28.s: Likewise.
443         * testsuite/gas/elf/section29.d: Likewise.
444         * testsuite/gas/elf/section29.s: Likewise.
445
446 2021-02-16  Jan Beulich  <[email protected]>
447
448         * testsuite/gas/i386/sse-check.s,
449         testsuite/gas/i386/sse2avx.s,
450         testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
451         * testsuite/gas/i386/sse-check-error.l,
452         testsuite/gas/i386/sse-check-warn.e,
453         testsuite/gas/i386/sse-check.d,
454         testsuite/gas/i386/sse2avx.d,
455         testsuite/gas/i386/x86-64-sse-check-error.l,
456         testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
457         * testsuite/gas/i386/property-cvtpi2pd.s,
458         testsuite/gas/i386/property-cvtpi2pd.d,
459         testsuite/gas/i386/property-cvtpi2ps.s,
460         testsuite/gas/i386/property-cvtpi2ps.d: New.
461         * testsuite/gas/i386/i386.exp: Run new tests.
462
463 2021-02-16  Jan Beulich  <[email protected]>
464
465         * config/tc-i386.c (md_assemble): Use template rather than
466         actuals when updating i.xstate.
467         * testsuite/gas/i386/property-4.d,
468         testsuite/gas/i386/property-5.d,
469         testsuite/gas/i386/property-12.d: Adjust expectations.
470
471 2021-02-16  Jan Beulich  <[email protected]>
472
473         * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
474         vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
475         * testsuite/gas/i386/property-ldmxcsr.s,
476         testsuite/gas/i386/property-ldmxcsr.d,
477         testsuite/gas/i386/property-vldmxcsr.s,
478         testsuite/gas/i386/property-vldmxcsr.d,
479         testsuite/gas/i386/property-vzeroall.s,
480         testsuite/gas/i386/property-vzeroall.d: New.
481         * testsuite/gas/i386/i386.exp: Run new tests.
482
483 2021-02-16  Jan Beulich  <[email protected]>
484
485         * testsuite/gas/i386/i386.exp: Move bitness-independent property
486         tests to bitness independent section.
487         * testsuite/gas/i386/x86-64-property-2.d,
488         testsuite/gas/i386/x86-64-property-3.d,
489         testsuite/gas/i386/x86-64-property-4.d,
490         testsuite/gas/i386/x86-64-property-5.d,
491         testsuite/gas/i386/x86-64-property-6.d,
492         testsuite/gas/i386/x86-64-property-10.d,
493         testsuite/gas/i386/x86-64-property-11.d,
494         testsuite/gas/i386/x86-64-property-12.d,
495         testsuite/gas/i386/x86-64-property-13.d: Delete.
496
497 2021-02-16  Jan Beulich  <[email protected]>
498
499         * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
500         movdir.s.
501         * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
502
503 2021-02-16  Alan Modra  <[email protected]>
504
505         PR 27426
506         * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
507         in another place.
508
509 2021-02-16  Alan Modra  <[email protected]>
510
511         * read.c (demand_copy_C_string): Really check for embedded zeros.
512
513 2021-02-15  Andreas Krebbel  <[email protected]>
514
515         * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
516         * doc/c-s390.texi: Document arch14 march option.
517         * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
518         * testsuite/gas/s390/zarch-arch14.d: New test.
519         * testsuite/gas/s390/zarch-arch14.s: New test.
520
521 2021-02-12  Nick Clifton  <[email protected]>
522
523         * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
524         following.
525         * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
526
527 2021-02-12  Alan Modra  <[email protected]>
528
529         * testsuite/gas/all/pr27381.err: Don't match source file name.
530         * testsuite/gas/all/pr27381.s: Don't start directive in first column.
531         * testsuite/gas/all/pr27384.err: Don't match source file name.
532         Adjust line number.
533         * testsuite/gas/all/pr27384.s: Add ".text" directive.
534         * testsuite/gas/elf/pr27355.err: Don't match source file name.
535
536 2021-02-11  Alan Modra  <[email protected]>
537
538         * NEWS: Mention arm-symbianelf removal.
539
540 2021-02-10  Nick Clifton  <[email protected]>
541
542         * listing.c (buffer_line): Remove debugging code accidentally
543         included with the fix for PR 27384.
544
545 2021-02-09  Nick Clifton  <[email protected]>
546
547         PR 27381
548         * read.c (s_incbin): Check that the file to be included is a
549         regular, non-directory file.
550         * testsuite/gas/all/pr27381.s: New test source file.
551         * testsuite/gas/all/pr27381.d: New test control file.
552         * testsuite/gas/all/pr27381.err: Expected error output for the new test.
553         * testsuite/gas/all/gas.exp: Run the new test.
554
555 2021-02-09  Alan Modra  <[email protected]>
556
557         * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
558         * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
559         support.
560         * config/te-symbian.h: Delete.
561         * configure.tgt: Remove arm-*-symbianelf*.
562         * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
563         target selection.
564         * testsuite/gas/arm/arch4t.d: Likewise.
565         * testsuite/gas/arm/got_prel.d: Likewise.
566         * testsuite/gas/arm/mapdir.d: Likewise.
567         * testsuite/gas/arm/mapmisc.d: Likewise.
568         * testsuite/gas/arm/mapsecs.d: Likewise.
569         * testsuite/gas/arm/mapshort-eabi.d: Likewise.
570         * testsuite/gas/arm/thumb-eabi.d: Likewise.
571         * testsuite/gas/arm/thumb.d: Likewise.
572         * testsuite/gas/arm/thumbrel.d: Likewise.
573         * Makefile.in: Regenerate.
574         * po/POTFILES.in: Regenerate.
575
576 2021-02-09  Nick Clifton  <[email protected]>
577
578         PR 27384
579         * listing.c (listing_psize): Check the result of the width
580         expression before assigning it to paper_width.
581         * testsuite/gas/all/pr27384.s: New test source file.
582         * testsuite/gas/all/pr27384.d: New test control file.
583         * testsuite/gas/all/pr27384.err: Expected errors from new test.
584         * testsuite/gas/all/gas.exp: Run the new test.
585
586 2021-02-09  Nick Clifton  <[email protected]>
587
588         PR 27355
589         * testsuite/gas/elf/pr27355.s: New test source file.
590         * testsuite/gas/elf/pr27355.d: New test control file.
591         * testsuite/gas/elf/pr27355.err: Expected errors from new test.
592         * testsuite/gas/elf/elf.exp: Run the new test.
593
594 2021-02-08  Mike Frysinger  <[email protected]>
595
596         * config/tc-tic54x (tic54x_mmregs): Rename to ...
597         (tic54x_register_mmregs): ... this.  Change mmregs to tic54x_mmregs.
598         (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
599         (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
600         cc2_codes, cc3_codes, status_bits, and misc_symbols.
601
602 2021-02-08  Nick Clifton  <[email protected]>
603
604         PR 27355
605         * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
606         if it has not already been created.
607
608 2021-02-04  Nelson Chu  <[email protected]>
609
610         * config/tc-riscv.c (riscv_multi_subset_supports): Removed
611         INSN_CLASS_ZB*.
612         * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
613         * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
614         * testsuite/gas/riscv/bitmanip-insns.s: Removed.
615
616 2021-02-03  Andreas Krebbel  <[email protected]>
617
618         * doc/c-s390.texi: Document vector instruction formats.
619
620 2021-02-01  Emery Hemingway  <[email protected]>
621
622         * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
623
624 2021-02-01  Alan Modra  <[email protected]>
625
626         PR 27283
627         * config/tc-alpha.c (insert_operand): Delete dead code.
628
629 2021-01-26  H.J. Lu  <[email protected]>
630
631         PR gas/27243
632         * config/tc-nios2.c (md_begin): Don't disable relaxation with
633         --gdwarf-N.
634         * testsuite/gas/nios2/relax.d: New file.
635         * testsuite/gas/nios2/relax.s: Likewise.
636
637 2021-01-26  Alan Modra  <[email protected]>
638
639         * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
640         notarget all except hppa.  Comment.
641         * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
642         * testsuite/gas/all/sleb128-4.d: Likewise.  Don't skip msp430.
643         * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
644         * testsuite/gas/all/sleb128-7.d: Likewise.
645         * testsuite/gas/all/sleb128-9.d: Likewise.
646         * testsuite/gas/elf/bignums.d: Likewise.
647         * testsuite/gas/elf/group0c.d: Likewise.
648         * testsuite/gas/elf/group1a.d: Likewise.
649         * testsuite/gas/elf/section-symbol-redef.d: Likewise.
650         * testsuite/gas/elf/section15.d: Likewise.
651         * testsuite/gas/elf/section4.d: Likewise.
652         * testsuite/gas/elf/section7.d: Likewise.
653         * testsuite/gas/macros/irp.d: Likewise.
654         * testsuite/gas/macros/repeat.d: Likewise.
655         * testsuite/gas/macros/rept.d: Likewise.
656         * testsuite/gas/macros/test2.d: Likewise.
657         * testsuite/gas/macros/vararg.d: Likewise.
658         * testsuite/gas/all/string.d: Use xfail rather than skip.
659         * testsuite/gas/elf/missing-build-notes.d: Likewise.
660         * testsuite/gas/elf/section0.d: Likewise.
661         * testsuite/gas/elf/section1.d: Likewise.
662         * testsuite/gas/elf/section10.d: Likewise.
663         * testsuite/gas/elf/section11.d: Likewise.
664         * testsuite/gas/elf/section6.d: Likewise.
665         * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
666         * testsuite/gas/elf/symtab.s: Don't start directives in first column.
667         * testsuite/gas/macros/test3.d: Don't notarget nds32.
668
669 2021-01-26  Alan Modra  <[email protected]>
670
671         * testsuite/gas/all/byte.d,
672         * testsuite/gas/all/byte.l,
673         * testsuite/gas/all/byte.s: Delete.
674         * testsuite/gas/all/gas.exp: Don't run byte test.
675
676 2021-01-26  Alan Modra  <[email protected]>
677
678         PR 27282
679         * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
680         * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
681
682 2021-01-24  H.J. Lu  <[email protected]>
683
684         PR gas/27228
685         * testsuite/gas/elf/elf.exp: Run pr27228.
686         * testsuite/gas/elf/pr27228.d: New file.
687         * testsuite/gas/elf/pr27228.s: Likewise.
688
689 2021-01-24  Alan Modra  <[email protected]>
690
691         PR 27228
692         * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
693         is defined.
694
695 2021-01-21  Alan Modra  <[email protected]>
696
697         PR 27221
698         * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
699         line number info when gas is generating it.
700         * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
701         * testsuite/gas/m68hc11/indexed12.d: Likewise.
702         * testsuite/gas/elf/elf.exp: Don't run warn-2.
703         * gas/testsuite/gas/elf/warn-2.s: Delete.
704
705 2021-01-21  Alan Modra  <[email protected]>
706
707         PR 27218
708         * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
709         (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
710         error for negative file numbers.
711
712 2021-01-20  Alan Modra  <[email protected]>
713
714         * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
715         * testsuite/gas/ppc/test1elf32.d: Likewise.
716         * testsuite/gas/ppc/test1elf64.d: Likewise.
717
718 2021-01-18  H.J. Lu  <[email protected]>
719
720         PR gas/27195
721         * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
722         needed.
723         (dwarf2_directive_filename): Likewise.
724         (dwarf2_directive_loc): Likewise.
725         * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
726         * testsuite/gas/lns/lns-diag-1.l: Remove the
727         "Error: file number less than one" errors.
728
729 2021-01-18  Alan Modra  <[email protected]>
730
731         PR 27198
732         * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
733         * testsuite/gas/i386/pr27198.d,
734         * gas/testsuite/gas/i386/pr27198.err,
735         * gas/testsuite/gas/i386/pr27198.s: New test.
736         * gas/testsuite/gas/i386/i386.exp: Run it.
737
738 2021-01-15  Nelson Chu  <[email protected]>
739
740         * config/tc-riscv.c: Indent and GNU coding standards tidy,
741         also aligned the code.
742         * config/tc-riscv.h: Likewise.
743
744 2021-01-15  Nelson Chu  <[email protected]>
745
746         * config/tc-riscv.c: Error and warning messages tidy.
747         * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
748         * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
749         * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
750         * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
751         * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
752         * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
753         * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
754
755 2021-01-15  Nelson Chu  <[email protected]>
756
757         * config/tc-riscv.c: Comments tidy and improvement.  Also update
758         comment "fallthru" to "Fall through" that end with a period and
759         two spaces.
760
761 2021-01-14  Mike Frysinger  <[email protected]>
762
763         * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
764         Delete warning that these are only available with ELF targets.
765         * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
766         * read.c (potable): ... here.
767
768 2021-01-14  Mike Frysinger  <[email protected]>
769
770         * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
771         * Makefile.in: Regenerated.
772
773 2021-01-14  Mike Frysinger  <[email protected]>
774
775         * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
776         (parse_int): Mark char_bag const.
777
778 2021-01-13  H.J. Lu  <[email protected]>
779
780         PR gas/27178
781         * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
782         Don't generate GOT_symbol for PLT relocations.
783         * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
784         * testsuite/gas/i386/no-got.d: New file.
785         * testsuite/gas/i386/no-got.s: Likewise.
786         * testsuite/gas/i386/x86-64-no-got.d: Likewise.
787         * testsuite/gas/i386/x86-64-no-got.s: Likewise.
788
789 2021-01-13  Alan Modra  <[email protected]>
790
791         * Makefile.in: Regenerate.
792         * Makefile.in: Regenerate.
793
794 2021-01-12  H.J. Lu  <[email protected]>
795
796         PR binutils/26792
797         * configure.ac: Use GNU_MAKE_JOBSERVER.
798         * aclocal.m4: Regenerated.
799         * configure: Likewise.
800
801 2021-01-12  Nick Clifton  <[email protected]>
802
803         * po/fr.po: Updated French translation.
804
805 2021-01-11  H.J. Lu  <[email protected]>
806
807         PR ld/27173
808         * configure: Regenerated.
809
810 2021-10-11  Kyrylo Tkachov  <[email protected]>
811
812         * NEWS: Remove CSRE.
813         * config/tc-aarch64.c (parse_csr_operand): Delete.
814         (parse_operands): Delete handling of
815         AARCH64_OPND_CSRE_CSR.
816         (aarch64_features): Remove csre.
817         * doc/c-aarch64.texi: Remove CSRE.
818         * testsuite/gas/aarch64/csre.d: Delete.
819         * testsuite/gas/aarch64/csre-invalid.s: Likewise.
820         * testsuite/gas/aarch64/csre-invalid.d: Likewise.
821         * testsuite/gas/aarch64/csre_csr.s: Likewise.
822         * testsuite/gas/aarch64/csre_csr.d: Likewise.
823         * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
824         * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
825         * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
826
827 2021-01-11  Nick Clifton  <[email protected]>
828
829         * po/uk.po: Updated Ukranian translation.
830
831 2021-01-09  H.J. Lu  <[email protected]>
832
833         * configure: Regenerated.
834
835 2021-01-09  Nick Clifton  <[email protected]>
836
837         * configure: Regenerate.
838         * po/gas.pot: Regenerate.
839
840 2021-01-09  Nick Clifton  <[email protected]>
841
842         * 2.36 release branch crated.
843
844 2021-01-08  Peter Bergner  <[email protected]>
845
846         * testsuite/gas/ppc/rop-checks.d,
847         * testsuite/gas/ppc/rop-checks.l,
848         * testsuite/gas/ppc/rop-checks.s,
849         * testsuite/gas/ppc/rop.d,
850         * testsuite/gas/ppc/rop.s: New tests.
851         * testsuite/gas/ppc/ppc.exp: Run them.
852
853 2021-01-09  Alan Modra  <[email protected]>
854
855         * configure: Regenerate.
856
857 2021-01-07  Samuel Thibault  <[email protected]>
858
859         * configure: Regenerate.
860
861 2021-01-07  H.J. Lu  <[email protected]>
862
863         PR 27109
864         * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
865         section symbol.
866         * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
867         * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
868         on the section symbol.
869         (set_symtab): Don't generate unused section symbols.
870         (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
871         on the section symbol.
872         * config/obj-elf.c (elf_adjust_symtab): Call
873         symbol_mark_used_in_reloc on the group signature symbol.
874         * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
875         from expected output.
876         * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
877         is_elf_unused_section_symbols.
878         * testsuite/gas/elf/section2.e: Updated.
879         * testsuite/gas/elf/section2.e-unused: New file.
880         * testsuite/gas/elf/symver.d: Remove unused section symbols.
881         * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
882         * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
883         * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
884         * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
885         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
886         * testsuite/gas/i386/size-1.d: Likewise.
887         * testsuite/gas/i386/size-3.d: Likewise.
888         * testsuite/gas/i386/svr4.d: Likewise.
889         * testsuite/gas/i386/x86-64-size-1.d: Likewise.
890         * testsuite/gas/i386/x86-64-size-3.d: Likewise.
891         * testsuite/gas/i386/x86-64-size-5.d: Likewise.
892         * testsuite/gas/i386/x86-64-unwind.d: Likewise.
893
894 2021-01-07  Philipp Tomsich  <[email protected]>
895
896         * config/tc-riscv.c (riscv_multi_subset_supports): Added
897         INSN_CLASS_ZIHINTPAUSE.
898         * testsuite/gas/riscv/pause.d: New testcase.  Adding coverage for
899         the pause hint instruction.
900         * testsuite/gas/riscv/pause.s: Likewise.
901
902 2021-01-07  Claire Xenia Wolf  <[email protected]>
903             Jim Wilson  <[email protected]>
904             Andrew Waterman  <[email protected]>
905             Maxim Blinov  <[email protected]>
906             Kito Cheng  <[email protected]>
907             Nelson Chu  <[email protected]>
908
909         * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
910         (riscv_get_default_ext_version): Do not check the default_isa_spec when
911         the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
912         * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
913         * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
914         * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
915
916 2021-01-06  Alan Modra  <[email protected]>
917
918         * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
919
920 2021-01-06  Alan Modra  <[email protected]>
921
922         * testsuite/gas/macros/app1.d: xfail tic30.
923         * testsuite/gas/macros/app2.d: Likewise.
924         * testsuite/gas/macros/app3.d: Likewise.
925         * testsuite/gas/macros/app4.d: Likewise.
926
927 2021-01-06  Marcus Comstedt  <[email protected]>
928
929         * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
930         * doc/c-riscv.texi: Likewise.
931
932 2021-01-06  Marcus Comstedt  <[email protected]>
933
934         * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
935         to littleriscv.
936         * testsuite/gas/riscv/li64.d: Likewise.
937         * testsuite/gas/riscv/lla32.d: Likewise.
938         * testsuite/gas/riscv/lla64.d: Likewise.
939         * testsuite/gas/riscv/march-ok-g2.d: Likewise.
940         * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
941         * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
942         * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
943         * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
944         * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
945         * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
946
947 2021-01-06  Marcus Comstedt  <[email protected]>
948
949         * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
950         elf32-bigriscv.
951         (install_insn): Always write instructions as little endian.
952         (riscv_make_nops): Likewise.
953         (md_convert_frag_branch): Likewise.
954         (md_number_to_chars): Write data in target endianness.
955         (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
956         (md_parse_option): Handle the endian options.
957         * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
958         already defined.
959         * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
960
961 2021-01-04  H.J. Lu  <[email protected]>
962
963         PR ld/26256
964         * config/obj-elf.c (obj_elf_change_section): Also filter out
965         SHF_LINK_ORDER.
966
967 2021-01-04  Alan Modra  <[email protected]>
968
969         PR 27102
970         * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
971         message and register symbol error message.
972
973 2021-01-04  Alan Modra  <[email protected]>
974
975         PR 27101
976         * read.c (s_align): Use a large enough type for "align" to hold
977         the result of get_absolute_expression.
978
979 2021-01-01  Nicolas Boulenguez  <[email protected]>
980
981         * config/tc-i386.c: Correct comment spelling.
982         * config/tc-riscv.c: Likewise.
983         * config/tc-s390.c: Correct comment grammar.
984         * doc/c-i386.texi: Correct spelling.
985         * doc/c-s390.texi: Correct grammar.
986
987 2021-01-01  Alan Modra  <[email protected]>
988
989         Update year range in copyright notice of all files.
990
991 2021-01-01  Hans-Peter Nilsson  <[email protected]>
992
993         * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
994
995 For older changes see ChangeLog-2020
996 \f
997 Copyright (C) 2021 Free Software Foundation, Inc.
998
999 Copying and distribution of this file, with or without modification,
1000 are permitted in any medium without royalty provided the copyright
1001 notice and this notice are preserved.
1002
1003 Local Variables:
1004 mode: change-log
1005 left-margin: 8
1006 fill-column: 74
1007 version-control: never
1008 End:
This page took 0.080478 seconds and 4 git commands to generate.