]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
Use startswith in gas subfolder.
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
d34049e8
ML
12021-04-01 Martin Liska <mliska@suse.cz>
2
3 * as.c (select_emulation_mode): Use startswith.
4 * config/m68k-parse.y: Likewise.
5 * config/obj-aout.c (obj_aout_type): Likewise.
6 * config/obj-elf.c (elf_common_parse): Likewise.
7 (obj_elf_section_type): Likewise.
8 (obj_elf_section_word): Likewise.
9 (obj_elf_section): Likewise.
10 (obj_elf_symver): Likewise.
11 (adjust_stab_sections): Likewise.
12 * config/obj-evax.c (evax_shorten_name): Likewise.
13 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
14 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
15 (aarch64_parse_features): Likewise.
16 (create_register_alias): Likewise.
17 (aarch64_data_in_code): Likewise.
18 (md_parse_option): Likewise.
19 * config/tc-alpha.c (s_alpha_section_word): Likewise.
20 (s_alpha_pdesc): Likewise.
21 * config/tc-arc.c (tokenize_extregister): Likewise.
22 * config/tc-arm.c (create_register_alias): Likewise.
23 (create_neon_reg_alias): Likewise.
24 (parse_ifimm_zero): Likewise.
25 (parse_qfloat_immediate): Likewise.
26 (arm_elf_section_type): Likewise.
27 (arm_parse_extension): Likewise.
28 (aeabi_set_public_attributes): Likewise.
29 (s_arm_arch_extension): Likewise.
30 (arm_data_in_code): Likewise.
31 (start_unwind_section): Likewise.
32 * config/tc-avr.c (avr_ldi_expression): Likewise.
33 * config/tc-csky.c (is_freglist_legal): Likewise.
34 (csky_s_section): Likewise.
35 * config/tc-d30v.c (do_assemble): Likewise.
36 * config/tc-dlx.c (parse_operand): Likewise.
37 * config/tc-epiphany.c (md_assemble): Likewise.
38 * config/tc-h8300.c (h8300_elf_section): Likewise.
39 (get_operand): Likewise.
40 * config/tc-hppa.c (pa_ip): Likewise.
41 (pa_level): Likewise.
42 (pa_space): Likewise.
43 * config/tc-i386.c (i386_mach): Likewise.
44 (md_assemble): Likewise.
45 (check_VecOperations): Likewise.
46 (i386_target_format): Likewise.
47 (i386_elf_section_type): Likewise.
48 * config/tc-ia64.c (start_unwind_section): Likewise.
49 (md_parse_option): Likewise.
50 (is_taken_branch): Likewise.
51 (idesc->name,): Likewise.
52 (note_register_values): Likewise.
53 (do_alias): Likewise.
54 * config/tc-m32c.c (insn_to_subtype): Likewise.
55 * config/tc-m68hc11.c (get_operand): Likewise.
56 (md_assemble): Likewise.
57 * config/tc-m68k.c (m68k_ip): Likewise.
58 (m68k_elf_suffix): Likewise.
59 * config/tc-mcore.c (mcore_s_section): Likewise.
60 * config/tc-metag.c (parse_get_set): Likewise.
61 (md_parse_option): Likewise.
62 * config/tc-microblaze.c (parse_imm): Likewise.
63 (check_got): Likewise.
64 (md_apply_fix): Likewise.
65 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
66 (md_begin): Likewise.
67 (s_is_linkonce): Likewise.
68 (check_regno): Likewise.
69 (match_float_constant): Likewise.
70 (classify_vr4120_insn): Likewise.
71 (match_insn): Likewise.
72 (mips_after_parse_args): Likewise.
73 (s_change_sec): Likewise.
74 (s_option): Likewise.
75 (parse_code_option): Likewise.
76 (md_section_align): Likewise.
77 (nopic_need_relax): Likewise.
78 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
79 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
80 (mn10300_end_of_match): Likewise.
81 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
82 * config/tc-nds32.c (nds32_parse_option): Likewise.
83 * config/tc-nds32.h (md_do_align): Likewise.
84 * config/tc-nios2.c (strprefix): Likewise.
85 (nios2_special_relocation_p): Likewise.
86 (nios2_parse_base_register): Likewise.
87 (nios2_cons): Likewise.
88 * config/tc-ns32k.c (addr_mode): Likewise.
89 * config/tc-pdp11.c (set_option): Likewise.
90 (parse_reg): Likewise.
91 (parse_ac5): Likewise.
92 (parse_op_no_deferred): Likewise.
93 (set_cpu_model): Likewise.
94 (set_machine_model): Likewise.
95 * config/tc-pj.c (md_operand): Likewise.
96 * config/tc-ppc.c (ppc_set_cpu): Likewise.
97 (ppc_arch): Likewise.
98 (ppc_section_type): Likewise.
99 * config/tc-s12z.c (tb_reg_rel): Likewise.
100 (tb_opr_rel): Likewise.
101 * config/tc-s390.c (s390_parse_cpu): Likewise.
102 (md_parse_option): Likewise.
103 * config/tc-score.c (s3_nopic_need_relax): Likewise.
104 (s3_pic_need_relax): Likewise.
105 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
106 (s7_pic_need_relax): Likewise.
107 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
108 * config/tc-sparc.c (md_parse_option): Likewise.
109 (sparc_ip): Likewise.
110 (s_reserve): Likewise.
111 (s_common): Likewise.
112 (s_seg): Likewise.
113 (sparc_cons): Likewise.
114 * config/tc-tic54x.c (stag_add_field): Likewise.
115 (tic54x_endstruct): Likewise.
116 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
117 * config/tc-v850.c (v850_comm): Likewise.
118 (md_begin): Likewise.
119 (md_assemble): Likewise.
120 * config/tc-vax.c (vax_cons): Likewise.
121 * config/tc-wasm32.c (wasm32_leb128): Likewise.
122 * config/tc-xstormy16.c (md_operand): Likewise.
123 * config/tc-xtensa.c (get_directive): Likewise.
124 (xg_instruction_matches_option_term): Likewise.
125 (is_unaligned_label): Likewise.
126 (cache_literal_section): Likewise.
127 * config/xtensa-relax.c (parse_precond): Likewise.
128 (parse_option_cond): Likewise.
129 (transition_applies): Likewise.
130 (wide_branch_opcode): Likewise.
131 * dw2gencfi.c: Likewise.
132 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
133 * ehopt.c (get_cie_info): Likewise.
134 * input-file.c (input_file_open): Likewise.
135 * listing.c (listing_newline): Likewise.
136 (debugging_pseudo): Likewise.
137 * read.c (read_a_source_file): Likewise.
138 * write.c (adjust_reloc_syms): Likewise.
139 (compress_debug): Likewise.
140 (maybe_generate_build_notes): Likewise.
141
fdb21288
AM
1422021-03-31 Alan Modra <amodra@gmail.com>
143
144 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
145 * config/bfin-lex-wrapper.c: Likewise.
146 * itbl-lex.l: Don't include as.h.
147 * config/bfin-lex.l: Likewise.
148
5b7c81bd
AM
1492021-03-31 Alan Modra <amodra@gmail.com>
150
151 * as.h (POISON_BFD_BOOLEAN): Define.
152 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
153 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
154 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
155 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
156 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
157 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
158 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
159 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
160 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
161 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
162 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
163 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
164 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
165 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
166 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
167 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
168 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
169 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
170 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
171 * config/tc-metag.c, * config/tc-metag.h,
172 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
173 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
174 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
175 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
176 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
177 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
178 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
179 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
180 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
181 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
182 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
183 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
184 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
185 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
186 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
187 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
188 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
189 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
190 * config/tc-z8k.c, * config/xtensa-istack.h,
191 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
192 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
193 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
194 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
195 with bool, FALSE with false, and TRUE with true.
196
3dfb1b6d
AM
1972021-03-31 Alan Modra <amodra@gmail.com>
198
199 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
200 * config/tc-crx.c: Likewise.
201 * config/tc-nds32.h: Likewise.
202
5e042380
JB
2032021-03-30 Jan Beulich <jbeulich@suse.com>
204
205 * config/tc-i386.c (build_modrm_byte): Change return type.
206 Change type of "default_seg". Use NULL. Adjust setting of
207 "default_seg".
208 (reg_ds, reg_es, reg_ss): New.
209 (struct _i386_insn): Change type of seg[].
210 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
211 (swap_operands): Change type of "temp_seg".
212 (check_string): Adjust %es check.
213 (process_operands): Change type of "default_seg". Use NULL.
214 Adjust segment override processing..
215 (i386_att_operand): Adjust segment override handling.
216 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
217
34684862
JB
2182021-03-30 Jan Beulich <jbeulich@suse.com>
219
220 * config/tc-i386.c (reg_eax): New.
221 (md_begin): Initialize reg_eax.
222 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
223 reg_eax.
224 (i386_intel_simplify): Likewise.
225
6288d05f
JB
2262021-03-30 Jan Beulich <jbeulich@suse.com>
227
228 * config/tc-i386.c (reg_st0): New.
229 (md_begin): Convert to switch(). Initialize reg_st0. Don't
230 insert other st(N).
231 (parse_real_register): Adjust st(N) processing.
232
ca5312a2
JB
2332021-03-30 Jan Beulich <jbeulich@suse.com>
234
235 * config/tc-i386.c (rc_op): Delete.
236 (struct Rounding_Operation): Move ...
237 (struct _i386_insn): ... here. Change field "rounding".
238 (build_evex_prefix): Adjust rounding processing.
239 (swap_2_operands): Likewise.
240 (check_VecOperands): Likewise.
241 (RC_SAE_immediate): Likewise.
242 (optimize_encoding): Adjust check for rounding.
243 (build_modrm_byte): Likewise.
244 (output_imm): Likewise.
245 (md_assemble): Initialize rounding type.
246
5273a3cd
JB
2472021-03-30 Jan Beulich <jbeulich@suse.com>
248
249 * config/tc-i386.c (broadcast_op): Delete.
250 (struct Broadcast_Operation): Move ...
251 (struct _i386_insn): ... here. Change field "broadcast".
252 (match_mem_size): Adjust check for broadcast.
253 (optimize_encoding): Likewise.
254 (process_suffix): Likewise.
255 (build_evex_prefix): Adjust broadcast processing.
256 (swap_2_operands): Likewise.
257 (check_VecOperations): Likewise.
258 (match_template): Likewise.
259 (check_VecOperands): Likewise.
260
6225c532
JB
2612021-03-30 Jan Beulich <jbeulich@suse.com>
262
263 * config/tc-i386.c (reg_k0): New.
264 (mask_op): Delete.
265 (struct Mask_Operation): Move ...
266 (struct _i386_insn): ... here. Change field "mask".
267 (md_begin): Initialize reg_k0.
268 (build_evex_prefix): Adjust mask processing.
269 (swap_2_operands): Likewise.
270 (check_VecOperands): Likewise.
271 (check_VecOperations): Likewise.
272 (optimize_encoding): Adjust checks for masking.
273 (output_insn): Likewise.
274
783c187b
JB
2752021-03-30 Jan Beulich <jbeulich@suse.com>
276
277 * config/tc-i386.c (swap_2_operands): Switch parameters to
278 unsigned.
279 (struct RC_Operation): Switch operand field to unsigned.
280 (struct Mask_Operation): Likewise.
281 (struct Broadcast_Operation): Likewise.
282 (build_evex_prefix): Drop cast.
283 (check_VecOperands): Likewise.
284 (build_modrm_byte): Likewise.
285 (output_imm): Likewise.
286 (check_VecOperations): Add casts to unsigned.
287
c8cad9d3
JB
2882021-03-29 Jan Beulich <jbeulich@suse.com>
289
290 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
291 * testsuite/gas/i386/x86-64-avx-swap-2.d.
292 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
293
389d00a5
JB
2942021-03-29 Jan Beulich <jbeulich@suse.com>
295
296 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
297 checks by opcodespace ones.
298 (insert_lfence_before): Likewise.
299 (maybe_fused_with_jcc_p): Likewise.
300 (add_branch_padding_frag_p): Likewise.
301 (output_disp): Likewise.
302 (load_insn_p): Re-arrange checks to key applicable ones off of
303 an opcodespace check.
304 (md_assemble): Adjust opcode checks.
305 (check_byte_reg): Likewise.
306 (process_operands): Likewise.
307 (i386_index_check): Likewise.
308 (process_suffix): Likewise. New local variable is_movx. Adjust
309 movsx/movzx and crc32 handling.
310 (output_insn): Adjust opcode checks. Drop no longer reachable
311 case labels. Output legacy encoding prefixes in addition to the
312 base_opcode byte(s). Rework counting of prefixes for extended
313 opcode maps.
314 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
315 opcode checks.
316
63b4cc53
AM
3172021-03-29 Alan Modra <amodra@gmail.com>
318
319 * atof-generic.c (FALSE, TRUE): Don't define.
320 * config/obj-elf.h (FALSE, TRUE): Don't define.
321 * config/obj-som.h (FALSE, TRUE): Don't define.
322 * config/tc-hppa.h (FALSE, TRUE): Don't define.
323 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
324 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
325 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
326 * config/tc-mt.h (obj_fix_adjustable): Delete.
327 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
328 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
329 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
330 (tokenize_extregister): Likewise.
331 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
332 (parse_operands_op, parse_operands, md_assemble): Likewise.
333 * config/tc-d10v.c (build_insn): Likewise.
334 * config/tc-score.c (s3_gen_insn_frag): Likewise.
335 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
336 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
337 * config/tc-z80.c (emit_byte): Likewise.
338
854f1e4b
AM
3392021-03-29 Alan Modra <amodra@gmail.com>
340
341 * config/tc-arm.c (struct arm_long_option_table <func>): Return
342 bfd_boolean.
343 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
344 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
345 with bfd_boolean.
346 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
347 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
348 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
349 logical expressions.
350 (struct metag_long_option <func>): Return bfd_boolean.
351 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
352 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
353 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
354 (no_operands, lex_force_match, lex_reg_list): Likewise.
355 (size_from_suffix): Return int.
356 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
357 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
358
c3344b62
JB
3592021-03-26 Jan Beulich <jbeulich@suse.com>
360
361 * testsuite/gas/i386/x86-64-nosse2.s,
362 testsuite/gas/i386/x86-64-nosse2.l: New.
363 * testsuite/gas/i386/i386.exp: Run new test.
364
efa30ac3
HAQ
3652021-03-25 Abid Qadeer <abidh@codesourcery.com>
366
367 * testsuite/gas/nios2/brn.d: New.
368 * testsuite/gas/nios2/brn.d: New.
369
5e74b495
JB
3702021-03-25 Jan Beulich <jbeulich@suse.com>
371
372 * config/tc-i386.c (match_template): Use t instead of i.tm.
373
596a02ff
JB
3742021-03-25 Jan Beulich <jbeulich@suse.com>
375
376 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
377 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
378 colliding registers in the upper half of the space.
379 * testsuite/gas/i386/avx512f-nondef.d,
380 testsuite/gas/i386/vgather-check.d,
381 testsuite/gas/i386/x86-64-vgather-check.d,
382 testsuite/gas/i386/x86-64-vgather-check-error.l,
383 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
384 expecations.
385 * testsuite/gas/i386/vgather-check-none.d,
386 testsuite/gas/i386/vgather-check-warn.d,
387 testsuite/gas/i386/x86-64-vgather-check-none.d,
388 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
389 tests for expected dump output.
390
53642852
JB
3912021-03-25 Jan Beulich <jbeulich@suse.com>
392
393 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
394 without mask register.
395 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
396
c0e54661
JB
3972021-03-25 Jan Beulich <jbeulich@suse.com>
398
399 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
400 swapping operands for.
401 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
402 syntax tests.
403 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
404 well as Intel syntax tests.
405 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
406 expectations.
407 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
408 Likewise. Drop passing --def-sym to as.
409
829f3fe1
JB
4102021-03-25 Jan Beulich <jbeulich@suse.com>
411
412 PR/gas 27419
413 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
414 conversion to x32 mode.
415 * testsuite/gas/i386/ilp32/enqcmd.s,
416 testsuite/gas/i386/ilp32/enqcmd.d,
417 testsuite/gas/i386/ilp32/movdir.s,
418 testsuite/gas/i386/ilp32/movdir.d: New.
419 * testsuite/gas/i386/x86-64-enqcmd.s,
420 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
421 cases.
422 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
423 (%eip) cases.
424 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
425 * testsuite/gas/i386/x86-64-enqcmd.d,
426 testsuite/gas/i386/x86-64-enqcmd-intel.d,
427 testsuite/gas/i386/x86-64-enqcmd-inval.l,
428 testsuite/gas/i386/x86-64-movdir.d,
429 testsuite/gas/i386/x86-64-movdir-intel.d,
430 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
431
5a403766
AM
4322021-03-25 Alan Modra <amodra@gmail.com>
433
434 PR 27647
435 * testsuite/gas/ppc/a2.d: Update expected output.
436 * testsuite/gas/ppc/power8.d: Likewise.
437
9a182d04
JB
4382021-03-24 Jan Beulich <jbeulich@suse.com>
439
440 * config/tc-i386.c (struct _i386_insn): New field
441 opcode_length.
442 (md_begin): Drop assertion.
443 (install_template): New.
444 (build_vex_prefix): Call install_template.
445 (match_template): Likewise.
446 (process_operands): Use new opcode_length field.
447 (output_jump): Likewise.
448 (output_insn): Likewise. Adjust psedo prefix check.
449
35648716
JB
4502021-03-24 Jan Beulich <jbeulich@suse.com>
451
452 * config/tc-i386.c (md_begin): Add assertion.
453 (build_vex_prefix): Drop implied prefix calculation.
454 (build_evex_prefix): Likewise.
455 (optimize_encoding): Adjust opcode checks.
456 (load_insn_p): Also check opcodeprefix.
457 (match_template): Also check opcodespace.
458 (process_suffix): Likewise.
459 (process_operands): Likewise.
460 (output_insn): Likewise. Also check isprefix when discaring
461 standalone LOCK.
462 * config/tc-i386-intel.c (i386_intel_operand): Also check
463 opcodespace.
464
31184569
JB
4652021-03-24 Jan Beulich <jbeulich@suse.com>
466
467 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
468 base_opcode and extension_opcode.
469
b933fa4b
JB
4702021-03-23 Jan Beulich <jbeulich@suse.com>
471
472 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
473
dac10fb0
JB
4742021-03-23 Jan Beulich <jbeulich@suse.com>
475
476 * config/tc-i386.c (output_i386_opcode): Invoke
477 process_i386_cpu_flag() slightly later.
478 (process_i386_opcodes): Likewise.
479
441f6aca
JB
4802021-03-23 Jan Beulich <jbeulich@suse.com>
481
482 * config/tc-i386.c (pte): Print prefix and encoding space.
483 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
484 (build_evex_prefix): Likewise.
485 (load_insn_p): Likewise.
486
70e95837
JB
4872021-03-23 Jan Beulich <jbeulich@suse.com>
488
489 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
490 if()-s.
491 (match_template, output_insn): Use PREFIX_NONE.
492
a152332d
JB
4932021-03-23 Jan Beulich <jbeulich@suse.com>
494
495 * config/tc-i386.c (i386_index_check): New local variable t.
496 Correct MPX insn check.
497 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
498 MPX insn check.
499 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
500 index scaling by other than 1.
501 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
502
08dedd66
ML
5032021-03-22 Martin Liska <mliska@suse.cz>
504
505 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
506 (x86_64_section_word): Likewise.
507 * config/tc-sparc.c (md_parse_option): Likewise.
508
826b97d4
AM
5092021-03-19 Alan Modra <amodra@gmail.com>
510
511 * app.c (do_scrub_chars): Don't lose spaces before a slash.
512
3273f9a1
CG
5132021-03-18 Christian Groessler <chris@groessler.org>
514
515 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
516 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
517
80d49d6a
KLC
5182021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
519
520 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
521 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
522 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
523 * testsuite/gas/riscv/b-ext-64.d: Likewise.
524 * testsuite/gas/riscv/b-ext.s: Likewise.
525 * testsuite/gas/riscv/b-ext.d: Likewise.
526
7fce7ea9
PW
5272021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
528
529 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
530 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
531 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
532 * testsuite/gas/aarch64/sysreg-7.d: New test.
533 * testsuite/gas/aarch64/sysreg-7.s: New test.
534
1b2cb8e2
CC
5352021-03-12 Clément Chigot <clement.chigot@atos.net>
536
537 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
538 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
539 (ppc_xcoff_tbss_section): New variables.
540 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
541 (ppc_data_csects): Removed.
542 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
543 ppc_xcoff_parse_cons): New functions.
544 (md_being): Initialize XCOFF sections.
545 (ppc_xcoff_suffix): Add support for TLS relocations
546 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
547 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
548 to .bss section. Handle new XCOFF section variables.
549 (ppc_comm): Likewise.
550 (ppc_toc): Likewise.
551 (ppc_symbol_new_hook): Likewise.
552 (ppc_frob_symbol): Likewise.
553 (ppc_fix_adjustable): Add tbss support.
554 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
555 (ppc_xcoff_parse_cons): Add prototype.
556 (struct ppc_xcoff_section): New structure.
557
4a403be0
CC
5582021-03-12 Clément Chigot <clement.chigot@atos.net>
559
560 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
561 (MAP, MAP32, MAP64): New macros for XCOFF.
562 (ppc_xcoff_fixup_addis): New function.
563 (ppc_is_toc_sym): Handle XMC_TE.
564 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
565 BFD_RELOC_PPC_TOC16_LO.
566 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
567 (ppc_change_csect): Handle XMC_TE.
568 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
569 storage class.
570 (ppc_symbol_new_hook): Handle XMC_TE.
571 (ppc_frob_symbol): Likewise.
572 (ppc_fix_adjustable): Likewise.
573 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
574 BFD_RELOC_PPC_TOC16_LO.
575
b763d508
JB
5762021-03-10 Jan Beulich <jbeulich@suse.com>
577
578 * testsuite/gas/i386/avx512f-intel.d,
579 testsuite/gas/i386/avx512f_vl-intel.d,
580 testsuite/gas/i386/avx512pf-intel.d,
581 testsuite/gas/i386/x86-64-avx512f-intel.d,
582 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
583 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
584
31941983
JB
5852021-03-10 Jan Beulich <jbeulich@suse.com>
586
587 * testsuite/gas/i386/prefetch.d,
588 testsuite/gas/i386/prefetch-intel.d,
589 testsuite/gas/i386/x86-64-prefetch.d,
590 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
591 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
592 * testsuite/gas/i386/i386.exp: Run new test.
593
742732c7
JB
5942021-03-09 Jan Beulich <jbeulich@suse.com>
595
596 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
597 (md_assemble): Replace use of repprefixok, islockable, and
598 notrackprefixok.
599 (i386_index_check): Replace use of repprefixok.
600
e93a3b27
JB
6012021-03-09 Jan Beulich <jbeulich@suse.com>
602
603 * testsuite/gas/i386/noreg64.s: Add sysexit.
604 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
605 sysexitl and sysexitq.
606 * testsuite/gas/i386/noreg-intel64.l,
607 testsuite/gas/i386/noreg64-data16.d,
608 testsuite/gas/i386/noreg64-data16.e,
609 testsuite/gas/i386/noreg64-rex64.d,
610 testsuite/gas/i386/noreg64.d,
611 testsuite/gas/i386/noreg64.l,
612 testsuite/gas/i386/x86-64-sysenter-amd.d,
613 testsuite/gas/i386/x86-64-sysenter-amd.l,
614 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
615
fe0171d2
NC
6162021-02-26 Nick Clifton <nickc@redhat.com>
617
618 PR 27411
619 * config/tc-arm.c (do_t_add_sub): Correct error message.
620 * testsuite/gas/arm/pr27411.s: New test.
621 * testsuite/gas/arm/pr27411.d: New test driver.
622 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
623
55add51e
AM
6242021-02-24 Alan Modra <amodra@gmail.com>
625
626 PR 23691
627 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
628 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
629 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
630 and use alongside TARGET_CPU_CFILES.
631 (EXTRA_DIST): Update location of generated .c files.
632 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
633 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
634 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
635 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
636 dependencies.
637 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
638 (itbl-parse.c, itbl-parse.h): Tidy.
639 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
640 * config/bfin-lex.l: Include config/bfin-parse.h.
641 * configure.ac (extra_objects): Move object files corresponding
642 to .y and .l files now in config/ to config/.
643 * Makefile.in: Regenerate.
644 * configure: Regenerate.
645 * po/POTFILES.in: Regenerate.
646
0257c2ff
NC
6472021-02-19 Nick Clifton <nickc@redhat.com>
648
649 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
650 misleading indentation.
651
5a9f5403
NC
6522021-02-19 Nelson Chu <nelson.chu@sifive.com>
653
654 PR 27158
655 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
656 (md_apply_fix): Likewise.
657 (md_convert_frag_branch): Likewise.
658 (validate_riscv_insn): Likewise. Also arranged operands, including
659 added C5 and C6 operands, and removed unused Ci and C< operands.
660 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
661 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
662 * testsuite/gas/riscv/insn.s: Likewise.
663
3d73d29e
NC
6642021-02-18 Nelson Chu <nelson.chu@sifive.com>
665
666 * config/tc-riscv.c: Included cpu-riscv.h.
667 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
668 (struct riscv_csr_extra): Likewise.
669 (struct riscv_ext_version): Likewise.
670 (ext_version_table): Moved from opcodes/riscv-opc.c.
671 (default_isa_spec): Updated type to riscv_spec_class.
672 (default_priv_spec): Likewise.
673 (riscv_set_default_isa_spec): Updated.
674 (init_ext_version_hash): Likewise.
675 (riscv_init_csr_hash): Likewise, also fixed indent.
676
089485ff
AM
6772021-02-17 Alan Modra <amodra@gmail.com>
678
679 * testsuite/gas/elf/section28.d: xfail h8300.
680
ca1289b9
L
6812021-02-16 H.J. Lu <hongjiu.lu@intel.com>
682
683 PR gas/27412
684 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
685 when checking incorrect section attributes.
686 * testsuite/gas/elf/elf.exp: Run section28 and section29.
687 * testsuite/gas/elf/section28.d: New file.
688 * testsuite/gas/elf/section28.s: Likewise.
689 * testsuite/gas/elf/section29.d: Likewise.
690 * testsuite/gas/elf/section29.s: Likewise.
691
394ae71f
JB
6922021-02-16 Jan Beulich <jbeulich@suse.com>
693
694 * testsuite/gas/i386/sse-check.s,
695 testsuite/gas/i386/sse2avx.s,
696 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
697 * testsuite/gas/i386/sse-check-error.l,
698 testsuite/gas/i386/sse-check-warn.e,
699 testsuite/gas/i386/sse-check.d,
700 testsuite/gas/i386/sse2avx.d,
701 testsuite/gas/i386/x86-64-sse-check-error.l,
702 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
703 * testsuite/gas/i386/property-cvtpi2pd.s,
704 testsuite/gas/i386/property-cvtpi2pd.d,
705 testsuite/gas/i386/property-cvtpi2ps.s,
706 testsuite/gas/i386/property-cvtpi2ps.d: New.
707 * testsuite/gas/i386/i386.exp: Run new tests.
708
3d70986f
JB
7092021-02-16 Jan Beulich <jbeulich@suse.com>
710
711 * config/tc-i386.c (md_assemble): Use template rather than
712 actuals when updating i.xstate.
713 * testsuite/gas/i386/property-4.d,
714 testsuite/gas/i386/property-5.d,
715 testsuite/gas/i386/property-12.d: Adjust expectations.
716
014d61ea
JB
7172021-02-16 Jan Beulich <jbeulich@suse.com>
718
719 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
720 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
721 * testsuite/gas/i386/property-ldmxcsr.s,
722 testsuite/gas/i386/property-ldmxcsr.d,
723 testsuite/gas/i386/property-vldmxcsr.s,
724 testsuite/gas/i386/property-vldmxcsr.d,
725 testsuite/gas/i386/property-vzeroall.s,
726 testsuite/gas/i386/property-vzeroall.d: New.
727 * testsuite/gas/i386/i386.exp: Run new tests.
728
cbe68696
JB
7292021-02-16 Jan Beulich <jbeulich@suse.com>
730
731 * testsuite/gas/i386/i386.exp: Move bitness-independent property
732 tests to bitness independent section.
733 * testsuite/gas/i386/x86-64-property-2.d,
734 testsuite/gas/i386/x86-64-property-3.d,
735 testsuite/gas/i386/x86-64-property-4.d,
736 testsuite/gas/i386/x86-64-property-5.d,
737 testsuite/gas/i386/x86-64-property-6.d,
738 testsuite/gas/i386/x86-64-property-10.d,
739 testsuite/gas/i386/x86-64-property-11.d,
740 testsuite/gas/i386/x86-64-property-12.d,
741 testsuite/gas/i386/x86-64-property-13.d: Delete.
742
c2f1204d
JB
7432021-02-16 Jan Beulich <jbeulich@suse.com>
744
745 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
746 movdir.s.
747 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
748
9a12b194
AM
7492021-02-16 Alan Modra <amodra@gmail.com>
750
751 PR 27426
752 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
753 in another place.
754
70433886
AM
7552021-02-16 Alan Modra <amodra@gmail.com>
756
757 * read.c (demand_copy_C_string): Really check for embedded zeros.
758
ba2b480f
AK
7592021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
760
761 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
762 * doc/c-s390.texi: Document arch14 march option.
763 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
764 * testsuite/gas/s390/zarch-arch14.d: New test.
765 * testsuite/gas/s390/zarch-arch14.s: New test.
766
c46b7066
NC
7672021-02-12 Nick Clifton <nickc@redhat.com>
768
769 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
770 following.
771 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
772
3c1d4101
AM
7732021-02-12 Alan Modra <amodra@gmail.com>
774
775 * testsuite/gas/all/pr27381.err: Don't match source file name.
776 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
777 * testsuite/gas/all/pr27384.err: Don't match source file name.
778 Adjust line number.
779 * testsuite/gas/all/pr27384.s: Add ".text" directive.
780 * testsuite/gas/elf/pr27355.err: Don't match source file name.
781
933feaf3
AM
7822021-02-11 Alan Modra <amodra@gmail.com>
783
784 * NEWS: Mention arm-symbianelf removal.
785
01e8b831
NC
7862021-02-10 Nick Clifton <nickc@redhat.com>
787
788 * listing.c (buffer_line): Remove debugging code accidentally
789 included with the fix for PR 27384.
790
284beb43
NC
7912021-02-09 Nick Clifton <nickc@redhat.com>
792
793 PR 27381
794 * read.c (s_incbin): Check that the file to be included is a
795 regular, non-directory file.
796 * testsuite/gas/all/pr27381.s: New test source file.
797 * testsuite/gas/all/pr27381.d: New test control file.
798 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
799 * testsuite/gas/all/gas.exp: Run the new test.
800
a57d1773
AM
8012021-02-09 Alan Modra <amodra@gmail.com>
802
803 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
804 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
805 support.
806 * config/te-symbian.h: Delete.
807 * configure.tgt: Remove arm-*-symbianelf*.
808 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
809 target selection.
810 * testsuite/gas/arm/arch4t.d: Likewise.
811 * testsuite/gas/arm/got_prel.d: Likewise.
812 * testsuite/gas/arm/mapdir.d: Likewise.
813 * testsuite/gas/arm/mapmisc.d: Likewise.
814 * testsuite/gas/arm/mapsecs.d: Likewise.
815 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
816 * testsuite/gas/arm/thumb-eabi.d: Likewise.
817 * testsuite/gas/arm/thumb.d: Likewise.
818 * testsuite/gas/arm/thumbrel.d: Likewise.
819 * Makefile.in: Regenerate.
820 * po/POTFILES.in: Regenerate.
821
4a68fcd7
NC
8222021-02-09 Nick Clifton <nickc@redhat.com>
823
824 PR 27384
825 * listing.c (listing_psize): Check the result of the width
826 expression before assigning it to paper_width.
827 * testsuite/gas/all/pr27384.s: New test source file.
828 * testsuite/gas/all/pr27384.d: New test control file.
829 * testsuite/gas/all/pr27384.err: Expected errors from new test.
830 * testsuite/gas/all/gas.exp: Run the new test.
831
52563b0f
NC
8322021-02-09 Nick Clifton <nickc@redhat.com>
833
834 PR 27355
835 * testsuite/gas/elf/pr27355.s: New test source file.
836 * testsuite/gas/elf/pr27355.d: New test control file.
837 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
838 * testsuite/gas/elf/elf.exp: Run the new test.
839
bfd428bc
MF
8402021-02-08 Mike Frysinger <vapier@gentoo.org>
841
842 * config/tc-tic54x (tic54x_mmregs): Rename to ...
843 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
844 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
845 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
846 cc2_codes, cc3_codes, status_bits, and misc_symbols.
847
80b652ef
NC
8482021-02-08 Nick Clifton <nickc@redhat.com>
849
850 PR 27355
851 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
852 if it has not already been created.
853
24075dcc
NC
8542021-02-04 Nelson Chu <nelson.chu@sifive.com>
855
856 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
857 INSN_CLASS_ZB*.
858 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
859 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
860 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
861
61ecbbae
AK
8622021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
863
864 * doc/c-s390.texi: Document vector instruction formats.
865
1f568f9a
EH
8662021-02-01 Emery Hemingway <ehmry@posteo.net>
867
868 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
869
7bba67ec
AM
8702021-02-01 Alan Modra <amodra@gmail.com>
871
872 PR 27283
873 * config/tc-alpha.c (insert_operand): Delete dead code.
874
1f583bc2
L
8752021-01-26 H.J. Lu <hongjiu.lu@intel.com>
876
877 PR gas/27243
878 * config/tc-nios2.c (md_begin): Don't disable relaxation with
879 --gdwarf-N.
880 * testsuite/gas/nios2/relax.d: New file.
881 * testsuite/gas/nios2/relax.s: Likewise.
882
a45ef9a3
AM
8832021-01-26 Alan Modra <amodra@gmail.com>
884
885 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
886 notarget all except hppa. Comment.
887 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
888 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
889 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
890 * testsuite/gas/all/sleb128-7.d: Likewise.
891 * testsuite/gas/all/sleb128-9.d: Likewise.
892 * testsuite/gas/elf/bignums.d: Likewise.
893 * testsuite/gas/elf/group0c.d: Likewise.
894 * testsuite/gas/elf/group1a.d: Likewise.
895 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
896 * testsuite/gas/elf/section15.d: Likewise.
897 * testsuite/gas/elf/section4.d: Likewise.
898 * testsuite/gas/elf/section7.d: Likewise.
899 * testsuite/gas/macros/irp.d: Likewise.
900 * testsuite/gas/macros/repeat.d: Likewise.
901 * testsuite/gas/macros/rept.d: Likewise.
902 * testsuite/gas/macros/test2.d: Likewise.
903 * testsuite/gas/macros/vararg.d: Likewise.
904 * testsuite/gas/all/string.d: Use xfail rather than skip.
905 * testsuite/gas/elf/missing-build-notes.d: Likewise.
906 * testsuite/gas/elf/section0.d: Likewise.
907 * testsuite/gas/elf/section1.d: Likewise.
908 * testsuite/gas/elf/section10.d: Likewise.
909 * testsuite/gas/elf/section11.d: Likewise.
910 * testsuite/gas/elf/section6.d: Likewise.
911 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
912 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
913 * testsuite/gas/macros/test3.d: Don't notarget nds32.
914
9886ff03
AM
9152021-01-26 Alan Modra <amodra@gmail.com>
916
917 * testsuite/gas/all/byte.d,
918 * testsuite/gas/all/byte.l,
919 * testsuite/gas/all/byte.s: Delete.
920 * testsuite/gas/all/gas.exp: Don't run byte test.
921
4287950e
AM
9222021-01-26 Alan Modra <amodra@gmail.com>
923
924 PR 27282
925 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
926 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
927
eea133e6
L
9282021-01-24 H.J. Lu <hongjiu.lu@intel.com>
929
930 PR gas/27228
931 * testsuite/gas/elf/elf.exp: Run pr27228.
932 * testsuite/gas/elf/pr27228.d: New file.
933 * testsuite/gas/elf/pr27228.s: Likewise.
934
68fcee4f
AM
9352021-01-24 Alan Modra <amodra@gmail.com>
936
937 PR 27228
938 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
939 is defined.
940
be07043e
AM
9412021-01-21 Alan Modra <amodra@gmail.com>
942
943 PR 27221
944 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
945 line number info when gas is generating it.
946 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
947 * testsuite/gas/m68hc11/indexed12.d: Likewise.
948 * testsuite/gas/elf/elf.exp: Don't run warn-2.
949 * gas/testsuite/gas/elf/warn-2.s: Delete.
950
498ff032
AM
9512021-01-21 Alan Modra <amodra@gmail.com>
952
953 PR 27218
954 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
955 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
956 error for negative file numbers.
957
4bd7c902
AM
9582021-01-20 Alan Modra <amodra@gmail.com>
959
960 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
961 * testsuite/gas/ppc/test1elf32.d: Likewise.
962 * testsuite/gas/ppc/test1elf64.d: Likewise.
963
705989f1
L
9642021-01-18 H.J. Lu <hongjiu.lu@intel.com>
965
966 PR gas/27195
967 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
968 needed.
969 (dwarf2_directive_filename): Likewise.
970 (dwarf2_directive_loc): Likewise.
971 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
972 * testsuite/gas/lns/lns-diag-1.l: Remove the
973 "Error: file number less than one" errors.
974
44365e88
AM
9752021-01-18 Alan Modra <amodra@gmail.com>
976
977 PR 27198
978 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
979 * testsuite/gas/i386/pr27198.d,
980 * gas/testsuite/gas/i386/pr27198.err,
981 * gas/testsuite/gas/i386/pr27198.s: New test.
982 * gas/testsuite/gas/i386/i386.exp: Run it.
983
1942a048
NC
9842021-01-15 Nelson Chu <nelson.chu@sifive.com>
985
986 * config/tc-riscv.c: Indent and GNU coding standards tidy,
987 also aligned the code.
988 * config/tc-riscv.h: Likewise.
989
b800637e
NC
9902021-01-15 Nelson Chu <nelson.chu@sifive.com>
991
992 * config/tc-riscv.c: Error and warning messages tidy.
993 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
994 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
995 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
996 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
997 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
998 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
999 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1000
dcd709e0
NC
10012021-01-15 Nelson Chu <nelson.chu@sifive.com>
1002
1003 * config/tc-riscv.c: Comments tidy and improvement. Also update
1004 comment "fallthru" to "Fall through" that end with a period and
1005 two spaces.
1006
5fda40b2
MF
10072021-01-14 Mike Frysinger <vapier@gentoo.org>
1008
1009 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
1010 Delete warning that these are only available with ELF targets.
1011 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
1012 * read.c (potable): ... here.
1013
abad2815
MF
10142021-01-14 Mike Frysinger <vapier@gentoo.org>
1015
1016 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
1017 * Makefile.in: Regenerated.
1018
adb0bd8f
MF
10192021-01-14 Mike Frysinger <vapier@gentoo.org>
1020
1021 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
1022 (parse_int): Mark char_bag const.
1023
844bf810
L
10242021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 PR gas/27178
1027 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
1028 Don't generate GOT_symbol for PLT relocations.
1029 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
1030 * testsuite/gas/i386/no-got.d: New file.
1031 * testsuite/gas/i386/no-got.s: Likewise.
1032 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
1033 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
1034
5347ed60
AM
10352021-01-13 Alan Modra <amodra@gmail.com>
1036
1037 * Makefile.in: Regenerate.
1038 * Makefile.in: Regenerate.
1039
d546b610
L
10402021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 PR binutils/26792
1043 * configure.ac: Use GNU_MAKE_JOBSERVER.
1044 * aclocal.m4: Regenerated.
1045 * configure: Likewise.
1046
6d104cac
NC
10472021-01-12 Nick Clifton <nickc@redhat.com>
1048
1049 * po/fr.po: Updated French translation.
1050
83b33c6c
L
10512021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 PR ld/27173
1054 * configure: Regenerated.
1055
82c70b08
KT
10562021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1057
1058 * NEWS: Remove CSRE.
1059 * config/tc-aarch64.c (parse_csr_operand): Delete.
1060 (parse_operands): Delete handling of
1061 AARCH64_OPND_CSRE_CSR.
1062 (aarch64_features): Remove csre.
1063 * doc/c-aarch64.texi: Remove CSRE.
1064 * testsuite/gas/aarch64/csre.d: Delete.
1065 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
1066 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
1067 * testsuite/gas/aarch64/csre_csr.s: Likewise.
1068 * testsuite/gas/aarch64/csre_csr.d: Likewise.
1069 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
1070 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
1071 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
1072
a8aa72b9
NC
10732021-01-11 Nick Clifton <nickc@redhat.com>
1074
1075 * po/uk.po: Updated Ukranian translation.
1076
a4966cd9
L
10772021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * configure: Regenerated.
1080
573fe3fb
NC
10812021-01-09 Nick Clifton <nickc@redhat.com>
1082
1083 * configure: Regenerate.
1084 * po/gas.pot: Regenerate.
1085
055bc77a
NC
10862021-01-09 Nick Clifton <nickc@redhat.com>
1087
1088 * 2.36 release branch crated.
1089
aae7fcb8
PB
10902021-01-08 Peter Bergner <bergner@linux.ibm.com>
1091
1092 * testsuite/gas/ppc/rop-checks.d,
1093 * testsuite/gas/ppc/rop-checks.l,
1094 * testsuite/gas/ppc/rop-checks.s,
1095 * testsuite/gas/ppc/rop.d,
1096 * testsuite/gas/ppc/rop.s: New tests.
1097 * testsuite/gas/ppc/ppc.exp: Run them.
1098
64307045
AM
10992021-01-09 Alan Modra <amodra@gmail.com>
1100
1101 * configure: Regenerate.
1102
f4782128
ST
11032021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1104
1105 * configure: Regenerate.
1106
d1bcae83
L
11072021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 PR 27109
1110 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
1111 section symbol.
1112 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
1113 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
1114 on the section symbol.
1115 (set_symtab): Don't generate unused section symbols.
1116 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
1117 on the section symbol.
1118 * config/obj-elf.c (elf_adjust_symtab): Call
1119 symbol_mark_used_in_reloc on the group signature symbol.
1120 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
1121 from expected output.
1122 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
1123 is_elf_unused_section_symbols.
1124 * testsuite/gas/elf/section2.e: Updated.
1125 * testsuite/gas/elf/section2.e-unused: New file.
1126 * testsuite/gas/elf/symver.d: Remove unused section symbols.
1127 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
1128 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
1129 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
1130 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
1131 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
1132 * testsuite/gas/i386/size-1.d: Likewise.
1133 * testsuite/gas/i386/size-3.d: Likewise.
1134 * testsuite/gas/i386/svr4.d: Likewise.
1135 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
1136 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
1137 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
1138 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1139
aa881ecd
PT
11402021-01-07 Philipp Tomsich <prt@gnu.org>
1141
1142 * config/tc-riscv.c (riscv_multi_subset_supports): Added
1143 INSN_CLASS_ZIHINTPAUSE.
1144 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
1145 the pause hint instruction.
1146 * testsuite/gas/riscv/pause.s: Likewise.
1147
2652cfad
CXW
11482021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
1149 Jim Wilson <jimw@sifive.com>
1150 Andrew Waterman <andrew@sifive.com>
1151 Maxim Blinov <maxim.blinov@embecosm.com>
1152 Kito Cheng <kito.cheng@sifive.com>
1153 Nelson Chu <nelson.chu@sifive.com>
1154
1155 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
1156 (riscv_get_default_ext_version): Do not check the default_isa_spec when
1157 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
1158 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
1159 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
1160 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
1161
85f55c2b
AM
11622021-01-06 Alan Modra <amodra@gmail.com>
1163
1164 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
1165
22206e84
AM
11662021-01-06 Alan Modra <amodra@gmail.com>
1167
1168 * testsuite/gas/macros/app1.d: xfail tic30.
1169 * testsuite/gas/macros/app2.d: Likewise.
1170 * testsuite/gas/macros/app3.d: Likewise.
1171 * testsuite/gas/macros/app4.d: Likewise.
1172
286d2f2c
MC
11732021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1174
1175 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
1176 * doc/c-riscv.texi: Likewise.
1177
f36ce378
MC
11782021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1179
1180 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
1181 to littleriscv.
1182 * testsuite/gas/riscv/li64.d: Likewise.
1183 * testsuite/gas/riscv/lla32.d: Likewise.
1184 * testsuite/gas/riscv/lla64.d: Likewise.
1185 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
1186 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
1187 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
1188 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
1189 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
1190 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
1191 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
1192
fbc09e7a
MC
11932021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1194
1195 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
1196 elf32-bigriscv.
1197 (install_insn): Always write instructions as little endian.
1198 (riscv_make_nops): Likewise.
1199 (md_convert_frag_branch): Likewise.
1200 (md_number_to_chars): Write data in target endianness.
1201 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
1202 (md_parse_option): Handle the endian options.
1203 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
1204 already defined.
1205 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
1206
cd6d537c
L
12072021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1208
1209 PR ld/26256
1210 * config/obj-elf.c (obj_elf_change_section): Also filter out
1211 SHF_LINK_ORDER.
1212
dd933805
AM
12132021-01-04 Alan Modra <amodra@gmail.com>
1214
1215 PR 27102
1216 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
1217 message and register symbol error message.
1218
90320e40
AM
12192021-01-04 Alan Modra <amodra@gmail.com>
1220
1221 PR 27101
1222 * read.c (s_align): Use a large enough type for "align" to hold
1223 the result of get_absolute_expression.
1224
f9a6a8f0
AM
12252021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1226
1227 * config/tc-i386.c: Correct comment spelling.
1228 * config/tc-riscv.c: Likewise.
1229 * config/tc-s390.c: Correct comment grammar.
1230 * doc/c-i386.texi: Correct spelling.
1231 * doc/c-s390.texi: Correct grammar.
1232
250d07de
AM
12332021-01-01 Alan Modra <amodra@gmail.com>
1234
1235 Update year range in copyright notice of all files.
1236
64d05a43
HPN
12372021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1238
1239 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
1240
c2795844 1241For older changes see ChangeLog-2020
3499769a 1242\f
c2795844 1243Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1244
1245Copying and distribution of this file, with or without modification,
1246are permitted in any medium without royalty provided the copyright
1247notice and this notice are preserved.
1248
1249Local Variables:
1250mode: change-log
1251left-margin: 8
1252fill-column: 74
1253version-control: never
1254End: