]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
c5df7e44
CC
12021-04-20 Clément Chigot <clement.chigot@atos.net>
2
3 PR binutils/21700
4 * config/tc-ppc.c (ppc_get_csect_to_adjust): New function.
5 (ppc_fix_adjustable): Manage fx_subsy part.
6 (tc_gen_reloc): Create second relocation when both
7 fx_addsy and fx_subsy are provided.
8 * config/tc-ppc.h (RELOC_EXPANSION_POSSIBLE): New define.
9 (MAX_RELOC_EXPANSION): Likewise.
10 (TC_FORCE_RELOCATION_SUB_SAME): Likewise
11 (UNDEFINED_DIFFERENCE_OK): Likewise
12 * testsuite/gas/all/gas.exp: Skip difference between two
13 undefined symbols test.
14
8d6502d2
NC
152021-04-19 Nick Clifton <nickc@redhat.com>
16
17 * testsuite/gas/all/gas.exp: Add rs6000*-*-aix* to the list of
18 targets which should skip the undefined symbols test.
19
02202574
PW
202021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
21
22 * NEWS: Update news.
23 * testsuite/gas/aarch64/rme.d: Update test.
24 * testsuite/gas/aarch64/rme.s: Update test.
25
cd6608e4
PW
262021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
27
28 * testsuite/gas/aarch64/rme.d: Update test.
29 * testsuite/gas/aarch64/rme.s: Update test.
30
9a8041fd
JB
312021-04-19 Jan Beulich <jbeulich@suse.com>
32
33 * as.h (sprint_value): Delete.
34 * messages.c (sprint_value): Likewise.
35 * config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
36 place of sprint_value.
37 * config/tc-s390.c (s390_insert_operand): Likewise.
38 * doc/internals.texi (sprint_value): Delete section.
39 * write.c (fixup_segment): Likewise.
40 (relax_segment): Likewise.
41
100e914d
PW
422021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
43
44 * testsuite/gas/aarch64/rme-invalid.d: New test.
45 * testsuite/gas/aarch64/rme-invalid.l: New test.
46 * testsuite/gas/aarch64/rme-invalid.s: New test.
47 * testsuite/gas/aarch64/rme.d: New test.
48 * testsuite/gas/aarch64/rme.s: New test.
49
768589d1
NC
502021-04-16 Nelson Chu <nelson.chu@sifive.com>
51
52 PR 27436
53 * config/tc-riscv.c (riscv_ip): make operand C> work the same as >.
54 * testsuite/gas/riscv/shamt-32.d: New testcase.
55 * testsuite/gas/riscv/shamt-32.l: Likewise.
56 * testsuite/gas/riscv/shamt-32.s: Likewise.
57 * testsuite/gas/riscv/shamt-64.d: Likewise.
58 * testsuite/gas/riscv/shamt-64.l: Likewise.
59 * testsuite/gas/riscv/shamt-64.s: Likewise.
60
a21b96dd
NC
612021-04-16 Lifang Xia <lifang_xia@c-sky.com>
62
63 * testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
64 c.mv a4,a4.
65 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
66
d20eb466
AM
672021-04-14 Alan Modra <amodra@gmail.com>
68
69 PR 27723
70 * dw2gencfi.c (initial_cie_insn): New function, extracted from..
71 (select_cie_for_fde): ..here. Simplify.
72
c159f352
AM
732021-04-14 Alan Modra <amodra@gmail.com>
74
75 PR 27723
76 * dw2gencfi.c (select_cie_for_fde): Handle DW_CFA_val_offset,
77 DW_CFA_GNU_window_save and DW_CFA_restore_state.
78
4bb920c6
AM
792021-04-13 Alan Modra <amodra@gmail.com>
80
81 * testsuite/gas/m68hc11/m68hc11.exp (gas_m68hc11_message): Don't
82 write to $srcdir. Use gas_host_run and read output file rather
83 than gas_start/gas_finish.
84
32d71569
AM
852021-04-12 Alan Modra <amodra@gmail.com>
86
87 * config/tc-ppc.c (insn_validate): Use uint64_t for operand values.
88 (md_assemble): Likewise. Handle bignum operands.
89 (ppc_elf_suffix): Handle O_big. Remove unnecessary input_line_pointer
90 check.
91 * expr.c: Delete unnecessary forward declarations.
92 (generic_bignum_to_int32): Return uint32_t.
93 (generic_bignum_to_int64): Return uint64_t. Compile always.
94 (operand): Twiddle X_extrabit for unary '~'. Set X_unsigned and
95 clear X_extrabit for unary '!'.
96 * expr.h (generic_bignum_to_int32): Declare.
97 (generic_bignum_to_int64): Declare.
98 * testsuite/gas/ppc/prefix-pcrel.s,
99 * testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
100
e601909a
NC
1012021-04-12 Nelson Chu <nelson.chu@sifive.com>
102
103 * testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
104 march-fail-porder-x-std.d.
105 * testsuite/gas/riscv/march-fail-order-z-std.d: Renamed from
106 march-fail-porder-z-std.d.
107 * testsuite/gas/riscv/march-fail-order-x-z.d: Renamed from
108 march-fail-porder-x-z.d.
109 * testsuite/gas/riscv/march-fail-order-zx-std.l: Added to replace
110 march-fail-porder.l.
111 * testsuite/gas/riscv/march-fail-order-x-z.l: Likewise.
112 * testsuite/gas/riscv/march-fail-order-x.l: Updated.
113 * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
114 * testsuite/gas/riscv/march-fail-single-prefix-h.d: Renamed from
115 march-fail-single-char-h.d.
116 * testsuite/gas/riscv/march-fail-single-prefix-s.d: Renamed from
117 march-fail-single-char-s.d.
118 * testsuite/gas/riscv/march-fail-single-prefix-x.d: Renamed from
119 march-fail-single-char-x.d.
120 * testsuite/gas/riscv/march-fail-single-prefix-z.d: Renamed from
121 march-fail-single-char-z.d.
122 * testsuite/gas/riscv/march-fail-single-prefix-zmx.d: Added.
123 * testsuite/gas/riscv/march-fail-single-prefix.l: Added to replace
124 march-fail-single-prefix.l.
125 * testsuite/gas/riscv/march-fail-unknown-zxm.d: Added.
126 * testsuite/gas/riscv/march-fail-unknown-std.l: Updated.
127 * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
128
dd170203
TB
1292021-04-09 Tejas Belagod <tejas.belagod@arm.com>
130
32d71569
AM
131 * config/tc-aarch64.c (warn_unpredictable_ldst): Clean-up
132 diagnostic messages for LD/ST Exclusive instructions.
dd170203 133 * testsuite/gas/aarch64/diagnostic.s: Add a diagnostic test for STLXP.
32d71569
AM
134 * testsuite/gas/aarch64/diagnostic.l: Fix-up test after message
135 clean-up.
dd170203 136
c3f72de4
AM
1372021-04-09 Alan Modra <amodra@gmail.com>
138
139 * testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
140 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
141 * gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
142
97bf40d8
AM
1432021-04-08 Alan Modra <amodra@gmail.com>
144
145 * testsuite/gas/ppc/pr27676.d,
146 * testsuite/gas/ppc/pr27676.s: New test.
147 * testsuite/gas/ppc/ppc.exp: Run it.
148 * testsuite/gas/ppc/dcbt.d: Update.
149 * testsuite/gas/ppc/power4_32.d: Update.
150
b12389f2
AM
1512021-04-07 Alan Modra <amodra@gmail.com>
152
153 PR 27217
154 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs.
155
eac4eb8e
NC
1562021-04-06 Nick Clifton <nickc@redhat.com>
157
158 PR 27217
159 * config/tc-aarch64.c (my_get_expression): Rename to
160 aarch64_get_expression. Add a fifth argument to enable deferring
161 of expression resolution.
162 (parse_typed_reg): Update calls to my_get_expression.
163 (parse_vector_reg_list): Likewise.
164 (parse_immediate_expression): Likewise.
165 (parse_big_immediate): Likewise.
166 (parse_shift): Likewise.
167 (parse_shifter_operand_imm): Likewise.
168 (parse_operands): Likewise.
169 (parse_shifter_operand_reloc): Update calls to my_get_expression
170 and call aarch64_force_reloc to determine the value of the new
171 fifth argument.
172 (parse_address_main): Likewise.
173 (parse_half): Likewise.
174 (parse_adrp): Likewise.
175 (aarch64_force_reloc): New function. Contains code extracted from...
176 (aarch64_force_relocation): ... here.
177 * testsuite/gas/aarch64/pr27217.s: New test case.
178 * testsuite/gas/aarch64/pr27217.d: New test driver.
179
da0835ae
JB
1802021-04-06 Jan Beulich <jbeulich@suse.com>
181
182 * write.c (fixup_segment): Move add_symbol_segment declaration
183 into main loop.
184
23d61380
AM
1852021-04-05 Alan Modra <amodra@gmail.com>
186
187 * configure.ac: Don't check for string.h, strings.h, stdlib.h,
188 errno.h, limits.h, locale.h or time.h. Don't check for unlink,
189 remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
190 Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
191 strstr, or vsnprintf declarations.
192 (AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
193 * as.h: Don't include alloca-conf.h, include config.h instead.
194 Include string.h, stdlib.h, errno.h unconditionally. Remove
195 various fallback declarations.
196 * asintl.h: Don't test HAVE_LOCALE_H.
197 * as.c: Don't test HAVE_SETLOCALE.
198 * dwarf2dbg.c: Include limits.h unconditionally.
199 * expr.c: Likewise.
200 * sb.c: Likewise.
201 * symbols.c: Likewise.
202 * config/tc-cr16.c: Likewise.
203 * config/tc-d30v.c: Likewise.
204 * config/tc-i386.c: Likewise.
205 * config/tc-ia64.c: Likewise.
206 * config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
207 * config.in: Regenerate.
208 * configure: Regenerate.
209 * Makefile.in: Regenerate.
210 * doc/Makefile.in: Regenerate.
211
e9b095a5
ML
2122021-04-01 Martin Liska <mliska@suse.cz>
213
214 * config/obj-coff.c (strneq): Remove strneq and use startswith.
215 (weak_is_altname): Likewise.
216 (obj_coff_section): Likewise.
217 * config/tc-cr16.c (process_label_constant): Likewise.
218 * config/tc-crx.c (strneq): Likewise.
219
d34049e8
ML
2202021-04-01 Martin Liska <mliska@suse.cz>
221
222 * as.c (select_emulation_mode): Use startswith.
223 * config/m68k-parse.y: Likewise.
224 * config/obj-aout.c (obj_aout_type): Likewise.
225 * config/obj-elf.c (elf_common_parse): Likewise.
226 (obj_elf_section_type): Likewise.
227 (obj_elf_section_word): Likewise.
228 (obj_elf_section): Likewise.
229 (obj_elf_symver): Likewise.
230 (adjust_stab_sections): Likewise.
231 * config/obj-evax.c (evax_shorten_name): Likewise.
232 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
233 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
234 (aarch64_parse_features): Likewise.
235 (create_register_alias): Likewise.
236 (aarch64_data_in_code): Likewise.
237 (md_parse_option): Likewise.
238 * config/tc-alpha.c (s_alpha_section_word): Likewise.
239 (s_alpha_pdesc): Likewise.
240 * config/tc-arc.c (tokenize_extregister): Likewise.
241 * config/tc-arm.c (create_register_alias): Likewise.
242 (create_neon_reg_alias): Likewise.
243 (parse_ifimm_zero): Likewise.
244 (parse_qfloat_immediate): Likewise.
245 (arm_elf_section_type): Likewise.
246 (arm_parse_extension): Likewise.
247 (aeabi_set_public_attributes): Likewise.
248 (s_arm_arch_extension): Likewise.
249 (arm_data_in_code): Likewise.
250 (start_unwind_section): Likewise.
251 * config/tc-avr.c (avr_ldi_expression): Likewise.
252 * config/tc-csky.c (is_freglist_legal): Likewise.
253 (csky_s_section): Likewise.
254 * config/tc-d30v.c (do_assemble): Likewise.
255 * config/tc-dlx.c (parse_operand): Likewise.
256 * config/tc-epiphany.c (md_assemble): Likewise.
257 * config/tc-h8300.c (h8300_elf_section): Likewise.
258 (get_operand): Likewise.
259 * config/tc-hppa.c (pa_ip): Likewise.
260 (pa_level): Likewise.
261 (pa_space): Likewise.
262 * config/tc-i386.c (i386_mach): Likewise.
263 (md_assemble): Likewise.
264 (check_VecOperations): Likewise.
265 (i386_target_format): Likewise.
266 (i386_elf_section_type): Likewise.
267 * config/tc-ia64.c (start_unwind_section): Likewise.
268 (md_parse_option): Likewise.
269 (is_taken_branch): Likewise.
270 (idesc->name,): Likewise.
271 (note_register_values): Likewise.
272 (do_alias): Likewise.
273 * config/tc-m32c.c (insn_to_subtype): Likewise.
274 * config/tc-m68hc11.c (get_operand): Likewise.
275 (md_assemble): Likewise.
276 * config/tc-m68k.c (m68k_ip): Likewise.
277 (m68k_elf_suffix): Likewise.
278 * config/tc-mcore.c (mcore_s_section): Likewise.
279 * config/tc-metag.c (parse_get_set): Likewise.
280 (md_parse_option): Likewise.
281 * config/tc-microblaze.c (parse_imm): Likewise.
282 (check_got): Likewise.
283 (md_apply_fix): Likewise.
284 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
285 (md_begin): Likewise.
286 (s_is_linkonce): Likewise.
287 (check_regno): Likewise.
288 (match_float_constant): Likewise.
289 (classify_vr4120_insn): Likewise.
290 (match_insn): Likewise.
291 (mips_after_parse_args): Likewise.
292 (s_change_sec): Likewise.
293 (s_option): Likewise.
294 (parse_code_option): Likewise.
295 (md_section_align): Likewise.
296 (nopic_need_relax): Likewise.
297 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
298 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
299 (mn10300_end_of_match): Likewise.
300 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
301 * config/tc-nds32.c (nds32_parse_option): Likewise.
302 * config/tc-nds32.h (md_do_align): Likewise.
303 * config/tc-nios2.c (strprefix): Likewise.
304 (nios2_special_relocation_p): Likewise.
305 (nios2_parse_base_register): Likewise.
306 (nios2_cons): Likewise.
307 * config/tc-ns32k.c (addr_mode): Likewise.
308 * config/tc-pdp11.c (set_option): Likewise.
309 (parse_reg): Likewise.
310 (parse_ac5): Likewise.
311 (parse_op_no_deferred): Likewise.
312 (set_cpu_model): Likewise.
313 (set_machine_model): Likewise.
314 * config/tc-pj.c (md_operand): Likewise.
315 * config/tc-ppc.c (ppc_set_cpu): Likewise.
316 (ppc_arch): Likewise.
317 (ppc_section_type): Likewise.
318 * config/tc-s12z.c (tb_reg_rel): Likewise.
319 (tb_opr_rel): Likewise.
320 * config/tc-s390.c (s390_parse_cpu): Likewise.
321 (md_parse_option): Likewise.
322 * config/tc-score.c (s3_nopic_need_relax): Likewise.
323 (s3_pic_need_relax): Likewise.
324 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
325 (s7_pic_need_relax): Likewise.
326 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
327 * config/tc-sparc.c (md_parse_option): Likewise.
328 (sparc_ip): Likewise.
329 (s_reserve): Likewise.
330 (s_common): Likewise.
331 (s_seg): Likewise.
332 (sparc_cons): Likewise.
333 * config/tc-tic54x.c (stag_add_field): Likewise.
334 (tic54x_endstruct): Likewise.
335 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
336 * config/tc-v850.c (v850_comm): Likewise.
337 (md_begin): Likewise.
338 (md_assemble): Likewise.
339 * config/tc-vax.c (vax_cons): Likewise.
340 * config/tc-wasm32.c (wasm32_leb128): Likewise.
341 * config/tc-xstormy16.c (md_operand): Likewise.
342 * config/tc-xtensa.c (get_directive): Likewise.
343 (xg_instruction_matches_option_term): Likewise.
344 (is_unaligned_label): Likewise.
345 (cache_literal_section): Likewise.
346 * config/xtensa-relax.c (parse_precond): Likewise.
347 (parse_option_cond): Likewise.
348 (transition_applies): Likewise.
349 (wide_branch_opcode): Likewise.
350 * dw2gencfi.c: Likewise.
351 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
352 * ehopt.c (get_cie_info): Likewise.
353 * input-file.c (input_file_open): Likewise.
354 * listing.c (listing_newline): Likewise.
355 (debugging_pseudo): Likewise.
356 * read.c (read_a_source_file): Likewise.
357 * write.c (adjust_reloc_syms): Likewise.
358 (compress_debug): Likewise.
359 (maybe_generate_build_notes): Likewise.
360
fdb21288
AM
3612021-03-31 Alan Modra <amodra@gmail.com>
362
363 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
364 * config/bfin-lex-wrapper.c: Likewise.
365 * itbl-lex.l: Don't include as.h.
366 * config/bfin-lex.l: Likewise.
367
5b7c81bd
AM
3682021-03-31 Alan Modra <amodra@gmail.com>
369
370 * as.h (POISON_BFD_BOOLEAN): Define.
371 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
372 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
373 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
374 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
375 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
376 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
377 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
378 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
379 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
380 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
381 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
382 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
383 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
384 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
385 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
386 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
387 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
388 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
389 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
390 * config/tc-metag.c, * config/tc-metag.h,
391 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
392 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
393 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
394 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
395 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
396 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
397 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
398 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
399 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
400 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
401 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
402 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
403 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
404 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
405 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
406 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
407 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
408 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
409 * config/tc-z8k.c, * config/xtensa-istack.h,
410 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
411 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
412 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
413 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
414 with bool, FALSE with false, and TRUE with true.
415
3dfb1b6d
AM
4162021-03-31 Alan Modra <amodra@gmail.com>
417
418 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
419 * config/tc-crx.c: Likewise.
420 * config/tc-nds32.h: Likewise.
421
5e042380
JB
4222021-03-30 Jan Beulich <jbeulich@suse.com>
423
424 * config/tc-i386.c (build_modrm_byte): Change return type.
425 Change type of "default_seg". Use NULL. Adjust setting of
426 "default_seg".
427 (reg_ds, reg_es, reg_ss): New.
428 (struct _i386_insn): Change type of seg[].
429 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
430 (swap_operands): Change type of "temp_seg".
431 (check_string): Adjust %es check.
432 (process_operands): Change type of "default_seg". Use NULL.
433 Adjust segment override processing..
434 (i386_att_operand): Adjust segment override handling.
435 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
436
34684862
JB
4372021-03-30 Jan Beulich <jbeulich@suse.com>
438
439 * config/tc-i386.c (reg_eax): New.
440 (md_begin): Initialize reg_eax.
441 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
442 reg_eax.
443 (i386_intel_simplify): Likewise.
444
6288d05f
JB
4452021-03-30 Jan Beulich <jbeulich@suse.com>
446
447 * config/tc-i386.c (reg_st0): New.
448 (md_begin): Convert to switch(). Initialize reg_st0. Don't
449 insert other st(N).
450 (parse_real_register): Adjust st(N) processing.
451
ca5312a2
JB
4522021-03-30 Jan Beulich <jbeulich@suse.com>
453
454 * config/tc-i386.c (rc_op): Delete.
455 (struct Rounding_Operation): Move ...
456 (struct _i386_insn): ... here. Change field "rounding".
457 (build_evex_prefix): Adjust rounding processing.
458 (swap_2_operands): Likewise.
459 (check_VecOperands): Likewise.
460 (RC_SAE_immediate): Likewise.
461 (optimize_encoding): Adjust check for rounding.
462 (build_modrm_byte): Likewise.
463 (output_imm): Likewise.
464 (md_assemble): Initialize rounding type.
465
5273a3cd
JB
4662021-03-30 Jan Beulich <jbeulich@suse.com>
467
468 * config/tc-i386.c (broadcast_op): Delete.
469 (struct Broadcast_Operation): Move ...
470 (struct _i386_insn): ... here. Change field "broadcast".
471 (match_mem_size): Adjust check for broadcast.
472 (optimize_encoding): Likewise.
473 (process_suffix): Likewise.
474 (build_evex_prefix): Adjust broadcast processing.
475 (swap_2_operands): Likewise.
476 (check_VecOperations): Likewise.
477 (match_template): Likewise.
478 (check_VecOperands): Likewise.
479
6225c532
JB
4802021-03-30 Jan Beulich <jbeulich@suse.com>
481
482 * config/tc-i386.c (reg_k0): New.
483 (mask_op): Delete.
484 (struct Mask_Operation): Move ...
485 (struct _i386_insn): ... here. Change field "mask".
486 (md_begin): Initialize reg_k0.
487 (build_evex_prefix): Adjust mask processing.
488 (swap_2_operands): Likewise.
489 (check_VecOperands): Likewise.
490 (check_VecOperations): Likewise.
491 (optimize_encoding): Adjust checks for masking.
492 (output_insn): Likewise.
493
783c187b
JB
4942021-03-30 Jan Beulich <jbeulich@suse.com>
495
496 * config/tc-i386.c (swap_2_operands): Switch parameters to
497 unsigned.
498 (struct RC_Operation): Switch operand field to unsigned.
499 (struct Mask_Operation): Likewise.
500 (struct Broadcast_Operation): Likewise.
501 (build_evex_prefix): Drop cast.
502 (check_VecOperands): Likewise.
503 (build_modrm_byte): Likewise.
504 (output_imm): Likewise.
505 (check_VecOperations): Add casts to unsigned.
506
c8cad9d3
JB
5072021-03-29 Jan Beulich <jbeulich@suse.com>
508
509 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
510 * testsuite/gas/i386/x86-64-avx-swap-2.d.
511 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
512
389d00a5
JB
5132021-03-29 Jan Beulich <jbeulich@suse.com>
514
515 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
516 checks by opcodespace ones.
517 (insert_lfence_before): Likewise.
518 (maybe_fused_with_jcc_p): Likewise.
519 (add_branch_padding_frag_p): Likewise.
520 (output_disp): Likewise.
521 (load_insn_p): Re-arrange checks to key applicable ones off of
522 an opcodespace check.
523 (md_assemble): Adjust opcode checks.
524 (check_byte_reg): Likewise.
525 (process_operands): Likewise.
526 (i386_index_check): Likewise.
527 (process_suffix): Likewise. New local variable is_movx. Adjust
528 movsx/movzx and crc32 handling.
529 (output_insn): Adjust opcode checks. Drop no longer reachable
530 case labels. Output legacy encoding prefixes in addition to the
531 base_opcode byte(s). Rework counting of prefixes for extended
532 opcode maps.
533 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
534 opcode checks.
535
63b4cc53
AM
5362021-03-29 Alan Modra <amodra@gmail.com>
537
538 * atof-generic.c (FALSE, TRUE): Don't define.
539 * config/obj-elf.h (FALSE, TRUE): Don't define.
540 * config/obj-som.h (FALSE, TRUE): Don't define.
541 * config/tc-hppa.h (FALSE, TRUE): Don't define.
542 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
543 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
544 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
545 * config/tc-mt.h (obj_fix_adjustable): Delete.
546 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
547 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
548 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
549 (tokenize_extregister): Likewise.
550 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
551 (parse_operands_op, parse_operands, md_assemble): Likewise.
552 * config/tc-d10v.c (build_insn): Likewise.
553 * config/tc-score.c (s3_gen_insn_frag): Likewise.
554 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
555 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
556 * config/tc-z80.c (emit_byte): Likewise.
557
854f1e4b
AM
5582021-03-29 Alan Modra <amodra@gmail.com>
559
560 * config/tc-arm.c (struct arm_long_option_table <func>): Return
561 bfd_boolean.
562 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
563 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
564 with bfd_boolean.
565 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
566 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
567 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
568 logical expressions.
569 (struct metag_long_option <func>): Return bfd_boolean.
570 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
571 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
572 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
573 (no_operands, lex_force_match, lex_reg_list): Likewise.
574 (size_from_suffix): Return int.
575 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
576 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
577
c3344b62
JB
5782021-03-26 Jan Beulich <jbeulich@suse.com>
579
580 * testsuite/gas/i386/x86-64-nosse2.s,
581 testsuite/gas/i386/x86-64-nosse2.l: New.
582 * testsuite/gas/i386/i386.exp: Run new test.
583
efa30ac3
HAQ
5842021-03-25 Abid Qadeer <abidh@codesourcery.com>
585
586 * testsuite/gas/nios2/brn.d: New.
587 * testsuite/gas/nios2/brn.d: New.
588
5e74b495
JB
5892021-03-25 Jan Beulich <jbeulich@suse.com>
590
591 * config/tc-i386.c (match_template): Use t instead of i.tm.
592
596a02ff
JB
5932021-03-25 Jan Beulich <jbeulich@suse.com>
594
595 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
596 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
597 colliding registers in the upper half of the space.
598 * testsuite/gas/i386/avx512f-nondef.d,
599 testsuite/gas/i386/vgather-check.d,
600 testsuite/gas/i386/x86-64-vgather-check.d,
601 testsuite/gas/i386/x86-64-vgather-check-error.l,
602 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
603 expecations.
604 * testsuite/gas/i386/vgather-check-none.d,
605 testsuite/gas/i386/vgather-check-warn.d,
606 testsuite/gas/i386/x86-64-vgather-check-none.d,
607 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
608 tests for expected dump output.
609
53642852
JB
6102021-03-25 Jan Beulich <jbeulich@suse.com>
611
612 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
613 without mask register.
614 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
615
c0e54661
JB
6162021-03-25 Jan Beulich <jbeulich@suse.com>
617
618 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
619 swapping operands for.
620 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
621 syntax tests.
622 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
623 well as Intel syntax tests.
624 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
625 expectations.
32d71569 626 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
c0e54661
JB
627 Likewise. Drop passing --def-sym to as.
628
829f3fe1
JB
6292021-03-25 Jan Beulich <jbeulich@suse.com>
630
631 PR/gas 27419
632 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
633 conversion to x32 mode.
634 * testsuite/gas/i386/ilp32/enqcmd.s,
635 testsuite/gas/i386/ilp32/enqcmd.d,
636 testsuite/gas/i386/ilp32/movdir.s,
637 testsuite/gas/i386/ilp32/movdir.d: New.
638 * testsuite/gas/i386/x86-64-enqcmd.s,
639 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
640 cases.
641 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
642 (%eip) cases.
643 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
644 * testsuite/gas/i386/x86-64-enqcmd.d,
645 testsuite/gas/i386/x86-64-enqcmd-intel.d,
646 testsuite/gas/i386/x86-64-enqcmd-inval.l,
647 testsuite/gas/i386/x86-64-movdir.d,
648 testsuite/gas/i386/x86-64-movdir-intel.d,
649 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
650
5a403766
AM
6512021-03-25 Alan Modra <amodra@gmail.com>
652
653 PR 27647
654 * testsuite/gas/ppc/a2.d: Update expected output.
655 * testsuite/gas/ppc/power8.d: Likewise.
656
9a182d04
JB
6572021-03-24 Jan Beulich <jbeulich@suse.com>
658
659 * config/tc-i386.c (struct _i386_insn): New field
660 opcode_length.
661 (md_begin): Drop assertion.
662 (install_template): New.
663 (build_vex_prefix): Call install_template.
664 (match_template): Likewise.
665 (process_operands): Use new opcode_length field.
666 (output_jump): Likewise.
667 (output_insn): Likewise. Adjust psedo prefix check.
668
35648716
JB
6692021-03-24 Jan Beulich <jbeulich@suse.com>
670
671 * config/tc-i386.c (md_begin): Add assertion.
672 (build_vex_prefix): Drop implied prefix calculation.
673 (build_evex_prefix): Likewise.
674 (optimize_encoding): Adjust opcode checks.
675 (load_insn_p): Also check opcodeprefix.
676 (match_template): Also check opcodespace.
677 (process_suffix): Likewise.
678 (process_operands): Likewise.
679 (output_insn): Likewise. Also check isprefix when discaring
680 standalone LOCK.
681 * config/tc-i386-intel.c (i386_intel_operand): Also check
682 opcodespace.
683
31184569
JB
6842021-03-24 Jan Beulich <jbeulich@suse.com>
685
686 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
687 base_opcode and extension_opcode.
688
b933fa4b
JB
6892021-03-23 Jan Beulich <jbeulich@suse.com>
690
691 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
692
dac10fb0
JB
6932021-03-23 Jan Beulich <jbeulich@suse.com>
694
695 * config/tc-i386.c (output_i386_opcode): Invoke
696 process_i386_cpu_flag() slightly later.
697 (process_i386_opcodes): Likewise.
698
441f6aca
JB
6992021-03-23 Jan Beulich <jbeulich@suse.com>
700
701 * config/tc-i386.c (pte): Print prefix and encoding space.
702 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
703 (build_evex_prefix): Likewise.
704 (load_insn_p): Likewise.
705
70e95837
JB
7062021-03-23 Jan Beulich <jbeulich@suse.com>
707
708 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
709 if()-s.
710 (match_template, output_insn): Use PREFIX_NONE.
711
a152332d
JB
7122021-03-23 Jan Beulich <jbeulich@suse.com>
713
714 * config/tc-i386.c (i386_index_check): New local variable t.
715 Correct MPX insn check.
716 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
717 MPX insn check.
718 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
719 index scaling by other than 1.
720 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
721
08dedd66
ML
7222021-03-22 Martin Liska <mliska@suse.cz>
723
724 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
725 (x86_64_section_word): Likewise.
726 * config/tc-sparc.c (md_parse_option): Likewise.
727
826b97d4
AM
7282021-03-19 Alan Modra <amodra@gmail.com>
729
730 * app.c (do_scrub_chars): Don't lose spaces before a slash.
731
3273f9a1
CG
7322021-03-18 Christian Groessler <chris@groessler.org>
733
734 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
735 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
736
80d49d6a
KLC
7372021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
738
739 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
740 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
741 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
742 * testsuite/gas/riscv/b-ext-64.d: Likewise.
743 * testsuite/gas/riscv/b-ext.s: Likewise.
744 * testsuite/gas/riscv/b-ext.d: Likewise.
745
7fce7ea9
PW
7462021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
747
748 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
749 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
750 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
751 * testsuite/gas/aarch64/sysreg-7.d: New test.
752 * testsuite/gas/aarch64/sysreg-7.s: New test.
753
1b2cb8e2
CC
7542021-03-12 Clément Chigot <clement.chigot@atos.net>
755
756 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
757 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
758 (ppc_xcoff_tbss_section): New variables.
759 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
760 (ppc_data_csects): Removed.
761 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
762 ppc_xcoff_parse_cons): New functions.
763 (md_being): Initialize XCOFF sections.
764 (ppc_xcoff_suffix): Add support for TLS relocations
765 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
766 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
767 to .bss section. Handle new XCOFF section variables.
768 (ppc_comm): Likewise.
769 (ppc_toc): Likewise.
770 (ppc_symbol_new_hook): Likewise.
771 (ppc_frob_symbol): Likewise.
772 (ppc_fix_adjustable): Add tbss support.
773 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
774 (ppc_xcoff_parse_cons): Add prototype.
775 (struct ppc_xcoff_section): New structure.
776
4a403be0
CC
7772021-03-12 Clément Chigot <clement.chigot@atos.net>
778
779 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
780 (MAP, MAP32, MAP64): New macros for XCOFF.
781 (ppc_xcoff_fixup_addis): New function.
782 (ppc_is_toc_sym): Handle XMC_TE.
783 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
784 BFD_RELOC_PPC_TOC16_LO.
785 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
786 (ppc_change_csect): Handle XMC_TE.
787 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
788 storage class.
789 (ppc_symbol_new_hook): Handle XMC_TE.
790 (ppc_frob_symbol): Likewise.
791 (ppc_fix_adjustable): Likewise.
792 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
793 BFD_RELOC_PPC_TOC16_LO.
794
b763d508
JB
7952021-03-10 Jan Beulich <jbeulich@suse.com>
796
797 * testsuite/gas/i386/avx512f-intel.d,
798 testsuite/gas/i386/avx512f_vl-intel.d,
799 testsuite/gas/i386/avx512pf-intel.d,
800 testsuite/gas/i386/x86-64-avx512f-intel.d,
801 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
802 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
803
31941983
JB
8042021-03-10 Jan Beulich <jbeulich@suse.com>
805
806 * testsuite/gas/i386/prefetch.d,
807 testsuite/gas/i386/prefetch-intel.d,
808 testsuite/gas/i386/x86-64-prefetch.d,
809 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
810 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
811 * testsuite/gas/i386/i386.exp: Run new test.
812
742732c7
JB
8132021-03-09 Jan Beulich <jbeulich@suse.com>
814
815 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
816 (md_assemble): Replace use of repprefixok, islockable, and
817 notrackprefixok.
818 (i386_index_check): Replace use of repprefixok.
819
e93a3b27
JB
8202021-03-09 Jan Beulich <jbeulich@suse.com>
821
822 * testsuite/gas/i386/noreg64.s: Add sysexit.
823 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
824 sysexitl and sysexitq.
825 * testsuite/gas/i386/noreg-intel64.l,
826 testsuite/gas/i386/noreg64-data16.d,
827 testsuite/gas/i386/noreg64-data16.e,
828 testsuite/gas/i386/noreg64-rex64.d,
829 testsuite/gas/i386/noreg64.d,
830 testsuite/gas/i386/noreg64.l,
831 testsuite/gas/i386/x86-64-sysenter-amd.d,
832 testsuite/gas/i386/x86-64-sysenter-amd.l,
833 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
834
fe0171d2
NC
8352021-02-26 Nick Clifton <nickc@redhat.com>
836
837 PR 27411
838 * config/tc-arm.c (do_t_add_sub): Correct error message.
839 * testsuite/gas/arm/pr27411.s: New test.
840 * testsuite/gas/arm/pr27411.d: New test driver.
841 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
842
55add51e
AM
8432021-02-24 Alan Modra <amodra@gmail.com>
844
845 PR 23691
846 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
847 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
848 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
849 and use alongside TARGET_CPU_CFILES.
850 (EXTRA_DIST): Update location of generated .c files.
851 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
852 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
853 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
854 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
855 dependencies.
856 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
857 (itbl-parse.c, itbl-parse.h): Tidy.
858 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
859 * config/bfin-lex.l: Include config/bfin-parse.h.
860 * configure.ac (extra_objects): Move object files corresponding
861 to .y and .l files now in config/ to config/.
862 * Makefile.in: Regenerate.
863 * configure: Regenerate.
864 * po/POTFILES.in: Regenerate.
865
0257c2ff
NC
8662021-02-19 Nick Clifton <nickc@redhat.com>
867
868 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
869 misleading indentation.
870
5a9f5403
NC
8712021-02-19 Nelson Chu <nelson.chu@sifive.com>
872
873 PR 27158
874 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
875 (md_apply_fix): Likewise.
876 (md_convert_frag_branch): Likewise.
877 (validate_riscv_insn): Likewise. Also arranged operands, including
878 added C5 and C6 operands, and removed unused Ci and C< operands.
879 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
880 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
881 * testsuite/gas/riscv/insn.s: Likewise.
882
3d73d29e
NC
8832021-02-18 Nelson Chu <nelson.chu@sifive.com>
884
885 * config/tc-riscv.c: Included cpu-riscv.h.
886 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
887 (struct riscv_csr_extra): Likewise.
888 (struct riscv_ext_version): Likewise.
889 (ext_version_table): Moved from opcodes/riscv-opc.c.
890 (default_isa_spec): Updated type to riscv_spec_class.
891 (default_priv_spec): Likewise.
892 (riscv_set_default_isa_spec): Updated.
893 (init_ext_version_hash): Likewise.
894 (riscv_init_csr_hash): Likewise, also fixed indent.
895
089485ff
AM
8962021-02-17 Alan Modra <amodra@gmail.com>
897
898 * testsuite/gas/elf/section28.d: xfail h8300.
899
ca1289b9
L
9002021-02-16 H.J. Lu <hongjiu.lu@intel.com>
901
902 PR gas/27412
903 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
904 when checking incorrect section attributes.
905 * testsuite/gas/elf/elf.exp: Run section28 and section29.
906 * testsuite/gas/elf/section28.d: New file.
907 * testsuite/gas/elf/section28.s: Likewise.
908 * testsuite/gas/elf/section29.d: Likewise.
909 * testsuite/gas/elf/section29.s: Likewise.
910
394ae71f
JB
9112021-02-16 Jan Beulich <jbeulich@suse.com>
912
913 * testsuite/gas/i386/sse-check.s,
914 testsuite/gas/i386/sse2avx.s,
915 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
916 * testsuite/gas/i386/sse-check-error.l,
917 testsuite/gas/i386/sse-check-warn.e,
918 testsuite/gas/i386/sse-check.d,
919 testsuite/gas/i386/sse2avx.d,
920 testsuite/gas/i386/x86-64-sse-check-error.l,
921 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
922 * testsuite/gas/i386/property-cvtpi2pd.s,
923 testsuite/gas/i386/property-cvtpi2pd.d,
924 testsuite/gas/i386/property-cvtpi2ps.s,
925 testsuite/gas/i386/property-cvtpi2ps.d: New.
926 * testsuite/gas/i386/i386.exp: Run new tests.
927
3d70986f
JB
9282021-02-16 Jan Beulich <jbeulich@suse.com>
929
930 * config/tc-i386.c (md_assemble): Use template rather than
931 actuals when updating i.xstate.
932 * testsuite/gas/i386/property-4.d,
933 testsuite/gas/i386/property-5.d,
934 testsuite/gas/i386/property-12.d: Adjust expectations.
935
014d61ea
JB
9362021-02-16 Jan Beulich <jbeulich@suse.com>
937
938 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
939 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
940 * testsuite/gas/i386/property-ldmxcsr.s,
941 testsuite/gas/i386/property-ldmxcsr.d,
942 testsuite/gas/i386/property-vldmxcsr.s,
943 testsuite/gas/i386/property-vldmxcsr.d,
944 testsuite/gas/i386/property-vzeroall.s,
945 testsuite/gas/i386/property-vzeroall.d: New.
946 * testsuite/gas/i386/i386.exp: Run new tests.
947
cbe68696
JB
9482021-02-16 Jan Beulich <jbeulich@suse.com>
949
950 * testsuite/gas/i386/i386.exp: Move bitness-independent property
951 tests to bitness independent section.
952 * testsuite/gas/i386/x86-64-property-2.d,
953 testsuite/gas/i386/x86-64-property-3.d,
954 testsuite/gas/i386/x86-64-property-4.d,
955 testsuite/gas/i386/x86-64-property-5.d,
956 testsuite/gas/i386/x86-64-property-6.d,
957 testsuite/gas/i386/x86-64-property-10.d,
958 testsuite/gas/i386/x86-64-property-11.d,
959 testsuite/gas/i386/x86-64-property-12.d,
960 testsuite/gas/i386/x86-64-property-13.d: Delete.
961
c2f1204d
JB
9622021-02-16 Jan Beulich <jbeulich@suse.com>
963
964 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
965 movdir.s.
966 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
967
9a12b194
AM
9682021-02-16 Alan Modra <amodra@gmail.com>
969
970 PR 27426
971 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
972 in another place.
973
70433886
AM
9742021-02-16 Alan Modra <amodra@gmail.com>
975
976 * read.c (demand_copy_C_string): Really check for embedded zeros.
977
ba2b480f
AK
9782021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
979
980 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
981 * doc/c-s390.texi: Document arch14 march option.
982 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
983 * testsuite/gas/s390/zarch-arch14.d: New test.
984 * testsuite/gas/s390/zarch-arch14.s: New test.
985
c46b7066
NC
9862021-02-12 Nick Clifton <nickc@redhat.com>
987
988 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
32d71569 989 following.
c46b7066
NC
990 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
991
3c1d4101
AM
9922021-02-12 Alan Modra <amodra@gmail.com>
993
994 * testsuite/gas/all/pr27381.err: Don't match source file name.
995 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
996 * testsuite/gas/all/pr27384.err: Don't match source file name.
997 Adjust line number.
998 * testsuite/gas/all/pr27384.s: Add ".text" directive.
999 * testsuite/gas/elf/pr27355.err: Don't match source file name.
1000
933feaf3
AM
10012021-02-11 Alan Modra <amodra@gmail.com>
1002
1003 * NEWS: Mention arm-symbianelf removal.
1004
01e8b831
NC
10052021-02-10 Nick Clifton <nickc@redhat.com>
1006
1007 * listing.c (buffer_line): Remove debugging code accidentally
1008 included with the fix for PR 27384.
1009
284beb43
NC
10102021-02-09 Nick Clifton <nickc@redhat.com>
1011
1012 PR 27381
1013 * read.c (s_incbin): Check that the file to be included is a
1014 regular, non-directory file.
1015 * testsuite/gas/all/pr27381.s: New test source file.
1016 * testsuite/gas/all/pr27381.d: New test control file.
1017 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
1018 * testsuite/gas/all/gas.exp: Run the new test.
1019
a57d1773
AM
10202021-02-09 Alan Modra <amodra@gmail.com>
1021
1022 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
1023 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
1024 support.
1025 * config/te-symbian.h: Delete.
1026 * configure.tgt: Remove arm-*-symbianelf*.
1027 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
1028 target selection.
1029 * testsuite/gas/arm/arch4t.d: Likewise.
1030 * testsuite/gas/arm/got_prel.d: Likewise.
1031 * testsuite/gas/arm/mapdir.d: Likewise.
1032 * testsuite/gas/arm/mapmisc.d: Likewise.
1033 * testsuite/gas/arm/mapsecs.d: Likewise.
1034 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
1035 * testsuite/gas/arm/thumb-eabi.d: Likewise.
1036 * testsuite/gas/arm/thumb.d: Likewise.
1037 * testsuite/gas/arm/thumbrel.d: Likewise.
1038 * Makefile.in: Regenerate.
1039 * po/POTFILES.in: Regenerate.
1040
4a68fcd7
NC
10412021-02-09 Nick Clifton <nickc@redhat.com>
1042
1043 PR 27384
1044 * listing.c (listing_psize): Check the result of the width
1045 expression before assigning it to paper_width.
1046 * testsuite/gas/all/pr27384.s: New test source file.
1047 * testsuite/gas/all/pr27384.d: New test control file.
1048 * testsuite/gas/all/pr27384.err: Expected errors from new test.
1049 * testsuite/gas/all/gas.exp: Run the new test.
1050
52563b0f
NC
10512021-02-09 Nick Clifton <nickc@redhat.com>
1052
1053 PR 27355
1054 * testsuite/gas/elf/pr27355.s: New test source file.
1055 * testsuite/gas/elf/pr27355.d: New test control file.
1056 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
1057 * testsuite/gas/elf/elf.exp: Run the new test.
1058
bfd428bc
MF
10592021-02-08 Mike Frysinger <vapier@gentoo.org>
1060
1061 * config/tc-tic54x (tic54x_mmregs): Rename to ...
1062 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
1063 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
1064 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
1065 cc2_codes, cc3_codes, status_bits, and misc_symbols.
1066
80b652ef
NC
10672021-02-08 Nick Clifton <nickc@redhat.com>
1068
1069 PR 27355
1070 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
1071 if it has not already been created.
1072
24075dcc
NC
10732021-02-04 Nelson Chu <nelson.chu@sifive.com>
1074
1075 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
1076 INSN_CLASS_ZB*.
1077 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
1078 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
1079 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
1080
61ecbbae
AK
10812021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
1082
1083 * doc/c-s390.texi: Document vector instruction formats.
1084
1f568f9a
EH
10852021-02-01 Emery Hemingway <ehmry@posteo.net>
1086
1087 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1088
7bba67ec
AM
10892021-02-01 Alan Modra <amodra@gmail.com>
1090
1091 PR 27283
1092 * config/tc-alpha.c (insert_operand): Delete dead code.
1093
1f583bc2
L
10942021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 PR gas/27243
1097 * config/tc-nios2.c (md_begin): Don't disable relaxation with
1098 --gdwarf-N.
1099 * testsuite/gas/nios2/relax.d: New file.
1100 * testsuite/gas/nios2/relax.s: Likewise.
1101
a45ef9a3
AM
11022021-01-26 Alan Modra <amodra@gmail.com>
1103
1104 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
1105 notarget all except hppa. Comment.
1106 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
1107 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
1108 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
1109 * testsuite/gas/all/sleb128-7.d: Likewise.
1110 * testsuite/gas/all/sleb128-9.d: Likewise.
1111 * testsuite/gas/elf/bignums.d: Likewise.
1112 * testsuite/gas/elf/group0c.d: Likewise.
1113 * testsuite/gas/elf/group1a.d: Likewise.
1114 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
1115 * testsuite/gas/elf/section15.d: Likewise.
1116 * testsuite/gas/elf/section4.d: Likewise.
1117 * testsuite/gas/elf/section7.d: Likewise.
1118 * testsuite/gas/macros/irp.d: Likewise.
1119 * testsuite/gas/macros/repeat.d: Likewise.
1120 * testsuite/gas/macros/rept.d: Likewise.
1121 * testsuite/gas/macros/test2.d: Likewise.
1122 * testsuite/gas/macros/vararg.d: Likewise.
1123 * testsuite/gas/all/string.d: Use xfail rather than skip.
1124 * testsuite/gas/elf/missing-build-notes.d: Likewise.
1125 * testsuite/gas/elf/section0.d: Likewise.
1126 * testsuite/gas/elf/section1.d: Likewise.
1127 * testsuite/gas/elf/section10.d: Likewise.
1128 * testsuite/gas/elf/section11.d: Likewise.
1129 * testsuite/gas/elf/section6.d: Likewise.
1130 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
1131 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
1132 * testsuite/gas/macros/test3.d: Don't notarget nds32.
1133
9886ff03
AM
11342021-01-26 Alan Modra <amodra@gmail.com>
1135
1136 * testsuite/gas/all/byte.d,
1137 * testsuite/gas/all/byte.l,
1138 * testsuite/gas/all/byte.s: Delete.
1139 * testsuite/gas/all/gas.exp: Don't run byte test.
1140
4287950e
AM
11412021-01-26 Alan Modra <amodra@gmail.com>
1142
1143 PR 27282
1144 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
1145 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
1146
eea133e6
L
11472021-01-24 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 PR gas/27228
1150 * testsuite/gas/elf/elf.exp: Run pr27228.
1151 * testsuite/gas/elf/pr27228.d: New file.
1152 * testsuite/gas/elf/pr27228.s: Likewise.
1153
68fcee4f
AM
11542021-01-24 Alan Modra <amodra@gmail.com>
1155
1156 PR 27228
1157 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
1158 is defined.
1159
be07043e
AM
11602021-01-21 Alan Modra <amodra@gmail.com>
1161
1162 PR 27221
1163 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
1164 line number info when gas is generating it.
1165 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
1166 * testsuite/gas/m68hc11/indexed12.d: Likewise.
1167 * testsuite/gas/elf/elf.exp: Don't run warn-2.
1168 * gas/testsuite/gas/elf/warn-2.s: Delete.
1169
498ff032
AM
11702021-01-21 Alan Modra <amodra@gmail.com>
1171
1172 PR 27218
1173 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
1174 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
1175 error for negative file numbers.
1176
4bd7c902
AM
11772021-01-20 Alan Modra <amodra@gmail.com>
1178
1179 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
1180 * testsuite/gas/ppc/test1elf32.d: Likewise.
1181 * testsuite/gas/ppc/test1elf64.d: Likewise.
1182
705989f1
L
11832021-01-18 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 PR gas/27195
1186 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
1187 needed.
1188 (dwarf2_directive_filename): Likewise.
1189 (dwarf2_directive_loc): Likewise.
1190 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
1191 * testsuite/gas/lns/lns-diag-1.l: Remove the
1192 "Error: file number less than one" errors.
1193
44365e88
AM
11942021-01-18 Alan Modra <amodra@gmail.com>
1195
1196 PR 27198
1197 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
1198 * testsuite/gas/i386/pr27198.d,
1199 * gas/testsuite/gas/i386/pr27198.err,
1200 * gas/testsuite/gas/i386/pr27198.s: New test.
1201 * gas/testsuite/gas/i386/i386.exp: Run it.
1202
1942a048
NC
12032021-01-15 Nelson Chu <nelson.chu@sifive.com>
1204
1205 * config/tc-riscv.c: Indent and GNU coding standards tidy,
1206 also aligned the code.
1207 * config/tc-riscv.h: Likewise.
1208
b800637e
NC
12092021-01-15 Nelson Chu <nelson.chu@sifive.com>
1210
1211 * config/tc-riscv.c: Error and warning messages tidy.
1212 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
1213 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1214 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
1215 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1216 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
1217 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
1218 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
1219
dcd709e0
NC
12202021-01-15 Nelson Chu <nelson.chu@sifive.com>
1221
1222 * config/tc-riscv.c: Comments tidy and improvement. Also update
1223 comment "fallthru" to "Fall through" that end with a period and
1224 two spaces.
1225
5fda40b2
MF
12262021-01-14 Mike Frysinger <vapier@gentoo.org>
1227
1228 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
1229 Delete warning that these are only available with ELF targets.
1230 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
1231 * read.c (potable): ... here.
1232
abad2815
MF
12332021-01-14 Mike Frysinger <vapier@gentoo.org>
1234
1235 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
1236 * Makefile.in: Regenerated.
1237
adb0bd8f
MF
12382021-01-14 Mike Frysinger <vapier@gentoo.org>
1239
1240 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
1241 (parse_int): Mark char_bag const.
1242
844bf810
L
12432021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 PR gas/27178
1246 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
1247 Don't generate GOT_symbol for PLT relocations.
1248 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
1249 * testsuite/gas/i386/no-got.d: New file.
1250 * testsuite/gas/i386/no-got.s: Likewise.
1251 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
1252 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
1253
5347ed60
AM
12542021-01-13 Alan Modra <amodra@gmail.com>
1255
1256 * Makefile.in: Regenerate.
1257 * Makefile.in: Regenerate.
1258
d546b610
L
12592021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1260
1261 PR binutils/26792
1262 * configure.ac: Use GNU_MAKE_JOBSERVER.
1263 * aclocal.m4: Regenerated.
1264 * configure: Likewise.
1265
6d104cac
NC
12662021-01-12 Nick Clifton <nickc@redhat.com>
1267
1268 * po/fr.po: Updated French translation.
1269
83b33c6c
L
12702021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 PR ld/27173
1273 * configure: Regenerated.
1274
82c70b08
KT
12752021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1276
1277 * NEWS: Remove CSRE.
1278 * config/tc-aarch64.c (parse_csr_operand): Delete.
1279 (parse_operands): Delete handling of
1280 AARCH64_OPND_CSRE_CSR.
1281 (aarch64_features): Remove csre.
1282 * doc/c-aarch64.texi: Remove CSRE.
1283 * testsuite/gas/aarch64/csre.d: Delete.
1284 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
1285 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
1286 * testsuite/gas/aarch64/csre_csr.s: Likewise.
1287 * testsuite/gas/aarch64/csre_csr.d: Likewise.
1288 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
1289 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
1290 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
1291
a8aa72b9
NC
12922021-01-11 Nick Clifton <nickc@redhat.com>
1293
1294 * po/uk.po: Updated Ukranian translation.
1295
a4966cd9
L
12962021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1297
1298 * configure: Regenerated.
1299
573fe3fb
NC
13002021-01-09 Nick Clifton <nickc@redhat.com>
1301
1302 * configure: Regenerate.
1303 * po/gas.pot: Regenerate.
1304
055bc77a
NC
13052021-01-09 Nick Clifton <nickc@redhat.com>
1306
1307 * 2.36 release branch crated.
1308
aae7fcb8
PB
13092021-01-08 Peter Bergner <bergner@linux.ibm.com>
1310
1311 * testsuite/gas/ppc/rop-checks.d,
1312 * testsuite/gas/ppc/rop-checks.l,
1313 * testsuite/gas/ppc/rop-checks.s,
1314 * testsuite/gas/ppc/rop.d,
1315 * testsuite/gas/ppc/rop.s: New tests.
1316 * testsuite/gas/ppc/ppc.exp: Run them.
1317
64307045
AM
13182021-01-09 Alan Modra <amodra@gmail.com>
1319
1320 * configure: Regenerate.
1321
f4782128
ST
13222021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1323
1324 * configure: Regenerate.
1325
d1bcae83
L
13262021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 PR 27109
1329 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
1330 section symbol.
1331 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
1332 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
1333 on the section symbol.
1334 (set_symtab): Don't generate unused section symbols.
1335 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
1336 on the section symbol.
1337 * config/obj-elf.c (elf_adjust_symtab): Call
1338 symbol_mark_used_in_reloc on the group signature symbol.
1339 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
1340 from expected output.
1341 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
1342 is_elf_unused_section_symbols.
1343 * testsuite/gas/elf/section2.e: Updated.
1344 * testsuite/gas/elf/section2.e-unused: New file.
1345 * testsuite/gas/elf/symver.d: Remove unused section symbols.
1346 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
1347 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
1348 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
1349 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
1350 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
1351 * testsuite/gas/i386/size-1.d: Likewise.
1352 * testsuite/gas/i386/size-3.d: Likewise.
1353 * testsuite/gas/i386/svr4.d: Likewise.
1354 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
1355 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
1356 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
1357 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1358
aa881ecd
PT
13592021-01-07 Philipp Tomsich <prt@gnu.org>
1360
1361 * config/tc-riscv.c (riscv_multi_subset_supports): Added
1362 INSN_CLASS_ZIHINTPAUSE.
1363 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
1364 the pause hint instruction.
1365 * testsuite/gas/riscv/pause.s: Likewise.
1366
2652cfad
CXW
13672021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
1368 Jim Wilson <jimw@sifive.com>
1369 Andrew Waterman <andrew@sifive.com>
1370 Maxim Blinov <maxim.blinov@embecosm.com>
1371 Kito Cheng <kito.cheng@sifive.com>
1372 Nelson Chu <nelson.chu@sifive.com>
1373
1374 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
1375 (riscv_get_default_ext_version): Do not check the default_isa_spec when
1376 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
1377 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
1378 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
1379 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
1380
85f55c2b
AM
13812021-01-06 Alan Modra <amodra@gmail.com>
1382
1383 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
1384
22206e84
AM
13852021-01-06 Alan Modra <amodra@gmail.com>
1386
1387 * testsuite/gas/macros/app1.d: xfail tic30.
1388 * testsuite/gas/macros/app2.d: Likewise.
1389 * testsuite/gas/macros/app3.d: Likewise.
1390 * testsuite/gas/macros/app4.d: Likewise.
1391
286d2f2c
MC
13922021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1393
1394 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
1395 * doc/c-riscv.texi: Likewise.
1396
f36ce378
MC
13972021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1398
1399 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
1400 to littleriscv.
1401 * testsuite/gas/riscv/li64.d: Likewise.
1402 * testsuite/gas/riscv/lla32.d: Likewise.
1403 * testsuite/gas/riscv/lla64.d: Likewise.
1404 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
1405 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
1406 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
1407 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
1408 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
1409 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
1410 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
1411
fbc09e7a
MC
14122021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1413
1414 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
1415 elf32-bigriscv.
1416 (install_insn): Always write instructions as little endian.
1417 (riscv_make_nops): Likewise.
1418 (md_convert_frag_branch): Likewise.
1419 (md_number_to_chars): Write data in target endianness.
1420 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
1421 (md_parse_option): Handle the endian options.
1422 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
1423 already defined.
1424 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
1425
cd6d537c
L
14262021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 PR ld/26256
1429 * config/obj-elf.c (obj_elf_change_section): Also filter out
1430 SHF_LINK_ORDER.
1431
dd933805
AM
14322021-01-04 Alan Modra <amodra@gmail.com>
1433
1434 PR 27102
1435 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
1436 message and register symbol error message.
1437
90320e40
AM
14382021-01-04 Alan Modra <amodra@gmail.com>
1439
1440 PR 27101
1441 * read.c (s_align): Use a large enough type for "align" to hold
1442 the result of get_absolute_expression.
1443
f9a6a8f0
AM
14442021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1445
1446 * config/tc-i386.c: Correct comment spelling.
1447 * config/tc-riscv.c: Likewise.
1448 * config/tc-s390.c: Correct comment grammar.
1449 * doc/c-i386.texi: Correct spelling.
1450 * doc/c-s390.texi: Correct grammar.
1451
250d07de
AM
14522021-01-01 Alan Modra <amodra@gmail.com>
1453
1454 Update year range in copyright notice of all files.
1455
64d05a43
HPN
14562021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1457
1458 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
1459
c2795844 1460For older changes see ChangeLog-2020
3499769a 1461\f
c2795844 1462Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
1463
1464Copying and distribution of this file, with or without modification,
1465are permitted in any medium without royalty provided the copyright
1466notice and this notice are preserved.
1467
1468Local Variables:
1469mode: change-log
1470left-margin: 8
1471fill-column: 74
1472version-control: never
1473End: