1 2021-04-29 Jan Beulich <jbeulich@suse.com>
3 * config/tc-i386.c (i386_validate_fix): Change return type to
4 int. Short-circuit BFD_RELOC_SIZE* handling.
5 (tc_gen_reloc): New local variable sym. Extend logic when
6 processing BFD_RELOC_SIZE*.
7 * config/tc-i386.f (i386_validate_fix): Change return type to
9 (TC_VALIDATE_FIX): Proceed to SKIP when i386_validate_fix()
11 * testsuite/gas/i386/size-5.s, testsuite/gas/i386/size-5a.d,
12 testsuite/gas/i386/size-5b.d: New.
13 * testsuite/gas/i386/i386.exp: Run new tests.
15 2021-04-29 Jan Beulich <jbeulich@suse.com>
17 * config/tc-i386.c (tc_gen_reloc): Use section size for section
18 symbols when resolving BFD_RELOC_SIZE*.
19 * testsuite/gas/i386/size-2.s: Add section size cases.
20 * testsuite/gas/i386/size-2.d,
21 testsuite/gas/i386/x86-64-size-2.d: Adjust expectations.
23 2021-04-28 Jan Beulich <jbeulich@suse.com>
24 H.J. Lu <hjl.tools@gmail.com>
27 * config/tc-i386.c (output_jump): Also mark 2-byte relocs as
28 signed for XBEGIN. Also mark 4-byte relocs as signed for 64-bit.
29 (output_disp): Also mark 4-byte relocs as signed for 64-bit.
30 (md_estimate_size_before_relax): Move local variable fixP. Set
31 it from fix_new() return values. Mark 4-byte relocs as signed
33 * testsuite/gas/i386/pcrel64.s, testsuite/gas/i386/pcrel64.l,
34 * testsuite/gas/i386/x86-64-rip-2.s,
35 * testsuite/gas/i386/x86-64-rip-2.d,
36 * testsuite/gas/i386/x86-64-rip-inval-1.s,
37 * testsuite/gas/i386/x86-64-rip-inval-1.l,
38 * testsuite/gas/i386/x86-64-rip-inval-2.s,
39 * testsuite/gas/i386/x86-64-rip-inval-2.l: New.
40 * testsuite/gas/i386/i386.exp: Run new tests.
42 2021-04-27 H.J. Lu <hongjiu.lu@intel.com>
44 * config/tc-i386.c (optimize_encoding): Add () to silence GCC 5.
46 2021-04-26 Jan Beulich <jbeulich@suse.com>
48 * config/tc-i386.c (tc_gen_reloc): Check IS_ELF for
51 2021-04-26 Jan Beulich <jbeulich@suse.com>
53 * config/tc-i386.c (tc_gen_reloc): Limit BFD_RELOC_SIZE32
54 overflow check to 64-bit objects.
56 2021-04-26 Jan Beulich <jbeulich@suse.com>
58 * config/tc-i386.c (want_disp32): Also check for SIZE32.
59 (optimize_encoding): Handle LEA.
60 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
61 testsuite/gas/i386/lea.e, testsuite/gas/i386/lea-optimize.d:
63 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea16-optimize.d,
64 testsuite/gas/i386/lea64.s, testsuite/gas/i386/lea64.d,
65 testsuite/gas/i386/lea64.e, testsuite/gas/i386/lea64-optimize.d:
67 * testsuite/gas/i386/i386.exp: Run new tests.
69 2021-04-26 Jan Beulich <jbeulich@suse.com>
71 * config/tc-i386.c (md_apply_fix): Mark BFD_RELOC_X86_64_32S as
73 * testsuite/gas/i386/x86-64-addr32-bad.s,
74 testsuite/gas/i386/x86-64-addr32-bad.l: New.
75 * testsuite/gas/i386/i386.exp: Run new test.
77 2021-04-23 Eric Botcazou<ebotcazou@adacore.com>
79 * testsuite/gas/elf/section25.d: Run it everywhere.
80 * testsuite/gas/elf/section26.d: Likewise.
81 * testsuite/gas/elf/section26.s: Add test for .persistent.bss.
83 2021-04-23 Jérôme Gardou <jerome.gardou@gmail.com>
85 * config/obj-coff-seh.c (obj_coff_seh_pushframe): Allow an
86 optional "code" argument.
88 2021-04-23 Jan Beulich <jbeulich@suse.com>
90 * config/tc-i386.c (want_disp32): New.
91 (md_assemble): Use it.
92 (optimize_disp): Likewise.
93 (build_modrm_byte): Likewise.
95 2021-04-23 Jan Beulich <jbeulich@suse.com>
97 * config/tc-i386.c (i386_finalize_displacement): Move Disp32S
99 (md_assemble): ... here.
101 2021-04-23 Jan Beulich <jbeulich@suse.com>
103 * config/tc-i386.c (optimize_disp): Move down BFD64 section.
104 Move up setting of disp32.
106 2021-04-23 Jan Beulich <jbeulich@suse.com>
108 * config/tc-i386.c (pe): Don't truncate expression value.
109 (i386_finalize_displacement): Likewise.
111 2021-04-21 Nick Clifton <nickc@redhat.com>
113 * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow
114 for named section symbols.
115 * testsuite/gas/arm/thumbver.d: Likewise.
116 * testsuite/gas/bfin/loop_temps.d: Likewise.
117 * testsuite/gas/elf/section2.e-arc: Likewise.
118 * testsuite/gas/elf/section2.e-arm: Likewise.
119 * testsuite/gas/elf/section2.e-csky: Likewise.
120 * testsuite/gas/elf/section2.e-m32r: Likewise.
121 * testsuite/gas/elf/section2.e-mips: Likewise.
122 * testsuite/gas/elf/section2.e-msp430: Likewise.
123 * testsuite/gas/elf/section2.e-riscv: Likewise.
124 * testsuite/gas/elf/section2.e-rl78: Likewise.
125 * testsuite/gas/elf/section2.e-rx: Likewise.
126 * testsuite/gas/elf/section2.e-score: Likewise.
127 * testsuite/gas/elf/section2.e-tic6x: Likewise.
128 * testsuite/gas/elf/section2.e-unused: Likewise.
129 * testsuite/gas/elf/section2.e-v850: Likewise.
130 * testsuite/gas/elf/section2.e-xtensa: Likewise.
131 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
132 * testsuite/gas/ia64/alias.d: Likewise.
133 * testsuite/gas/ia64/global.d: Likewise.
134 * testsuite/gas/microblaze/relax_size.elf: Likewise.
135 * testsuite/gas/microblaze/relax_size2.elf: Likewise.
136 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise.
137 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise.
138 * testsuite/gas/mmix/bspec-1.d: Likewise.
139 * testsuite/gas/mmix/byte-1.d: Likewise.
140 * testsuite/gas/mmix/comment-1.d: Likewise.
141 * testsuite/gas/mmix/loc-1.d: Likewise.
142 * testsuite/gas/mmix/loc-2.d: Likewise.
143 * testsuite/gas/mmix/loc-3.d: Likewise.
144 * testsuite/gas/mmix/loc-4.d: Likewise.
145 * testsuite/gas/mmix/loc-5.d: Likewise.
146 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
148 2021-04-20 Clément Chigot <clement.chigot@atos.net>
151 * config/tc-ppc.c (ppc_get_csect_to_adjust): New function.
152 (ppc_fix_adjustable): Manage fx_subsy part.
153 (tc_gen_reloc): Create second relocation when both
154 fx_addsy and fx_subsy are provided.
155 * config/tc-ppc.h (RELOC_EXPANSION_POSSIBLE): New define.
156 (MAX_RELOC_EXPANSION): Likewise.
157 (TC_FORCE_RELOCATION_SUB_SAME): Likewise
158 (UNDEFINED_DIFFERENCE_OK): Likewise
159 * testsuite/gas/all/gas.exp: Skip difference between two
160 undefined symbols test.
162 2021-04-19 Nick Clifton <nickc@redhat.com>
164 * testsuite/gas/all/gas.exp: Add rs6000*-*-aix* to the list of
165 targets which should skip the undefined symbols test.
167 2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
170 * testsuite/gas/aarch64/rme.d: Update test.
171 * testsuite/gas/aarch64/rme.s: Update test.
173 2021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
175 * testsuite/gas/aarch64/rme.d: Update test.
176 * testsuite/gas/aarch64/rme.s: Update test.
178 2021-04-19 Jan Beulich <jbeulich@suse.com>
180 * as.h (sprint_value): Delete.
181 * messages.c (sprint_value): Likewise.
182 * config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
183 place of sprint_value.
184 * config/tc-s390.c (s390_insert_operand): Likewise.
185 * doc/internals.texi (sprint_value): Delete section.
186 * write.c (fixup_segment): Likewise.
187 (relax_segment): Likewise.
189 2021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
191 * testsuite/gas/aarch64/rme-invalid.d: New test.
192 * testsuite/gas/aarch64/rme-invalid.l: New test.
193 * testsuite/gas/aarch64/rme-invalid.s: New test.
194 * testsuite/gas/aarch64/rme.d: New test.
195 * testsuite/gas/aarch64/rme.s: New test.
197 2021-04-16 Nelson Chu <nelson.chu@sifive.com>
200 * config/tc-riscv.c (riscv_ip): make operand C> work the same as >.
201 * testsuite/gas/riscv/shamt-32.d: New testcase.
202 * testsuite/gas/riscv/shamt-32.l: Likewise.
203 * testsuite/gas/riscv/shamt-32.s: Likewise.
204 * testsuite/gas/riscv/shamt-64.d: Likewise.
205 * testsuite/gas/riscv/shamt-64.l: Likewise.
206 * testsuite/gas/riscv/shamt-64.s: Likewise.
208 2021-04-16 Lifang Xia <lifang_xia@c-sky.com>
210 * testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
212 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
214 2021-04-14 Alan Modra <amodra@gmail.com>
217 * dw2gencfi.c (initial_cie_insn): New function, extracted from..
218 (select_cie_for_fde): ..here. Simplify.
220 2021-04-14 Alan Modra <amodra@gmail.com>
223 * dw2gencfi.c (select_cie_for_fde): Handle DW_CFA_val_offset,
224 DW_CFA_GNU_window_save and DW_CFA_restore_state.
226 2021-04-13 Alan Modra <amodra@gmail.com>
228 * testsuite/gas/m68hc11/m68hc11.exp (gas_m68hc11_message): Don't
229 write to $srcdir. Use gas_host_run and read output file rather
230 than gas_start/gas_finish.
232 2021-04-12 Alan Modra <amodra@gmail.com>
234 * config/tc-ppc.c (insn_validate): Use uint64_t for operand values.
235 (md_assemble): Likewise. Handle bignum operands.
236 (ppc_elf_suffix): Handle O_big. Remove unnecessary input_line_pointer
238 * expr.c: Delete unnecessary forward declarations.
239 (generic_bignum_to_int32): Return uint32_t.
240 (generic_bignum_to_int64): Return uint64_t. Compile always.
241 (operand): Twiddle X_extrabit for unary '~'. Set X_unsigned and
242 clear X_extrabit for unary '!'.
243 * expr.h (generic_bignum_to_int32): Declare.
244 (generic_bignum_to_int64): Declare.
245 * testsuite/gas/ppc/prefix-pcrel.s,
246 * testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
248 2021-04-12 Nelson Chu <nelson.chu@sifive.com>
250 * testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
251 march-fail-porder-x-std.d.
252 * testsuite/gas/riscv/march-fail-order-z-std.d: Renamed from
253 march-fail-porder-z-std.d.
254 * testsuite/gas/riscv/march-fail-order-x-z.d: Renamed from
255 march-fail-porder-x-z.d.
256 * testsuite/gas/riscv/march-fail-order-zx-std.l: Added to replace
258 * testsuite/gas/riscv/march-fail-order-x-z.l: Likewise.
259 * testsuite/gas/riscv/march-fail-order-x.l: Updated.
260 * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
261 * testsuite/gas/riscv/march-fail-single-prefix-h.d: Renamed from
262 march-fail-single-char-h.d.
263 * testsuite/gas/riscv/march-fail-single-prefix-s.d: Renamed from
264 march-fail-single-char-s.d.
265 * testsuite/gas/riscv/march-fail-single-prefix-x.d: Renamed from
266 march-fail-single-char-x.d.
267 * testsuite/gas/riscv/march-fail-single-prefix-z.d: Renamed from
268 march-fail-single-char-z.d.
269 * testsuite/gas/riscv/march-fail-single-prefix-zmx.d: Added.
270 * testsuite/gas/riscv/march-fail-single-prefix.l: Added to replace
271 march-fail-single-prefix.l.
272 * testsuite/gas/riscv/march-fail-unknown-zxm.d: Added.
273 * testsuite/gas/riscv/march-fail-unknown-std.l: Updated.
274 * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
276 2021-04-09 Tejas Belagod <tejas.belagod@arm.com>
278 * config/tc-aarch64.c (warn_unpredictable_ldst): Clean-up
279 diagnostic messages for LD/ST Exclusive instructions.
280 * testsuite/gas/aarch64/diagnostic.s: Add a diagnostic test for STLXP.
281 * testsuite/gas/aarch64/diagnostic.l: Fix-up test after message
284 2021-04-09 Alan Modra <amodra@gmail.com>
286 * testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
287 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
288 * gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
290 2021-04-08 Alan Modra <amodra@gmail.com>
292 * testsuite/gas/ppc/pr27676.d,
293 * testsuite/gas/ppc/pr27676.s: New test.
294 * testsuite/gas/ppc/ppc.exp: Run it.
295 * testsuite/gas/ppc/dcbt.d: Update.
296 * testsuite/gas/ppc/power4_32.d: Update.
298 2021-04-07 Alan Modra <amodra@gmail.com>
301 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs.
303 2021-04-06 Nick Clifton <nickc@redhat.com>
306 * config/tc-aarch64.c (my_get_expression): Rename to
307 aarch64_get_expression. Add a fifth argument to enable deferring
308 of expression resolution.
309 (parse_typed_reg): Update calls to my_get_expression.
310 (parse_vector_reg_list): Likewise.
311 (parse_immediate_expression): Likewise.
312 (parse_big_immediate): Likewise.
313 (parse_shift): Likewise.
314 (parse_shifter_operand_imm): Likewise.
315 (parse_operands): Likewise.
316 (parse_shifter_operand_reloc): Update calls to my_get_expression
317 and call aarch64_force_reloc to determine the value of the new
319 (parse_address_main): Likewise.
320 (parse_half): Likewise.
321 (parse_adrp): Likewise.
322 (aarch64_force_reloc): New function. Contains code extracted from...
323 (aarch64_force_relocation): ... here.
324 * testsuite/gas/aarch64/pr27217.s: New test case.
325 * testsuite/gas/aarch64/pr27217.d: New test driver.
327 2021-04-06 Jan Beulich <jbeulich@suse.com>
329 * write.c (fixup_segment): Move add_symbol_segment declaration
332 2021-04-05 Alan Modra <amodra@gmail.com>
334 * configure.ac: Don't check for string.h, strings.h, stdlib.h,
335 errno.h, limits.h, locale.h or time.h. Don't check for unlink,
336 remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
337 Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
338 strstr, or vsnprintf declarations.
339 (AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
340 * as.h: Don't include alloca-conf.h, include config.h instead.
341 Include string.h, stdlib.h, errno.h unconditionally. Remove
342 various fallback declarations.
343 * asintl.h: Don't test HAVE_LOCALE_H.
344 * as.c: Don't test HAVE_SETLOCALE.
345 * dwarf2dbg.c: Include limits.h unconditionally.
348 * symbols.c: Likewise.
349 * config/tc-cr16.c: Likewise.
350 * config/tc-d30v.c: Likewise.
351 * config/tc-i386.c: Likewise.
352 * config/tc-ia64.c: Likewise.
353 * config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
354 * config.in: Regenerate.
355 * configure: Regenerate.
356 * Makefile.in: Regenerate.
357 * doc/Makefile.in: Regenerate.
359 2021-04-01 Martin Liska <mliska@suse.cz>
361 * config/obj-coff.c (strneq): Remove strneq and use startswith.
362 (weak_is_altname): Likewise.
363 (obj_coff_section): Likewise.
364 * config/tc-cr16.c (process_label_constant): Likewise.
365 * config/tc-crx.c (strneq): Likewise.
367 2021-04-01 Martin Liska <mliska@suse.cz>
369 * as.c (select_emulation_mode): Use startswith.
370 * config/m68k-parse.y: Likewise.
371 * config/obj-aout.c (obj_aout_type): Likewise.
372 * config/obj-elf.c (elf_common_parse): Likewise.
373 (obj_elf_section_type): Likewise.
374 (obj_elf_section_word): Likewise.
375 (obj_elf_section): Likewise.
376 (obj_elf_symver): Likewise.
377 (adjust_stab_sections): Likewise.
378 * config/obj-evax.c (evax_shorten_name): Likewise.
379 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
380 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
381 (aarch64_parse_features): Likewise.
382 (create_register_alias): Likewise.
383 (aarch64_data_in_code): Likewise.
384 (md_parse_option): Likewise.
385 * config/tc-alpha.c (s_alpha_section_word): Likewise.
386 (s_alpha_pdesc): Likewise.
387 * config/tc-arc.c (tokenize_extregister): Likewise.
388 * config/tc-arm.c (create_register_alias): Likewise.
389 (create_neon_reg_alias): Likewise.
390 (parse_ifimm_zero): Likewise.
391 (parse_qfloat_immediate): Likewise.
392 (arm_elf_section_type): Likewise.
393 (arm_parse_extension): Likewise.
394 (aeabi_set_public_attributes): Likewise.
395 (s_arm_arch_extension): Likewise.
396 (arm_data_in_code): Likewise.
397 (start_unwind_section): Likewise.
398 * config/tc-avr.c (avr_ldi_expression): Likewise.
399 * config/tc-csky.c (is_freglist_legal): Likewise.
400 (csky_s_section): Likewise.
401 * config/tc-d30v.c (do_assemble): Likewise.
402 * config/tc-dlx.c (parse_operand): Likewise.
403 * config/tc-epiphany.c (md_assemble): Likewise.
404 * config/tc-h8300.c (h8300_elf_section): Likewise.
405 (get_operand): Likewise.
406 * config/tc-hppa.c (pa_ip): Likewise.
407 (pa_level): Likewise.
408 (pa_space): Likewise.
409 * config/tc-i386.c (i386_mach): Likewise.
410 (md_assemble): Likewise.
411 (check_VecOperations): Likewise.
412 (i386_target_format): Likewise.
413 (i386_elf_section_type): Likewise.
414 * config/tc-ia64.c (start_unwind_section): Likewise.
415 (md_parse_option): Likewise.
416 (is_taken_branch): Likewise.
417 (idesc->name,): Likewise.
418 (note_register_values): Likewise.
419 (do_alias): Likewise.
420 * config/tc-m32c.c (insn_to_subtype): Likewise.
421 * config/tc-m68hc11.c (get_operand): Likewise.
422 (md_assemble): Likewise.
423 * config/tc-m68k.c (m68k_ip): Likewise.
424 (m68k_elf_suffix): Likewise.
425 * config/tc-mcore.c (mcore_s_section): Likewise.
426 * config/tc-metag.c (parse_get_set): Likewise.
427 (md_parse_option): Likewise.
428 * config/tc-microblaze.c (parse_imm): Likewise.
429 (check_got): Likewise.
430 (md_apply_fix): Likewise.
431 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
432 (md_begin): Likewise.
433 (s_is_linkonce): Likewise.
434 (check_regno): Likewise.
435 (match_float_constant): Likewise.
436 (classify_vr4120_insn): Likewise.
437 (match_insn): Likewise.
438 (mips_after_parse_args): Likewise.
439 (s_change_sec): Likewise.
440 (s_option): Likewise.
441 (parse_code_option): Likewise.
442 (md_section_align): Likewise.
443 (nopic_need_relax): Likewise.
444 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
445 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
446 (mn10300_end_of_match): Likewise.
447 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
448 * config/tc-nds32.c (nds32_parse_option): Likewise.
449 * config/tc-nds32.h (md_do_align): Likewise.
450 * config/tc-nios2.c (strprefix): Likewise.
451 (nios2_special_relocation_p): Likewise.
452 (nios2_parse_base_register): Likewise.
453 (nios2_cons): Likewise.
454 * config/tc-ns32k.c (addr_mode): Likewise.
455 * config/tc-pdp11.c (set_option): Likewise.
456 (parse_reg): Likewise.
457 (parse_ac5): Likewise.
458 (parse_op_no_deferred): Likewise.
459 (set_cpu_model): Likewise.
460 (set_machine_model): Likewise.
461 * config/tc-pj.c (md_operand): Likewise.
462 * config/tc-ppc.c (ppc_set_cpu): Likewise.
463 (ppc_arch): Likewise.
464 (ppc_section_type): Likewise.
465 * config/tc-s12z.c (tb_reg_rel): Likewise.
466 (tb_opr_rel): Likewise.
467 * config/tc-s390.c (s390_parse_cpu): Likewise.
468 (md_parse_option): Likewise.
469 * config/tc-score.c (s3_nopic_need_relax): Likewise.
470 (s3_pic_need_relax): Likewise.
471 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
472 (s7_pic_need_relax): Likewise.
473 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
474 * config/tc-sparc.c (md_parse_option): Likewise.
475 (sparc_ip): Likewise.
476 (s_reserve): Likewise.
477 (s_common): Likewise.
479 (sparc_cons): Likewise.
480 * config/tc-tic54x.c (stag_add_field): Likewise.
481 (tic54x_endstruct): Likewise.
482 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
483 * config/tc-v850.c (v850_comm): Likewise.
484 (md_begin): Likewise.
485 (md_assemble): Likewise.
486 * config/tc-vax.c (vax_cons): Likewise.
487 * config/tc-wasm32.c (wasm32_leb128): Likewise.
488 * config/tc-xstormy16.c (md_operand): Likewise.
489 * config/tc-xtensa.c (get_directive): Likewise.
490 (xg_instruction_matches_option_term): Likewise.
491 (is_unaligned_label): Likewise.
492 (cache_literal_section): Likewise.
493 * config/xtensa-relax.c (parse_precond): Likewise.
494 (parse_option_cond): Likewise.
495 (transition_applies): Likewise.
496 (wide_branch_opcode): Likewise.
497 * dw2gencfi.c: Likewise.
498 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
499 * ehopt.c (get_cie_info): Likewise.
500 * input-file.c (input_file_open): Likewise.
501 * listing.c (listing_newline): Likewise.
502 (debugging_pseudo): Likewise.
503 * read.c (read_a_source_file): Likewise.
504 * write.c (adjust_reloc_syms): Likewise.
505 (compress_debug): Likewise.
506 (maybe_generate_build_notes): Likewise.
508 2021-03-31 Alan Modra <amodra@gmail.com>
510 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
511 * config/bfin-lex-wrapper.c: Likewise.
512 * itbl-lex.l: Don't include as.h.
513 * config/bfin-lex.l: Likewise.
515 2021-03-31 Alan Modra <amodra@gmail.com>
517 * as.h (POISON_BFD_BOOLEAN): Define.
518 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
519 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
520 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
521 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
522 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
523 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
524 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
525 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
526 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
527 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
528 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
529 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
530 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
531 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
532 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
533 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
534 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
535 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
536 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
537 * config/tc-metag.c, * config/tc-metag.h,
538 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
539 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
540 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
541 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
542 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
543 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
544 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
545 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
546 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
547 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
548 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
549 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
550 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
551 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
552 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
553 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
554 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
555 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
556 * config/tc-z8k.c, * config/xtensa-istack.h,
557 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
558 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
559 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
560 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
561 with bool, FALSE with false, and TRUE with true.
563 2021-03-31 Alan Modra <amodra@gmail.com>
565 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
566 * config/tc-crx.c: Likewise.
567 * config/tc-nds32.h: Likewise.
569 2021-03-30 Jan Beulich <jbeulich@suse.com>
571 * config/tc-i386.c (build_modrm_byte): Change return type.
572 Change type of "default_seg". Use NULL. Adjust setting of
574 (reg_ds, reg_es, reg_ss): New.
575 (struct _i386_insn): Change type of seg[].
576 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
577 (swap_operands): Change type of "temp_seg".
578 (check_string): Adjust %es check.
579 (process_operands): Change type of "default_seg". Use NULL.
580 Adjust segment override processing..
581 (i386_att_operand): Adjust segment override handling.
582 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
584 2021-03-30 Jan Beulich <jbeulich@suse.com>
586 * config/tc-i386.c (reg_eax): New.
587 (md_begin): Initialize reg_eax.
588 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
590 (i386_intel_simplify): Likewise.
592 2021-03-30 Jan Beulich <jbeulich@suse.com>
594 * config/tc-i386.c (reg_st0): New.
595 (md_begin): Convert to switch(). Initialize reg_st0. Don't
597 (parse_real_register): Adjust st(N) processing.
599 2021-03-30 Jan Beulich <jbeulich@suse.com>
601 * config/tc-i386.c (rc_op): Delete.
602 (struct Rounding_Operation): Move ...
603 (struct _i386_insn): ... here. Change field "rounding".
604 (build_evex_prefix): Adjust rounding processing.
605 (swap_2_operands): Likewise.
606 (check_VecOperands): Likewise.
607 (RC_SAE_immediate): Likewise.
608 (optimize_encoding): Adjust check for rounding.
609 (build_modrm_byte): Likewise.
610 (output_imm): Likewise.
611 (md_assemble): Initialize rounding type.
613 2021-03-30 Jan Beulich <jbeulich@suse.com>
615 * config/tc-i386.c (broadcast_op): Delete.
616 (struct Broadcast_Operation): Move ...
617 (struct _i386_insn): ... here. Change field "broadcast".
618 (match_mem_size): Adjust check for broadcast.
619 (optimize_encoding): Likewise.
620 (process_suffix): Likewise.
621 (build_evex_prefix): Adjust broadcast processing.
622 (swap_2_operands): Likewise.
623 (check_VecOperations): Likewise.
624 (match_template): Likewise.
625 (check_VecOperands): Likewise.
627 2021-03-30 Jan Beulich <jbeulich@suse.com>
629 * config/tc-i386.c (reg_k0): New.
631 (struct Mask_Operation): Move ...
632 (struct _i386_insn): ... here. Change field "mask".
633 (md_begin): Initialize reg_k0.
634 (build_evex_prefix): Adjust mask processing.
635 (swap_2_operands): Likewise.
636 (check_VecOperands): Likewise.
637 (check_VecOperations): Likewise.
638 (optimize_encoding): Adjust checks for masking.
639 (output_insn): Likewise.
641 2021-03-30 Jan Beulich <jbeulich@suse.com>
643 * config/tc-i386.c (swap_2_operands): Switch parameters to
645 (struct RC_Operation): Switch operand field to unsigned.
646 (struct Mask_Operation): Likewise.
647 (struct Broadcast_Operation): Likewise.
648 (build_evex_prefix): Drop cast.
649 (check_VecOperands): Likewise.
650 (build_modrm_byte): Likewise.
651 (output_imm): Likewise.
652 (check_VecOperations): Add casts to unsigned.
654 2021-03-29 Jan Beulich <jbeulich@suse.com>
656 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
657 * testsuite/gas/i386/x86-64-avx-swap-2.d.
658 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
660 2021-03-29 Jan Beulich <jbeulich@suse.com>
662 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
663 checks by opcodespace ones.
664 (insert_lfence_before): Likewise.
665 (maybe_fused_with_jcc_p): Likewise.
666 (add_branch_padding_frag_p): Likewise.
667 (output_disp): Likewise.
668 (load_insn_p): Re-arrange checks to key applicable ones off of
669 an opcodespace check.
670 (md_assemble): Adjust opcode checks.
671 (check_byte_reg): Likewise.
672 (process_operands): Likewise.
673 (i386_index_check): Likewise.
674 (process_suffix): Likewise. New local variable is_movx. Adjust
675 movsx/movzx and crc32 handling.
676 (output_insn): Adjust opcode checks. Drop no longer reachable
677 case labels. Output legacy encoding prefixes in addition to the
678 base_opcode byte(s). Rework counting of prefixes for extended
680 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
683 2021-03-29 Alan Modra <amodra@gmail.com>
685 * atof-generic.c (FALSE, TRUE): Don't define.
686 * config/obj-elf.h (FALSE, TRUE): Don't define.
687 * config/obj-som.h (FALSE, TRUE): Don't define.
688 * config/tc-hppa.h (FALSE, TRUE): Don't define.
689 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
690 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
691 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
692 * config/tc-mt.h (obj_fix_adjustable): Delete.
693 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
694 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
695 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
696 (tokenize_extregister): Likewise.
697 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
698 (parse_operands_op, parse_operands, md_assemble): Likewise.
699 * config/tc-d10v.c (build_insn): Likewise.
700 * config/tc-score.c (s3_gen_insn_frag): Likewise.
701 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
702 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
703 * config/tc-z80.c (emit_byte): Likewise.
705 2021-03-29 Alan Modra <amodra@gmail.com>
707 * config/tc-arm.c (struct arm_long_option_table <func>): Return
709 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
710 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
712 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
713 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
714 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
716 (struct metag_long_option <func>): Return bfd_boolean.
717 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
718 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
719 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
720 (no_operands, lex_force_match, lex_reg_list): Likewise.
721 (size_from_suffix): Return int.
722 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
723 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
725 2021-03-26 Jan Beulich <jbeulich@suse.com>
727 * testsuite/gas/i386/x86-64-nosse2.s,
728 testsuite/gas/i386/x86-64-nosse2.l: New.
729 * testsuite/gas/i386/i386.exp: Run new test.
731 2021-03-25 Abid Qadeer <abidh@codesourcery.com>
733 * testsuite/gas/nios2/brn.d: New.
734 * testsuite/gas/nios2/brn.d: New.
736 2021-03-25 Jan Beulich <jbeulich@suse.com>
738 * config/tc-i386.c (match_template): Use t instead of i.tm.
740 2021-03-25 Jan Beulich <jbeulich@suse.com>
742 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
743 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
744 colliding registers in the upper half of the space.
745 * testsuite/gas/i386/avx512f-nondef.d,
746 testsuite/gas/i386/vgather-check.d,
747 testsuite/gas/i386/x86-64-vgather-check.d,
748 testsuite/gas/i386/x86-64-vgather-check-error.l,
749 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
751 * testsuite/gas/i386/vgather-check-none.d,
752 testsuite/gas/i386/vgather-check-warn.d,
753 testsuite/gas/i386/x86-64-vgather-check-none.d,
754 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
755 tests for expected dump output.
757 2021-03-25 Jan Beulich <jbeulich@suse.com>
759 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
760 without mask register.
761 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
763 2021-03-25 Jan Beulich <jbeulich@suse.com>
765 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
766 swapping operands for.
767 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
769 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
770 well as Intel syntax tests.
771 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
773 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
774 Likewise. Drop passing --def-sym to as.
776 2021-03-25 Jan Beulich <jbeulich@suse.com>
779 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
780 conversion to x32 mode.
781 * testsuite/gas/i386/ilp32/enqcmd.s,
782 testsuite/gas/i386/ilp32/enqcmd.d,
783 testsuite/gas/i386/ilp32/movdir.s,
784 testsuite/gas/i386/ilp32/movdir.d: New.
785 * testsuite/gas/i386/x86-64-enqcmd.s,
786 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
788 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
790 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
791 * testsuite/gas/i386/x86-64-enqcmd.d,
792 testsuite/gas/i386/x86-64-enqcmd-intel.d,
793 testsuite/gas/i386/x86-64-enqcmd-inval.l,
794 testsuite/gas/i386/x86-64-movdir.d,
795 testsuite/gas/i386/x86-64-movdir-intel.d,
796 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
798 2021-03-25 Alan Modra <amodra@gmail.com>
801 * testsuite/gas/ppc/a2.d: Update expected output.
802 * testsuite/gas/ppc/power8.d: Likewise.
804 2021-03-24 Jan Beulich <jbeulich@suse.com>
806 * config/tc-i386.c (struct _i386_insn): New field
808 (md_begin): Drop assertion.
809 (install_template): New.
810 (build_vex_prefix): Call install_template.
811 (match_template): Likewise.
812 (process_operands): Use new opcode_length field.
813 (output_jump): Likewise.
814 (output_insn): Likewise. Adjust psedo prefix check.
816 2021-03-24 Jan Beulich <jbeulich@suse.com>
818 * config/tc-i386.c (md_begin): Add assertion.
819 (build_vex_prefix): Drop implied prefix calculation.
820 (build_evex_prefix): Likewise.
821 (optimize_encoding): Adjust opcode checks.
822 (load_insn_p): Also check opcodeprefix.
823 (match_template): Also check opcodespace.
824 (process_suffix): Likewise.
825 (process_operands): Likewise.
826 (output_insn): Likewise. Also check isprefix when discaring
828 * config/tc-i386-intel.c (i386_intel_operand): Also check
831 2021-03-24 Jan Beulich <jbeulich@suse.com>
833 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
834 base_opcode and extension_opcode.
836 2021-03-23 Jan Beulich <jbeulich@suse.com>
838 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
840 2021-03-23 Jan Beulich <jbeulich@suse.com>
842 * config/tc-i386.c (output_i386_opcode): Invoke
843 process_i386_cpu_flag() slightly later.
844 (process_i386_opcodes): Likewise.
846 2021-03-23 Jan Beulich <jbeulich@suse.com>
848 * config/tc-i386.c (pte): Print prefix and encoding space.
849 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
850 (build_evex_prefix): Likewise.
851 (load_insn_p): Likewise.
853 2021-03-23 Jan Beulich <jbeulich@suse.com>
855 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
857 (match_template, output_insn): Use PREFIX_NONE.
859 2021-03-23 Jan Beulich <jbeulich@suse.com>
861 * config/tc-i386.c (i386_index_check): New local variable t.
862 Correct MPX insn check.
863 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
865 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
866 index scaling by other than 1.
867 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
869 2021-03-22 Martin Liska <mliska@suse.cz>
871 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
872 (x86_64_section_word): Likewise.
873 * config/tc-sparc.c (md_parse_option): Likewise.
875 2021-03-19 Alan Modra <amodra@gmail.com>
877 * app.c (do_scrub_chars): Don't lose spaces before a slash.
879 2021-03-18 Christian Groessler <chris@groessler.org>
881 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
882 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
884 2021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
886 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
887 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
888 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
889 * testsuite/gas/riscv/b-ext-64.d: Likewise.
890 * testsuite/gas/riscv/b-ext.s: Likewise.
891 * testsuite/gas/riscv/b-ext.d: Likewise.
893 2021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
895 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
896 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
897 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
898 * testsuite/gas/aarch64/sysreg-7.d: New test.
899 * testsuite/gas/aarch64/sysreg-7.s: New test.
901 2021-03-12 Clément Chigot <clement.chigot@atos.net>
903 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
904 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
905 (ppc_xcoff_tbss_section): New variables.
906 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
907 (ppc_data_csects): Removed.
908 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
909 ppc_xcoff_parse_cons): New functions.
910 (md_being): Initialize XCOFF sections.
911 (ppc_xcoff_suffix): Add support for TLS relocations
912 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
913 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
914 to .bss section. Handle new XCOFF section variables.
915 (ppc_comm): Likewise.
917 (ppc_symbol_new_hook): Likewise.
918 (ppc_frob_symbol): Likewise.
919 (ppc_fix_adjustable): Add tbss support.
920 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
921 (ppc_xcoff_parse_cons): Add prototype.
922 (struct ppc_xcoff_section): New structure.
924 2021-03-12 Clément Chigot <clement.chigot@atos.net>
926 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
927 (MAP, MAP32, MAP64): New macros for XCOFF.
928 (ppc_xcoff_fixup_addis): New function.
929 (ppc_is_toc_sym): Handle XMC_TE.
930 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
931 BFD_RELOC_PPC_TOC16_LO.
932 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
933 (ppc_change_csect): Handle XMC_TE.
934 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
936 (ppc_symbol_new_hook): Handle XMC_TE.
937 (ppc_frob_symbol): Likewise.
938 (ppc_fix_adjustable): Likewise.
939 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
940 BFD_RELOC_PPC_TOC16_LO.
942 2021-03-10 Jan Beulich <jbeulich@suse.com>
944 * testsuite/gas/i386/avx512f-intel.d,
945 testsuite/gas/i386/avx512f_vl-intel.d,
946 testsuite/gas/i386/avx512pf-intel.d,
947 testsuite/gas/i386/x86-64-avx512f-intel.d,
948 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
949 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
951 2021-03-10 Jan Beulich <jbeulich@suse.com>
953 * testsuite/gas/i386/prefetch.d,
954 testsuite/gas/i386/prefetch-intel.d,
955 testsuite/gas/i386/x86-64-prefetch.d,
956 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
957 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
958 * testsuite/gas/i386/i386.exp: Run new test.
960 2021-03-09 Jan Beulich <jbeulich@suse.com>
962 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
963 (md_assemble): Replace use of repprefixok, islockable, and
965 (i386_index_check): Replace use of repprefixok.
967 2021-03-09 Jan Beulich <jbeulich@suse.com>
969 * testsuite/gas/i386/noreg64.s: Add sysexit.
970 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
971 sysexitl and sysexitq.
972 * testsuite/gas/i386/noreg-intel64.l,
973 testsuite/gas/i386/noreg64-data16.d,
974 testsuite/gas/i386/noreg64-data16.e,
975 testsuite/gas/i386/noreg64-rex64.d,
976 testsuite/gas/i386/noreg64.d,
977 testsuite/gas/i386/noreg64.l,
978 testsuite/gas/i386/x86-64-sysenter-amd.d,
979 testsuite/gas/i386/x86-64-sysenter-amd.l,
980 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
982 2021-02-26 Nick Clifton <nickc@redhat.com>
985 * config/tc-arm.c (do_t_add_sub): Correct error message.
986 * testsuite/gas/arm/pr27411.s: New test.
987 * testsuite/gas/arm/pr27411.d: New test driver.
988 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
990 2021-02-24 Alan Modra <amodra@gmail.com>
993 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
994 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
995 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
996 and use alongside TARGET_CPU_CFILES.
997 (EXTRA_DIST): Update location of generated .c files.
998 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
999 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
1000 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
1001 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
1003 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
1004 (itbl-parse.c, itbl-parse.h): Tidy.
1005 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
1006 * config/bfin-lex.l: Include config/bfin-parse.h.
1007 * configure.ac (extra_objects): Move object files corresponding
1008 to .y and .l files now in config/ to config/.
1009 * Makefile.in: Regenerate.
1010 * configure: Regenerate.
1011 * po/POTFILES.in: Regenerate.
1013 2021-02-19 Nick Clifton <nickc@redhat.com>
1015 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
1016 misleading indentation.
1018 2021-02-19 Nelson Chu <nelson.chu@sifive.com>
1021 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
1022 (md_apply_fix): Likewise.
1023 (md_convert_frag_branch): Likewise.
1024 (validate_riscv_insn): Likewise. Also arranged operands, including
1025 added C5 and C6 operands, and removed unused Ci and C< operands.
1026 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
1027 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
1028 * testsuite/gas/riscv/insn.s: Likewise.
1030 2021-02-18 Nelson Chu <nelson.chu@sifive.com>
1032 * config/tc-riscv.c: Included cpu-riscv.h.
1033 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
1034 (struct riscv_csr_extra): Likewise.
1035 (struct riscv_ext_version): Likewise.
1036 (ext_version_table): Moved from opcodes/riscv-opc.c.
1037 (default_isa_spec): Updated type to riscv_spec_class.
1038 (default_priv_spec): Likewise.
1039 (riscv_set_default_isa_spec): Updated.
1040 (init_ext_version_hash): Likewise.
1041 (riscv_init_csr_hash): Likewise, also fixed indent.
1043 2021-02-17 Alan Modra <amodra@gmail.com>
1045 * testsuite/gas/elf/section28.d: xfail h8300.
1047 2021-02-16 H.J. Lu <hongjiu.lu@intel.com>
1050 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
1051 when checking incorrect section attributes.
1052 * testsuite/gas/elf/elf.exp: Run section28 and section29.
1053 * testsuite/gas/elf/section28.d: New file.
1054 * testsuite/gas/elf/section28.s: Likewise.
1055 * testsuite/gas/elf/section29.d: Likewise.
1056 * testsuite/gas/elf/section29.s: Likewise.
1058 2021-02-16 Jan Beulich <jbeulich@suse.com>
1060 * testsuite/gas/i386/sse-check.s,
1061 testsuite/gas/i386/sse2avx.s,
1062 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
1063 * testsuite/gas/i386/sse-check-error.l,
1064 testsuite/gas/i386/sse-check-warn.e,
1065 testsuite/gas/i386/sse-check.d,
1066 testsuite/gas/i386/sse2avx.d,
1067 testsuite/gas/i386/x86-64-sse-check-error.l,
1068 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
1069 * testsuite/gas/i386/property-cvtpi2pd.s,
1070 testsuite/gas/i386/property-cvtpi2pd.d,
1071 testsuite/gas/i386/property-cvtpi2ps.s,
1072 testsuite/gas/i386/property-cvtpi2ps.d: New.
1073 * testsuite/gas/i386/i386.exp: Run new tests.
1075 2021-02-16 Jan Beulich <jbeulich@suse.com>
1077 * config/tc-i386.c (md_assemble): Use template rather than
1078 actuals when updating i.xstate.
1079 * testsuite/gas/i386/property-4.d,
1080 testsuite/gas/i386/property-5.d,
1081 testsuite/gas/i386/property-12.d: Adjust expectations.
1083 2021-02-16 Jan Beulich <jbeulich@suse.com>
1085 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
1086 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
1087 * testsuite/gas/i386/property-ldmxcsr.s,
1088 testsuite/gas/i386/property-ldmxcsr.d,
1089 testsuite/gas/i386/property-vldmxcsr.s,
1090 testsuite/gas/i386/property-vldmxcsr.d,
1091 testsuite/gas/i386/property-vzeroall.s,
1092 testsuite/gas/i386/property-vzeroall.d: New.
1093 * testsuite/gas/i386/i386.exp: Run new tests.
1095 2021-02-16 Jan Beulich <jbeulich@suse.com>
1097 * testsuite/gas/i386/i386.exp: Move bitness-independent property
1098 tests to bitness independent section.
1099 * testsuite/gas/i386/x86-64-property-2.d,
1100 testsuite/gas/i386/x86-64-property-3.d,
1101 testsuite/gas/i386/x86-64-property-4.d,
1102 testsuite/gas/i386/x86-64-property-5.d,
1103 testsuite/gas/i386/x86-64-property-6.d,
1104 testsuite/gas/i386/x86-64-property-10.d,
1105 testsuite/gas/i386/x86-64-property-11.d,
1106 testsuite/gas/i386/x86-64-property-12.d,
1107 testsuite/gas/i386/x86-64-property-13.d: Delete.
1109 2021-02-16 Jan Beulich <jbeulich@suse.com>
1111 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
1113 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
1115 2021-02-16 Alan Modra <amodra@gmail.com>
1118 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1121 2021-02-16 Alan Modra <amodra@gmail.com>
1123 * read.c (demand_copy_C_string): Really check for embedded zeros.
1125 2021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
1127 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
1128 * doc/c-s390.texi: Document arch14 march option.
1129 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
1130 * testsuite/gas/s390/zarch-arch14.d: New test.
1131 * testsuite/gas/s390/zarch-arch14.s: New test.
1133 2021-02-12 Nick Clifton <nickc@redhat.com>
1135 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
1137 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
1139 2021-02-12 Alan Modra <amodra@gmail.com>
1141 * testsuite/gas/all/pr27381.err: Don't match source file name.
1142 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
1143 * testsuite/gas/all/pr27384.err: Don't match source file name.
1145 * testsuite/gas/all/pr27384.s: Add ".text" directive.
1146 * testsuite/gas/elf/pr27355.err: Don't match source file name.
1148 2021-02-11 Alan Modra <amodra@gmail.com>
1150 * NEWS: Mention arm-symbianelf removal.
1152 2021-02-10 Nick Clifton <nickc@redhat.com>
1154 * listing.c (buffer_line): Remove debugging code accidentally
1155 included with the fix for PR 27384.
1157 2021-02-09 Nick Clifton <nickc@redhat.com>
1160 * read.c (s_incbin): Check that the file to be included is a
1161 regular, non-directory file.
1162 * testsuite/gas/all/pr27381.s: New test source file.
1163 * testsuite/gas/all/pr27381.d: New test control file.
1164 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
1165 * testsuite/gas/all/gas.exp: Run the new test.
1167 2021-02-09 Alan Modra <amodra@gmail.com>
1169 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
1170 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
1172 * config/te-symbian.h: Delete.
1173 * configure.tgt: Remove arm-*-symbianelf*.
1174 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
1176 * testsuite/gas/arm/arch4t.d: Likewise.
1177 * testsuite/gas/arm/got_prel.d: Likewise.
1178 * testsuite/gas/arm/mapdir.d: Likewise.
1179 * testsuite/gas/arm/mapmisc.d: Likewise.
1180 * testsuite/gas/arm/mapsecs.d: Likewise.
1181 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
1182 * testsuite/gas/arm/thumb-eabi.d: Likewise.
1183 * testsuite/gas/arm/thumb.d: Likewise.
1184 * testsuite/gas/arm/thumbrel.d: Likewise.
1185 * Makefile.in: Regenerate.
1186 * po/POTFILES.in: Regenerate.
1188 2021-02-09 Nick Clifton <nickc@redhat.com>
1191 * listing.c (listing_psize): Check the result of the width
1192 expression before assigning it to paper_width.
1193 * testsuite/gas/all/pr27384.s: New test source file.
1194 * testsuite/gas/all/pr27384.d: New test control file.
1195 * testsuite/gas/all/pr27384.err: Expected errors from new test.
1196 * testsuite/gas/all/gas.exp: Run the new test.
1198 2021-02-09 Nick Clifton <nickc@redhat.com>
1201 * testsuite/gas/elf/pr27355.s: New test source file.
1202 * testsuite/gas/elf/pr27355.d: New test control file.
1203 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
1204 * testsuite/gas/elf/elf.exp: Run the new test.
1206 2021-02-08 Mike Frysinger <vapier@gentoo.org>
1208 * config/tc-tic54x (tic54x_mmregs): Rename to ...
1209 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
1210 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
1211 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
1212 cc2_codes, cc3_codes, status_bits, and misc_symbols.
1214 2021-02-08 Nick Clifton <nickc@redhat.com>
1217 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1218 if it has not already been created.
1220 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
1222 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
1224 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
1225 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
1226 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
1228 2021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
1230 * doc/c-s390.texi: Document vector instruction formats.
1232 2021-02-01 Emery Hemingway <ehmry@posteo.net>
1234 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1236 2021-02-01 Alan Modra <amodra@gmail.com>
1239 * config/tc-alpha.c (insert_operand): Delete dead code.
1241 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1244 * config/tc-nios2.c (md_begin): Don't disable relaxation with
1246 * testsuite/gas/nios2/relax.d: New file.
1247 * testsuite/gas/nios2/relax.s: Likewise.
1249 2021-01-26 Alan Modra <amodra@gmail.com>
1251 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
1252 notarget all except hppa. Comment.
1253 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
1254 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
1255 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
1256 * testsuite/gas/all/sleb128-7.d: Likewise.
1257 * testsuite/gas/all/sleb128-9.d: Likewise.
1258 * testsuite/gas/elf/bignums.d: Likewise.
1259 * testsuite/gas/elf/group0c.d: Likewise.
1260 * testsuite/gas/elf/group1a.d: Likewise.
1261 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
1262 * testsuite/gas/elf/section15.d: Likewise.
1263 * testsuite/gas/elf/section4.d: Likewise.
1264 * testsuite/gas/elf/section7.d: Likewise.
1265 * testsuite/gas/macros/irp.d: Likewise.
1266 * testsuite/gas/macros/repeat.d: Likewise.
1267 * testsuite/gas/macros/rept.d: Likewise.
1268 * testsuite/gas/macros/test2.d: Likewise.
1269 * testsuite/gas/macros/vararg.d: Likewise.
1270 * testsuite/gas/all/string.d: Use xfail rather than skip.
1271 * testsuite/gas/elf/missing-build-notes.d: Likewise.
1272 * testsuite/gas/elf/section0.d: Likewise.
1273 * testsuite/gas/elf/section1.d: Likewise.
1274 * testsuite/gas/elf/section10.d: Likewise.
1275 * testsuite/gas/elf/section11.d: Likewise.
1276 * testsuite/gas/elf/section6.d: Likewise.
1277 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
1278 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
1279 * testsuite/gas/macros/test3.d: Don't notarget nds32.
1281 2021-01-26 Alan Modra <amodra@gmail.com>
1283 * testsuite/gas/all/byte.d,
1284 * testsuite/gas/all/byte.l,
1285 * testsuite/gas/all/byte.s: Delete.
1286 * testsuite/gas/all/gas.exp: Don't run byte test.
1288 2021-01-26 Alan Modra <amodra@gmail.com>
1291 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
1292 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
1294 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
1297 * testsuite/gas/elf/elf.exp: Run pr27228.
1298 * testsuite/gas/elf/pr27228.d: New file.
1299 * testsuite/gas/elf/pr27228.s: Likewise.
1301 2021-01-24 Alan Modra <amodra@gmail.com>
1304 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
1307 2021-01-21 Alan Modra <amodra@gmail.com>
1310 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
1311 line number info when gas is generating it.
1312 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
1313 * testsuite/gas/m68hc11/indexed12.d: Likewise.
1314 * testsuite/gas/elf/elf.exp: Don't run warn-2.
1315 * gas/testsuite/gas/elf/warn-2.s: Delete.
1317 2021-01-21 Alan Modra <amodra@gmail.com>
1320 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
1321 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
1322 error for negative file numbers.
1324 2021-01-20 Alan Modra <amodra@gmail.com>
1326 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
1327 * testsuite/gas/ppc/test1elf32.d: Likewise.
1328 * testsuite/gas/ppc/test1elf64.d: Likewise.
1330 2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
1333 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
1335 (dwarf2_directive_filename): Likewise.
1336 (dwarf2_directive_loc): Likewise.
1337 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
1338 * testsuite/gas/lns/lns-diag-1.l: Remove the
1339 "Error: file number less than one" errors.
1341 2021-01-18 Alan Modra <amodra@gmail.com>
1344 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
1345 * testsuite/gas/i386/pr27198.d,
1346 * gas/testsuite/gas/i386/pr27198.err,
1347 * gas/testsuite/gas/i386/pr27198.s: New test.
1348 * gas/testsuite/gas/i386/i386.exp: Run it.
1350 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1352 * config/tc-riscv.c: Indent and GNU coding standards tidy,
1353 also aligned the code.
1354 * config/tc-riscv.h: Likewise.
1356 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1358 * config/tc-riscv.c: Error and warning messages tidy.
1359 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
1360 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1361 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
1362 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1363 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1364 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1365 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1367 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1369 * config/tc-riscv.c: Comments tidy and improvement. Also update
1370 comment "fallthru" to "Fall through" that end with a period and
1373 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1375 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
1376 Delete warning that these are only available with ELF targets.
1377 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
1378 * read.c (potable): ... here.
1380 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1382 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
1383 * Makefile.in: Regenerated.
1385 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1387 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
1388 (parse_int): Mark char_bag const.
1390 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1393 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
1394 Don't generate GOT_symbol for PLT relocations.
1395 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
1396 * testsuite/gas/i386/no-got.d: New file.
1397 * testsuite/gas/i386/no-got.s: Likewise.
1398 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
1399 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
1401 2021-01-13 Alan Modra <amodra@gmail.com>
1403 * Makefile.in: Regenerate.
1404 * Makefile.in: Regenerate.
1406 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1409 * configure.ac: Use GNU_MAKE_JOBSERVER.
1410 * aclocal.m4: Regenerated.
1411 * configure: Likewise.
1413 2021-01-12 Nick Clifton <nickc@redhat.com>
1415 * po/fr.po: Updated French translation.
1417 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1420 * configure: Regenerated.
1422 2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1424 * NEWS: Remove CSRE.
1425 * config/tc-aarch64.c (parse_csr_operand): Delete.
1426 (parse_operands): Delete handling of
1427 AARCH64_OPND_CSRE_CSR.
1428 (aarch64_features): Remove csre.
1429 * doc/c-aarch64.texi: Remove CSRE.
1430 * testsuite/gas/aarch64/csre.d: Delete.
1431 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
1432 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
1433 * testsuite/gas/aarch64/csre_csr.s: Likewise.
1434 * testsuite/gas/aarch64/csre_csr.d: Likewise.
1435 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
1436 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
1437 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
1439 2021-01-11 Nick Clifton <nickc@redhat.com>
1441 * po/uk.po: Updated Ukranian translation.
1443 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1445 * configure: Regenerated.
1447 2021-01-09 Nick Clifton <nickc@redhat.com>
1449 * configure: Regenerate.
1450 * po/gas.pot: Regenerate.
1452 2021-01-09 Nick Clifton <nickc@redhat.com>
1454 * 2.36 release branch crated.
1456 2021-01-08 Peter Bergner <bergner@linux.ibm.com>
1458 * testsuite/gas/ppc/rop-checks.d,
1459 * testsuite/gas/ppc/rop-checks.l,
1460 * testsuite/gas/ppc/rop-checks.s,
1461 * testsuite/gas/ppc/rop.d,
1462 * testsuite/gas/ppc/rop.s: New tests.
1463 * testsuite/gas/ppc/ppc.exp: Run them.
1465 2021-01-09 Alan Modra <amodra@gmail.com>
1467 * configure: Regenerate.
1469 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1471 * configure: Regenerate.
1473 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1476 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
1478 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
1479 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
1480 on the section symbol.
1481 (set_symtab): Don't generate unused section symbols.
1482 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
1483 on the section symbol.
1484 * config/obj-elf.c (elf_adjust_symtab): Call
1485 symbol_mark_used_in_reloc on the group signature symbol.
1486 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
1487 from expected output.
1488 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
1489 is_elf_unused_section_symbols.
1490 * testsuite/gas/elf/section2.e: Updated.
1491 * testsuite/gas/elf/section2.e-unused: New file.
1492 * testsuite/gas/elf/symver.d: Remove unused section symbols.
1493 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
1494 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
1495 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
1496 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
1497 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
1498 * testsuite/gas/i386/size-1.d: Likewise.
1499 * testsuite/gas/i386/size-3.d: Likewise.
1500 * testsuite/gas/i386/svr4.d: Likewise.
1501 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
1502 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
1503 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
1504 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1506 2021-01-07 Philipp Tomsich <prt@gnu.org>
1508 * config/tc-riscv.c (riscv_multi_subset_supports): Added
1509 INSN_CLASS_ZIHINTPAUSE.
1510 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
1511 the pause hint instruction.
1512 * testsuite/gas/riscv/pause.s: Likewise.
1514 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
1515 Jim Wilson <jimw@sifive.com>
1516 Andrew Waterman <andrew@sifive.com>
1517 Maxim Blinov <maxim.blinov@embecosm.com>
1518 Kito Cheng <kito.cheng@sifive.com>
1519 Nelson Chu <nelson.chu@sifive.com>
1521 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
1522 (riscv_get_default_ext_version): Do not check the default_isa_spec when
1523 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
1524 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
1525 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
1526 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
1528 2021-01-06 Alan Modra <amodra@gmail.com>
1530 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
1532 2021-01-06 Alan Modra <amodra@gmail.com>
1534 * testsuite/gas/macros/app1.d: xfail tic30.
1535 * testsuite/gas/macros/app2.d: Likewise.
1536 * testsuite/gas/macros/app3.d: Likewise.
1537 * testsuite/gas/macros/app4.d: Likewise.
1539 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1541 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
1542 * doc/c-riscv.texi: Likewise.
1544 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1546 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
1548 * testsuite/gas/riscv/li64.d: Likewise.
1549 * testsuite/gas/riscv/lla32.d: Likewise.
1550 * testsuite/gas/riscv/lla64.d: Likewise.
1551 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
1552 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
1553 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
1554 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
1555 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
1556 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
1557 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
1559 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1561 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
1563 (install_insn): Always write instructions as little endian.
1564 (riscv_make_nops): Likewise.
1565 (md_convert_frag_branch): Likewise.
1566 (md_number_to_chars): Write data in target endianness.
1567 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
1568 (md_parse_option): Handle the endian options.
1569 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
1571 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
1573 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1576 * config/obj-elf.c (obj_elf_change_section): Also filter out
1579 2021-01-04 Alan Modra <amodra@gmail.com>
1582 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
1583 message and register symbol error message.
1585 2021-01-04 Alan Modra <amodra@gmail.com>
1588 * read.c (s_align): Use a large enough type for "align" to hold
1589 the result of get_absolute_expression.
1591 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1593 * config/tc-i386.c: Correct comment spelling.
1594 * config/tc-riscv.c: Likewise.
1595 * config/tc-s390.c: Correct comment grammar.
1596 * doc/c-i386.texi: Correct spelling.
1597 * doc/c-s390.texi: Correct grammar.
1599 2021-01-01 Alan Modra <amodra@gmail.com>
1601 Update year range in copyright notice of all files.
1603 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1605 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
1607 For older changes see ChangeLog-2020
1609 Copyright (C) 2021 Free Software Foundation, Inc.
1611 Copying and distribution of this file, with or without modification,
1612 are permitted in any medium without royalty provided the copyright
1613 notice and this notice are preserved.
1619 version-control: never