1 2021-03-24 Jan Beulich <jbeulich@suse.com>
3 * config/tc-i386.c (struct _i386_insn): New field
5 (md_begin): Drop assertion.
6 (install_template): New.
7 (build_vex_prefix): Call install_template.
8 (match_template): Likewise.
9 (process_operands): Use new opcode_length field.
10 (output_jump): Likewise.
11 (output_insn): Likewise. Adjust psedo prefix check.
13 2021-03-24 Jan Beulich <jbeulich@suse.com>
15 * config/tc-i386.c (md_begin): Add assertion.
16 (build_vex_prefix): Drop implied prefix calculation.
17 (build_evex_prefix): Likewise.
18 (optimize_encoding): Adjust opcode checks.
19 (load_insn_p): Also check opcodeprefix.
20 (match_template): Also check opcodespace.
21 (process_suffix): Likewise.
22 (process_operands): Likewise.
23 (output_insn): Likewise. Also check isprefix when discaring
25 * config/tc-i386-intel.c (i386_intel_operand): Also check
28 2021-03-24 Jan Beulich <jbeulich@suse.com>
30 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
31 base_opcode and extension_opcode.
33 2021-03-23 Jan Beulich <jbeulich@suse.com>
35 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
37 2021-03-23 Jan Beulich <jbeulich@suse.com>
39 * config/tc-i386.c (output_i386_opcode): Invoke
40 process_i386_cpu_flag() slightly later.
41 (process_i386_opcodes): Likewise.
43 2021-03-23 Jan Beulich <jbeulich@suse.com>
45 * config/tc-i386.c (pte): Print prefix and encoding space.
46 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
47 (build_evex_prefix): Likewise.
48 (load_insn_p): Likewise.
50 2021-03-23 Jan Beulich <jbeulich@suse.com>
52 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
54 (match_template, output_insn): Use PREFIX_NONE.
56 2021-03-23 Jan Beulich <jbeulich@suse.com>
58 * config/tc-i386.c (i386_index_check): New local variable t.
59 Correct MPX insn check.
60 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
62 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
63 index scaling by other than 1.
64 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
66 2021-03-22 Martin Liska <mliska@suse.cz>
68 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
69 (x86_64_section_word): Likewise.
70 * config/tc-sparc.c (md_parse_option): Likewise.
72 2021-03-19 Alan Modra <amodra@gmail.com>
74 * app.c (do_scrub_chars): Don't lose spaces before a slash.
76 2021-03-18 Christian Groessler <chris@groessler.org>
78 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
79 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
81 2021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
83 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
84 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
85 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
86 * testsuite/gas/riscv/b-ext-64.d: Likewise.
87 * testsuite/gas/riscv/b-ext.s: Likewise.
88 * testsuite/gas/riscv/b-ext.d: Likewise.
90 2021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
92 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
93 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
94 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
95 * testsuite/gas/aarch64/sysreg-7.d: New test.
96 * testsuite/gas/aarch64/sysreg-7.s: New test.
98 2021-03-12 Clément Chigot <clement.chigot@atos.net>
100 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
101 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
102 (ppc_xcoff_tbss_section): New variables.
103 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
104 (ppc_data_csects): Removed.
105 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
106 ppc_xcoff_parse_cons): New functions.
107 (md_being): Initialize XCOFF sections.
108 (ppc_xcoff_suffix): Add support for TLS relocations
109 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
110 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
111 to .bss section. Handle new XCOFF section variables.
112 (ppc_comm): Likewise.
114 (ppc_symbol_new_hook): Likewise.
115 (ppc_frob_symbol): Likewise.
116 (ppc_fix_adjustable): Add tbss support.
117 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
118 (ppc_xcoff_parse_cons): Add prototype.
119 (struct ppc_xcoff_section): New structure.
121 2021-03-12 Clément Chigot <clement.chigot@atos.net>
123 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
124 (MAP, MAP32, MAP64): New macros for XCOFF.
125 (ppc_xcoff_fixup_addis): New function.
126 (ppc_is_toc_sym): Handle XMC_TE.
127 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
128 BFD_RELOC_PPC_TOC16_LO.
129 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
130 (ppc_change_csect): Handle XMC_TE.
131 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
133 (ppc_symbol_new_hook): Handle XMC_TE.
134 (ppc_frob_symbol): Likewise.
135 (ppc_fix_adjustable): Likewise.
136 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
137 BFD_RELOC_PPC_TOC16_LO.
139 2021-03-10 Jan Beulich <jbeulich@suse.com>
141 * testsuite/gas/i386/avx512f-intel.d,
142 testsuite/gas/i386/avx512f_vl-intel.d,
143 testsuite/gas/i386/avx512pf-intel.d,
144 testsuite/gas/i386/x86-64-avx512f-intel.d,
145 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
146 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
148 2021-03-10 Jan Beulich <jbeulich@suse.com>
150 * testsuite/gas/i386/prefetch.d,
151 testsuite/gas/i386/prefetch-intel.d,
152 testsuite/gas/i386/x86-64-prefetch.d,
153 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
154 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
155 * testsuite/gas/i386/i386.exp: Run new test.
157 2021-03-09 Jan Beulich <jbeulich@suse.com>
159 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
160 (md_assemble): Replace use of repprefixok, islockable, and
162 (i386_index_check): Replace use of repprefixok.
164 2021-03-09 Jan Beulich <jbeulich@suse.com>
166 * testsuite/gas/i386/noreg64.s: Add sysexit.
167 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
168 sysexitl and sysexitq.
169 * testsuite/gas/i386/noreg-intel64.l,
170 testsuite/gas/i386/noreg64-data16.d,
171 testsuite/gas/i386/noreg64-data16.e,
172 testsuite/gas/i386/noreg64-rex64.d,
173 testsuite/gas/i386/noreg64.d,
174 testsuite/gas/i386/noreg64.l,
175 testsuite/gas/i386/x86-64-sysenter-amd.d,
176 testsuite/gas/i386/x86-64-sysenter-amd.l,
177 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
179 2021-02-26 Nick Clifton <nickc@redhat.com>
182 * config/tc-arm.c (do_t_add_sub): Correct error message.
183 * testsuite/gas/arm/pr27411.s: New test.
184 * testsuite/gas/arm/pr27411.d: New test driver.
185 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
187 2021-02-24 Alan Modra <amodra@gmail.com>
190 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
191 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
192 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
193 and use alongside TARGET_CPU_CFILES.
194 (EXTRA_DIST): Update location of generated .c files.
195 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
196 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
197 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
198 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
200 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
201 (itbl-parse.c, itbl-parse.h): Tidy.
202 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
203 * config/bfin-lex.l: Include config/bfin-parse.h.
204 * configure.ac (extra_objects): Move object files corresponding
205 to .y and .l files now in config/ to config/.
206 * Makefile.in: Regenerate.
207 * configure: Regenerate.
208 * po/POTFILES.in: Regenerate.
210 2021-02-19 Nick Clifton <nickc@redhat.com>
212 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
213 misleading indentation.
215 2021-02-19 Nelson Chu <nelson.chu@sifive.com>
218 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
219 (md_apply_fix): Likewise.
220 (md_convert_frag_branch): Likewise.
221 (validate_riscv_insn): Likewise. Also arranged operands, including
222 added C5 and C6 operands, and removed unused Ci and C< operands.
223 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
224 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
225 * testsuite/gas/riscv/insn.s: Likewise.
227 2021-02-18 Nelson Chu <nelson.chu@sifive.com>
229 * config/tc-riscv.c: Included cpu-riscv.h.
230 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
231 (struct riscv_csr_extra): Likewise.
232 (struct riscv_ext_version): Likewise.
233 (ext_version_table): Moved from opcodes/riscv-opc.c.
234 (default_isa_spec): Updated type to riscv_spec_class.
235 (default_priv_spec): Likewise.
236 (riscv_set_default_isa_spec): Updated.
237 (init_ext_version_hash): Likewise.
238 (riscv_init_csr_hash): Likewise, also fixed indent.
240 2021-02-17 Alan Modra <amodra@gmail.com>
242 * testsuite/gas/elf/section28.d: xfail h8300.
244 2021-02-16 H.J. Lu <hongjiu.lu@intel.com>
247 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
248 when checking incorrect section attributes.
249 * testsuite/gas/elf/elf.exp: Run section28 and section29.
250 * testsuite/gas/elf/section28.d: New file.
251 * testsuite/gas/elf/section28.s: Likewise.
252 * testsuite/gas/elf/section29.d: Likewise.
253 * testsuite/gas/elf/section29.s: Likewise.
255 2021-02-16 Jan Beulich <jbeulich@suse.com>
257 * testsuite/gas/i386/sse-check.s,
258 testsuite/gas/i386/sse2avx.s,
259 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
260 * testsuite/gas/i386/sse-check-error.l,
261 testsuite/gas/i386/sse-check-warn.e,
262 testsuite/gas/i386/sse-check.d,
263 testsuite/gas/i386/sse2avx.d,
264 testsuite/gas/i386/x86-64-sse-check-error.l,
265 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
266 * testsuite/gas/i386/property-cvtpi2pd.s,
267 testsuite/gas/i386/property-cvtpi2pd.d,
268 testsuite/gas/i386/property-cvtpi2ps.s,
269 testsuite/gas/i386/property-cvtpi2ps.d: New.
270 * testsuite/gas/i386/i386.exp: Run new tests.
272 2021-02-16 Jan Beulich <jbeulich@suse.com>
274 * config/tc-i386.c (md_assemble): Use template rather than
275 actuals when updating i.xstate.
276 * testsuite/gas/i386/property-4.d,
277 testsuite/gas/i386/property-5.d,
278 testsuite/gas/i386/property-12.d: Adjust expectations.
280 2021-02-16 Jan Beulich <jbeulich@suse.com>
282 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
283 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
284 * testsuite/gas/i386/property-ldmxcsr.s,
285 testsuite/gas/i386/property-ldmxcsr.d,
286 testsuite/gas/i386/property-vldmxcsr.s,
287 testsuite/gas/i386/property-vldmxcsr.d,
288 testsuite/gas/i386/property-vzeroall.s,
289 testsuite/gas/i386/property-vzeroall.d: New.
290 * testsuite/gas/i386/i386.exp: Run new tests.
292 2021-02-16 Jan Beulich <jbeulich@suse.com>
294 * testsuite/gas/i386/i386.exp: Move bitness-independent property
295 tests to bitness independent section.
296 * testsuite/gas/i386/x86-64-property-2.d,
297 testsuite/gas/i386/x86-64-property-3.d,
298 testsuite/gas/i386/x86-64-property-4.d,
299 testsuite/gas/i386/x86-64-property-5.d,
300 testsuite/gas/i386/x86-64-property-6.d,
301 testsuite/gas/i386/x86-64-property-10.d,
302 testsuite/gas/i386/x86-64-property-11.d,
303 testsuite/gas/i386/x86-64-property-12.d,
304 testsuite/gas/i386/x86-64-property-13.d: Delete.
306 2021-02-16 Jan Beulich <jbeulich@suse.com>
308 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
310 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
312 2021-02-16 Alan Modra <amodra@gmail.com>
315 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
318 2021-02-16 Alan Modra <amodra@gmail.com>
320 * read.c (demand_copy_C_string): Really check for embedded zeros.
322 2021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
324 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
325 * doc/c-s390.texi: Document arch14 march option.
326 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
327 * testsuite/gas/s390/zarch-arch14.d: New test.
328 * testsuite/gas/s390/zarch-arch14.s: New test.
330 2021-02-12 Nick Clifton <nickc@redhat.com>
332 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
334 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
336 2021-02-12 Alan Modra <amodra@gmail.com>
338 * testsuite/gas/all/pr27381.err: Don't match source file name.
339 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
340 * testsuite/gas/all/pr27384.err: Don't match source file name.
342 * testsuite/gas/all/pr27384.s: Add ".text" directive.
343 * testsuite/gas/elf/pr27355.err: Don't match source file name.
345 2021-02-11 Alan Modra <amodra@gmail.com>
347 * NEWS: Mention arm-symbianelf removal.
349 2021-02-10 Nick Clifton <nickc@redhat.com>
351 * listing.c (buffer_line): Remove debugging code accidentally
352 included with the fix for PR 27384.
354 2021-02-09 Nick Clifton <nickc@redhat.com>
357 * read.c (s_incbin): Check that the file to be included is a
358 regular, non-directory file.
359 * testsuite/gas/all/pr27381.s: New test source file.
360 * testsuite/gas/all/pr27381.d: New test control file.
361 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
362 * testsuite/gas/all/gas.exp: Run the new test.
364 2021-02-09 Alan Modra <amodra@gmail.com>
366 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
367 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
369 * config/te-symbian.h: Delete.
370 * configure.tgt: Remove arm-*-symbianelf*.
371 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
373 * testsuite/gas/arm/arch4t.d: Likewise.
374 * testsuite/gas/arm/got_prel.d: Likewise.
375 * testsuite/gas/arm/mapdir.d: Likewise.
376 * testsuite/gas/arm/mapmisc.d: Likewise.
377 * testsuite/gas/arm/mapsecs.d: Likewise.
378 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
379 * testsuite/gas/arm/thumb-eabi.d: Likewise.
380 * testsuite/gas/arm/thumb.d: Likewise.
381 * testsuite/gas/arm/thumbrel.d: Likewise.
382 * Makefile.in: Regenerate.
383 * po/POTFILES.in: Regenerate.
385 2021-02-09 Nick Clifton <nickc@redhat.com>
388 * listing.c (listing_psize): Check the result of the width
389 expression before assigning it to paper_width.
390 * testsuite/gas/all/pr27384.s: New test source file.
391 * testsuite/gas/all/pr27384.d: New test control file.
392 * testsuite/gas/all/pr27384.err: Expected errors from new test.
393 * testsuite/gas/all/gas.exp: Run the new test.
395 2021-02-09 Nick Clifton <nickc@redhat.com>
398 * testsuite/gas/elf/pr27355.s: New test source file.
399 * testsuite/gas/elf/pr27355.d: New test control file.
400 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
401 * testsuite/gas/elf/elf.exp: Run the new test.
403 2021-02-08 Mike Frysinger <vapier@gentoo.org>
405 * config/tc-tic54x (tic54x_mmregs): Rename to ...
406 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
407 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
408 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
409 cc2_codes, cc3_codes, status_bits, and misc_symbols.
411 2021-02-08 Nick Clifton <nickc@redhat.com>
414 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
415 if it has not already been created.
417 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
419 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
421 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
422 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
423 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
425 2021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
427 * doc/c-s390.texi: Document vector instruction formats.
429 2021-02-01 Emery Hemingway <ehmry@posteo.net>
431 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
433 2021-02-01 Alan Modra <amodra@gmail.com>
436 * config/tc-alpha.c (insert_operand): Delete dead code.
438 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
441 * config/tc-nios2.c (md_begin): Don't disable relaxation with
443 * testsuite/gas/nios2/relax.d: New file.
444 * testsuite/gas/nios2/relax.s: Likewise.
446 2021-01-26 Alan Modra <amodra@gmail.com>
448 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
449 notarget all except hppa. Comment.
450 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
451 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
452 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
453 * testsuite/gas/all/sleb128-7.d: Likewise.
454 * testsuite/gas/all/sleb128-9.d: Likewise.
455 * testsuite/gas/elf/bignums.d: Likewise.
456 * testsuite/gas/elf/group0c.d: Likewise.
457 * testsuite/gas/elf/group1a.d: Likewise.
458 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
459 * testsuite/gas/elf/section15.d: Likewise.
460 * testsuite/gas/elf/section4.d: Likewise.
461 * testsuite/gas/elf/section7.d: Likewise.
462 * testsuite/gas/macros/irp.d: Likewise.
463 * testsuite/gas/macros/repeat.d: Likewise.
464 * testsuite/gas/macros/rept.d: Likewise.
465 * testsuite/gas/macros/test2.d: Likewise.
466 * testsuite/gas/macros/vararg.d: Likewise.
467 * testsuite/gas/all/string.d: Use xfail rather than skip.
468 * testsuite/gas/elf/missing-build-notes.d: Likewise.
469 * testsuite/gas/elf/section0.d: Likewise.
470 * testsuite/gas/elf/section1.d: Likewise.
471 * testsuite/gas/elf/section10.d: Likewise.
472 * testsuite/gas/elf/section11.d: Likewise.
473 * testsuite/gas/elf/section6.d: Likewise.
474 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
475 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
476 * testsuite/gas/macros/test3.d: Don't notarget nds32.
478 2021-01-26 Alan Modra <amodra@gmail.com>
480 * testsuite/gas/all/byte.d,
481 * testsuite/gas/all/byte.l,
482 * testsuite/gas/all/byte.s: Delete.
483 * testsuite/gas/all/gas.exp: Don't run byte test.
485 2021-01-26 Alan Modra <amodra@gmail.com>
488 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
489 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
491 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
494 * testsuite/gas/elf/elf.exp: Run pr27228.
495 * testsuite/gas/elf/pr27228.d: New file.
496 * testsuite/gas/elf/pr27228.s: Likewise.
498 2021-01-24 Alan Modra <amodra@gmail.com>
501 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
504 2021-01-21 Alan Modra <amodra@gmail.com>
507 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
508 line number info when gas is generating it.
509 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
510 * testsuite/gas/m68hc11/indexed12.d: Likewise.
511 * testsuite/gas/elf/elf.exp: Don't run warn-2.
512 * gas/testsuite/gas/elf/warn-2.s: Delete.
514 2021-01-21 Alan Modra <amodra@gmail.com>
517 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
518 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
519 error for negative file numbers.
521 2021-01-20 Alan Modra <amodra@gmail.com>
523 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
524 * testsuite/gas/ppc/test1elf32.d: Likewise.
525 * testsuite/gas/ppc/test1elf64.d: Likewise.
527 2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
530 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
532 (dwarf2_directive_filename): Likewise.
533 (dwarf2_directive_loc): Likewise.
534 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
535 * testsuite/gas/lns/lns-diag-1.l: Remove the
536 "Error: file number less than one" errors.
538 2021-01-18 Alan Modra <amodra@gmail.com>
541 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
542 * testsuite/gas/i386/pr27198.d,
543 * gas/testsuite/gas/i386/pr27198.err,
544 * gas/testsuite/gas/i386/pr27198.s: New test.
545 * gas/testsuite/gas/i386/i386.exp: Run it.
547 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
549 * config/tc-riscv.c: Indent and GNU coding standards tidy,
550 also aligned the code.
551 * config/tc-riscv.h: Likewise.
553 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
555 * config/tc-riscv.c: Error and warning messages tidy.
556 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
557 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
558 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
559 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
560 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
561 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
562 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
564 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
566 * config/tc-riscv.c: Comments tidy and improvement. Also update
567 comment "fallthru" to "Fall through" that end with a period and
570 2021-01-14 Mike Frysinger <vapier@gentoo.org>
572 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
573 Delete warning that these are only available with ELF targets.
574 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
575 * read.c (potable): ... here.
577 2021-01-14 Mike Frysinger <vapier@gentoo.org>
579 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
580 * Makefile.in: Regenerated.
582 2021-01-14 Mike Frysinger <vapier@gentoo.org>
584 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
585 (parse_int): Mark char_bag const.
587 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
590 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
591 Don't generate GOT_symbol for PLT relocations.
592 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
593 * testsuite/gas/i386/no-got.d: New file.
594 * testsuite/gas/i386/no-got.s: Likewise.
595 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
596 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
598 2021-01-13 Alan Modra <amodra@gmail.com>
600 * Makefile.in: Regenerate.
601 * Makefile.in: Regenerate.
603 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
606 * configure.ac: Use GNU_MAKE_JOBSERVER.
607 * aclocal.m4: Regenerated.
608 * configure: Likewise.
610 2021-01-12 Nick Clifton <nickc@redhat.com>
612 * po/fr.po: Updated French translation.
614 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
617 * configure: Regenerated.
619 2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
622 * config/tc-aarch64.c (parse_csr_operand): Delete.
623 (parse_operands): Delete handling of
624 AARCH64_OPND_CSRE_CSR.
625 (aarch64_features): Remove csre.
626 * doc/c-aarch64.texi: Remove CSRE.
627 * testsuite/gas/aarch64/csre.d: Delete.
628 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
629 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
630 * testsuite/gas/aarch64/csre_csr.s: Likewise.
631 * testsuite/gas/aarch64/csre_csr.d: Likewise.
632 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
633 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
634 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
636 2021-01-11 Nick Clifton <nickc@redhat.com>
638 * po/uk.po: Updated Ukranian translation.
640 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
642 * configure: Regenerated.
644 2021-01-09 Nick Clifton <nickc@redhat.com>
646 * configure: Regenerate.
647 * po/gas.pot: Regenerate.
649 2021-01-09 Nick Clifton <nickc@redhat.com>
651 * 2.36 release branch crated.
653 2021-01-08 Peter Bergner <bergner@linux.ibm.com>
655 * testsuite/gas/ppc/rop-checks.d,
656 * testsuite/gas/ppc/rop-checks.l,
657 * testsuite/gas/ppc/rop-checks.s,
658 * testsuite/gas/ppc/rop.d,
659 * testsuite/gas/ppc/rop.s: New tests.
660 * testsuite/gas/ppc/ppc.exp: Run them.
662 2021-01-09 Alan Modra <amodra@gmail.com>
664 * configure: Regenerate.
666 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
668 * configure: Regenerate.
670 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
673 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
675 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
676 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
677 on the section symbol.
678 (set_symtab): Don't generate unused section symbols.
679 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
680 on the section symbol.
681 * config/obj-elf.c (elf_adjust_symtab): Call
682 symbol_mark_used_in_reloc on the group signature symbol.
683 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
684 from expected output.
685 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
686 is_elf_unused_section_symbols.
687 * testsuite/gas/elf/section2.e: Updated.
688 * testsuite/gas/elf/section2.e-unused: New file.
689 * testsuite/gas/elf/symver.d: Remove unused section symbols.
690 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
691 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
692 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
693 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
694 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
695 * testsuite/gas/i386/size-1.d: Likewise.
696 * testsuite/gas/i386/size-3.d: Likewise.
697 * testsuite/gas/i386/svr4.d: Likewise.
698 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
699 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
700 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
701 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
703 2021-01-07 Philipp Tomsich <prt@gnu.org>
705 * config/tc-riscv.c (riscv_multi_subset_supports): Added
706 INSN_CLASS_ZIHINTPAUSE.
707 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
708 the pause hint instruction.
709 * testsuite/gas/riscv/pause.s: Likewise.
711 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
712 Jim Wilson <jimw@sifive.com>
713 Andrew Waterman <andrew@sifive.com>
714 Maxim Blinov <maxim.blinov@embecosm.com>
715 Kito Cheng <kito.cheng@sifive.com>
716 Nelson Chu <nelson.chu@sifive.com>
718 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
719 (riscv_get_default_ext_version): Do not check the default_isa_spec when
720 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
721 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
722 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
723 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
725 2021-01-06 Alan Modra <amodra@gmail.com>
727 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
729 2021-01-06 Alan Modra <amodra@gmail.com>
731 * testsuite/gas/macros/app1.d: xfail tic30.
732 * testsuite/gas/macros/app2.d: Likewise.
733 * testsuite/gas/macros/app3.d: Likewise.
734 * testsuite/gas/macros/app4.d: Likewise.
736 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
738 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
739 * doc/c-riscv.texi: Likewise.
741 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
743 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
745 * testsuite/gas/riscv/li64.d: Likewise.
746 * testsuite/gas/riscv/lla32.d: Likewise.
747 * testsuite/gas/riscv/lla64.d: Likewise.
748 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
749 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
750 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
751 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
752 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
753 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
754 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
756 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
758 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
760 (install_insn): Always write instructions as little endian.
761 (riscv_make_nops): Likewise.
762 (md_convert_frag_branch): Likewise.
763 (md_number_to_chars): Write data in target endianness.
764 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
765 (md_parse_option): Handle the endian options.
766 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
768 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
770 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
773 * config/obj-elf.c (obj_elf_change_section): Also filter out
776 2021-01-04 Alan Modra <amodra@gmail.com>
779 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
780 message and register symbol error message.
782 2021-01-04 Alan Modra <amodra@gmail.com>
785 * read.c (s_align): Use a large enough type for "align" to hold
786 the result of get_absolute_expression.
788 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
790 * config/tc-i386.c: Correct comment spelling.
791 * config/tc-riscv.c: Likewise.
792 * config/tc-s390.c: Correct comment grammar.
793 * doc/c-i386.texi: Correct spelling.
794 * doc/c-s390.texi: Correct grammar.
796 2021-01-01 Alan Modra <amodra@gmail.com>
798 Update year range in copyright notice of all files.
800 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
802 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
804 For older changes see ChangeLog-2020
806 Copyright (C) 2021 Free Software Foundation, Inc.
808 Copying and distribution of this file, with or without modification,
809 are permitted in any medium without royalty provided the copyright
810 notice and this notice are preserved.
816 version-control: never