3 * config/tc-i386.c (broadcast_op): Delete.
4 (struct Broadcast_Operation): Move ...
5 (struct _i386_insn): ... here. Change field "broadcast".
6 (match_mem_size): Adjust check for broadcast.
7 (optimize_encoding): Likewise.
8 (process_suffix): Likewise.
9 (build_evex_prefix): Adjust broadcast processing.
10 (swap_2_operands): Likewise.
11 (check_VecOperations): Likewise.
12 (match_template): Likewise.
13 (check_VecOperands): Likewise.
17 * config/tc-i386.c (reg_k0): New.
19 (struct Mask_Operation): Move ...
20 (struct _i386_insn): ... here. Change field "mask".
21 (md_begin): Initialize reg_k0.
22 (build_evex_prefix): Adjust mask processing.
23 (swap_2_operands): Likewise.
24 (check_VecOperands): Likewise.
25 (check_VecOperations): Likewise.
26 (optimize_encoding): Adjust checks for masking.
27 (output_insn): Likewise.
31 * config/tc-i386.c (swap_2_operands): Switch parameters to
33 (struct RC_Operation): Switch operand field to unsigned.
34 (struct Mask_Operation): Likewise.
35 (struct Broadcast_Operation): Likewise.
36 (build_evex_prefix): Drop cast.
37 (check_VecOperands): Likewise.
38 (build_modrm_byte): Likewise.
39 (output_imm): Likewise.
40 (check_VecOperations): Add casts to unsigned.
44 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
45 * testsuite/gas/i386/x86-64-avx-swap-2.d.
46 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
50 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
51 checks by opcodespace ones.
52 (insert_lfence_before): Likewise.
53 (maybe_fused_with_jcc_p): Likewise.
54 (add_branch_padding_frag_p): Likewise.
55 (output_disp): Likewise.
56 (load_insn_p): Re-arrange checks to key applicable ones off of
58 (md_assemble): Adjust opcode checks.
59 (check_byte_reg): Likewise.
60 (process_operands): Likewise.
61 (i386_index_check): Likewise.
62 (process_suffix): Likewise. New local variable is_movx. Adjust
63 movsx/movzx and crc32 handling.
64 (output_insn): Adjust opcode checks. Drop no longer reachable
65 case labels. Output legacy encoding prefixes in addition to the
66 base_opcode byte(s). Rework counting of prefixes for extended
68 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
73 * atof-generic.c (FALSE, TRUE): Don't define.
74 * config/obj-elf.h (FALSE, TRUE): Don't define.
75 * config/obj-som.h (FALSE, TRUE): Don't define.
76 * config/tc-hppa.h (FALSE, TRUE): Don't define.
77 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
78 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
79 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
80 * config/tc-mt.h (obj_fix_adjustable): Delete.
81 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
82 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
83 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
84 (tokenize_extregister): Likewise.
85 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
86 (parse_operands_op, parse_operands, md_assemble): Likewise.
87 * config/tc-d10v.c (build_insn): Likewise.
88 * config/tc-score.c (s3_gen_insn_frag): Likewise.
89 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
90 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
91 * config/tc-z80.c (emit_byte): Likewise.
95 * config/tc-arm.c (struct arm_long_option_table <func>): Return
97 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
98 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
100 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
101 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
102 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
104 (struct metag_long_option <func>): Return bfd_boolean.
105 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
106 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
107 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
108 (no_operands, lex_force_match, lex_reg_list): Likewise.
109 (size_from_suffix): Return int.
110 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
111 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
115 * testsuite/gas/i386/x86-64-nosse2.s,
116 testsuite/gas/i386/x86-64-nosse2.l: New.
117 * testsuite/gas/i386/i386.exp: Run new test.
121 * testsuite/gas/nios2/brn.d: New.
122 * testsuite/gas/nios2/brn.d: New.
126 * config/tc-i386.c (match_template): Use t instead of i.tm.
130 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
131 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
132 colliding registers in the upper half of the space.
133 * testsuite/gas/i386/avx512f-nondef.d,
134 testsuite/gas/i386/vgather-check.d,
135 testsuite/gas/i386/x86-64-vgather-check.d,
136 testsuite/gas/i386/x86-64-vgather-check-error.l,
137 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
139 * testsuite/gas/i386/vgather-check-none.d,
140 testsuite/gas/i386/vgather-check-warn.d,
141 testsuite/gas/i386/x86-64-vgather-check-none.d,
142 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
143 tests for expected dump output.
147 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
148 without mask register.
149 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
153 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
154 swapping operands for.
155 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
157 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
158 well as Intel syntax tests.
159 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
161 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
162 Likewise. Drop passing --def-sym to as.
167 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
168 conversion to x32 mode.
169 * testsuite/gas/i386/ilp32/enqcmd.s,
170 testsuite/gas/i386/ilp32/enqcmd.d,
171 testsuite/gas/i386/ilp32/movdir.s,
172 testsuite/gas/i386/ilp32/movdir.d: New.
173 * testsuite/gas/i386/x86-64-enqcmd.s,
174 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
176 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
178 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
179 * testsuite/gas/i386/x86-64-enqcmd.d,
180 testsuite/gas/i386/x86-64-enqcmd-intel.d,
181 testsuite/gas/i386/x86-64-enqcmd-inval.l,
182 testsuite/gas/i386/x86-64-movdir.d,
183 testsuite/gas/i386/x86-64-movdir-intel.d,
184 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
189 * testsuite/gas/ppc/a2.d: Update expected output.
190 * testsuite/gas/ppc/power8.d: Likewise.
194 * config/tc-i386.c (struct _i386_insn): New field
196 (md_begin): Drop assertion.
197 (install_template): New.
198 (build_vex_prefix): Call install_template.
199 (match_template): Likewise.
200 (process_operands): Use new opcode_length field.
201 (output_jump): Likewise.
202 (output_insn): Likewise. Adjust psedo prefix check.
206 * config/tc-i386.c (md_begin): Add assertion.
207 (build_vex_prefix): Drop implied prefix calculation.
208 (build_evex_prefix): Likewise.
209 (optimize_encoding): Adjust opcode checks.
210 (load_insn_p): Also check opcodeprefix.
211 (match_template): Also check opcodespace.
212 (process_suffix): Likewise.
213 (process_operands): Likewise.
214 (output_insn): Likewise. Also check isprefix when discaring
216 * config/tc-i386-intel.c (i386_intel_operand): Also check
221 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
222 base_opcode and extension_opcode.
226 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
230 * config/tc-i386.c (output_i386_opcode): Invoke
231 process_i386_cpu_flag() slightly later.
232 (process_i386_opcodes): Likewise.
236 * config/tc-i386.c (pte): Print prefix and encoding space.
237 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
238 (build_evex_prefix): Likewise.
239 (load_insn_p): Likewise.
243 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
245 (match_template, output_insn): Use PREFIX_NONE.
249 * config/tc-i386.c (i386_index_check): New local variable t.
250 Correct MPX insn check.
251 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
253 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
254 index scaling by other than 1.
255 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
259 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
260 (x86_64_section_word): Likewise.
261 * config/tc-sparc.c (md_parse_option): Likewise.
265 * app.c (do_scrub_chars): Don't lose spaces before a slash.
269 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
274 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
275 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
276 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
277 * testsuite/gas/riscv/b-ext-64.d: Likewise.
278 * testsuite/gas/riscv/b-ext.s: Likewise.
279 * testsuite/gas/riscv/b-ext.d: Likewise.
283 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
284 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
285 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
286 * testsuite/gas/aarch64/sysreg-7.d: New test.
287 * testsuite/gas/aarch64/sysreg-7.s: New test.
291 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
292 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
293 (ppc_xcoff_tbss_section): New variables.
294 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
295 (ppc_data_csects): Removed.
296 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
297 ppc_xcoff_parse_cons): New functions.
298 (md_being): Initialize XCOFF sections.
299 (ppc_xcoff_suffix): Add support for TLS relocations
300 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
301 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
302 to .bss section. Handle new XCOFF section variables.
303 (ppc_comm): Likewise.
305 (ppc_symbol_new_hook): Likewise.
306 (ppc_frob_symbol): Likewise.
307 (ppc_fix_adjustable): Add tbss support.
308 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
309 (ppc_xcoff_parse_cons): Add prototype.
310 (struct ppc_xcoff_section): New structure.
314 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
315 (MAP, MAP32, MAP64): New macros for XCOFF.
316 (ppc_xcoff_fixup_addis): New function.
317 (ppc_is_toc_sym): Handle XMC_TE.
318 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
319 BFD_RELOC_PPC_TOC16_LO.
320 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
321 (ppc_change_csect): Handle XMC_TE.
322 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
324 (ppc_symbol_new_hook): Handle XMC_TE.
325 (ppc_frob_symbol): Likewise.
326 (ppc_fix_adjustable): Likewise.
327 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
328 BFD_RELOC_PPC_TOC16_LO.
332 * testsuite/gas/i386/avx512f-intel.d,
333 testsuite/gas/i386/avx512f_vl-intel.d,
334 testsuite/gas/i386/avx512pf-intel.d,
335 testsuite/gas/i386/x86-64-avx512f-intel.d,
336 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
337 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
341 * testsuite/gas/i386/prefetch.d,
342 testsuite/gas/i386/prefetch-intel.d,
343 testsuite/gas/i386/x86-64-prefetch.d,
344 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
345 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
346 * testsuite/gas/i386/i386.exp: Run new test.
350 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
351 (md_assemble): Replace use of repprefixok, islockable, and
353 (i386_index_check): Replace use of repprefixok.
357 * testsuite/gas/i386/noreg64.s: Add sysexit.
358 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
359 sysexitl and sysexitq.
360 * testsuite/gas/i386/noreg-intel64.l,
361 testsuite/gas/i386/noreg64-data16.d,
362 testsuite/gas/i386/noreg64-data16.e,
363 testsuite/gas/i386/noreg64-rex64.d,
364 testsuite/gas/i386/noreg64.d,
365 testsuite/gas/i386/noreg64.l,
366 testsuite/gas/i386/x86-64-sysenter-amd.d,
367 testsuite/gas/i386/x86-64-sysenter-amd.l,
368 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
373 * config/tc-arm.c (do_t_add_sub): Correct error message.
374 * testsuite/gas/arm/pr27411.s: New test.
375 * testsuite/gas/arm/pr27411.d: New test driver.
376 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
381 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
382 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
383 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
384 and use alongside TARGET_CPU_CFILES.
385 (EXTRA_DIST): Update location of generated .c files.
386 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
387 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
388 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
389 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
391 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
392 (itbl-parse.c, itbl-parse.h): Tidy.
393 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
394 * config/bfin-lex.l: Include config/bfin-parse.h.
395 * configure.ac (extra_objects): Move object files corresponding
396 to .y and .l files now in config/ to config/.
397 * Makefile.in: Regenerate.
398 * configure: Regenerate.
399 * po/POTFILES.in: Regenerate.
403 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
404 misleading indentation.
409 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
410 (md_apply_fix): Likewise.
411 (md_convert_frag_branch): Likewise.
412 (validate_riscv_insn): Likewise. Also arranged operands, including
413 added C5 and C6 operands, and removed unused Ci and C< operands.
414 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
415 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
416 * testsuite/gas/riscv/insn.s: Likewise.
420 * config/tc-riscv.c: Included cpu-riscv.h.
421 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
422 (struct riscv_csr_extra): Likewise.
423 (struct riscv_ext_version): Likewise.
424 (ext_version_table): Moved from opcodes/riscv-opc.c.
425 (default_isa_spec): Updated type to riscv_spec_class.
426 (default_priv_spec): Likewise.
427 (riscv_set_default_isa_spec): Updated.
428 (init_ext_version_hash): Likewise.
429 (riscv_init_csr_hash): Likewise, also fixed indent.
433 * testsuite/gas/elf/section28.d: xfail h8300.
438 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
439 when checking incorrect section attributes.
440 * testsuite/gas/elf/elf.exp: Run section28 and section29.
441 * testsuite/gas/elf/section28.d: New file.
442 * testsuite/gas/elf/section28.s: Likewise.
443 * testsuite/gas/elf/section29.d: Likewise.
444 * testsuite/gas/elf/section29.s: Likewise.
448 * testsuite/gas/i386/sse-check.s,
449 testsuite/gas/i386/sse2avx.s,
450 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
451 * testsuite/gas/i386/sse-check-error.l,
452 testsuite/gas/i386/sse-check-warn.e,
453 testsuite/gas/i386/sse-check.d,
454 testsuite/gas/i386/sse2avx.d,
455 testsuite/gas/i386/x86-64-sse-check-error.l,
456 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
457 * testsuite/gas/i386/property-cvtpi2pd.s,
458 testsuite/gas/i386/property-cvtpi2pd.d,
459 testsuite/gas/i386/property-cvtpi2ps.s,
460 testsuite/gas/i386/property-cvtpi2ps.d: New.
461 * testsuite/gas/i386/i386.exp: Run new tests.
465 * config/tc-i386.c (md_assemble): Use template rather than
466 actuals when updating i.xstate.
467 * testsuite/gas/i386/property-4.d,
468 testsuite/gas/i386/property-5.d,
469 testsuite/gas/i386/property-12.d: Adjust expectations.
473 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
474 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
475 * testsuite/gas/i386/property-ldmxcsr.s,
476 testsuite/gas/i386/property-ldmxcsr.d,
477 testsuite/gas/i386/property-vldmxcsr.s,
478 testsuite/gas/i386/property-vldmxcsr.d,
479 testsuite/gas/i386/property-vzeroall.s,
480 testsuite/gas/i386/property-vzeroall.d: New.
481 * testsuite/gas/i386/i386.exp: Run new tests.
485 * testsuite/gas/i386/i386.exp: Move bitness-independent property
486 tests to bitness independent section.
487 * testsuite/gas/i386/x86-64-property-2.d,
488 testsuite/gas/i386/x86-64-property-3.d,
489 testsuite/gas/i386/x86-64-property-4.d,
490 testsuite/gas/i386/x86-64-property-5.d,
491 testsuite/gas/i386/x86-64-property-6.d,
492 testsuite/gas/i386/x86-64-property-10.d,
493 testsuite/gas/i386/x86-64-property-11.d,
494 testsuite/gas/i386/x86-64-property-12.d,
495 testsuite/gas/i386/x86-64-property-13.d: Delete.
499 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
501 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
506 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
511 * read.c (demand_copy_C_string): Really check for embedded zeros.
515 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
516 * doc/c-s390.texi: Document arch14 march option.
517 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
518 * testsuite/gas/s390/zarch-arch14.d: New test.
519 * testsuite/gas/s390/zarch-arch14.s: New test.
523 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
525 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
529 * testsuite/gas/all/pr27381.err: Don't match source file name.
530 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
531 * testsuite/gas/all/pr27384.err: Don't match source file name.
533 * testsuite/gas/all/pr27384.s: Add ".text" directive.
534 * testsuite/gas/elf/pr27355.err: Don't match source file name.
538 * NEWS: Mention arm-symbianelf removal.
542 * listing.c (buffer_line): Remove debugging code accidentally
543 included with the fix for PR 27384.
548 * read.c (s_incbin): Check that the file to be included is a
549 regular, non-directory file.
550 * testsuite/gas/all/pr27381.s: New test source file.
551 * testsuite/gas/all/pr27381.d: New test control file.
552 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
553 * testsuite/gas/all/gas.exp: Run the new test.
557 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
558 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
560 * config/te-symbian.h: Delete.
561 * configure.tgt: Remove arm-*-symbianelf*.
562 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
564 * testsuite/gas/arm/arch4t.d: Likewise.
565 * testsuite/gas/arm/got_prel.d: Likewise.
566 * testsuite/gas/arm/mapdir.d: Likewise.
567 * testsuite/gas/arm/mapmisc.d: Likewise.
568 * testsuite/gas/arm/mapsecs.d: Likewise.
569 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
570 * testsuite/gas/arm/thumb-eabi.d: Likewise.
571 * testsuite/gas/arm/thumb.d: Likewise.
572 * testsuite/gas/arm/thumbrel.d: Likewise.
573 * Makefile.in: Regenerate.
574 * po/POTFILES.in: Regenerate.
579 * listing.c (listing_psize): Check the result of the width
580 expression before assigning it to paper_width.
581 * testsuite/gas/all/pr27384.s: New test source file.
582 * testsuite/gas/all/pr27384.d: New test control file.
583 * testsuite/gas/all/pr27384.err: Expected errors from new test.
584 * testsuite/gas/all/gas.exp: Run the new test.
589 * testsuite/gas/elf/pr27355.s: New test source file.
590 * testsuite/gas/elf/pr27355.d: New test control file.
591 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
592 * testsuite/gas/elf/elf.exp: Run the new test.
596 * config/tc-tic54x (tic54x_mmregs): Rename to ...
597 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
598 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
599 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
600 cc2_codes, cc3_codes, status_bits, and misc_symbols.
605 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
606 if it has not already been created.
610 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
612 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
613 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
614 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
618 * doc/c-s390.texi: Document vector instruction formats.
622 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
627 * config/tc-alpha.c (insert_operand): Delete dead code.
632 * config/tc-nios2.c (md_begin): Don't disable relaxation with
634 * testsuite/gas/nios2/relax.d: New file.
635 * testsuite/gas/nios2/relax.s: Likewise.
639 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
640 notarget all except hppa. Comment.
641 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
642 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
643 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
644 * testsuite/gas/all/sleb128-7.d: Likewise.
645 * testsuite/gas/all/sleb128-9.d: Likewise.
646 * testsuite/gas/elf/bignums.d: Likewise.
647 * testsuite/gas/elf/group0c.d: Likewise.
648 * testsuite/gas/elf/group1a.d: Likewise.
649 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
650 * testsuite/gas/elf/section15.d: Likewise.
651 * testsuite/gas/elf/section4.d: Likewise.
652 * testsuite/gas/elf/section7.d: Likewise.
653 * testsuite/gas/macros/irp.d: Likewise.
654 * testsuite/gas/macros/repeat.d: Likewise.
655 * testsuite/gas/macros/rept.d: Likewise.
656 * testsuite/gas/macros/test2.d: Likewise.
657 * testsuite/gas/macros/vararg.d: Likewise.
658 * testsuite/gas/all/string.d: Use xfail rather than skip.
659 * testsuite/gas/elf/missing-build-notes.d: Likewise.
660 * testsuite/gas/elf/section0.d: Likewise.
661 * testsuite/gas/elf/section1.d: Likewise.
662 * testsuite/gas/elf/section10.d: Likewise.
663 * testsuite/gas/elf/section11.d: Likewise.
664 * testsuite/gas/elf/section6.d: Likewise.
665 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
666 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
667 * testsuite/gas/macros/test3.d: Don't notarget nds32.
671 * testsuite/gas/all/byte.d,
672 * testsuite/gas/all/byte.l,
673 * testsuite/gas/all/byte.s: Delete.
674 * testsuite/gas/all/gas.exp: Don't run byte test.
679 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
680 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
685 * testsuite/gas/elf/elf.exp: Run pr27228.
686 * testsuite/gas/elf/pr27228.d: New file.
687 * testsuite/gas/elf/pr27228.s: Likewise.
692 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
698 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
699 line number info when gas is generating it.
700 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
701 * testsuite/gas/m68hc11/indexed12.d: Likewise.
702 * testsuite/gas/elf/elf.exp: Don't run warn-2.
703 * gas/testsuite/gas/elf/warn-2.s: Delete.
708 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
709 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
710 error for negative file numbers.
714 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
715 * testsuite/gas/ppc/test1elf32.d: Likewise.
716 * testsuite/gas/ppc/test1elf64.d: Likewise.
721 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
723 (dwarf2_directive_filename): Likewise.
724 (dwarf2_directive_loc): Likewise.
725 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
726 * testsuite/gas/lns/lns-diag-1.l: Remove the
727 "Error: file number less than one" errors.
732 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
733 * testsuite/gas/i386/pr27198.d,
734 * gas/testsuite/gas/i386/pr27198.err,
735 * gas/testsuite/gas/i386/pr27198.s: New test.
736 * gas/testsuite/gas/i386/i386.exp: Run it.
740 * config/tc-riscv.c: Indent and GNU coding standards tidy,
741 also aligned the code.
742 * config/tc-riscv.h: Likewise.
746 * config/tc-riscv.c: Error and warning messages tidy.
747 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
748 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
749 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
750 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
751 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
752 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
753 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
757 * config/tc-riscv.c: Comments tidy and improvement. Also update
758 comment "fallthru" to "Fall through" that end with a period and
763 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
764 Delete warning that these are only available with ELF targets.
765 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
766 * read.c (potable): ... here.
770 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
771 * Makefile.in: Regenerated.
775 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
776 (parse_int): Mark char_bag const.
781 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
782 Don't generate GOT_symbol for PLT relocations.
783 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
784 * testsuite/gas/i386/no-got.d: New file.
785 * testsuite/gas/i386/no-got.s: Likewise.
786 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
787 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
791 * Makefile.in: Regenerate.
792 * Makefile.in: Regenerate.
797 * configure.ac: Use GNU_MAKE_JOBSERVER.
798 * aclocal.m4: Regenerated.
799 * configure: Likewise.
803 * po/fr.po: Updated French translation.
808 * configure: Regenerated.
813 * config/tc-aarch64.c (parse_csr_operand): Delete.
814 (parse_operands): Delete handling of
815 AARCH64_OPND_CSRE_CSR.
816 (aarch64_features): Remove csre.
817 * doc/c-aarch64.texi: Remove CSRE.
818 * testsuite/gas/aarch64/csre.d: Delete.
819 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
820 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
821 * testsuite/gas/aarch64/csre_csr.s: Likewise.
822 * testsuite/gas/aarch64/csre_csr.d: Likewise.
823 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
824 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
825 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
829 * po/uk.po: Updated Ukranian translation.
833 * configure: Regenerated.
837 * configure: Regenerate.
838 * po/gas.pot: Regenerate.
842 * 2.36 release branch crated.
846 * testsuite/gas/ppc/rop-checks.d,
847 * testsuite/gas/ppc/rop-checks.l,
848 * testsuite/gas/ppc/rop-checks.s,
849 * testsuite/gas/ppc/rop.d,
850 * testsuite/gas/ppc/rop.s: New tests.
851 * testsuite/gas/ppc/ppc.exp: Run them.
855 * configure: Regenerate.
859 * configure: Regenerate.
864 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
866 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
867 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
868 on the section symbol.
869 (set_symtab): Don't generate unused section symbols.
870 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
871 on the section symbol.
872 * config/obj-elf.c (elf_adjust_symtab): Call
873 symbol_mark_used_in_reloc on the group signature symbol.
874 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
875 from expected output.
876 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
877 is_elf_unused_section_symbols.
878 * testsuite/gas/elf/section2.e: Updated.
879 * testsuite/gas/elf/section2.e-unused: New file.
880 * testsuite/gas/elf/symver.d: Remove unused section symbols.
881 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
882 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
883 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
884 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
885 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
886 * testsuite/gas/i386/size-1.d: Likewise.
887 * testsuite/gas/i386/size-3.d: Likewise.
888 * testsuite/gas/i386/svr4.d: Likewise.
889 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
890 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
891 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
892 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
896 * config/tc-riscv.c (riscv_multi_subset_supports): Added
897 INSN_CLASS_ZIHINTPAUSE.
898 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
899 the pause hint instruction.
900 * testsuite/gas/riscv/pause.s: Likewise.
909 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
910 (riscv_get_default_ext_version): Do not check the default_isa_spec when
911 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
912 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
913 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
914 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
918 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
922 * testsuite/gas/macros/app1.d: xfail tic30.
923 * testsuite/gas/macros/app2.d: Likewise.
924 * testsuite/gas/macros/app3.d: Likewise.
925 * testsuite/gas/macros/app4.d: Likewise.
929 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
930 * doc/c-riscv.texi: Likewise.
934 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
936 * testsuite/gas/riscv/li64.d: Likewise.
937 * testsuite/gas/riscv/lla32.d: Likewise.
938 * testsuite/gas/riscv/lla64.d: Likewise.
939 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
940 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
941 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
942 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
943 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
944 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
945 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
949 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
951 (install_insn): Always write instructions as little endian.
952 (riscv_make_nops): Likewise.
953 (md_convert_frag_branch): Likewise.
954 (md_number_to_chars): Write data in target endianness.
955 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
956 (md_parse_option): Handle the endian options.
957 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
959 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
964 * config/obj-elf.c (obj_elf_change_section): Also filter out
970 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
971 message and register symbol error message.
976 * read.c (s_align): Use a large enough type for "align" to hold
977 the result of get_absolute_expression.
981 * config/tc-i386.c: Correct comment spelling.
982 * config/tc-riscv.c: Likewise.
983 * config/tc-s390.c: Correct comment grammar.
984 * doc/c-i386.texi: Correct spelling.
985 * doc/c-s390.texi: Correct grammar.
989 Update year range in copyright notice of all files.
993 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
995 For older changes see ChangeLog-2020
997 Copyright (C) 2021 Free Software Foundation, Inc.
999 Copying and distribution of this file, with or without modification,
1000 are permitted in any medium without royalty provided the copyright
1001 notice and this notice are preserved.
1007 version-control: never