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