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