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