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