]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
x86: drop seg_entry
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
5e042380
JB
12021-03-30 Jan Beulich <jbeulich@suse.com>
2
3 * config/tc-i386.c (build_modrm_byte): Change return type.
4 Change type of "default_seg". Use NULL. Adjust setting of
5 "default_seg".
6 (reg_ds, reg_es, reg_ss): New.
7 (struct _i386_insn): Change type of seg[].
8 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
9 (swap_operands): Change type of "temp_seg".
10 (check_string): Adjust %es check.
11 (process_operands): Change type of "default_seg". Use NULL.
12 Adjust segment override processing..
13 (i386_att_operand): Adjust segment override handling.
14 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
15
34684862
JB
162021-03-30 Jan Beulich <jbeulich@suse.com>
17
18 * config/tc-i386.c (reg_eax): New.
19 (md_begin): Initialize reg_eax.
20 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
21 reg_eax.
22 (i386_intel_simplify): Likewise.
23
6288d05f
JB
242021-03-30 Jan Beulich <jbeulich@suse.com>
25
26 * config/tc-i386.c (reg_st0): New.
27 (md_begin): Convert to switch(). Initialize reg_st0. Don't
28 insert other st(N).
29 (parse_real_register): Adjust st(N) processing.
30
ca5312a2
JB
312021-03-30 Jan Beulich <jbeulich@suse.com>
32
33 * config/tc-i386.c (rc_op): Delete.
34 (struct Rounding_Operation): Move ...
35 (struct _i386_insn): ... here. Change field "rounding".
36 (build_evex_prefix): Adjust rounding processing.
37 (swap_2_operands): Likewise.
38 (check_VecOperands): Likewise.
39 (RC_SAE_immediate): Likewise.
40 (optimize_encoding): Adjust check for rounding.
41 (build_modrm_byte): Likewise.
42 (output_imm): Likewise.
43 (md_assemble): Initialize rounding type.
44
5273a3cd
JB
452021-03-30 Jan Beulich <jbeulich@suse.com>
46
47 * config/tc-i386.c (broadcast_op): Delete.
48 (struct Broadcast_Operation): Move ...
49 (struct _i386_insn): ... here. Change field "broadcast".
50 (match_mem_size): Adjust check for broadcast.
51 (optimize_encoding): Likewise.
52 (process_suffix): Likewise.
53 (build_evex_prefix): Adjust broadcast processing.
54 (swap_2_operands): Likewise.
55 (check_VecOperations): Likewise.
56 (match_template): Likewise.
57 (check_VecOperands): Likewise.
58
6225c532
JB
592021-03-30 Jan Beulich <jbeulich@suse.com>
60
61 * config/tc-i386.c (reg_k0): New.
62 (mask_op): Delete.
63 (struct Mask_Operation): Move ...
64 (struct _i386_insn): ... here. Change field "mask".
65 (md_begin): Initialize reg_k0.
66 (build_evex_prefix): Adjust mask processing.
67 (swap_2_operands): Likewise.
68 (check_VecOperands): Likewise.
69 (check_VecOperations): Likewise.
70 (optimize_encoding): Adjust checks for masking.
71 (output_insn): Likewise.
72
783c187b
JB
732021-03-30 Jan Beulich <jbeulich@suse.com>
74
75 * config/tc-i386.c (swap_2_operands): Switch parameters to
76 unsigned.
77 (struct RC_Operation): Switch operand field to unsigned.
78 (struct Mask_Operation): Likewise.
79 (struct Broadcast_Operation): Likewise.
80 (build_evex_prefix): Drop cast.
81 (check_VecOperands): Likewise.
82 (build_modrm_byte): Likewise.
83 (output_imm): Likewise.
84 (check_VecOperations): Add casts to unsigned.
85
c8cad9d3
JB
862021-03-29 Jan Beulich <jbeulich@suse.com>
87
88 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
89 * testsuite/gas/i386/x86-64-avx-swap-2.d.
90 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
91
389d00a5
JB
922021-03-29 Jan Beulich <jbeulich@suse.com>
93
94 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
95 checks by opcodespace ones.
96 (insert_lfence_before): Likewise.
97 (maybe_fused_with_jcc_p): Likewise.
98 (add_branch_padding_frag_p): Likewise.
99 (output_disp): Likewise.
100 (load_insn_p): Re-arrange checks to key applicable ones off of
101 an opcodespace check.
102 (md_assemble): Adjust opcode checks.
103 (check_byte_reg): Likewise.
104 (process_operands): Likewise.
105 (i386_index_check): Likewise.
106 (process_suffix): Likewise. New local variable is_movx. Adjust
107 movsx/movzx and crc32 handling.
108 (output_insn): Adjust opcode checks. Drop no longer reachable
109 case labels. Output legacy encoding prefixes in addition to the
110 base_opcode byte(s). Rework counting of prefixes for extended
111 opcode maps.
112 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
113 opcode checks.
114
63b4cc53
AM
1152021-03-29 Alan Modra <amodra@gmail.com>
116
117 * atof-generic.c (FALSE, TRUE): Don't define.
118 * config/obj-elf.h (FALSE, TRUE): Don't define.
119 * config/obj-som.h (FALSE, TRUE): Don't define.
120 * config/tc-hppa.h (FALSE, TRUE): Don't define.
121 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
122 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
123 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
124 * config/tc-mt.h (obj_fix_adjustable): Delete.
125 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
126 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
127 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
128 (tokenize_extregister): Likewise.
129 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
130 (parse_operands_op, parse_operands, md_assemble): Likewise.
131 * config/tc-d10v.c (build_insn): Likewise.
132 * config/tc-score.c (s3_gen_insn_frag): Likewise.
133 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
134 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
135 * config/tc-z80.c (emit_byte): Likewise.
136
854f1e4b
AM
1372021-03-29 Alan Modra <amodra@gmail.com>
138
139 * config/tc-arm.c (struct arm_long_option_table <func>): Return
140 bfd_boolean.
141 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
142 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
143 with bfd_boolean.
144 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
145 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
146 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
147 logical expressions.
148 (struct metag_long_option <func>): Return bfd_boolean.
149 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
150 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
151 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
152 (no_operands, lex_force_match, lex_reg_list): Likewise.
153 (size_from_suffix): Return int.
154 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
155 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
156
c3344b62
JB
1572021-03-26 Jan Beulich <jbeulich@suse.com>
158
159 * testsuite/gas/i386/x86-64-nosse2.s,
160 testsuite/gas/i386/x86-64-nosse2.l: New.
161 * testsuite/gas/i386/i386.exp: Run new test.
162
efa30ac3
HAQ
1632021-03-25 Abid Qadeer <abidh@codesourcery.com>
164
165 * testsuite/gas/nios2/brn.d: New.
166 * testsuite/gas/nios2/brn.d: New.
167
5e74b495
JB
1682021-03-25 Jan Beulich <jbeulich@suse.com>
169
170 * config/tc-i386.c (match_template): Use t instead of i.tm.
171
596a02ff
JB
1722021-03-25 Jan Beulich <jbeulich@suse.com>
173
174 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
175 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
176 colliding registers in the upper half of the space.
177 * testsuite/gas/i386/avx512f-nondef.d,
178 testsuite/gas/i386/vgather-check.d,
179 testsuite/gas/i386/x86-64-vgather-check.d,
180 testsuite/gas/i386/x86-64-vgather-check-error.l,
181 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
182 expecations.
183 * testsuite/gas/i386/vgather-check-none.d,
184 testsuite/gas/i386/vgather-check-warn.d,
185 testsuite/gas/i386/x86-64-vgather-check-none.d,
186 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
187 tests for expected dump output.
188
53642852
JB
1892021-03-25 Jan Beulich <jbeulich@suse.com>
190
191 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
192 without mask register.
193 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
194
c0e54661
JB
1952021-03-25 Jan Beulich <jbeulich@suse.com>
196
197 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
198 swapping operands for.
199 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
200 syntax tests.
201 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
202 well as Intel syntax tests.
203 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
204 expectations.
205 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
206 Likewise. Drop passing --def-sym to as.
207
829f3fe1
JB
2082021-03-25 Jan Beulich <jbeulich@suse.com>
209
210 PR/gas 27419
211 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
212 conversion to x32 mode.
213 * testsuite/gas/i386/ilp32/enqcmd.s,
214 testsuite/gas/i386/ilp32/enqcmd.d,
215 testsuite/gas/i386/ilp32/movdir.s,
216 testsuite/gas/i386/ilp32/movdir.d: New.
217 * testsuite/gas/i386/x86-64-enqcmd.s,
218 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
219 cases.
220 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
221 (%eip) cases.
222 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
223 * testsuite/gas/i386/x86-64-enqcmd.d,
224 testsuite/gas/i386/x86-64-enqcmd-intel.d,
225 testsuite/gas/i386/x86-64-enqcmd-inval.l,
226 testsuite/gas/i386/x86-64-movdir.d,
227 testsuite/gas/i386/x86-64-movdir-intel.d,
228 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
229
5a403766
AM
2302021-03-25 Alan Modra <amodra@gmail.com>
231
232 PR 27647
233 * testsuite/gas/ppc/a2.d: Update expected output.
234 * testsuite/gas/ppc/power8.d: Likewise.
235
9a182d04
JB
2362021-03-24 Jan Beulich <jbeulich@suse.com>
237
238 * config/tc-i386.c (struct _i386_insn): New field
239 opcode_length.
240 (md_begin): Drop assertion.
241 (install_template): New.
242 (build_vex_prefix): Call install_template.
243 (match_template): Likewise.
244 (process_operands): Use new opcode_length field.
245 (output_jump): Likewise.
246 (output_insn): Likewise. Adjust psedo prefix check.
247
35648716
JB
2482021-03-24 Jan Beulich <jbeulich@suse.com>
249
250 * config/tc-i386.c (md_begin): Add assertion.
251 (build_vex_prefix): Drop implied prefix calculation.
252 (build_evex_prefix): Likewise.
253 (optimize_encoding): Adjust opcode checks.
254 (load_insn_p): Also check opcodeprefix.
255 (match_template): Also check opcodespace.
256 (process_suffix): Likewise.
257 (process_operands): Likewise.
258 (output_insn): Likewise. Also check isprefix when discaring
259 standalone LOCK.
260 * config/tc-i386-intel.c (i386_intel_operand): Also check
261 opcodespace.
262
31184569
JB
2632021-03-24 Jan Beulich <jbeulich@suse.com>
264
265 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
266 base_opcode and extension_opcode.
267
b933fa4b
JB
2682021-03-23 Jan Beulich <jbeulich@suse.com>
269
270 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
271
dac10fb0
JB
2722021-03-23 Jan Beulich <jbeulich@suse.com>
273
274 * config/tc-i386.c (output_i386_opcode): Invoke
275 process_i386_cpu_flag() slightly later.
276 (process_i386_opcodes): Likewise.
277
441f6aca
JB
2782021-03-23 Jan Beulich <jbeulich@suse.com>
279
280 * config/tc-i386.c (pte): Print prefix and encoding space.
281 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
282 (build_evex_prefix): Likewise.
283 (load_insn_p): Likewise.
284
70e95837
JB
2852021-03-23 Jan Beulich <jbeulich@suse.com>
286
287 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
288 if()-s.
289 (match_template, output_insn): Use PREFIX_NONE.
290
a152332d
JB
2912021-03-23 Jan Beulich <jbeulich@suse.com>
292
293 * config/tc-i386.c (i386_index_check): New local variable t.
294 Correct MPX insn check.
295 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
296 MPX insn check.
297 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
298 index scaling by other than 1.
299 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
300
08dedd66
ML
3012021-03-22 Martin Liska <mliska@suse.cz>
302
303 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
304 (x86_64_section_word): Likewise.
305 * config/tc-sparc.c (md_parse_option): Likewise.
306
826b97d4
AM
3072021-03-19 Alan Modra <amodra@gmail.com>
308
309 * app.c (do_scrub_chars): Don't lose spaces before a slash.
310
3273f9a1
CG
3112021-03-18 Christian Groessler <chris@groessler.org>
312
313 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
314 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
315
80d49d6a
KLC
3162021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
317
318 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
319 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
320 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
321 * testsuite/gas/riscv/b-ext-64.d: Likewise.
322 * testsuite/gas/riscv/b-ext.s: Likewise.
323 * testsuite/gas/riscv/b-ext.d: Likewise.
324
7fce7ea9
PW
3252021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
326
327 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
328 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
329 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
330 * testsuite/gas/aarch64/sysreg-7.d: New test.
331 * testsuite/gas/aarch64/sysreg-7.s: New test.
332
1b2cb8e2
CC
3332021-03-12 Clément Chigot <clement.chigot@atos.net>
334
335 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
336 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
337 (ppc_xcoff_tbss_section): New variables.
338 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
339 (ppc_data_csects): Removed.
340 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
341 ppc_xcoff_parse_cons): New functions.
342 (md_being): Initialize XCOFF sections.
343 (ppc_xcoff_suffix): Add support for TLS relocations
344 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
345 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
346 to .bss section. Handle new XCOFF section variables.
347 (ppc_comm): Likewise.
348 (ppc_toc): Likewise.
349 (ppc_symbol_new_hook): Likewise.
350 (ppc_frob_symbol): Likewise.
351 (ppc_fix_adjustable): Add tbss support.
352 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
353 (ppc_xcoff_parse_cons): Add prototype.
354 (struct ppc_xcoff_section): New structure.
355
4a403be0
CC
3562021-03-12 Clément Chigot <clement.chigot@atos.net>
357
358 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
359 (MAP, MAP32, MAP64): New macros for XCOFF.
360 (ppc_xcoff_fixup_addis): New function.
361 (ppc_is_toc_sym): Handle XMC_TE.
362 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
363 BFD_RELOC_PPC_TOC16_LO.
364 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
365 (ppc_change_csect): Handle XMC_TE.
366 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
367 storage class.
368 (ppc_symbol_new_hook): Handle XMC_TE.
369 (ppc_frob_symbol): Likewise.
370 (ppc_fix_adjustable): Likewise.
371 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
372 BFD_RELOC_PPC_TOC16_LO.
373
b763d508
JB
3742021-03-10 Jan Beulich <jbeulich@suse.com>
375
376 * testsuite/gas/i386/avx512f-intel.d,
377 testsuite/gas/i386/avx512f_vl-intel.d,
378 testsuite/gas/i386/avx512pf-intel.d,
379 testsuite/gas/i386/x86-64-avx512f-intel.d,
380 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
381 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
382
31941983
JB
3832021-03-10 Jan Beulich <jbeulich@suse.com>
384
385 * testsuite/gas/i386/prefetch.d,
386 testsuite/gas/i386/prefetch-intel.d,
387 testsuite/gas/i386/x86-64-prefetch.d,
388 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
389 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
390 * testsuite/gas/i386/i386.exp: Run new test.
391
742732c7
JB
3922021-03-09 Jan Beulich <jbeulich@suse.com>
393
394 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
395 (md_assemble): Replace use of repprefixok, islockable, and
396 notrackprefixok.
397 (i386_index_check): Replace use of repprefixok.
398
e93a3b27
JB
3992021-03-09 Jan Beulich <jbeulich@suse.com>
400
401 * testsuite/gas/i386/noreg64.s: Add sysexit.
402 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
403 sysexitl and sysexitq.
404 * testsuite/gas/i386/noreg-intel64.l,
405 testsuite/gas/i386/noreg64-data16.d,
406 testsuite/gas/i386/noreg64-data16.e,
407 testsuite/gas/i386/noreg64-rex64.d,
408 testsuite/gas/i386/noreg64.d,
409 testsuite/gas/i386/noreg64.l,
410 testsuite/gas/i386/x86-64-sysenter-amd.d,
411 testsuite/gas/i386/x86-64-sysenter-amd.l,
412 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
413
fe0171d2
NC
4142021-02-26 Nick Clifton <nickc@redhat.com>
415
416 PR 27411
417 * config/tc-arm.c (do_t_add_sub): Correct error message.
418 * testsuite/gas/arm/pr27411.s: New test.
419 * testsuite/gas/arm/pr27411.d: New test driver.
420 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
421
55add51e
AM
4222021-02-24 Alan Modra <amodra@gmail.com>
423
424 PR 23691
425 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
426 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
427 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
428 and use alongside TARGET_CPU_CFILES.
429 (EXTRA_DIST): Update location of generated .c files.
430 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
431 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
432 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
433 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
434 dependencies.
435 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
436 (itbl-parse.c, itbl-parse.h): Tidy.
437 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
438 * config/bfin-lex.l: Include config/bfin-parse.h.
439 * configure.ac (extra_objects): Move object files corresponding
440 to .y and .l files now in config/ to config/.
441 * Makefile.in: Regenerate.
442 * configure: Regenerate.
443 * po/POTFILES.in: Regenerate.
444
0257c2ff
NC
4452021-02-19 Nick Clifton <nickc@redhat.com>
446
447 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
448 misleading indentation.
449
5a9f5403
NC
4502021-02-19 Nelson Chu <nelson.chu@sifive.com>
451
452 PR 27158
453 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
454 (md_apply_fix): Likewise.
455 (md_convert_frag_branch): Likewise.
456 (validate_riscv_insn): Likewise. Also arranged operands, including
457 added C5 and C6 operands, and removed unused Ci and C< operands.
458 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
459 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
460 * testsuite/gas/riscv/insn.s: Likewise.
461
3d73d29e
NC
4622021-02-18 Nelson Chu <nelson.chu@sifive.com>
463
464 * config/tc-riscv.c: Included cpu-riscv.h.
465 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
466 (struct riscv_csr_extra): Likewise.
467 (struct riscv_ext_version): Likewise.
468 (ext_version_table): Moved from opcodes/riscv-opc.c.
469 (default_isa_spec): Updated type to riscv_spec_class.
470 (default_priv_spec): Likewise.
471 (riscv_set_default_isa_spec): Updated.
472 (init_ext_version_hash): Likewise.
473 (riscv_init_csr_hash): Likewise, also fixed indent.
474
089485ff
AM
4752021-02-17 Alan Modra <amodra@gmail.com>
476
477 * testsuite/gas/elf/section28.d: xfail h8300.
478
ca1289b9
L
4792021-02-16 H.J. Lu <hongjiu.lu@intel.com>
480
481 PR gas/27412
482 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
483 when checking incorrect section attributes.
484 * testsuite/gas/elf/elf.exp: Run section28 and section29.
485 * testsuite/gas/elf/section28.d: New file.
486 * testsuite/gas/elf/section28.s: Likewise.
487 * testsuite/gas/elf/section29.d: Likewise.
488 * testsuite/gas/elf/section29.s: Likewise.
489
394ae71f
JB
4902021-02-16 Jan Beulich <jbeulich@suse.com>
491
492 * testsuite/gas/i386/sse-check.s,
493 testsuite/gas/i386/sse2avx.s,
494 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
495 * testsuite/gas/i386/sse-check-error.l,
496 testsuite/gas/i386/sse-check-warn.e,
497 testsuite/gas/i386/sse-check.d,
498 testsuite/gas/i386/sse2avx.d,
499 testsuite/gas/i386/x86-64-sse-check-error.l,
500 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
501 * testsuite/gas/i386/property-cvtpi2pd.s,
502 testsuite/gas/i386/property-cvtpi2pd.d,
503 testsuite/gas/i386/property-cvtpi2ps.s,
504 testsuite/gas/i386/property-cvtpi2ps.d: New.
505 * testsuite/gas/i386/i386.exp: Run new tests.
506
3d70986f
JB
5072021-02-16 Jan Beulich <jbeulich@suse.com>
508
509 * config/tc-i386.c (md_assemble): Use template rather than
510 actuals when updating i.xstate.
511 * testsuite/gas/i386/property-4.d,
512 testsuite/gas/i386/property-5.d,
513 testsuite/gas/i386/property-12.d: Adjust expectations.
514
014d61ea
JB
5152021-02-16 Jan Beulich <jbeulich@suse.com>
516
517 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
518 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
519 * testsuite/gas/i386/property-ldmxcsr.s,
520 testsuite/gas/i386/property-ldmxcsr.d,
521 testsuite/gas/i386/property-vldmxcsr.s,
522 testsuite/gas/i386/property-vldmxcsr.d,
523 testsuite/gas/i386/property-vzeroall.s,
524 testsuite/gas/i386/property-vzeroall.d: New.
525 * testsuite/gas/i386/i386.exp: Run new tests.
526
cbe68696
JB
5272021-02-16 Jan Beulich <jbeulich@suse.com>
528
529 * testsuite/gas/i386/i386.exp: Move bitness-independent property
530 tests to bitness independent section.
531 * testsuite/gas/i386/x86-64-property-2.d,
532 testsuite/gas/i386/x86-64-property-3.d,
533 testsuite/gas/i386/x86-64-property-4.d,
534 testsuite/gas/i386/x86-64-property-5.d,
535 testsuite/gas/i386/x86-64-property-6.d,
536 testsuite/gas/i386/x86-64-property-10.d,
537 testsuite/gas/i386/x86-64-property-11.d,
538 testsuite/gas/i386/x86-64-property-12.d,
539 testsuite/gas/i386/x86-64-property-13.d: Delete.
540
c2f1204d
JB
5412021-02-16 Jan Beulich <jbeulich@suse.com>
542
543 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
544 movdir.s.
545 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
546
9a12b194
AM
5472021-02-16 Alan Modra <amodra@gmail.com>
548
549 PR 27426
550 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
551 in another place.
552
70433886
AM
5532021-02-16 Alan Modra <amodra@gmail.com>
554
555 * read.c (demand_copy_C_string): Really check for embedded zeros.
556
ba2b480f
AK
5572021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
558
559 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
560 * doc/c-s390.texi: Document arch14 march option.
561 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
562 * testsuite/gas/s390/zarch-arch14.d: New test.
563 * testsuite/gas/s390/zarch-arch14.s: New test.
564
c46b7066
NC
5652021-02-12 Nick Clifton <nickc@redhat.com>
566
567 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
568 following.
569 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
570
3c1d4101
AM
5712021-02-12 Alan Modra <amodra@gmail.com>
572
573 * testsuite/gas/all/pr27381.err: Don't match source file name.
574 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
575 * testsuite/gas/all/pr27384.err: Don't match source file name.
576 Adjust line number.
577 * testsuite/gas/all/pr27384.s: Add ".text" directive.
578 * testsuite/gas/elf/pr27355.err: Don't match source file name.
579
933feaf3
AM
5802021-02-11 Alan Modra <amodra@gmail.com>
581
582 * NEWS: Mention arm-symbianelf removal.
583
01e8b831
NC
5842021-02-10 Nick Clifton <nickc@redhat.com>
585
586 * listing.c (buffer_line): Remove debugging code accidentally
587 included with the fix for PR 27384.
588
284beb43
NC
5892021-02-09 Nick Clifton <nickc@redhat.com>
590
591 PR 27381
592 * read.c (s_incbin): Check that the file to be included is a
593 regular, non-directory file.
594 * testsuite/gas/all/pr27381.s: New test source file.
595 * testsuite/gas/all/pr27381.d: New test control file.
596 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
597 * testsuite/gas/all/gas.exp: Run the new test.
598
a57d1773
AM
5992021-02-09 Alan Modra <amodra@gmail.com>
600
601 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
602 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
603 support.
604 * config/te-symbian.h: Delete.
605 * configure.tgt: Remove arm-*-symbianelf*.
606 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
607 target selection.
608 * testsuite/gas/arm/arch4t.d: Likewise.
609 * testsuite/gas/arm/got_prel.d: Likewise.
610 * testsuite/gas/arm/mapdir.d: Likewise.
611 * testsuite/gas/arm/mapmisc.d: Likewise.
612 * testsuite/gas/arm/mapsecs.d: Likewise.
613 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
614 * testsuite/gas/arm/thumb-eabi.d: Likewise.
615 * testsuite/gas/arm/thumb.d: Likewise.
616 * testsuite/gas/arm/thumbrel.d: Likewise.
617 * Makefile.in: Regenerate.
618 * po/POTFILES.in: Regenerate.
619
4a68fcd7
NC
6202021-02-09 Nick Clifton <nickc@redhat.com>
621
622 PR 27384
623 * listing.c (listing_psize): Check the result of the width
624 expression before assigning it to paper_width.
625 * testsuite/gas/all/pr27384.s: New test source file.
626 * testsuite/gas/all/pr27384.d: New test control file.
627 * testsuite/gas/all/pr27384.err: Expected errors from new test.
628 * testsuite/gas/all/gas.exp: Run the new test.
629
52563b0f
NC
6302021-02-09 Nick Clifton <nickc@redhat.com>
631
632 PR 27355
633 * testsuite/gas/elf/pr27355.s: New test source file.
634 * testsuite/gas/elf/pr27355.d: New test control file.
635 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
636 * testsuite/gas/elf/elf.exp: Run the new test.
637
bfd428bc
MF
6382021-02-08 Mike Frysinger <vapier@gentoo.org>
639
640 * config/tc-tic54x (tic54x_mmregs): Rename to ...
641 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
642 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
643 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
644 cc2_codes, cc3_codes, status_bits, and misc_symbols.
645
80b652ef
NC
6462021-02-08 Nick Clifton <nickc@redhat.com>
647
648 PR 27355
649 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
650 if it has not already been created.
651
24075dcc
NC
6522021-02-04 Nelson Chu <nelson.chu@sifive.com>
653
654 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
655 INSN_CLASS_ZB*.
656 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
657 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
658 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
659
61ecbbae
AK
6602021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
661
662 * doc/c-s390.texi: Document vector instruction formats.
663
1f568f9a
EH
6642021-02-01 Emery Hemingway <ehmry@posteo.net>
665
666 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
667
7bba67ec
AM
6682021-02-01 Alan Modra <amodra@gmail.com>
669
670 PR 27283
671 * config/tc-alpha.c (insert_operand): Delete dead code.
672
1f583bc2
L
6732021-01-26 H.J. Lu <hongjiu.lu@intel.com>
674
675 PR gas/27243
676 * config/tc-nios2.c (md_begin): Don't disable relaxation with
677 --gdwarf-N.
678 * testsuite/gas/nios2/relax.d: New file.
679 * testsuite/gas/nios2/relax.s: Likewise.
680
a45ef9a3
AM
6812021-01-26 Alan Modra <amodra@gmail.com>
682
683 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
684 notarget all except hppa. Comment.
685 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
686 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
687 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
688 * testsuite/gas/all/sleb128-7.d: Likewise.
689 * testsuite/gas/all/sleb128-9.d: Likewise.
690 * testsuite/gas/elf/bignums.d: Likewise.
691 * testsuite/gas/elf/group0c.d: Likewise.
692 * testsuite/gas/elf/group1a.d: Likewise.
693 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
694 * testsuite/gas/elf/section15.d: Likewise.
695 * testsuite/gas/elf/section4.d: Likewise.
696 * testsuite/gas/elf/section7.d: Likewise.
697 * testsuite/gas/macros/irp.d: Likewise.
698 * testsuite/gas/macros/repeat.d: Likewise.
699 * testsuite/gas/macros/rept.d: Likewise.
700 * testsuite/gas/macros/test2.d: Likewise.
701 * testsuite/gas/macros/vararg.d: Likewise.
702 * testsuite/gas/all/string.d: Use xfail rather than skip.
703 * testsuite/gas/elf/missing-build-notes.d: Likewise.
704 * testsuite/gas/elf/section0.d: Likewise.
705 * testsuite/gas/elf/section1.d: Likewise.
706 * testsuite/gas/elf/section10.d: Likewise.
707 * testsuite/gas/elf/section11.d: Likewise.
708 * testsuite/gas/elf/section6.d: Likewise.
709 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
710 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
711 * testsuite/gas/macros/test3.d: Don't notarget nds32.
712
9886ff03
AM
7132021-01-26 Alan Modra <amodra@gmail.com>
714
715 * testsuite/gas/all/byte.d,
716 * testsuite/gas/all/byte.l,
717 * testsuite/gas/all/byte.s: Delete.
718 * testsuite/gas/all/gas.exp: Don't run byte test.
719
4287950e
AM
7202021-01-26 Alan Modra <amodra@gmail.com>
721
722 PR 27282
723 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
724 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
725
eea133e6
L
7262021-01-24 H.J. Lu <hongjiu.lu@intel.com>
727
728 PR gas/27228
729 * testsuite/gas/elf/elf.exp: Run pr27228.
730 * testsuite/gas/elf/pr27228.d: New file.
731 * testsuite/gas/elf/pr27228.s: Likewise.
732
68fcee4f
AM
7332021-01-24 Alan Modra <amodra@gmail.com>
734
735 PR 27228
736 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
737 is defined.
738
be07043e
AM
7392021-01-21 Alan Modra <amodra@gmail.com>
740
741 PR 27221
742 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
743 line number info when gas is generating it.
744 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
745 * testsuite/gas/m68hc11/indexed12.d: Likewise.
746 * testsuite/gas/elf/elf.exp: Don't run warn-2.
747 * gas/testsuite/gas/elf/warn-2.s: Delete.
748
498ff032
AM
7492021-01-21 Alan Modra <amodra@gmail.com>
750
751 PR 27218
752 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
753 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
754 error for negative file numbers.
755
4bd7c902
AM
7562021-01-20 Alan Modra <amodra@gmail.com>
757
758 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
759 * testsuite/gas/ppc/test1elf32.d: Likewise.
760 * testsuite/gas/ppc/test1elf64.d: Likewise.
761
705989f1
L
7622021-01-18 H.J. Lu <hongjiu.lu@intel.com>
763
764 PR gas/27195
765 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
766 needed.
767 (dwarf2_directive_filename): Likewise.
768 (dwarf2_directive_loc): Likewise.
769 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
770 * testsuite/gas/lns/lns-diag-1.l: Remove the
771 "Error: file number less than one" errors.
772
44365e88
AM
7732021-01-18 Alan Modra <amodra@gmail.com>
774
775 PR 27198
776 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
777 * testsuite/gas/i386/pr27198.d,
778 * gas/testsuite/gas/i386/pr27198.err,
779 * gas/testsuite/gas/i386/pr27198.s: New test.
780 * gas/testsuite/gas/i386/i386.exp: Run it.
781
1942a048
NC
7822021-01-15 Nelson Chu <nelson.chu@sifive.com>
783
784 * config/tc-riscv.c: Indent and GNU coding standards tidy,
785 also aligned the code.
786 * config/tc-riscv.h: Likewise.
787
b800637e
NC
7882021-01-15 Nelson Chu <nelson.chu@sifive.com>
789
790 * config/tc-riscv.c: Error and warning messages tidy.
791 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
792 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
793 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
794 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
795 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
796 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
797 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
798
dcd709e0
NC
7992021-01-15 Nelson Chu <nelson.chu@sifive.com>
800
801 * config/tc-riscv.c: Comments tidy and improvement. Also update
802 comment "fallthru" to "Fall through" that end with a period and
803 two spaces.
804
5fda40b2
MF
8052021-01-14 Mike Frysinger <vapier@gentoo.org>
806
807 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
808 Delete warning that these are only available with ELF targets.
809 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
810 * read.c (potable): ... here.
811
abad2815
MF
8122021-01-14 Mike Frysinger <vapier@gentoo.org>
813
814 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
815 * Makefile.in: Regenerated.
816
adb0bd8f
MF
8172021-01-14 Mike Frysinger <vapier@gentoo.org>
818
819 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
820 (parse_int): Mark char_bag const.
821
844bf810
L
8222021-01-13 H.J. Lu <hongjiu.lu@intel.com>
823
824 PR gas/27178
825 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
826 Don't generate GOT_symbol for PLT relocations.
827 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
828 * testsuite/gas/i386/no-got.d: New file.
829 * testsuite/gas/i386/no-got.s: Likewise.
830 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
831 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
832
5347ed60
AM
8332021-01-13 Alan Modra <amodra@gmail.com>
834
835 * Makefile.in: Regenerate.
836 * Makefile.in: Regenerate.
837
d546b610
L
8382021-01-12 H.J. Lu <hongjiu.lu@intel.com>
839
840 PR binutils/26792
841 * configure.ac: Use GNU_MAKE_JOBSERVER.
842 * aclocal.m4: Regenerated.
843 * configure: Likewise.
844
6d104cac
NC
8452021-01-12 Nick Clifton <nickc@redhat.com>
846
847 * po/fr.po: Updated French translation.
848
83b33c6c
L
8492021-01-11 H.J. Lu <hongjiu.lu@intel.com>
850
851 PR ld/27173
852 * configure: Regenerated.
853
82c70b08
KT
8542021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
855
856 * NEWS: Remove CSRE.
857 * config/tc-aarch64.c (parse_csr_operand): Delete.
858 (parse_operands): Delete handling of
859 AARCH64_OPND_CSRE_CSR.
860 (aarch64_features): Remove csre.
861 * doc/c-aarch64.texi: Remove CSRE.
862 * testsuite/gas/aarch64/csre.d: Delete.
863 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
864 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
865 * testsuite/gas/aarch64/csre_csr.s: Likewise.
866 * testsuite/gas/aarch64/csre_csr.d: Likewise.
867 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
868 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
869 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
870
a8aa72b9
NC
8712021-01-11 Nick Clifton <nickc@redhat.com>
872
873 * po/uk.po: Updated Ukranian translation.
874
a4966cd9
L
8752021-01-09 H.J. Lu <hongjiu.lu@intel.com>
876
877 * configure: Regenerated.
878
573fe3fb
NC
8792021-01-09 Nick Clifton <nickc@redhat.com>
880
881 * configure: Regenerate.
882 * po/gas.pot: Regenerate.
883
055bc77a
NC
8842021-01-09 Nick Clifton <nickc@redhat.com>
885
886 * 2.36 release branch crated.
887
aae7fcb8
PB
8882021-01-08 Peter Bergner <bergner@linux.ibm.com>
889
890 * testsuite/gas/ppc/rop-checks.d,
891 * testsuite/gas/ppc/rop-checks.l,
892 * testsuite/gas/ppc/rop-checks.s,
893 * testsuite/gas/ppc/rop.d,
894 * testsuite/gas/ppc/rop.s: New tests.
895 * testsuite/gas/ppc/ppc.exp: Run them.
896
64307045
AM
8972021-01-09 Alan Modra <amodra@gmail.com>
898
899 * configure: Regenerate.
900
f4782128
ST
9012021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
902
903 * configure: Regenerate.
904
d1bcae83
L
9052021-01-07 H.J. Lu <hongjiu.lu@intel.com>
906
907 PR 27109
908 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
909 section symbol.
910 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
911 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
912 on the section symbol.
913 (set_symtab): Don't generate unused section symbols.
914 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
915 on the section symbol.
916 * config/obj-elf.c (elf_adjust_symtab): Call
917 symbol_mark_used_in_reloc on the group signature symbol.
918 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
919 from expected output.
920 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
921 is_elf_unused_section_symbols.
922 * testsuite/gas/elf/section2.e: Updated.
923 * testsuite/gas/elf/section2.e-unused: New file.
924 * testsuite/gas/elf/symver.d: Remove unused section symbols.
925 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
926 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
927 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
928 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
929 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
930 * testsuite/gas/i386/size-1.d: Likewise.
931 * testsuite/gas/i386/size-3.d: Likewise.
932 * testsuite/gas/i386/svr4.d: Likewise.
933 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
934 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
935 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
936 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
937
aa881ecd
PT
9382021-01-07 Philipp Tomsich <prt@gnu.org>
939
940 * config/tc-riscv.c (riscv_multi_subset_supports): Added
941 INSN_CLASS_ZIHINTPAUSE.
942 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
943 the pause hint instruction.
944 * testsuite/gas/riscv/pause.s: Likewise.
945
2652cfad
CXW
9462021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
947 Jim Wilson <jimw@sifive.com>
948 Andrew Waterman <andrew@sifive.com>
949 Maxim Blinov <maxim.blinov@embecosm.com>
950 Kito Cheng <kito.cheng@sifive.com>
951 Nelson Chu <nelson.chu@sifive.com>
952
953 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
954 (riscv_get_default_ext_version): Do not check the default_isa_spec when
955 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
956 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
957 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
958 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
959
85f55c2b
AM
9602021-01-06 Alan Modra <amodra@gmail.com>
961
962 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
963
22206e84
AM
9642021-01-06 Alan Modra <amodra@gmail.com>
965
966 * testsuite/gas/macros/app1.d: xfail tic30.
967 * testsuite/gas/macros/app2.d: Likewise.
968 * testsuite/gas/macros/app3.d: Likewise.
969 * testsuite/gas/macros/app4.d: Likewise.
970
286d2f2c
MC
9712021-01-06 Marcus Comstedt <marcus@mc.pp.se>
972
973 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
974 * doc/c-riscv.texi: Likewise.
975
f36ce378
MC
9762021-01-06 Marcus Comstedt <marcus@mc.pp.se>
977
978 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
979 to littleriscv.
980 * testsuite/gas/riscv/li64.d: Likewise.
981 * testsuite/gas/riscv/lla32.d: Likewise.
982 * testsuite/gas/riscv/lla64.d: Likewise.
983 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
984 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
985 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
986 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
987 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
988 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
989 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
990
fbc09e7a
MC
9912021-01-06 Marcus Comstedt <marcus@mc.pp.se>
992
993 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
994 elf32-bigriscv.
995 (install_insn): Always write instructions as little endian.
996 (riscv_make_nops): Likewise.
997 (md_convert_frag_branch): Likewise.
998 (md_number_to_chars): Write data in target endianness.
999 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
1000 (md_parse_option): Handle the endian options.
1001 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
1002 already defined.
1003 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
1004
cd6d537c
L
10052021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 PR ld/26256
1008 * config/obj-elf.c (obj_elf_change_section): Also filter out
1009 SHF_LINK_ORDER.
1010
dd933805
AM
10112021-01-04 Alan Modra <amodra@gmail.com>
1012
1013 PR 27102
1014 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
1015 message and register symbol error message.
1016
90320e40
AM
10172021-01-04 Alan Modra <amodra@gmail.com>
1018
1019 PR 27101
1020 * read.c (s_align): Use a large enough type for "align" to hold
1021 the result of get_absolute_expression.
1022
f9a6a8f0
AM
10232021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1024
1025 * config/tc-i386.c: Correct comment spelling.
1026 * config/tc-riscv.c: Likewise.
1027 * config/tc-s390.c: Correct comment grammar.
1028 * doc/c-i386.texi: Correct spelling.
1029 * doc/c-s390.texi: Correct grammar.
1030
250d07de
AM
10312021-01-01 Alan Modra <amodra@gmail.com>
1032
1033 Update year range in copyright notice of all files.
1034
64d05a43
HPN
10352021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1036
1037 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
1038
c2795844 1039For older changes see ChangeLog-2020
3499769a 1040\f
c2795844 1041Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1042
1043Copying and distribution of this file, with or without modification,
1044are permitted in any medium without royalty provided the copyright
1045notice and this notice are preserved.
1046
1047Local Variables:
1048mode: change-log
1049left-margin: 8
1050fill-column: 74
1051version-control: never
1052End: