3 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
4 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
8 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
13 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
15 * testsuite/gas/wasm32/disass.d: New test.
16 * testsuite/gas/wasm32/disass.s: New test.
17 * testsuite/gas/wasm32/disass-2.d: New test.
18 * testsuite/gas/wasm32/disass-2.s: New test.
19 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
21 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
23 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
28 * NEWS: Mention support for ELF SHF_GNU_MBIND.
29 * config/obj-elf.c (section_match): New.
30 (get_section): Match both sh_info and group name.
31 (obj_elf_change_section): Add argument for sh_info. Pass both
32 sh_info and group name to get_section. Issue an error for
33 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
34 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
35 (obj_elf_section): Support SHF_GNU_MBIND section info.
36 * config/obj-elf.h (obj_elf_change_section): Add argument for
38 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
39 obj_elf_change_section.
40 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
41 * config/tc-microblaze.c (microblaze_s_data): Likewise.
42 (microblaze_s_sdata): Likewise.
43 (microblaze_s_rdata): Likewise.
44 (microblaze_s_bss): Likewise.
45 * config/tc-mips.c (s_change_section): Likewise.
46 * config/tc-msp430.c (msp430_profiler): Likewise.
47 * config/tc-rx.c (parse_rx_section): Likewise.
48 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
49 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
50 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
52 * testsuite/gas/elf/section10.d: Updated.
53 * testsuite/gas/elf/section10.s: Likewise.
54 * testsuite/gas/elf/section12.s: New file.
55 * testsuite/gas/elf/section12a.d: Likewise.
56 * testsuite/gas/elf/section12b.d: Likewise.
57 * testsuite/gas/elf/section13.l: Likewise.
58 * testsuite/gas/elf/section13.d: Likewise.
59 * testsuite/gas/elf/section13.s: Likewise.
63 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
68 * config/tc-riscv.c (riscv_clear_subsets): New function.
69 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
70 clear RVC when it's been previously set.
75 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
76 fixups in mergeable sections to be adjusted.
80 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
81 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
82 * Makefile.am: Add WebAssembly assembler target.
83 * configure.tgt: Add WebAssembly assembler target.
84 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
86 * doc/all.texi: Define WASM32.
87 * doc/as.texinfo: Add WebAssembly entries.
88 * NEWS: Mention the new support.
89 * Makefile.in: Regenerate.
90 * po/gas.pot: Regenerate.
91 * po/POTFILES.in: Regenerate.
92 * testsuite/gas/wasm32: New directory.
93 * testsuite/gas/wasm32/allinsn.d: New file.
94 * testsuite/gas/wasm32/allinsn.s: New file.
95 * testsuite/gas/wasm32/illegal.l: New file.
96 * testsuite/gas/wasm32/illegal.s: New file.
97 * testsuite/gas/wasm32/illegal-2.l: New file.
98 * testsuite/gas/wasm32/illegal-2.s: New file.
99 * testsuite/gas/wasm32/illegal-3.l: New file.
100 * testsuite/gas/wasm32/illegal-3.s: New file.
101 * testsuite/gas/wasm32/illegal-4.l: New file.
102 * testsuite/gas/wasm32/illegal-4.s: New file.
103 * testsuite/gas/wasm32/illegal-5.l: New file.
104 * testsuite/gas/wasm32/illegal-5.s: New file.
105 * testsuite/gas/wasm32/illegal-6.l: New file.
106 * testsuite/gas/wasm32/illegal-6.s: New file.
107 * testsuite/gas/wasm32/illegal-7.l: New file.
108 * testsuite/gas/wasm32/illegal-7.s: New file.
109 * testsuite/gas/wasm32/illegal-8.l: New file.
110 * testsuite/gas/wasm32/illegal-8.s: New file.
111 * testsuite/gas/wasm32/illegal-9.l: New file.
112 * testsuite/gas/wasm32/illegal-9.s: New file.
113 * testsuite/gas/wasm32/illegal-10.l: New file.
114 * testsuite/gas/wasm32/illegal-10.s: New file.
115 * testsuite/gas/wasm32/illegal-11.l: New file.
116 * testsuite/gas/wasm32/illegal-11.s: New file.
117 * testsuite/gas/wasm32/illegal-12.l: New file.
118 * testsuite/gas/wasm32/illegal-12.s: New file.
119 * testsuite/gas/wasm32/illegal-13.l: New file.
120 * testsuite/gas/wasm32/illegal-13.s: New file.
121 * testsuite/gas/wasm32/illegal-14.l: New file.
122 * testsuite/gas/wasm32/illegal-14.s: New file.
123 * testsuite/gas/wasm32/illegal-15.l: New file.
124 * testsuite/gas/wasm32/illegal-15.s: New file.
125 * testsuite/gas/wasm32/illegal-16.l: New file.
126 * testsuite/gas/wasm32/illegal-16.s: New file.
127 * testsuite/gas/wasm32/illegal-17.l: New file.
128 * testsuite/gas/wasm32/illegal-17.s: New file.
129 * testsuite/gas/wasm32/illegal-18.l: New file.
130 * testsuite/gas/wasm32/illegal-18.s: New file.
131 * testsuite/gas/wasm32/illegal-19.l: New file.
132 * testsuite/gas/wasm32/illegal-19.s: New file.
133 * testsuite/gas/wasm32/illegal-20.l: New file.
134 * testsuite/gas/wasm32/illegal-20.s: New file.
135 * testsuite/gas/wasm32/illegal-21.l: New file.
136 * testsuite/gas/wasm32/illegal-21.s: New file.
137 * testsuite/gas/wasm32/illegal-22.l: New file.
138 * testsuite/gas/wasm32/illegal-22.s: New file.
139 * testsuite/gas/wasm32/illegal-24.l: New file.
140 * testsuite/gas/wasm32/illegal-24.s: New file.
141 * testsuite/gas/wasm32/illegal-25.l: New file.
142 * testsuite/gas/wasm32/illegal-25.s: New file.
143 * testsuite/gas/wasm32/reloc.d: New file.
144 * testsuite/gas/wasm32/reloc.s: New file.
145 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
150 * config/tc-ppc.c (md_parse_option): Reject -mraw.
155 * testsuite/gas/ppc/pr21303.d,
156 * testsuite/gas/ppc/pr21303.s: New test
157 * testsuite/gas/ppc/ppc.exp: Run it.
161 * testsuite/gas/arc/nps400-12.s: New file.
162 * testsuite/gas/arc/nps400-12.d: New file.
166 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
167 CPU_DEFAULT is defined.
171 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
172 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
173 print an invalid default ISA string.
174 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
178 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
179 reassigned fixup to size of jump instruction (3) and fx_r_type
180 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
181 (add_jump_to_trampoline): Search
182 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
183 symbol and use that slot instead of slot 0.
187 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
188 from cpu_table. Remove vx2, and novx2 from cpu_flags.
192 * testsuite/gas/arc/nps400-11.s: New file.
193 * testsuite/gas/arc/nps400-11.d: New file.
197 * doc/as.texinfo (2byte): Note that if no expressions are present
198 the directive does nothing. Emphasize that the output is
199 unaligned, and that this can have an effect on the relocations
201 (4byte): Simplify description. Refer back to the 2byte
207 * config/tc-arm.c (arm_fpus): Note entires that should not be
209 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
210 neon-fp16. Fix spelling error.
214 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
218 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
223 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
224 encoding format, which can accept 0-valued immediates.
225 (riscv_ip): Likewise.
229 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
230 warning about discarding a const qualifier.
234 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
238 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
239 fx_next->fx_frag for CFA_advance_loc relocations.
243 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
249 * config/tc-aarch64.c (reloc_table): Rename
250 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
251 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
252 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
253 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
254 (md_apply_fix): Likewise.
255 (aarch64_force_relocation): Likewise.
256 * testsuite/gas/aarch64/tls.d: Update regexp.
261 * doc/as.texinfo (2byte): Tidy up wording. Add note that
262 overlarge values will produce a warning message and be trunacted.
267 * config/tc-i386.c (_i386_insn): Add dir_encoding and
268 vec_encoding. Remove swap_operand and need_vrex.
269 (extra_symbol_chars): Add '}'.
270 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
272 (build_vex_prefix): Don't use 2-byte VEX encoding with
273 {vex3}. Check dir_encoding and load.
274 (parse_insn): Check pseudo prefixes. Set dir_encoding.
275 (VEX_check_operands): Likewise.
276 (match_template): Check dir_encoding and load.
277 (parse_real_register): Set vec_encoding instead of need_vrex.
278 (parse_register): Likewise.
279 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
280 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
281 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
282 * testsuite/gas/i386/pseudos.d: New file.
283 * testsuite/gas/i386/pseudos.s: Likewise.
284 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
285 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
289 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
290 (objdump): Use the -Mpower8 option.
294 * testsuite/gas/ppc/power9.d <lnia> New test.
295 * testsuite/gas/ppc/power9.s: Likewise.
299 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
304 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
305 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
309 * config/tc-i386.c (cpu_arch): Add .cet.
310 * doc/c-i386.texi: Document cet.
311 * testsuite/gas/i386/cet-intel.d: New file.
312 * testsuite/gas/i386/cet.d: Likewise.
313 * testsuite/gas/i386/cet.s: Likewise.
314 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
315 * testsuite/gas/i386/x86-64-cet.d: Likewise.
316 * testsuite/gas/i386/x86-64-cet.s: Likewise.
317 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
321 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
322 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
326 * dw2gencfi.c (encoding_size): Return unsigned int.
327 (emit_expr_encoded): Assert size matches reloc bitsize.
328 (output_fde): Use unsigned for offset_size and addr_size. Set
329 addr_size earlier and use in place of constant 4 and uses of
330 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
334 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
335 auto reformat. Formatting and whitespace fixes.
339 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
340 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
341 (out_debug_info): Accept symbols to name, comp_dir and producer in
342 the .debug_str section and emit those offsets not full strings.
343 (out_debug_str): New function that outputs the strings for name,
344 comp_dir and producer in .debug_str and generates symbols to those
346 (out_debug_line): Create a .debug_str section if necessary and call
347 out_debug_str before calling out_debug_info.
348 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
353 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
354 part of the frag has overrun the location requested.
356 * testsuite/gas/all/org-1.d: New test.
357 * testsuite/gas/all/org-2.d: New test.
358 * testsuite/gas/all/org-3.d: New test.
359 * testsuite/gas/all/org-4.d: New test.
360 * testsuite/gas/all/org-5.d: New test.
361 * testsuite/gas/all/org-6.d: New test.
362 * testsuite/gas/all/org-1.l: New stderr output.
363 * testsuite/gas/all/org-2.l: New stderr output.
364 * testsuite/gas/all/org-3.l: New stderr output.
365 * testsuite/gas/all/org-1.s: New test source.
366 * testsuite/gas/all/org-2.s: New test source.
367 * testsuite/gas/all/org-3.s: New test source.
368 * testsuite/gas/all/org-4.s: New test source.
369 * testsuite/gas/all/org-5.s: New test source.
370 * testsuite/gas/all/org-6.s: New test source.
371 * testsuite/gas/all/gas.exp: Run the new tests.
373 * testsuite/gas/mips/org-1.d: New test.
374 * testsuite/gas/mips/org-2.d: New test.
375 * testsuite/gas/mips/org-3.d: New test.
376 * testsuite/gas/mips/org-4.d: New test.
377 * testsuite/gas/mips/org-5.d: New test.
378 * testsuite/gas/mips/org-6.d: New test.
379 * testsuite/gas/mips/org-7.d: New test.
380 * testsuite/gas/mips/org-8.d: New test.
381 * testsuite/gas/mips/org-9.d: New test.
382 * testsuite/gas/mips/org-10.d: New test.
383 * testsuite/gas/mips/org-11.d: New test.
384 * testsuite/gas/mips/org-12.d: New test.
385 * testsuite/gas/mips/org-1.l: New stderr output.
386 * testsuite/gas/mips/org-4.l: New stderr output.
387 * testsuite/gas/mips/org-5.l: New stderr output.
388 * testsuite/gas/mips/org-6.l: New stderr output.
389 * testsuite/gas/mips/org-10.l: New stderr output.
390 * testsuite/gas/mips/org-1.s: New test source.
391 * testsuite/gas/mips/org-2.s: New test source.
392 * testsuite/gas/mips/org-3.s: New test source.
393 * testsuite/gas/mips/org-4.s: New test source.
394 * testsuite/gas/mips/org-5.s: New test source.
395 * testsuite/gas/mips/org-6.s: New test source.
396 * testsuite/gas/mips/org-7.s: New test source.
397 * testsuite/gas/mips/org-8.s: New test source.
398 * testsuite/gas/mips/org-9.s: New test source.
399 * testsuite/gas/mips/org-10.s: New test source.
400 * testsuite/gas/mips/org-11.s: New test source.
401 * testsuite/gas/mips/org-12.s: New test source.
402 * testsuite/gas/mips/mips.exp: Run the new tests.
406 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
410 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
412 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
413 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
415 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
416 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
417 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
418 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
419 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
420 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
421 * testsuite/gas/i386/x86-64-avx.d: Likewise.
422 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
423 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
424 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
428 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
432 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
433 (md_apply_fix): Remove fx_subsy check. Move code converting to
434 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
435 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
436 that is done now by the generic code via..
437 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
438 (TC_VALIDATE_FIX_SUB): Define.
442 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
443 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
445 * testsuite/gas/mips/jalr4-n64.d: Likewise.
452 * testsuite/gas/elf/strtab.s: Don't put directives on first
453 column or continuation with labels not in first column.
457 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
458 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
459 to be used with SVE registers.
460 (parse_operands): Handle new SVE operands.
461 (aarch64_features): Make "sve" require F16 rather than FP. Also
463 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
464 Include compnum tests.
465 * testsuite/gas/aarch64/sve.d: Update accordingly.
466 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
467 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
468 update expected output for new FMOV and MOV alternatives.
472 * doc/c-aarch64.texi: Add a "compnum" entry.
473 * config/tc-aarch64.c (aarch64_features): Likewise,
474 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
475 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
479 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
480 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
481 * testsuite/gas/i386/opcode.d: Adjust accordingly.
482 * testsuite/gas/i386/opcode-intel.d: Likewise.
483 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
484 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
488 Test cases for the architecture level aware SPARC ASI work.
489 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
490 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
491 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
492 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
493 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
497 * testsuite/gas/mips/jalr4.d: New test.
498 * testsuite/gas/mips/jalr4-n32.d: New test.
499 * testsuite/gas/mips/jalr4-n64.d: New test.
500 * testsuite/gas/mips/jalr4.s: New test source.
501 * testsuite/gas/mips/mips.exp: Run the new tests.
505 Add support for associating SPARC ASIs with an architecture level.
506 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
510 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
511 of symbols as expression.
515 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
516 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
517 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
518 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
522 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
523 `md_flush_pending_output'.
524 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
525 `md_flush_pending_output' unconditionally.
526 * testsuite/gas/mips/debug-label-end-1.d: New test.
527 * testsuite/gas/mips/debug-label-end-2.d: New test.
528 * testsuite/gas/mips/debug-label-end-3.d: New test.
529 * testsuite/gas/mips/debug-label-end.s: New test source.
530 * testsuite/gas/mips/mips.exp: Run the new tests.
534 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
535 targets yielding an error message matching "too complex".
539 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
543 * expr.c (operand): Handle missing operand to .startof.() and
545 * testsuite/gas/all/err-sizeof.s: New.
550 * NEWS: Revise powerpc register check.
551 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
552 register expression" a warning.
556 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
557 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
558 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
559 * testsuite/gas/mips/aent-2.d: New test.
560 * testsuite/gas/mips/aent-mdebug.d: New test.
561 * testsuite/gas/mips/aent-mdebug-2.d: New test.
562 * testsuite/gas/mips/mips.exp: Run the new tests.
566 * testsuite/gas/aarch64/sve-sysreg.s,
567 testsuite/gas/aarch64/sve-sysreg.d,
568 testsuite/gas/aarch64/sve-sysreg-invalid.d,
569 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
573 * doc/c-aarch64.texi: Fix sve entry.
577 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
578 information from input expression.
579 (assemble_insn): Make sure pcrel is correctly set.
580 (arc_pcrel_adjust): Compensate for PCL rounding.
581 * testsuite/gas/arc/relax-add01.d: New file.
582 * testsuite/gas/arc/relax-add01.s: Likewise.
583 * testsuite/gas/arc/relax-add02.d: Likewise.
584 * testsuite/gas/arc/relax-add02.s: Likewise.
585 * testsuite/gas/arc/relax-add03.d: Likewise.
586 * testsuite/gas/arc/relax-add03.s: Likewise.
587 * testsuite/gas/arc/relax-add04.d: Likewise.
588 * testsuite/gas/arc/relax-add04.s: Likewise.
589 * testsuite/gas/arc/relax-ld01.d: Likewise.
590 * testsuite/gas/arc/relax-ld01.s: Likewise.
591 * testsuite/gas/arc/relax-ld02.d: Likewise.
592 * testsuite/gas/arc/relax-ld02.s: Likewise.
593 * testsuite/gas/arc/relax-mov01.d: Likewise.
594 * testsuite/gas/arc/relax-mov01.s: Likewise.
595 * testsuite/gas/arc/relax-mov02.d: Likewise.
596 * testsuite/gas/arc/relax-mov02.s: Likewise.
597 * testsuite/gas/arc/relax-mpy01.d: Likewise.
598 * testsuite/gas/arc/relax-mpy01.s: Likewise.
599 * testsuite/gas/arc/relax-sub01.d: Likewise.
600 * testsuite/gas/arc/relax-sub01.s: Likewise.
601 * testsuite/gas/arc/relax-sub02.d: Likewise.
602 * testsuite/gas/arc/relax-sub02.s: Likewise.
603 * testsuite/gas/arc/relax-sub03.d: Likewise.
604 * testsuite/gas/arc/relax-sub03.s: Likewise.
605 * testsuite/gas/arc/relax-sub04.d: Likewise.
606 * testsuite/gas/arc/relax-sub04.s: Likewise.
610 * testsuite/gas/arc/st.d: Update for 0xe having a name now
615 * NEWS: Mention powerpc register checks.
616 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
617 (pre_defined_registers): Delete fpscr and pmr entries. Set
618 register type in flags.
619 (cr_names): Set type in flags.
620 (reg_name_search): Return pointer to struct pd_reg rather than value.
621 (register_name): Adjust to suit. Set X_md from flags.
622 (ppc_parse_name): Likewise.
623 (ppc_optimize_expr): New function.
624 (md_assemble): Verify expresion reg flags match operand.
625 * config/tc-ppc.h (md_optimize_expr): Define.
626 (ppc_optimize_expr): Declare.
630 * testsuite/gas/ppc/cell.s: Correct invalid registers.
631 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
632 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
636 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
638 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
639 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
643 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
647 * doc/as.texinfo (Overview): Select MIPS options for man page
652 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
653 (options): Add OPTION_IGNORE_BRANCH_ISA and
654 OPTION_NO_IGNORE_BRANCH_ISA enum values.
655 (md_longopts): Add "mignore-branch-isa" and
656 "mno-ignore-branch-isa" options.
657 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
658 OPTION_NO_IGNORE_BRANCH_ISA.
659 (fix_bad_cross_mode_branch_p): Return FALSE if
660 `mips_ignore_branch_isa' has been set.
661 (md_show_usage): Add `-mignore-branch-isa' and
662 `-mno-ignore-branch-isa'.
664 * doc/as.texinfo (Target MIPS options): Add
665 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
666 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
667 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
668 `-mno-ignore-branch-isa' options.
670 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
671 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
672 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
673 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
674 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
675 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
676 * testsuite/gas/mips/mips.exp: Run the new tests.
680 * testsuite/gas/mips/branch-local-2.d: New test.
681 * testsuite/gas/mips/branch-local-3.d: New test.
682 * testsuite/gas/mips/branch-local-n32-2.d: New test.
683 * testsuite/gas/mips/branch-local-n32-3.d: New test.
684 * testsuite/gas/mips/branch-local-n64-2.d: New test.
685 * testsuite/gas/mips/branch-local-n64-3.d: New test.
686 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
692 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
693 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
697 * configure.tgt (aarch64*-*-rtems*): Remove.
698 (bfin-*-rtems*): Likewise.
699 (h8300-*-rtems*): Likewise.
700 (i386-*-rtems*): Likewise.
701 (m32c-*-rtems*): Likewise.
702 (m32r-*-rtems*): Likewise.
703 (m68k-*-rtems*): Likewise.
704 (mips-*-rtems*): Likewise.
705 (nios2-*-rtems*): Likewise.
706 (ppc-*-rtems*): Likewise.
707 (sh-*-rtems*): Likewise.
708 (sparc64-*-rtems*): Likewise.
709 (sparc-*-rtems*): Likewise.
710 (*-*-rtems*) Use ELF format.
714 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
718 * configure.tgt (sh-*-rtemscoff*): Remove.
722 * configure.tgt (riscv*-*-*): Remove em=linux.
727 * asintl.h: Fix spelling mistakes and typos.
728 * atof-generic.c: Likewise.
729 * bit_fix.h: Likewise.
730 * config/atof-ieee.c: Likewise.
731 * config/bfin-defs.h: Likewise.
732 * config/bfin-parse.y: Likewise.
733 * config/obj-coff-seh.h: Likewise.
734 * config/obj-coff.c: Likewise.
735 * config/obj-evax.c: Likewise.
736 * config/obj-macho.c: Likewise.
737 * config/rx-parse.y: Likewise.
738 * config/tc-aarch64.c: Likewise.
739 * config/tc-alpha.c: Likewise.
740 * config/tc-arc.c: Likewise.
741 * config/tc-arm.c: Likewise.
742 * config/tc-avr.c: Likewise.
743 * config/tc-bfin.c: Likewise.
744 * config/tc-cr16.c: Likewise.
745 * config/tc-cris.c: Likewise.
746 * config/tc-crx.c: Likewise.
747 * config/tc-d10v.c: Likewise.
748 * config/tc-d30v.c: Likewise.
749 * config/tc-dlx.c: Likewise.
750 * config/tc-epiphany.c: Likewise.
751 * config/tc-frv.c: Likewise.
752 * config/tc-hppa.c: Likewise.
753 * config/tc-i370.c: Likewise.
754 * config/tc-i386-intel.c: Likewise.
755 * config/tc-i386.c: Likewise.
756 * config/tc-i960.c: Likewise.
757 * config/tc-ia64.c: Likewise.
758 * config/tc-m32r.c: Likewise.
759 * config/tc-m68hc11.c: Likewise.
760 * config/tc-m68k.c: Likewise.
761 * config/tc-mcore.c: Likewise.
762 * config/tc-mep.c: Likewise.
763 * config/tc-mep.h: Likewise.
764 * config/tc-metag.c: Likewise.
765 * config/tc-microblaze.c: Likewise.
766 * config/tc-mips.c: Likewise.
767 * config/tc-mmix.c: Likewise.
768 * config/tc-mn10200.c: Likewise.
769 * config/tc-mn10300.c: Likewise.
770 * config/tc-msp430.c: Likewise.
771 * config/tc-msp430.h: Likewise.
772 * config/tc-nds32.c: Likewise.
773 * config/tc-nds32.h: Likewise.
774 * config/tc-nios2.c: Likewise.
775 * config/tc-nios2.h: Likewise.
776 * config/tc-ns32k.c: Likewise.
777 * config/tc-pdp11.c: Likewise.
778 * config/tc-ppc.c: Likewise.
779 * config/tc-pru.c: Likewise.
780 * config/tc-rx.c: Likewise.
781 * config/tc-s390.c: Likewise.
782 * config/tc-score.c: Likewise.
783 * config/tc-score7.c: Likewise.
784 * config/tc-sh.c: Likewise.
785 * config/tc-sh64.c: Likewise.
786 * config/tc-sparc.c: Likewise.
787 * config/tc-tic4x.c: Likewise.
788 * config/tc-tic54x.c: Likewise.
789 * config/tc-v850.c: Likewise.
790 * config/tc-vax.c: Likewise.
791 * config/tc-visium.c: Likewise.
792 * config/tc-xgate.c: Likewise.
793 * config/tc-xtensa.c: Likewise.
794 * config/tc-z80.c: Likewise.
795 * config/tc-z8k.c: Likewise.
796 * config/te-vms.c: Likewise.
797 * config/xtensa-relax.c: Likewise.
798 * doc/as.texinfo: Likewise.
799 * doc/c-arm.texi: Likewise.
800 * doc/c-hppa.texi: Likewise.
801 * doc/c-i370.texi: Likewise.
802 * doc/c-i386.texi: Likewise.
803 * doc/c-m32r.texi: Likewise.
804 * doc/c-m68k.texi: Likewise.
805 * doc/c-mmix.texi: Likewise.
806 * doc/c-msp430.texi: Likewise.
807 * doc/c-nds32.texi: Likewise.
808 * doc/c-ns32k.texi: Likewise.
809 * doc/c-riscv.texi: Likewise.
810 * doc/c-rx.texi: Likewise.
811 * doc/c-s390.texi: Likewise.
812 * doc/c-tic6x.texi: Likewise.
813 * doc/c-tilegx.texi: Likewise.
814 * doc/c-tilepro.texi: Likewise.
815 * doc/c-v850.texi: Likewise.
816 * doc/c-xgate.texi: Likewise.
817 * doc/c-xtensa.texi: Likewise.
818 * dwarf2dbg.c: Likewise.
820 * itbl-ops.c: Likewise.
821 * listing.c: Likewise.
823 * po/gas.pot: Likewise.
825 * struc-symbol.h: Likewise.
826 * symbols.h: Likewise.
827 * testsuite/gas/arc/relocs-errors.err: Likewise.
832 * po/sv.po: Updated Swedish translation.
836 * config/tc-i386.c (parse_operands): Check for operand overflow
837 before setting the unspecified bit.
842 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
843 symbols, remove the `segtype' parameter.
844 (mips_frob_file, md_estimate_size_before_relax): Adjust
846 (s_is_linkonce): Add an explanatory comment.
847 * testsuite/gas/mips/comdat-reloc.d: New test.
848 * testsuite/gas/mips/comdat-reloc.s: New test source.
849 * testsuite/gas/mips/mips.exp: Run the new test.
853 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
854 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
859 * config/bfin-lex.l: Support processing with flex 2.6.3.
860 * itbl-lex.l: Likewise.
864 * as.h (gas_assert): Use abort.
866 (signal_init): Declare.
867 * as.c (main): Call signal_init.
868 * messages.c: #include <signal.h>
870 (as_abort): Allow NULL FILE.
872 (signal_init): Register fatal signal handlers.
873 * configure.ac: Check for strsignal.
874 * config.in: Rebuilt.
875 * configure: Rebuilt.
879 * po/sv.po: Updated Swedish translation.
883 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
884 (cpu_noarch): Add noavx512_vpopcntdq.
885 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
886 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
887 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
888 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
889 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
890 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
891 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
892 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
896 * read.c (temp_ilp): New function. Installs a temporary input
898 (restore_ilp): New function. Restores the original input line
900 * read.h (temp_ilp): Prototype.
901 (restore_ilp): Prototype.
902 * stabs.c (dot_func_p): Use bfd_boolean type.
903 (generate_asm_file): Use temp_ilp and restore_ilp.
904 (stabs_generate_asm_lineno): Likewise.
905 (stabs_generate_asm_endfunc): Likewise.
909 * configure.tgt: Add entry for i386-redox.
913 * po/sv.po: Updated Swedish translation.
917 * testsuite/gas/all/sleb128-8.d: Adjust test.
918 * testsuite/gas/all/gas.exp (test_cond): Likewise.
922 * read.c (emit_leb128_expr): Extended unsigned big number for
924 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
925 * testsuite/gas/all/sleb128.d: New test.
926 * testsuite/gas/all/sleb128.s: New test source.
930 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
932 (md_apply_fix): Mark relocations against constants as "done."
936 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
938 (md_apply_fix): Mark relocations against constants as "done."
943 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
945 (SDATA_START_SYMBOLS): Likewise.
949 * po/sv.po: New Swedish translation.
950 * configure.ac (ALL_LINGUAS): Add sv.
951 * configure: Regenerate.
955 * config/tc-riscv.c (relaxed_branch_length): Use the long
956 sequence when the target is a weak symbol.
960 * config/tc-aarch64.c (aarch64_features): Add rcpc.
961 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
962 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
963 * testsuite/gas/aarch64/ldst-rcpc.d: This.
964 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
965 * testsuite/gas/aarch64/ldst-rcpc.s: This.
966 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
971 * configure.tgt: Treat sparcv9 as sparc64.
975 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
977 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
978 enabled and no other ABI is specified.
982 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
983 valueT, as declared in tc.h.
984 (md_apply_fix): Fix to work on 32-bit hosts.
988 Update year range in copyright notice of all files.
990 For older changes see ChangeLog-2016
992 Copyright (C) 2017 Free Software Foundation, Inc.
994 Copying and distribution of this file, with or without modification,
995 are permitted in any medium without royalty provided the copyright
996 notice and this notice are preserved.
1002 version-control: never