]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
sim/moxie: add custom directory stamp rule
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7ebd68d1
NC
12022-09-28 Nick Clifton <nickc@redhat.com>
2
3 PR 29623
4 * as.c (show_usage): Document the --dump-config,
5 --gdwarf-cie-version, --hash-size, --multibyte-handling,
6 and --reduce-memory-overheads options.
7 * config/tc-i386.c (md_show_usage): Document the -O option.
8 * doc/as.texi: Document the --dump-config, --emulation,
9 --hash-size, and --reduce-memory-overheads options.
10
0ee31dff
NC
112022-09-08 Nick Clifton <nickc@redhat.com>
12
13 PR 29559
14 * dwarf2dbg.c (out_debug_info): Place DW_TAG_unspecified_type at
15 the end of the list of children, not at the start of the CU
16 information.
17 * testsuite/gas/elf/dwarf-3-func.d: Update expected output.
18 * testsuite/gas/elf/dwarf-5-func-global.d: Likewise.
19 * testsuite/gas/elf/dwarf-5-func-local.d: Likewise.
20 * testsuite/gas/elf/dwarf-5-func.d: Likewise.
21
6472b230
FC
222022-08-31 Frederic Cambus <fred@statdns.com>
23
24 * configure.tgt (aarch64*-*-openbsd*): Add target.
25
6f4eb56e
NC
262022-08-30 Nick Clifton <nickc@redhat.com>
27
28 PR 29494
29 * testsuite/gas/arm/pr29494.s: New test source file.
30 * testsuite/gas/arm/pr29494.d: New test driver.
31
5578fbf6
NC
322022-08-25 Nick Clifton <nickc@redhat.com>
33
34 PR 29517
35 * dwarf2dbg.c (GAS_ABBREV_COMP_UNIT): New defined constant.
36 (GAS_ABBREV_SUBPROG): New defined constant.
37 (GAS_ABBREV_NO_TYPE): New defined constant.
38 (out_debug_abbrev): Use the new defined constants when emitting
39 abbreviation numbers. Generate an abbreviation for an unspecified
40 type.
41 (out_debug_info): Use the new defined constants when referring to
42 abbreviations. Generate a use of the no_type abbreviation.
43 Reference the use when generating DIEs for functions.
44 * testsuite/gas/elf/dwarf-3-func.d: Update to allow for newly
45 extended output from the assembler.
46 * testsuite/gas/elf/dwarf-5-func-global.d: Likewise.
47 * testsuite/gas/elf/dwarf-5-func-local.d: Likewise.
48 * testsuite/gas/elf/dwarf-5-func.d: Likewise.
49
e8f20526
NC
502022-08-25 Nick Clifton <nickc@redhat.com>
51
52 PR 29519
53 * config/tc-aarch64.c (s_unreq): Use find_end_of_line().
54 (s_aarch64_cpu): Likewise.
55 (s_aarch64_arch): Likewise.
56 (s_aarch64_arch_extension): Likewise.
57 * testsuite/gas/aarch64/pr29519.d: New test driver file.
58 * testsuite/gas/aarch64/pr29519.s: New test source file.
59
d7872ebb
TO
602022-08-08 Tsukasa OI <research_trasio@irq.a4lg.com>
61
62 * config/obj-macho.c (obj_mach_o_get_section_names): Wrap two
63 string literals within with gettext macro.
64
5858ac62
NC
652022-08-05 Nick Clifton <nickc@redhat.com>
66
67 PR 29447
68 * read.c (read_symbol_name): Pass 0 as the length parameter when
69 invoking mbstowc in order to check the validity of a wide string.
70
51542162
CZ
712022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
72
73 * config/tc-arc.c (md_assembly): Update strspn string with the
74 missing ciphers.
75
0bd09323
NC
762022-07-08 Nick Clifton <nickc@redhat.com>
77
78 * 2.39 branch created.
79
320f4209
VDN
802022-05-18 Victor Do Nascimento <victor.donascimento@arm.com>
81
82 * config/tc-arm.c (parse_reg_list): Add handling of mixed register
83 types.
84 (reg_names): Enumerate pseudoregister according to mapped physical
85 register number.
86 (s_arm_unwind_save_pseudo): Modify function signature.
87 (s_arm_unwind_save_core): Likewise.
88 (s_arm_unwind_save_mixed): New function.
89 (s_arm_unwind_save): Generate register list mask to pass to nested
90 functions.
91 * testsuite/gas/arm/unwind-pacbti-m.s: Expand test for mixed
92 register type lists.
93 * testsuite/gas/arm/unwind-pacbti-m.d: Likewise.
94 * testsuite/gas/arm/unwind-pacbti-m-readelf.d: Likewise.
95
145667f8
MH
962022-04-07 Mark Harmstone <mark@harmstone.com>
97
98 * config/tc-i386.c (pe_directive_secidx): New function.
99 (md_pseudo_table): Add support for secidx.
100 (x86_cons_fix_new): Likewise.
101 (tc_gen_reloc): Likewise.
102 * expr.c (op_rank): Add O_secidx.
103 * expr.h (operatorT): Likewise.
104 * symbols.c (resolve_symbol_value): Add support for O_secidx.
105 * testsuite/gas/i386/secidx.s: New test source file.
106 * testsuite/gas/i386/secidx.d: New test driver file.
107 * testsuite/gas/i386/i386.exp: Run new test.
108
69341966
AK
1092022-04-07 Andreas Krebbel <krebbel@linux.ibm.com>
110
111 * config/tc-s390.c (s390_parse_cpu): Add z16 as alternate CPU
112 name.
113 * doc/as.texi: Add z16 and arch14 to CPU string list.
114 * doc/c-s390.texi: Add z16 to CPU string list.
115
19c26da6
NC
1162022-04-06 Nick Clifton <nickc@redhat.com>
117
118 PR 28981
119 * testsuite/gas/elf/dwarf-5-irp.d: Update expected output.
120
a58b0053
NC
1212022-03-21 Nick Clifton <nickc@redhat.com>
122
123 PR 28791
124 * config/tc-z80.c (emit_data_val): Do not warn about overlarge
125 constants generated by bit manipulation operators.
126 * testsuite/gas/z80/pr28791.s: New test source file.
127 * testsuite/gas/z80/pr28791.d: New test driver file.
128
2f49159c
NC
1292022-01-28 Nick Clifton <nickc@redhat.com>
130
131 * po/fr.po: Updated French translation.
132
5fe73d46
NC
1332022-01-24 Nick Clifton <nickc@redhat.com>
134
135 * po/uk.po: Updated Ukranian translation.
136
f908e960
NC
1372022-01-22 Nick Clifton <nickc@redhat.com>
138
139 * configure: Regenerate.
140 * po/gas.pot: Regenerate.
141
a74e1cb3
NC
1422022-01-22 Nick Clifton <nickc@redhat.com>
143
144 * 2.38 release branch created.
145
6c037fdb
NC
1462022-01-17 Nick Clifton <nickc@redhat.com>
147
148 * Makefile.in: Regenerate.
149 * po/gas.pot: Regenerate.
150
1adce770
SB
1512022-01-17 Sergey Belyashov <sergey.belyashov@gmail.com>
152
153 PR 28762
154 * app.c (do_scrub_chars): Correct handling when the symbol is not 'af'.
155
f3be70df
NC
1562021-12-16 Nick Clifton <nickc@redhat.com>
157
158 PR 28686
159 * config/tc-avr.h (tc_fix_adjustable): Define.
160 * config/tc-avr.c (avr_fix_adjustable): New function.
161 * testsuite/gas/all/gas.exp: Skip tests that need adjustable fixups.
162 * testsuite/gas/elf/elf.exp: Likewise.
163 * testsuite/gas/avr/diffreloc_withrelax.d: Adjust expected output.
164 * testsuite/gas/avr/pc-relative-reloc.d: Adjust expected output.
165
4780e5e4
TV
1662021-11-26 Tom de Vries <tdevries@suse.de>
167
168 PR 28629
169 * dwarf2dbg.c (out_dir_and_file_list): When copying file 1 to file 0,
170 also copy dir and md5 fields.
171 * testsuite/gas/i386/dwarf5-line-4.d: Adjust expected output.
172
578c64a4
NC
1732021-11-18 Nick Clifton <nickc@redhat.com>
174
175 * as.c (parse_args): Add support for --multibyte-handling.
176 * as.h (multibyte_handling): Declare.
177 * app.c (scan_for_multibyte_characters): New function.
178 (do_scrub_chars): Call the new function if multibyte warning is
179 enabled.
180 * input-scrub,c (input_scrub_next_buffer): Call the multibyte
181 scanning function if multibyte warnings are enabled.
182 * symbols.c (struct symbol_flags): Add multibyte_warned bit.
183 (symbol_init): Call the multibyte scanning function if multibyte
184 symbol warnings are enabled.
185 (S_SET_SEGMENT): Likewise.
186 * NEWS: Mention the new feature.
187 * doc/as.texi: Document the new feature.
188 * testsuite/gas/all/multibyte.s: New test source file.
189 * testsuite/gas/all/multibyte1.d: New test driver file.
190 * testsuite/gas/all/multibyte1.l: New test expected output.
191 * testsuite/gas/all/multibyte2.d: New test driver file.
192 * testsuite/gas/all/multibyte2.l: New test expected output.
193 * testsuite/gas/all/gas.exp: Run the new tests.
194
f9402cca
EB
1952021-11-15 Eric Botcazou <ebotcazou@adacore.com>
196
197 * doc/as.texi (File): Update description of .file 0 directive.
198 * dwarf2dbg.c (get_directory_table_entry): Remove obsolete comment
199 and pass file0_dirname in recursive call.
200 (allocate_filename_to_slot): Deal with a full path in the file name
201 if the index number is 0.
202 * testsuite/gas/elf/dwarf-5-file0.d: Fix pasto.
203 * testsuite/gas/elf/dwarf-5-file0-2.d: Likewise.
204 * testsuite/gas/elf/dwarf-5-file0-3.d: New file.
205 * testsuite/gas/elf/dwarf-5-file0-3.s: Likewise.
206 * testsuite/gas/elf/elf.exp: Run dwarf-5-file0-3.
207
d6dc01ba
MK
2082021-10-28 Markus Klein <markus.klein@sma.de>
209
210 PR 28436
211 * config/tc-arm.c (do_vfp_nsyn_push_pop_check): New function.
212 (do_vfp_nsyn_pop): Use the new function.
213 (do_vfp_nsyn_push): Use the new function.
214 * testsuite/gas/arm/v8_1m-mve.s: Add new instructions.
215 * testsuite/gas/arm/v8_1m-mve.d: Updated expected disassembly.
216
b9004024
NA
2172021-09-27 Nick Alcock <nick.alcock@oracle.com>
218
219 * configure: Regenerate.
220
4d5d5d46
PB
2212021-09-25 Peter Bergner <bergner@linux.ibm.com>
222
223 * testsuite/gas/ppc/power5.s: New test.
224 * testsuite/gas/ppc/power5.d: Likewise.
225 * testsuite/gas/ppc/ppc.exp: Run it.
226 * testsuite/gas/ppc/power7.s: Remove tests for mfppr, mfppr32, mtppr
227 and mtppr32.
228 * testsuite/gas/ppc/power7.d: Likewise.
229
5a2947cf
JB
2302021-09-13 Jan Beulich <jbeulich@suse.com>
231
232 * config/tc-ia64.c (cross_section): Use obj_elf_section_name to
233 parse the section name.
16849591 234 * config/tc-mips.c (s_change_section): Likewise.
5a2947cf 235
718aefcf
NC
2362021-09-02 Nick Clifton <nickc@redhat.com>
237
238 PR 28292
239 * config/tc-v850.c (handle_lo16): Also accept
240 BFD_RELOC_V850_LO16_SPLIT_OFFSET.
241 * testsuite/gas/v850/split-lo16.s: Add extra line.
242 * testsuite/gas/v850/split-lo16.d: Update expected disassembly.
243
12612c24
DG
2442021-08-11 Darius Galis <darius.galis@cyberthorstudios.com>
245
246 * config/rx-parse.y (DECNT): Fixed typo.
247 * testsuite/gas/rx/dpopm.sm (DECNT): Fixed typo.
248 * testsuite/gas/rx/dpushm.sm (DECNT): Fixed typo.
249 * testsuite/gas/rx/macros.inc (DECNT): Fixed typo.
250
5393ca68
NC
2512021-08-11 Nick Clifton <nickc@redhat.com>
252
253 PR 28215
254 * config/tc-csky.c (md_apply_fix): Correctly handle a fixup that
255 involves an overlarge constant.
256
d86d1fc7
MJ
2572021-08-11 Matt Jacobson <mhjacobson@me.com>
258
259 * config/tc-avr.c (enum options): Add option flag.
260 (struct option): Add option -mno-dollar-line-separator.
261 (md_parse_option): Adjust treatment of $ when option is present.
262 (usage): Mention the new option.
263 * config/tc-avr.h: Use avr_line_separator_chars.
264 * doc/c-avr.texi: Document the new option.
265
bda3d9fb
NC
2662021-08-11 Nick Clifton <nickc@redhat.com>
267
268 * config/tc-tic4x.c (tic4x_gen_to_words): Fix typo.
269
3ee0cd9e
NC
2702021-08-10 Nick Clifton <nickc@redhat.com>
271
272 * po/ru.po: Updated Russian translation.
273
3417bfca
NC
2742021-08-09 Nick Clifton <nickc@redhat.com>
275
276 * dwarf2dbg.c (get_directory_table_entry): Ensure that dir[0]
277 contains current working directory.
278 (out_dir_and_file_list): Likewise.
279 * testsuite/gas/elf/dwarf-5-dir0.s: New test source file.
280 * testsuite/gas/elf/dwarf-5-dir0.d: New test driver.
281 * testsuite/gas/elf/elf.exp: Run the new test.
282 * testsuite/gas/elf/dwarf-5-file0.d: Adjust expected output.
283 * testsuite/gas/i386/dwarf5-line-1.d: Likewise.
284 * testsuite/gas/i386/dwarf5-line-2.d: Likewise.
285
9cce9fab
AM
2862021-07-14 Alan Modra <amodra@gmail.com>
287
288 * write.c (TC_VALIDATE_FIX_SUB): Default to 0.
289 * config/tc-hppa.h (TC_VALIDATE_FIX_SUB): Define.
290 * config/tc-microblaze.h (TC_VALIDATE_FIX_SUB): Define.
291 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define for ECOFF.
292 * config/tc-ppc.h (TC_VALIDATE_FIX_SUB): Don't define for ELF.
293 Do define for XCOFF.
294
51d29b8c
CC
2952021-07-14 Clément Chigot <clement.chigot@atos.net>
296
297 * config/tc-ppc.c (ppc_change_debug_section): Update to
298 match new name's field.
299
ef744040
T
3002021-07-12 Tucker <tuckkern@sourceware@gmail.com>
301
302 PR 28054
303 * config/obj-elf.c (obj_elf_change_section): Set the
304 SEF_ELF_OCTETS flag on debug sections.
305
b180e829
AK
3062021-06-07 Andreas Krebbel <krebbel@linux.ibm.com>
307
308 * testsuite/gas/s390/zarch-arch14.d: Add qpaci.
309 * testsuite/gas/s390/zarch-arch14.s: Add qpaci.
310
ffa5352c
NC
3112021-07-07 Nick Clifton <nickc@redhat.com>
312
313 PR 28051
314 * config/tc-i386.c (offset_in_range): Reformat error messages in
315 order to fix problems when translating.
316 (md_assemble): Likewise.
317 * messages.c (as_internal_value_out_of_range): Likewise.
318 * read.c (emit_expr_with_reloc): Likewise.
319 * testsuite/gas/all/overflow.l Change expected output format.
320 * po/gas.pot: Regenerate.
321
346d80ef
NC
3222021-07-03 Nick Clifton <nickc@redhat.com>
323
324 * configure: Regenerate.
325 * po/gas.pot: Regenerate.
326
51419248
NC
3272021-07-03 Nick Clifton <nickc@redhat.com>
328
329 * 2.37 release branch created.
330
62194b63
AM
3312021-07-02 Alan Modra <amodra@gmail.com>
332
333 * config/tc-nds32.c (nds32_keyword_gpr): Don't declare.
334 (md_begin): Constify k.
335
af82b082
NC
3362021-07-02 Nick Clifton <nickc@redhat.com>
337
338 * config/tc-nds32.c: Change all references of keyword_gpr to
339 nds32_keyword_gpr.
340
52b83874
MF
3412021-07-01 Mike Frysinger <vapier@gentoo.org>
342
343 * config/tc-microblaze.c (md_begin): Make opcode const. Rename
344 opcodes to microblaze_opcodes.
345
6c2ede01
MF
3462021-07-01 Mike Frysinger <vapier@gentoo.org>
347
348 * config/tc-aarch64.c (struct templates): Make opcode const.
349 (md_assemble): Likewise.
350 (fill_instruction_hash_table): Likewise.
351
1daf786b
CC
3522021-06-24 Clément Chigot <clement.chigot@atos.net>
353
354 * config/tc-ppc.c (md_assemble): Update ppc_current_csect
355 alignment when finding prefixed instructions.
356
ded5cb94
AM
3572021-06-22 Alan Modra <amodra@gmail.com>
358
359 * config/tc-pj.c (md_apply_fix): Apply PJ_CODE_REL32 relocs.
360 * testsuite/gas/pj/ops.s: Update jsr, ret, getstatic,
361 putstatic, getfield, putfield, invokevirtual, invokespecial,
362 invokestatic, invokeinterface, goto_w, jsr_w assembly. Delete
363 version 1 picojava opcodes.
364 * testsuite/gas/pj/ops.d: Match expected output.
365
03e689aa
AM
3662021-06-19 Alan Modra <amodra@gmail.com>
367
368 * config/tc-z80.c (signed_overflow, unsigned_overflow): Avoid UB.
369
43f71bc5
AM
3702021-06-19 Alan Modra <amodra@gmail.com>
371
372 * testsuite/gas/ppc/raw.s: Use 0 as pli constant.
373 * testsuite/gas/ppc/raw.d: Update to suit.
374
162c6aef
JB
3752021-06-18 Jan Beulich <jbeulich@suse.com>
376
377 * expr.c (symbol_lookup_or_make): New.
378 (operand): Use it.
379 * testsuite/gas/elf/startof.s, testsuite/gas/elf/startof.d: New.
380 * testsuite/gas/elf/elf.exp: Run new test.
381
96cbfd9f
NC
3822021-06-17 Nick Clifton <nickc@redhat.com>
383
384 PR 27904
385 * config/tc-aarch64.c (ldst_lo12_determine_real_reloc_type):
386 Generate a syntax error message if the reloc qualifier does not
387 match the instruction's size.
388
bcf84703
CC
3892021-06-17 Clément Chigot <clement.chigot@atos.net>
390
391 * config/tc-ppc.c (md_begin): Create bss section with dummy
392 symbol.
393 (ppc_frob_symbol): Output XTY_CM for bss csects.
394 (ppc_fix_adjustable): Adjust condition to avoid bss csects.
395
3478a63d
CC
3962021-06-17 Clément Chigot <clement.chigot@atos.net>
397
398 * config/tc-ppc.c (md_apply_fix): Adjust addend to nullify
399 section contents for BFD_RELOC_PPC_TLSM or
400 BFD_RELOC_PPC64_TLSM.
401 * testsuite/gas/ppc/xcoff-tlsm-32.d: New test.
402 * testsuite/gas/ppc/xcoff-tlsm-64.d: New test.
403 * testsuite/gas/ppc/xcoff-tlsm.s: New test.
404 * testsuite/gas/ppc/aix.exp: Run new tests.
405
bb32eac5
JB
4062021-06-16 Jan Beulich <jbeulich@suse.com>
407
408 * read.c (parse_one_float): New.
409 (s_float_space, float_cons): Use it.
410 * testsuite/gas/all/float.s: Add .dc.*, .dcb.*, and .ds.* cases.
411
4504a634
JB
4122021-06-16 Jan Beulich <jbeulich@suse.com>
413
414 * read.c (emit_expr_with_reloc): Adjust overflow check. Drop
415 hibit local variable.
416 * write.c (fixup_segment): Differentiate signed and non-signed
417 relocs in overflow check.
418 * testsuite/gas/all/overflow.s,
419 testsuite/gas/all/overflow.l: New.
420 * testsuite/gas/all/gas.exp: Run new test.
421
b00af7c8
JB
4222021-06-15 Jan Beulich <jbeulich@suse.com>
423
424 * config/tc-i386.c (md_show_usage): Split ELF and PE/COFF parts
425 of object format controlling option. Add Mach-O to the latter.
426 * testsuite/gas/i386/i386.exp (gas_bfd64_check): Adjust
427 accordingly.
428
2f2be86b
JB
4292021-06-15 Jan Beulich <jbeulich@suse.com>
430
431 * config/tc-i386.c (disp16, disp32, disp32s): Delete.
432 (optimize_disp, i386_finalize_displacement): Use
433 operand_type_and_not.
434 (build_modrm_byte): Likewise. Eliminate local variable newdisp.
435
64965897
JB
4362021-06-15 Jan Beulich <jbeulich@suse.com>
437
438 * config/tc-i386.c (offset_in_range): Bail early when mask would
439 cover all bits anyway.
440
a50187b2
JB
4412021-06-15 Jan Beulich <jbeulich@suse.com>
442
443 * config/tc-i386.c (optimize_disp): Generalize disp32 part of
444 the BFD64-only logic to also apply to non-64-bit code.
445 (i386_finalize_displacement): Use extend_to_32bit_address for
446 non-64-bit code. Drop now redundant O_constant checks.
447 * testsuite/gas/i386/disp-imm-32.s,
448 testsuite/gas/i386/disp-imm-32.d: New.
449 * testsuite/gas/i386/i386.exp: Run new test.
450
86f04146
JB
4512021-06-15 Jan Beulich <jbeulich@suse.com>
452
453 * config/tc-i386.c (offset_in_range): Replace uses of
454 bfd_sprintf_vma.
455
4fe51f7d
JB
4562021-06-15 Jan Beulich <jbeulich@suse.com>
457
458 * config/tc-i386.c (offset_in_range): Adjust conditional.
459 * testsuite/gas/i386/disp-imm-16.s,
460 testsuite/gas/i386/disp-imm-16.l,
461 testsuite/gas/i386/disp-imm-64.s,
462 testsuite/gas/i386/disp-imm-64.l: New.
463 * testsuite/gas/i386/i386.exp: Run new tests.
464
cc0f9635
JB
4652021-06-15 Jan Beulich <jbeulich@suse.com>
466
467 * config/tc-i386.c (i386_att_operand): Re-introduce (now
468 properly named) parens_not_balanced.
469 * testsuite/gas/i386/sib.s: Add more cases.
470 * testsuite/gas/i386/sib.d, testsuite/gas/i386/sib-intel.d:
471 Adjust expectations.
472
987610f2
JB
4732021-06-14 Jan Beulich <jbeulich@suse.com>
474
475 * read.c (emit_expr_with_reloc): Fold three as_warn().
476
4981807e
JB
4772021-06-14 Jan Beulich <jbeulich@suse.com>
478
479 * doc/internals.texi (TC_ADDRESS_BYTES): Mention generic default.
480 * read.c (potable, cons_worker): Drop TC_ADDRESS_BYTES
481 conditional.
482
2748c1b1
L
4832021-06-11 H.J. Lu <hongjiu.lu@intel.com>
484
485 * config/tc-i386.c (x86_cons): Handle GOT/PLT relocations only
486 if needed.
487 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Always define.
488
28b2963f
NC
4892021-06-11 Nelson Chu <nelson.chu@sifive.com>
490
491 * config/tc-riscv.c (riscv_set_arch): Call riscv_set_rvc
492 and riscv_set_rve both for -march and elf attributes.
493 (riscv_after_parse_args): Likewise.
494
1db66fb6
JB
4952021-06-10 Jan Beulich <jbeulich@suse.com>
496
497 * config/tc-arm.c (do_bfloat_vfma): Rename index to idx.
498 (do_vusdot): Likewise.
499 (do_vsudot): Likewise.
500 (check_cde_operand): Likewise.
501 (do_vdot): Likewise.
502
e925962f
JB
5032021-06-10 Jan Beulich <jbeulich@suse.com>
504
505 * config/tc-arm.c (reg_expected_msgs): Add REG_TYPE_ZR entry.
506
7772f168
JB
5072021-06-10 Jan Beulich <jbeulich@suse.com>
508
509 * config/tc-i386.c (optimize_encoding): Suppress LEA conversion
510 when it would grow code size in 16-bit mode.
511 * testsuite/gas/i386/lea16-optimize.d: Adjust expectations.
512 * testsuite/gas/i386/lea16-optimize2.d: New.
513 * testsuite/gas/i386/i386.exp: Run new test.
514
7c757f41
JB
5152021-06-08 Jan Beulich <jbeulich@suse.com>
516
517 * testsuite/gas/i386/quoted.d, testsuite/gas/i386/wrap32-text.d:
518 Adjust expectations.
519 * testsuite/gas/i386/wrap32-data.d: Likewise. Correct name.
520
7e96fb68
JB
5212021-06-08 Jan Beulich <jbeulich@suse.com>
522
523 * config/tc-i386.c (optimize_imm): Use fits_in_unsigned_word
524 and fits_in_unsigned_long.
525
cd613c1f
JB
5262021-06-08 Jan Beulich <jbeulich@suse.com>
527
528 * config/tc-i386.c (optimize_disp): Use fits_in_unsigned_word
529 and fits_in_unsigned_long. Combine if()s.
530
77c59789
JB
5312021-06-08 Jan Beulich <jbeulich@suse.com>
532
533 * config/tc-i386.c (optimize_disp): Write back updated value.
534 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea64.s: New
535 cases.
536 * testsuite/gas/i386/lea16-optimize.d,
537 testsuite/gas/i386/lea64.d, testsuite/gas/i386/lea64-optimize.d:
538 Adjust expectations.
539 * testsuite/gas/i386/lea16.d: New.
540 * testsuite/gas/i386/i386.exp: Run new test.
541
f185acdd
JB
5422021-06-08 Jan Beulich <jbeulich@suse.com>
543
544 * config/tc-i386.c (optimize_disp): Drop redundant masking.
545 Re-order.
546
6b5ba0d4
JB
5472021-06-07 Jan Beulich <jbeulich@suse.com>
548
549 * config/tc-i386.c (i386_att_operand): Re-write handling of
550 vector operations operand suffix.
551 * testsuite/gas/i386/unary.s: Add more cases.
552 * testsuite/gas/i386/unary.d: Adjust expectations.
553
e68c3d59
JB
5542021-06-07 Jan Beulich <jbeulich@suse.com>
555
556 * config/tc-i386.c (parse_operands): Reduce scope of
557 paren_not_balanced, to match the new in_quotes. Skip over quoted
558 regions of operands.
559 (i386_att_operand): Remove (mis-named) parens_balanced. Respect
560 double quote.
561 * testsuite/gas/i386/unary.s: Add more cases.
562 * testsuite/gas/i386/unary.d: Adjust expectations.
563
014fbcda
JB
5642021-06-07 Jan Beulich <jbeulich@suse.com>
565
566 * config/tc-i386.c (digit_chars, is_digit_char): Delete.
567 (md_begin): Fold digit and lower-case letter handling.
568 (starts_memory_operand): Permit more characters.
569 * testsuite/gas/i386/unary.s, testsuite/gas/i386/unary.d: New.
570 * testsuite/gas/i386/i386.exp: Run new test.
571
9d299bea
JB
5722021-06-07 Jan Beulich <jbeulich@suse.com>
573
574 * config/tc-i386.c (starts_memory_operand): New.
575 (i386_att_operand): Use it.
576 * testsuite/gas/i386/quoted.s, testsuite/gas/i386/quoted.d: New.
577 * testsuite/gas/i386/i386.exp: Run new test.
578
c8d541e2
JB
5792021-06-07 Jan Beulich <jbeulich@suse.com>
580
581 * config/tc-i386.c (i386_att_operand): Flip checking for '*' and
582 start-of-expression. Don't permit '*' when one was already seen.
583
98ff9f1c
JB
5842021-06-07 Jan Beulich <jbeulich@suse.com>
585
586 * config/tc-i386.c (parse_operands): Don't check for matched
587 square brackets.
588
f70c6814
JB
5892021-06-07 Jan Beulich <jbeulich@suse.com>
590
591 * config/tc-i386.c (check_VecOperations): Remove 2nd parameter.
592 (i386_att_operand): Adjust calls to check_VecOperations.
593 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
594
4e014f6a
JB
5952021-06-07 Jan Beulich <jbeulich@suse.com>
596
597 * config/tc-i386.c (i386_immediate): Don't call check_VecOperations.
598
a442cac5
JB
5992021-06-07 Jan Beulich <jbeulich@suse.com>
600
601 * config/tc-i386.c (extend_to_32bit_address): New.
602 (x86_cons, i386_finalize_immediate, md_apply_fix): Use it.
603 (signed_cons): Use object_64bit.
604 * testsuite/gas/i386/wrap32.s, testsuite/gas/i386/wrap32-data.d,
605 testsuite/gas/i386/wrap32-text.d: New.
606 * testsuite/gas/i386/i386.exp: Run new tests.
607
a38d1396
AM
6082021-06-03 Alan Modra <amodra@gmail.com>
609
610 PR 1202
611 * testsuite/gas/mcore/allinsn.d: Correct loopt expected output.
612
1ff6a3b8
AM
6132021-05-29 Alan Modra <amodra@gmail.com>
614
615 * testsuite/gas/ppc/raw.s,
616 * testsuite/gas/ppc/raw.d: New test.
617 * testsuite/gas/ppc/ppc.exp: Run it.
618
28b7d4f1
MR
6192021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
620
621 * testsuite/gas/mips/c0.d: New test.
622 * testsuite/gas/mips/mips1@c0.d: New test.
623 * testsuite/gas/mips/mips2@c0.d: New test.
624 * testsuite/gas/mips/mips3@c0.d: New test.
625 * testsuite/gas/mips/mips4@c0.d: New test.
626 * testsuite/gas/mips/mips5@c0.d: New test.
627 * testsuite/gas/mips/mips32@c0.d: New test.
628 * testsuite/gas/mips/mips64@c0.d: New test.
629 * testsuite/gas/mips/r3000@c0.d: New test.
630 * testsuite/gas/mips/r3900@c0.d: New test.
631 * testsuite/gas/mips/r4000@c0.d: New test.
632 * testsuite/gas/mips/vr5400@c0.d: New test.
633 * testsuite/gas/mips/r5900@c0.d: New test.
634 * testsuite/gas/mips/sb1@c0.d: New test.
635 * testsuite/gas/mips/interaptiv-mr2@c0.d: New test.
636 * testsuite/gas/mips/octeon@c0.d: New test.
637 * testsuite/gas/mips/xlr@c0.d: New test.
638 * testsuite/gas/mips/c1.d: New test.
639 * testsuite/gas/mips/mips1@c1.d: New test.
640 * testsuite/gas/mips/mips2@c1.d: New test.
641 * testsuite/gas/mips/mips3@c1.d: New test.
642 * testsuite/gas/mips/mips4@c1.d: New test.
643 * testsuite/gas/mips/mips5@c1.d: New test.
644 * testsuite/gas/mips/mips32@c1.d: New test.
645 * testsuite/gas/mips/mips64@c1.d: New test.
646 * testsuite/gas/mips/mipsr6@c1.d: New test.
647 * testsuite/gas/mips/r3000@c1.d: New test.
648 * testsuite/gas/mips/r3900@c1.d: New test.
649 * testsuite/gas/mips/r4000@c1.d: New test.
650 * testsuite/gas/mips/vr5400@c1.d: New test.
651 * testsuite/gas/mips/r5900@c1.d: New test.
652 * testsuite/gas/mips/sb1@c1.d: New test.
653 * testsuite/gas/mips/interaptiv-mr2@c1.d: New test.
654 * testsuite/gas/mips/octeon@c1.d: New test.
655 * testsuite/gas/mips/xlr@c1.d: New test.
656 * testsuite/gas/mips/c2.d: New test.
657 * testsuite/gas/mips/vr5400@c2.d: New test.
658 * testsuite/gas/mips/r5900@c2.d: New test.
659 * testsuite/gas/mips/octeon@c2.d: New test.
660 * testsuite/gas/mips/c3.d: New test.
661 * testsuite/gas/mips/mips1@c3.d: New test.
662 * testsuite/gas/mips/mips2@c3.d: New test.
663 * testsuite/gas/mips/mips32@c3.d: New test.
664 * testsuite/gas/mips/r3000@c3.d: New test.
665 * testsuite/gas/mips/r3900@c3.d: New test.
666 * testsuite/gas/mips/c0.l: New test stderr output.
667 * testsuite/gas/mips/c2.l: New test stderr output.
668 * testsuite/gas/mips/c3.l: New test stderr output.
669 * testsuite/gas/mips/c0.s: New test source.
670 * testsuite/gas/mips/c1.s: New test source.
671 * testsuite/gas/mips/c2.s: New test source.
672 * testsuite/gas/mips/c3.s: New test source.
673 * testsuite/gas/mips/mips.exp: Run the new tests.
674
4c67fb41
MR
6752021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
676
677 * testsuite/gas/mips/mips.exp: Run RFE test across all ISAs.
678 * testsuite/gas/mips/rfe.d: Update for ISA exclusions.
679 * testsuite/gas/mips/mips1@rfe.d: New test.
680 * testsuite/gas/mips/mips2@rfe.d: New test.
681 * testsuite/gas/mips/r3000@rfe.d: New test.
682 * testsuite/gas/mips/r3900@rfe.d: New test.
683 * testsuite/gas/mips/rfe.l: New test stderr output.
684
2d5e2889
MR
6852021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
686
687 * testsuite/gas/mips/mips.exp: Run coprocessor tests across all
688 ISAs.
689 * testsuite/gas/mips/cp0b.d: Update for ISA exclusions.
690 * testsuite/gas/mips/cp0bl.d: Update for ISA exclusions.
691 * testsuite/gas/mips/cp0c.d: Update for ISA exclusions.
692 * testsuite/gas/mips/cp0m.d: Update for ISA exclusions.
693 * testsuite/gas/mips/cp3.d: Update for ISA exclusions.
694 * testsuite/gas/mips/cp3b.d: Update for ISA exclusions.
695 * testsuite/gas/mips/cp3bl.d: Update for ISA exclusions.
696 * testsuite/gas/mips/cp3m.d: Update for ISA exclusions.
697 * testsuite/gas/mips/cp3d.d: Update for ISA exclusions.
698 * testsuite/gas/mips/mips1@cp0b.d: New test.
699 * testsuite/gas/mips/mips2@cp0b.d: New test.
700 * testsuite/gas/mips/mips3@cp0b.d: New test.
701 * testsuite/gas/mips/r3000@cp0b.d: New test.
702 * testsuite/gas/mips/r3900@cp0b.d: New test.
703 * testsuite/gas/mips/r4000@cp0b.d: New test.
704 * testsuite/gas/mips/r5900@cp0b.d: New test.
705 * testsuite/gas/mips/mips2@cp0bl.d: New test.
706 * testsuite/gas/mips/mips3@cp0bl.d: New test.
707 * testsuite/gas/mips/r3900@cp0bl.d: New test.
708 * testsuite/gas/mips/r4000@cp0bl.d: New test.
709 * testsuite/gas/mips/r5900@cp0bl.d: New test.
710 * testsuite/gas/mips/mips1@cp0c.d: New test.
711 * testsuite/gas/mips/mips2@cp0c.d: New test.
712 * testsuite/gas/mips/mips3@cp0c.d: New test.
713 * testsuite/gas/mips/mips4@cp0c.d: New test.
714 * testsuite/gas/mips/mips5@cp0c.d: New test.
715 * testsuite/gas/mips/r3000@cp0c.d: New test.
716 * testsuite/gas/mips/r3900@cp0c.d: New test.
717 * testsuite/gas/mips/r4000@cp0c.d: New test.
718 * testsuite/gas/mips/vr5400@cp0c.d: New test.
719 * testsuite/gas/mips/r5900@cp0c.d: New test.
720 * testsuite/gas/mips/mips1@cp0m.d: New test.
721 * testsuite/gas/mips/r3000@cp0m.d: New test.
722 * testsuite/gas/mips/octeon@cp2.d: New test.
723 * testsuite/gas/mips/mipsr6@cp2b.d: New test.
724 * testsuite/gas/mips/vr5400@cp2b.d: New test.
725 * testsuite/gas/mips/octeon@cp2b.d: New test.
726 * testsuite/gas/mips/mips1@cp2bl.d: New test.
727 * testsuite/gas/mips/mipsr6@cp2bl.d: New test.
728 * testsuite/gas/mips/r3000@cp2bl.d: New test.
729 * testsuite/gas/mips/vr5400@cp2bl.d: New test.
730 * testsuite/gas/mips/octeon@cp2bl.d: New test.
731 * testsuite/gas/mips/vr5400@cp2m.d: New test.
732 * testsuite/gas/mips/r5900@cp2m.d: New test.
733 * testsuite/gas/mips/octeon@cp2m.d: New test.
734 * testsuite/gas/mips/mips1@cp2d.d: New test.
735 * testsuite/gas/mips/r3000@cp2d.d: New test.
736 * testsuite/gas/mips/r3900@cp2d.d: New test.
737 * testsuite/gas/mips/vr5400@cp2d.d: New test.
738 * testsuite/gas/mips/r5900@cp2d.d: New test.
739 * testsuite/gas/mips/octeon@cp2d.d: New test.
740 * testsuite/gas/mips/mips1@cp2-64.d: New test.
741 * testsuite/gas/mips/mips2@cp2-64.d: New test.
742 * testsuite/gas/mips/mips32@cp2-64.d: New test.
743 * testsuite/gas/mips/mips32r2@cp2-64.d: New test.
744 * testsuite/gas/mips/mips32r3@cp2-64.d: New test.
745 * testsuite/gas/mips/mips32r5@cp2-64.d: New test.
746 * testsuite/gas/mips/mips32r6@cp2-64.d: New test.
747 * testsuite/gas/mips/r3000@cp2-64.d: New test.
748 * testsuite/gas/mips/r3900@cp2-64.d: New test.
749 * testsuite/gas/mips/interaptiv-mr2@cp2-64.d: New test.
750 * testsuite/gas/mips/mips1@cp3.d: New test.
751 * testsuite/gas/mips/mips2@cp3.d: New test.
752 * testsuite/gas/mips/mips32@cp3.d: New test.
753 * testsuite/gas/mips/r3000@cp3.d: New test.
754 * testsuite/gas/mips/r3900@cp3.d: New test.
755 * testsuite/gas/mips/mips1@cp3b.d: New test.
756 * testsuite/gas/mips/mips2@cp3b.d: New test.
757 * testsuite/gas/mips/mips32@cp3b.d: New test.
758 * testsuite/gas/mips/r3000@cp3b.d: New test.
759 * testsuite/gas/mips/r3900@cp3b.d: New test.
760 * testsuite/gas/mips/mips2@cp3bl.d: New test.
761 * testsuite/gas/mips/mips32@cp3bl.d: New test.
762 * testsuite/gas/mips/r3900@cp3bl.d: New test.
763 * testsuite/gas/mips/mips1@cp3m.d: New test.
764 * testsuite/gas/mips/mips2@cp3m.d: New test.
765 * testsuite/gas/mips/r3000@cp3m.d: New test.
766 * testsuite/gas/mips/r3900@cp3m.d: New test.
9cce9fab 767 * testsuite/gas/mips/mips2@cp3d.d: New test.
2d5e2889
MR
768 * testsuite/gas/mips/cp0b.l: New test stderr output.
769 * testsuite/gas/mips/cp0bl.l: New test stderr output.
770 * testsuite/gas/mips/cp0c.l: New test stderr output.
771 * testsuite/gas/mips/cp0m.l: New test stderr output.
772 * testsuite/gas/mips/cp2.l: New test stderr output.
773 * testsuite/gas/mips/cp2-64.l: New test stderr output.
774 * testsuite/gas/mips/cp2b.l: New test stderr output.
775 * testsuite/gas/mips/cp2bl.l: New test stderr output.
776 * testsuite/gas/mips/cp2m.l: New test stderr output.
777 * testsuite/gas/mips/cp2d.l: New test stderr output.
778 * testsuite/gas/mips/cp3.l: New test stderr output.
779 * testsuite/gas/mips/cp3b.l: New test stderr output.
780 * testsuite/gas/mips/cp3bl.l: New test stderr output.
781 * testsuite/gas/mips/cp3m.l: New test stderr output.
782 * testsuite/gas/mips/cp3d.l: New test stderr output.
783
9573a461
MR
7842021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
785
786 * testsuite/gas/mips/mips32@isa-override-1.d: Update for LDC3
787 instruction removal.
788 * testsuite/gas/mips/mips32r2@isa-override-1.d: Likewise.
789
270e2b7d
MR
7902021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
791
792 * testsuite/gas/mips/cp0b.d: New test.
793 * testsuite/gas/mips/cp0bl.d: New test.
794 * testsuite/gas/mips/cp2b.d: New test.
795 * testsuite/gas/mips/micromips@cp2b.d: New test.
796 * testsuite/gas/mips/cp2bl.d: New test.
797 * testsuite/gas/mips/micromips@cp2bl.d: New test.
798 * testsuite/gas/mips/cp3b.d: New test.
799 * testsuite/gas/mips/cp3bl.d: New test.
800 * testsuite/gas/mips/cp0b.s: New test source.
801 * testsuite/gas/mips/cp0bl.s: New test source.
802 * testsuite/gas/mips/cp2b.s: New test source.
803 * testsuite/gas/mips/cp2bl.s: New test source.
804 * testsuite/gas/mips/cp3b.s: New test source.
805 * testsuite/gas/mips/cp3bl.s: New test source.
806 * testsuite/gas/mips/mips.exp: Run the new tests.
807
b930964c
MR
8082021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
809
810 * testsuite/gas/mips/rfe.d: New test.
811 * testsuite/gas/mips/rfe.s: New test source.
812 * testsuite/gas/mips/mips.exp: Run the new test.
813
dd844468
MR
8142021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
815
816 * testsuite/gas/mips/cp1-names-r3900.d: New test.
817 * testsuite/gas/mips/mips.exp: Run the new test.
818 * testsuite/gas/mips/branch-misc-3.d: Update disassembly
819 according to changes to opcodes.
820 * testsuite/gas/mips/cp1-names-r3000.d: Likewise.
821 * testsuite/gas/mips/cp1-names-r4000.d: Likewise.
822 * testsuite/gas/mips/relax-swap1-mips1.d: Likewise.
823 * testsuite/gas/mips/relax-swap1-mips2.d: Likewise.
824 * testsuite/gas/mips/trunc.d: Likewise.
825
709aa065
MR
8262021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
827
828 * testsuite/gas/mips/cp0c.d: New test.
829 * testsuite/gas/mips/cp0m.d: New test.
830 * testsuite/gas/mips/r3900@cp0m.d: New test.
831 * testsuite/gas/mips/cp2.d: New test.
832 * testsuite/gas/mips/micromips@cp2.d: New test.
833 * testsuite/gas/mips/cp2m.d: New test.
834 * testsuite/gas/mips/mipsr6@cp2m.d: New test.
835 * testsuite/gas/mips/micromips@cp2m.d: New test.
836 * testsuite/gas/mips/cp2d.d: New test.
837 * testsuite/gas/mips/mipsr6@cp2d.d: New test.
838 * testsuite/gas/mips/micromips@cp2d.d: New test.
839 * testsuite/gas/mips/cp2-64.d: New test.
840 * testsuite/gas/mips/micromips@cp2-64.d: New test.
841 * testsuite/gas/mips/cp3.d: New test.
842 * testsuite/gas/mips/cp3m.d: New test.
843 * testsuite/gas/mips/cp3d.d: New test.
844 * testsuite/gas/mips/cp0c.s: New test source.
845 * testsuite/gas/mips/cp0m.s: New test source.
846 * testsuite/gas/mips/cp2.s: New test source.
847 * testsuite/gas/mips/cp2m.s: New test source.
848 * testsuite/gas/mips/cp2d.s: New test source.
849 * testsuite/gas/mips/cp2-64.s: New test source.
850 * testsuite/gas/mips/cp3.s: New test source.
851 * testsuite/gas/mips/cp3m.s: New test source.
852 * testsuite/gas/mips/cp3d.s: New test source.
853 * testsuite/gas/mips/mips.exp: Run the new tests.
854
9204ccd4
MR
8552021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
856
857 * tc-mips.c (convert_reg_type) <OP_REG_CONTROL>: New case.
858 (macro) <M_TRUNCWS, M_TRUNCWD>: Use the `g' rather than `G'
859 operand code.
860
a3fb396f
MR
8612021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
862
863 * testsuite/gas/mips/cp0-names-r3900.d: New test.
864 * testsuite/gas/mips/mips.exp: Run it.
865
c9de3168
MR
8662021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
867
868 * testsuite/gas/mips/micromips.d: Update disassembly according
869 to "dmtc1" entry fix with opcodes.
870 * testsuite/gas/mips/micromips-compact.d: Likewise.
871 * testsuite/gas/mips/micromips-insn32.d: Likewise.
872 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
873 * testsuite/gas/mips/micromips-trap.d: Likewise.
874 * testsuite/gas/mips/micromips@isa-override-1.d: Likewise.
875
25663db4
MR
8762021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
877
878 * config/tc-mips.c (FCSR): New macro.
879 (macro) <M_TRUNCWS, M_TRUNCWD>: Use it in place of RA.
880
1273b2f8
L
8812021-05-28 H.J. Lu <hongjiu.lu@intel.com>
882
883 PR ld/27905
884 * config/tc-i386.c (set_code_flag): Revert commit 50c95a739c9.
885 (set_16bit_gcc_code_flag): Likewise.
886 (x86_cleanup): Likewise.
887 * testsuite/gas/i386/code16-2.d: Updated.
888 * testsuite/gas/i386/x86-64-code16-2.d: Likewise.
889
ebcab741
PB
8902021-05-27 Peter Bergner <bergner@linux.ibm.com>
891
892 * testsuite/gas/ppc/vsx.d <xxmr, xxlnot>: Add tests.
893 * testsuite/gas/ppc/vsx.s: Likewise.
894
badf836a
AM
8952021-05-27 Alan Modra <amodra@gmail.com>
896
897 * config/tc-nds32.c (do_pseudo_push_bhwd, do_pseudo_pop_bhwd),
898 (do_pseudo_pusha, do_pseudo_pushi): Avoid fortify strncpy bound
899 error.
900
50c95a73
L
9012021-05-26 H.J. Lu <hongjiu.lu@intel.com>
902
903 PR ld/27905
904 * config/tc-i386.c (set_code_flag): Update x86_feature_2_used
905 with GNU_PROPERTY_X86_FEATURE_2_CODE16 for .code16 in ELF
906 object.
907 (set_16bit_gcc_code_flag): Likewise.
908 (x86_cleanup): Always generate the GNU property note if
909 x86_feature_2_used isn't 0.
910 * testsuite/gas/i386/code16-2.d: New file.
911 * testsuite/gas/i386/code16-2.s: Likewise.
912 * testsuite/gas/i386/x86-64-code16-2.d: Likewise.
913 * testsuite/gas/i386/i386.exp: Run code16-2 and x86-64-code16-2.
914
3f335b75
SV
9152021-05-26 Sebastien Villemot <sebastien@debian.org>
916
917 PR gas/27906
918 * doc/c-i386.texi: Replace movsb with movsxb as an alias for
919 movsbq.
920
fe1f847d
NC
9212021-05-26 Nelson Chu <nelson.chu@sifive.com>
922
923 * config/tc-riscv.c (riscv_set_arch): Set
924 check_unknown_prefixed_ext to true for assembler.
925
d3e52e12
TC
9262021-05-25 Tamar Christina <tamar.christina@arm.com>
927
928 PR gas/25235
929 * config/tc-arm.c (md_convert_frag): Set LSB when Thumb symbol.
930 (relax_adr): Thumb symbols 4 bytes.
931 * testsuite/gas/arm/pr25235.d: New test.
932 * testsuite/gas/arm/pr25235.s: New test.
933
5d0ed830
NC
9342021-05-24 Nelson Chu <nelson.chu@sifive.com>
935
936 PR 25212
937 * config/tc-riscv.c (riscv_set_abi_by_arch): If -mabi isn't set, we
938 will choose ilp32e abi for rv32e. Besides, report errors for the
939 invalid march and mabi combinations.
940 * testsuite/gas/riscv/mabi-attr-rv32e.s: New testcase. Only accept
941 ilp32e abi for rve extension.
942 * testsuite/gas/riscv/mabi-fail-rv32e-lp64f.d: Likewise.
943 * testsuite/gas/riscv/mabi-fail-rv32e-lp64f.l: Likewise.
944 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.d: Likewise.
945 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.l: Likewise.
946 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.q: Likewise.
947 * testsuite/gas/riscv/mabi-fail-rv32e-lp64d.q: Likewise.
948 Renamed all mabi testcases to their march-mabi settings.
949
d7189380
AM
9502021-05-22 Alan Modra <amodra@gmail.com>
951
952 PR 25599
953 * config/tc-ia64.c (emit_one_bundle): Expand comment for HP-UX
954 adjustment. Add assertion.
955 * testsuite/gas/ia64/reloc-mlx.d: Pass when slot 2 specified
956 for PCREL60B.
957
9a01ec4c
SB
9582021-05-20 Sergey Belyashov <sergey.belyashov@gmail.com>
959
960 * config/tc-z80.c (emit_data_val): Warn on constant overflow.
961 (signed_overflow): New function.
962 (unsigned_overflow): New function.
963 (is_overflow): Use new functions.
964 (md_apply_fix): Use signed_overflow.
965 * testsuite/gas/z80/ez80_adl_suf.d: Fix test.
966 * testsuite/gas/z80/ez80_isuf.s: Likewise.
967 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
968
d556135f
NB
9692021-05-20 Nicolas Boulenguez <nicolas@debian.org>
970
971 PR 27888
972 * Makefile.am (ZLIB): Define.
973 (as_new_LDADD): Add it.
974 * Makefile.in: Regenerate.
975
e683cb41
AC
9762021-05-17 Alex Coplan <alex.coplan@arm.com>
977
978 * config/tc-arm.c (do_mve_mov): Only reject vmov if we're moving
979 into the same GPR twice.
980 * testsuite/gas/arm/mve-vmov-bad-2.l: Tweak error message.
981 * testsuite/gas/arm/mve-vmov-3.d: New test.
982 * testsuite/gas/arm/mve-vmov-3.s: New test.
983
af2ddf69
AM
9842021-05-12 Alan Modra <amodra@gmail.com>
985
986 * testsuite/gas/elf/dwarf-5-file0.d: Update.
987 * testsuite/gas/i386/dwarf5-line-1.d: Update.
988
cfe7a191
SB
9892021-05-11 Sergey Belyashov <sergey.belyashov@gmail.com>
990
991 PR 27823
992 * config/tc-z80.c (emit_ld_r_m): Report an illegal load
993 instruction.
994 * testsuite/gas/z80/ill_ops.s: New test source file.
995 * testsuite/gas/z80/ill_ops.d: New test driver.
996 * testsuite/gas/z80/ill_ops.l: New test error output.
997
e4b1ab20
SB
9982021-05-10 Sergey Belyashov <sergey.belyashov@gmail.com>
999
1000 PR 27415
1001 * config/tc-z80.c (emit_data_val): Add support for 8-bit and
1002 24-bit shifts.
1003 * testsuite/gas/z80/z80_reloc.a: Update tests.
1004 * testsuite/gas/z80/z80_reloc.d: Update expected disassembly.
1005
cf758b39
MF
10062021-05-08 Mike Frysinger <vapier@gentoo.org>
1007
1008 * doc/Makefile.am (html-local, as/index.html): New targets.
1009 * doc/Makefile.in: Regenerate.
1010
2faf902d
MF
10112021-05-08 Mike Frysinger <vapier@gentoo.org>
1012
1013 * doc/Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
1014 * doc/Makefile.in: Regenerate.
1015
476654be
NC
10162021-05-07 Nick Clifton <nickc@redhat.com>
1017
1018 PR 3136
1019 * config/obj-elf.c (elf_pseudo_table): Add entry for .bss.
1020 (obj_elf_bss): New function. Change to the .bss section.
1021 Support an optional subsection number.
1022 (obj_elf_change_section): Call obj_elf_section_change_hook.
1023 (obj_elf_section): Likewise.
1024 (obj_elf_data): Likewise.
1025 (obj_elf_text): Likewise.
1026 (obj_elf_struct): Likewise.
1027 (obj_elf_subsection): Likewise.
1028 (obj_elf_previous): Likewise.
1029 * config/obj-elf.h (obj_elf_bss): Prototype.
1030 * doc/as.texi (Bss): New node.
1031
97834047
CC
10322021-05-07 Clément Chigot <clement.chigot@atos.net>
1033
1034 * config/obj-coff.c (coff_frob_symbol): Don't skip C_DWARF.
1035 (coff_adjust_section_syms): Use corrext auxent for C_DWARF.
1036 (coff_frob_section): Likewise.
1037 * config/obj-coff.h (SA_GET_SECT_SCNLEN,
1038 SA_GET_SECT_NRELOC, SA_SET_SECT_SCNLEN,
1039 SA_SET_SECT_NRELOC) New defines.
1040 (SET_SECTION_RELOCS): Adjust for C_DWARF.
1041 * config/tc-ppc.c (ppc_frob_symbol): Don't skip C_DWARF.
1042 (ppc_adjust_symtab): Reorder C_DWARF symbols.
1043 * testsuite/gas/ppc/aix.exp: New tests.
1044 * testsuite/gas/ppc/xcoff-dwsect-2-32.d: New test.
1045 * testsuite/gas/ppc/xcoff-dwsect-2-64.d: New test.
1046 * testsuite/gas/ppc/xcoff-dwsect-2.s: New test.
1047
1048 * config/tc-ppc.c (ppc_function): Update comment for
1049 fifth argument.
1050 (ppc_frob_symbol): Remove ppc_last_function check.
1051 Make sure coff_last_function is reset.
1052 Correctly set fsize when not provided in .function.
1053 * testsuite/gas/ppc/aix.exp: New tests.
1054 * testsuite/gas/ppc/xcoff-function-1-32.d: New test.
1055 * testsuite/gas/ppc/xcoff-function-1-64.d: New test.
1056 * testsuite/gas/ppc/xcoff-function-1.s: New test.
1057
17c6c3b9
JB
10582021-05-07 Jan Beulich <jbeulich@suse.com>
1059
1060 * testsuite/gas/i386/rela.s, testsuite/gas/i386/rela.d: New.
1061 * testsuite/gas/i386/i386.exp: Run new test.
1062
98da05bf
JB
10632021-05-07 Jan Beulich <jbeulich@suse.com>
1064
1065 * config/tc-i386.c (output_disp): Use disps field instead of
1066 imms one.
1067
9aac24b1
JB
10682021-05-07 Jan Beulich <jbeulich@suse.com>
1069
1070 * config/tc-i386.c (i386_finalize_immediate): Move register
1071 check ...
1072 (i386_immediate): ... here.
1073
87ed972d
JB
10742021-05-07 Jan Beulich <jbeulich@suse.com>
1075
1076 * config/tc-i386.c (optimize_imm): Drop redundant masking.
1077 Re-arrange operand type accumulation.
1078
0b3e14c9
SH
10792021-05-06 Stafford Horne <shorne@gmail.com>
1080
1081 PR 21464
1082 * testsuite/gas/or1k/reloc-1.s: Add test for new relocation.
1083 * testsuite/gas/or1k/reloc-1.d: Add test result for new
1084 relocation.
1085
7b06fcf5
JW
10862021-05-03 Christoph Muellner <cmuellner@gcc.gnu.org>
1087
1088 PR 27764
1089 * testsuite/gas/riscv/a-ext-64.d: New testcase.
1090 * testsuite/gas/riscv/a-ext-64.s: Likewise.
1091 * testsuite/gas/riscv/a-ext.d: Likewise.
1092 * testsuite/gas/riscv/a-ext.s: Likewise.
1093
5e0a033b
JB
10942021-05-03 Jan Beulich <jbeulich@suse.com>
1095
1096 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Adjust surrounding
1097 #if.
1098 * testsuite/gas/i386/secrel.s: Convert some .secrel32 to .long.
1099 Add two further .long and an .equ.
1100 * testsuite/gas/i386/secrel.d: Adjust expecations.
1101
3e301ce0
JB
11022021-05-03 Jan Beulich <jbeulich@suse.com>
1103
1104 * testsuite/gas/i386/secrel.d, testsuite/gas/i386/secrel.s:
1105 Convert Windows to UNIX EOL.
1106
deea4973
JB
11072021-05-03 Jan Beulich <jbeulich@suse.com>
1108
1109 * config/tc-i386.c (lex_got): Adjust surrounding #if. Fold TE_PE
1110 variant into ELF one.
1111
db543a7d
AM
11122021-05-03 Alan Modra <amodra@gmail.com>
1113
1114 * testsuite/gas/elf/section25.s: Don't start directives in first
1115 column.
1116 * testsuite/gas/elf/section26.s: Likewise.
1117
a2443c89
JB
11182021-04-29 Jan Beulich <jbeulich@suse.com>
1119
1120 * testsuite/gas/i386/i386.exp: Move x86-64-rip-2 invocation.
1121 * testsuite/gas/i386/lea64.d,
1122 testsuite/gas/i386/lea64-optimize.d: Allow for COFF relocs.
1123 * testsuite/gas/i386/x86-64-rip-inval-1.s,
1124 testsuite/gas/i386/x86-64-rip-inval-2.s. Add .end.
1125
3abbafc2
JB
11262021-04-29 Jan Beulich <jbeulich@suse.com>
1127
1128 * config/tc-i386.c (i386_validate_fix): Change return type to
1129 int. Short-circuit BFD_RELOC_SIZE* handling.
1130 (tc_gen_reloc): New local variable sym. Extend logic when
1131 processing BFD_RELOC_SIZE*.
1132 * config/tc-i386.f (i386_validate_fix): Change return type to
1133 int.
1134 (TC_VALIDATE_FIX): Proceed to SKIP when i386_validate_fix()
1135 returns zero.
1136 * testsuite/gas/i386/size-5.s, testsuite/gas/i386/size-5a.d,
1137 testsuite/gas/i386/size-5b.d: New.
1138 * testsuite/gas/i386/i386.exp: Run new tests.
1139
44f87162
JB
11402021-04-29 Jan Beulich <jbeulich@suse.com>
1141
1142 * config/tc-i386.c (tc_gen_reloc): Use section size for section
1143 symbols when resolving BFD_RELOC_SIZE*.
1144 * testsuite/gas/i386/size-2.s: Add section size cases.
1145 * testsuite/gas/i386/size-2.d,
1146 testsuite/gas/i386/x86-64-size-2.d: Adjust expectations.
1147
eb19308f
JB
11482021-04-28 Jan Beulich <jbeulich@suse.com>
1149 H.J. Lu <hjl.tools@gmail.com>
1150
1151 PR gas/27763
1152 * config/tc-i386.c (output_jump): Also mark 2-byte relocs as
1153 signed for XBEGIN. Also mark 4-byte relocs as signed for 64-bit.
1154 (output_disp): Also mark 4-byte relocs as signed for 64-bit.
1155 (md_estimate_size_before_relax): Move local variable fixP. Set
1156 it from fix_new() return values. Mark 4-byte relocs as signed
1157 for 64-bit.
1158 * testsuite/gas/i386/pcrel64.s, testsuite/gas/i386/pcrel64.l,
1159 * testsuite/gas/i386/x86-64-rip-2.s,
1160 * testsuite/gas/i386/x86-64-rip-2.d,
1161 * testsuite/gas/i386/x86-64-rip-inval-1.s,
1162 * testsuite/gas/i386/x86-64-rip-inval-1.l,
1163 * testsuite/gas/i386/x86-64-rip-inval-2.s,
1164 * testsuite/gas/i386/x86-64-rip-inval-2.l: New.
1165 * testsuite/gas/i386/i386.exp: Run new tests.
1166
60cfa10c
L
11672021-04-27 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * config/tc-i386.c (optimize_encoding): Add () to silence GCC 5.
1170
8fb88245
JB
11712021-04-26 Jan Beulich <jbeulich@suse.com>
1172
1173 * config/tc-i386.c (tc_gen_reloc): Check IS_ELF for
1174 BFD_RELOC_SIZE*.
1175
d965814f
JB
11762021-04-26 Jan Beulich <jbeulich@suse.com>
1177
1178 * config/tc-i386.c (tc_gen_reloc): Limit BFD_RELOC_SIZE32
1179 overflow check to 64-bit objects.
1180
fe134c65
JB
11812021-04-26 Jan Beulich <jbeulich@suse.com>
1182
1183 * config/tc-i386.c (want_disp32): Also check for SIZE32.
1184 (optimize_encoding): Handle LEA.
1185 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
1186 testsuite/gas/i386/lea.e, testsuite/gas/i386/lea-optimize.d:
1187 Add many more forms.
1188 * testsuite/gas/i386/lea16.s, testsuite/gas/i386/lea16-optimize.d,
1189 testsuite/gas/i386/lea64.s, testsuite/gas/i386/lea64.d,
1190 testsuite/gas/i386/lea64.e, testsuite/gas/i386/lea64-optimize.d:
1191 New.
1192 * testsuite/gas/i386/i386.exp: Run new tests.
1193
b8188555
JB
11942021-04-26 Jan Beulich <jbeulich@suse.com>
1195
1196 * config/tc-i386.c (md_apply_fix): Mark BFD_RELOC_X86_64_32S as
1197 signed.
1198 * testsuite/gas/i386/x86-64-addr32-bad.s,
1199 testsuite/gas/i386/x86-64-addr32-bad.l: New.
1200 * testsuite/gas/i386/i386.exp: Run new test.
1201
f5e98b7d
EB
12022021-04-23 Eric Botcazou<ebotcazou@adacore.com>
1203
1204 * testsuite/gas/elf/section25.d: Run it everywhere.
1205 * testsuite/gas/elf/section26.d: Likewise.
1206 * testsuite/gas/elf/section26.s: Add test for .persistent.bss.
1207
d039200a
G
12082021-04-23 Jérôme Gardou <jerome.gardou@gmail.com>
1209
1210 * config/obj-coff-seh.c (obj_coff_seh_pushframe): Allow an
1211 optional "code" argument.
1212
a9aabc23
JB
12132021-04-23 Jan Beulich <jbeulich@suse.com>
1214
1215 * config/tc-i386.c (want_disp32): New.
1216 (md_assemble): Use it.
1217 (optimize_disp): Likewise.
1218 (build_modrm_byte): Likewise.
1219
cce08655
JB
12202021-04-23 Jan Beulich <jbeulich@suse.com>
1221
1222 * config/tc-i386.c (i386_finalize_displacement): Move Disp32S
1223 check ...
1224 (md_assemble): ... here.
1225
28a167a4
JB
12262021-04-23 Jan Beulich <jbeulich@suse.com>
1227
1228 * config/tc-i386.c (optimize_disp): Move down BFD64 section.
1229 Move up setting of disp32.
1230
7b025ee8
JB
12312021-04-23 Jan Beulich <jbeulich@suse.com>
1232
1233 * config/tc-i386.c (pe): Don't truncate expression value.
1234 (i386_finalize_displacement): Likewise.
1235
23356397
NC
12362021-04-21 Nick Clifton <nickc@redhat.com>
1237
1238 * testsuite/gas/aarch64/dwarf.d: Adjust expected output to allow
1239 for named section symbols.
1240 * testsuite/gas/arm/thumbver.d: Likewise.
1241 * testsuite/gas/bfin/loop_temps.d: Likewise.
1242 * testsuite/gas/elf/section2.e-arc: Likewise.
1243 * testsuite/gas/elf/section2.e-arm: Likewise.
1244 * testsuite/gas/elf/section2.e-csky: Likewise.
1245 * testsuite/gas/elf/section2.e-m32r: Likewise.
1246 * testsuite/gas/elf/section2.e-mips: Likewise.
1247 * testsuite/gas/elf/section2.e-msp430: Likewise.
1248 * testsuite/gas/elf/section2.e-riscv: Likewise.
1249 * testsuite/gas/elf/section2.e-rl78: Likewise.
1250 * testsuite/gas/elf/section2.e-rx: Likewise.
1251 * testsuite/gas/elf/section2.e-score: Likewise.
1252 * testsuite/gas/elf/section2.e-tic6x: Likewise.
1253 * testsuite/gas/elf/section2.e-unused: Likewise.
1254 * testsuite/gas/elf/section2.e-v850: Likewise.
1255 * testsuite/gas/elf/section2.e-xtensa: Likewise.
1256 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
1257 * testsuite/gas/ia64/alias.d: Likewise.
1258 * testsuite/gas/ia64/global.d: Likewise.
1259 * testsuite/gas/microblaze/relax_size.elf: Likewise.
1260 * testsuite/gas/microblaze/relax_size2.elf: Likewise.
1261 * testsuite/gas/mips/global-local-symtab-sort-n64t.d: Likewise.
1262 * testsuite/gas/mips/global-local-symtab-sort-o32t.d: Likewise.
1263 * testsuite/gas/mmix/bspec-1.d: Likewise.
1264 * testsuite/gas/mmix/byte-1.d: Likewise.
1265 * testsuite/gas/mmix/comment-1.d: Likewise.
1266 * testsuite/gas/mmix/loc-1.d: Likewise.
1267 * testsuite/gas/mmix/loc-2.d: Likewise.
1268 * testsuite/gas/mmix/loc-3.d: Likewise.
1269 * testsuite/gas/mmix/loc-4.d: Likewise.
1270 * testsuite/gas/mmix/loc-5.d: Likewise.
1271 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1272
c5df7e44
CC
12732021-04-20 Clément Chigot <clement.chigot@atos.net>
1274
1275 PR binutils/21700
1276 * config/tc-ppc.c (ppc_get_csect_to_adjust): New function.
1277 (ppc_fix_adjustable): Manage fx_subsy part.
1278 (tc_gen_reloc): Create second relocation when both
1279 fx_addsy and fx_subsy are provided.
1280 * config/tc-ppc.h (RELOC_EXPANSION_POSSIBLE): New define.
1281 (MAX_RELOC_EXPANSION): Likewise.
1282 (TC_FORCE_RELOCATION_SUB_SAME): Likewise
1283 (UNDEFINED_DIFFERENCE_OK): Likewise
1284 * testsuite/gas/all/gas.exp: Skip difference between two
1285 undefined symbols test.
1286
8d6502d2
NC
12872021-04-19 Nick Clifton <nickc@redhat.com>
1288
1289 * testsuite/gas/all/gas.exp: Add rs6000*-*-aix* to the list of
1290 targets which should skip the undefined symbols test.
1291
02202574
PW
12922021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1293
1294 * NEWS: Update news.
1295 * testsuite/gas/aarch64/rme.d: Update test.
1296 * testsuite/gas/aarch64/rme.s: Update test.
1297
cd6608e4
PW
12982021-04-19 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1299
1300 * testsuite/gas/aarch64/rme.d: Update test.
1301 * testsuite/gas/aarch64/rme.s: Update test.
1302
9a8041fd
JB
13032021-04-19 Jan Beulich <jbeulich@suse.com>
1304
1305 * as.h (sprint_value): Delete.
1306 * messages.c (sprint_value): Likewise.
1307 * config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
1308 place of sprint_value.
1309 * config/tc-s390.c (s390_insert_operand): Likewise.
1310 * doc/internals.texi (sprint_value): Delete section.
1311 * write.c (fixup_segment): Likewise.
1312 (relax_segment): Likewise.
1313
100e914d
PW
13142021-04-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
1315
1316 * testsuite/gas/aarch64/rme-invalid.d: New test.
1317 * testsuite/gas/aarch64/rme-invalid.l: New test.
1318 * testsuite/gas/aarch64/rme-invalid.s: New test.
1319 * testsuite/gas/aarch64/rme.d: New test.
1320 * testsuite/gas/aarch64/rme.s: New test.
1321
768589d1
NC
13222021-04-16 Nelson Chu <nelson.chu@sifive.com>
1323
1324 PR 27436
1325 * config/tc-riscv.c (riscv_ip): make operand C> work the same as >.
1326 * testsuite/gas/riscv/shamt-32.d: New testcase.
1327 * testsuite/gas/riscv/shamt-32.l: Likewise.
1328 * testsuite/gas/riscv/shamt-32.s: Likewise.
1329 * testsuite/gas/riscv/shamt-64.d: Likewise.
1330 * testsuite/gas/riscv/shamt-64.l: Likewise.
1331 * testsuite/gas/riscv/shamt-64.s: Likewise.
1332
a21b96dd
NC
13332021-04-16 Lifang Xia <lifang_xia@c-sky.com>
1334
1335 * testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
1336 c.mv a4,a4.
1337 * testsuite/gas/riscv/c-zero-imm.s: Likewise.
1338
d20eb466
AM
13392021-04-14 Alan Modra <amodra@gmail.com>
1340
1341 PR 27723
1342 * dw2gencfi.c (initial_cie_insn): New function, extracted from..
1343 (select_cie_for_fde): ..here. Simplify.
1344
c159f352
AM
13452021-04-14 Alan Modra <amodra@gmail.com>
1346
1347 PR 27723
1348 * dw2gencfi.c (select_cie_for_fde): Handle DW_CFA_val_offset,
1349 DW_CFA_GNU_window_save and DW_CFA_restore_state.
1350
4bb920c6
AM
13512021-04-13 Alan Modra <amodra@gmail.com>
1352
1353 * testsuite/gas/m68hc11/m68hc11.exp (gas_m68hc11_message): Don't
1354 write to $srcdir. Use gas_host_run and read output file rather
1355 than gas_start/gas_finish.
1356
32d71569
AM
13572021-04-12 Alan Modra <amodra@gmail.com>
1358
1359 * config/tc-ppc.c (insn_validate): Use uint64_t for operand values.
1360 (md_assemble): Likewise. Handle bignum operands.
1361 (ppc_elf_suffix): Handle O_big. Remove unnecessary input_line_pointer
1362 check.
1363 * expr.c: Delete unnecessary forward declarations.
1364 (generic_bignum_to_int32): Return uint32_t.
1365 (generic_bignum_to_int64): Return uint64_t. Compile always.
1366 (operand): Twiddle X_extrabit for unary '~'. Set X_unsigned and
1367 clear X_extrabit for unary '!'.
1368 * expr.h (generic_bignum_to_int32): Declare.
1369 (generic_bignum_to_int64): Declare.
1370 * testsuite/gas/ppc/prefix-pcrel.s,
1371 * testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
1372
e601909a
NC
13732021-04-12 Nelson Chu <nelson.chu@sifive.com>
1374
1375 * testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
1376 march-fail-porder-x-std.d.
1377 * testsuite/gas/riscv/march-fail-order-z-std.d: Renamed from
1378 march-fail-porder-z-std.d.
1379 * testsuite/gas/riscv/march-fail-order-x-z.d: Renamed from
1380 march-fail-porder-x-z.d.
1381 * testsuite/gas/riscv/march-fail-order-zx-std.l: Added to replace
1382 march-fail-porder.l.
1383 * testsuite/gas/riscv/march-fail-order-x-z.l: Likewise.
1384 * testsuite/gas/riscv/march-fail-order-x.l: Updated.
1385 * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
1386 * testsuite/gas/riscv/march-fail-single-prefix-h.d: Renamed from
1387 march-fail-single-char-h.d.
1388 * testsuite/gas/riscv/march-fail-single-prefix-s.d: Renamed from
1389 march-fail-single-char-s.d.
1390 * testsuite/gas/riscv/march-fail-single-prefix-x.d: Renamed from
1391 march-fail-single-char-x.d.
1392 * testsuite/gas/riscv/march-fail-single-prefix-z.d: Renamed from
1393 march-fail-single-char-z.d.
1394 * testsuite/gas/riscv/march-fail-single-prefix-zmx.d: Added.
1395 * testsuite/gas/riscv/march-fail-single-prefix.l: Added to replace
1396 march-fail-single-prefix.l.
1397 * testsuite/gas/riscv/march-fail-unknown-zxm.d: Added.
1398 * testsuite/gas/riscv/march-fail-unknown-std.l: Updated.
1399 * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
1400
dd170203
TB
14012021-04-09 Tejas Belagod <tejas.belagod@arm.com>
1402
32d71569
AM
1403 * config/tc-aarch64.c (warn_unpredictable_ldst): Clean-up
1404 diagnostic messages for LD/ST Exclusive instructions.
dd170203 1405 * testsuite/gas/aarch64/diagnostic.s: Add a diagnostic test for STLXP.
32d71569
AM
1406 * testsuite/gas/aarch64/diagnostic.l: Fix-up test after message
1407 clean-up.
dd170203 1408
c3f72de4
AM
14092021-04-09 Alan Modra <amodra@gmail.com>
1410
1411 * testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
1412 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
1413 * gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
1414
97bf40d8
AM
14152021-04-08 Alan Modra <amodra@gmail.com>
1416
1417 * testsuite/gas/ppc/pr27676.d,
1418 * testsuite/gas/ppc/pr27676.s: New test.
1419 * testsuite/gas/ppc/ppc.exp: Run it.
1420 * testsuite/gas/ppc/dcbt.d: Update.
1421 * testsuite/gas/ppc/power4_32.d: Update.
1422
b12389f2
AM
14232021-04-07 Alan Modra <amodra@gmail.com>
1424
1425 PR 27217
1426 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs.
1427
eac4eb8e
NC
14282021-04-06 Nick Clifton <nickc@redhat.com>
1429
1430 PR 27217
1431 * config/tc-aarch64.c (my_get_expression): Rename to
1432 aarch64_get_expression. Add a fifth argument to enable deferring
1433 of expression resolution.
1434 (parse_typed_reg): Update calls to my_get_expression.
1435 (parse_vector_reg_list): Likewise.
1436 (parse_immediate_expression): Likewise.
1437 (parse_big_immediate): Likewise.
1438 (parse_shift): Likewise.
1439 (parse_shifter_operand_imm): Likewise.
1440 (parse_operands): Likewise.
1441 (parse_shifter_operand_reloc): Update calls to my_get_expression
1442 and call aarch64_force_reloc to determine the value of the new
1443 fifth argument.
1444 (parse_address_main): Likewise.
1445 (parse_half): Likewise.
1446 (parse_adrp): Likewise.
1447 (aarch64_force_reloc): New function. Contains code extracted from...
1448 (aarch64_force_relocation): ... here.
1449 * testsuite/gas/aarch64/pr27217.s: New test case.
1450 * testsuite/gas/aarch64/pr27217.d: New test driver.
1451
da0835ae
JB
14522021-04-06 Jan Beulich <jbeulich@suse.com>
1453
1454 * write.c (fixup_segment): Move add_symbol_segment declaration
1455 into main loop.
1456
23d61380
AM
14572021-04-05 Alan Modra <amodra@gmail.com>
1458
1459 * configure.ac: Don't check for string.h, strings.h, stdlib.h,
1460 errno.h, limits.h, locale.h or time.h. Don't check for unlink,
1461 remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
1462 Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
1463 strstr, or vsnprintf declarations.
1464 (AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
1465 * as.h: Don't include alloca-conf.h, include config.h instead.
1466 Include string.h, stdlib.h, errno.h unconditionally. Remove
1467 various fallback declarations.
1468 * asintl.h: Don't test HAVE_LOCALE_H.
1469 * as.c: Don't test HAVE_SETLOCALE.
1470 * dwarf2dbg.c: Include limits.h unconditionally.
1471 * expr.c: Likewise.
1472 * sb.c: Likewise.
1473 * symbols.c: Likewise.
1474 * config/tc-cr16.c: Likewise.
1475 * config/tc-d30v.c: Likewise.
1476 * config/tc-i386.c: Likewise.
1477 * config/tc-ia64.c: Likewise.
1478 * config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
1479 * config.in: Regenerate.
1480 * configure: Regenerate.
1481 * Makefile.in: Regenerate.
1482 * doc/Makefile.in: Regenerate.
1483
e9b095a5
ML
14842021-04-01 Martin Liska <mliska@suse.cz>
1485
1486 * config/obj-coff.c (strneq): Remove strneq and use startswith.
1487 (weak_is_altname): Likewise.
1488 (obj_coff_section): Likewise.
1489 * config/tc-cr16.c (process_label_constant): Likewise.
1490 * config/tc-crx.c (strneq): Likewise.
1491
d34049e8
ML
14922021-04-01 Martin Liska <mliska@suse.cz>
1493
1494 * as.c (select_emulation_mode): Use startswith.
1495 * config/m68k-parse.y: Likewise.
1496 * config/obj-aout.c (obj_aout_type): Likewise.
1497 * config/obj-elf.c (elf_common_parse): Likewise.
1498 (obj_elf_section_type): Likewise.
1499 (obj_elf_section_word): Likewise.
1500 (obj_elf_section): Likewise.
1501 (obj_elf_symver): Likewise.
1502 (adjust_stab_sections): Likewise.
1503 * config/obj-evax.c (evax_shorten_name): Likewise.
1504 * config/obj-macho.c (obj_mach_o_is_frame_section): Likewise.
1505 * config/tc-aarch64.c (parse_aarch64_imm_float): Likewise.
1506 (aarch64_parse_features): Likewise.
1507 (create_register_alias): Likewise.
1508 (aarch64_data_in_code): Likewise.
1509 (md_parse_option): Likewise.
1510 * config/tc-alpha.c (s_alpha_section_word): Likewise.
1511 (s_alpha_pdesc): Likewise.
1512 * config/tc-arc.c (tokenize_extregister): Likewise.
1513 * config/tc-arm.c (create_register_alias): Likewise.
1514 (create_neon_reg_alias): Likewise.
1515 (parse_ifimm_zero): Likewise.
1516 (parse_qfloat_immediate): Likewise.
1517 (arm_elf_section_type): Likewise.
1518 (arm_parse_extension): Likewise.
1519 (aeabi_set_public_attributes): Likewise.
1520 (s_arm_arch_extension): Likewise.
1521 (arm_data_in_code): Likewise.
1522 (start_unwind_section): Likewise.
1523 * config/tc-avr.c (avr_ldi_expression): Likewise.
1524 * config/tc-csky.c (is_freglist_legal): Likewise.
1525 (csky_s_section): Likewise.
1526 * config/tc-d30v.c (do_assemble): Likewise.
1527 * config/tc-dlx.c (parse_operand): Likewise.
1528 * config/tc-epiphany.c (md_assemble): Likewise.
1529 * config/tc-h8300.c (h8300_elf_section): Likewise.
1530 (get_operand): Likewise.
1531 * config/tc-hppa.c (pa_ip): Likewise.
1532 (pa_level): Likewise.
1533 (pa_space): Likewise.
1534 * config/tc-i386.c (i386_mach): Likewise.
1535 (md_assemble): Likewise.
1536 (check_VecOperations): Likewise.
1537 (i386_target_format): Likewise.
1538 (i386_elf_section_type): Likewise.
1539 * config/tc-ia64.c (start_unwind_section): Likewise.
1540 (md_parse_option): Likewise.
1541 (is_taken_branch): Likewise.
1542 (idesc->name,): Likewise.
1543 (note_register_values): Likewise.
1544 (do_alias): Likewise.
1545 * config/tc-m32c.c (insn_to_subtype): Likewise.
1546 * config/tc-m68hc11.c (get_operand): Likewise.
1547 (md_assemble): Likewise.
1548 * config/tc-m68k.c (m68k_ip): Likewise.
1549 (m68k_elf_suffix): Likewise.
1550 * config/tc-mcore.c (mcore_s_section): Likewise.
1551 * config/tc-metag.c (parse_get_set): Likewise.
1552 (md_parse_option): Likewise.
1553 * config/tc-microblaze.c (parse_imm): Likewise.
1554 (check_got): Likewise.
1555 (md_apply_fix): Likewise.
1556 * config/tc-mips.c (CPU_HAS_MIPS16): Likewise.
1557 (md_begin): Likewise.
1558 (s_is_linkonce): Likewise.
1559 (check_regno): Likewise.
1560 (match_float_constant): Likewise.
1561 (classify_vr4120_insn): Likewise.
1562 (match_insn): Likewise.
1563 (mips_after_parse_args): Likewise.
1564 (s_change_sec): Likewise.
1565 (s_option): Likewise.
1566 (parse_code_option): Likewise.
1567 (md_section_align): Likewise.
1568 (nopic_need_relax): Likewise.
1569 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1570 * config/tc-mn10300.c (mn10300_fix_adjustable): Likewise.
1571 (mn10300_end_of_match): Likewise.
1572 * config/tc-msp430.c (msp430_make_init_symbols): Likewise.
1573 * config/tc-nds32.c (nds32_parse_option): Likewise.
1574 * config/tc-nds32.h (md_do_align): Likewise.
1575 * config/tc-nios2.c (strprefix): Likewise.
1576 (nios2_special_relocation_p): Likewise.
1577 (nios2_parse_base_register): Likewise.
1578 (nios2_cons): Likewise.
1579 * config/tc-ns32k.c (addr_mode): Likewise.
1580 * config/tc-pdp11.c (set_option): Likewise.
1581 (parse_reg): Likewise.
1582 (parse_ac5): Likewise.
1583 (parse_op_no_deferred): Likewise.
1584 (set_cpu_model): Likewise.
1585 (set_machine_model): Likewise.
1586 * config/tc-pj.c (md_operand): Likewise.
1587 * config/tc-ppc.c (ppc_set_cpu): Likewise.
1588 (ppc_arch): Likewise.
1589 (ppc_section_type): Likewise.
1590 * config/tc-s12z.c (tb_reg_rel): Likewise.
1591 (tb_opr_rel): Likewise.
1592 * config/tc-s390.c (s390_parse_cpu): Likewise.
1593 (md_parse_option): Likewise.
1594 * config/tc-score.c (s3_nopic_need_relax): Likewise.
1595 (s3_pic_need_relax): Likewise.
1596 * config/tc-score7.c (s7_nopic_need_relax): Likewise.
1597 (s7_pic_need_relax): Likewise.
1598 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
1599 * config/tc-sparc.c (md_parse_option): Likewise.
1600 (sparc_ip): Likewise.
1601 (s_reserve): Likewise.
1602 (s_common): Likewise.
1603 (s_seg): Likewise.
1604 (sparc_cons): Likewise.
1605 * config/tc-tic54x.c (stag_add_field): Likewise.
1606 (tic54x_endstruct): Likewise.
1607 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1608 * config/tc-v850.c (v850_comm): Likewise.
1609 (md_begin): Likewise.
1610 (md_assemble): Likewise.
1611 * config/tc-vax.c (vax_cons): Likewise.
1612 * config/tc-wasm32.c (wasm32_leb128): Likewise.
1613 * config/tc-xstormy16.c (md_operand): Likewise.
1614 * config/tc-xtensa.c (get_directive): Likewise.
1615 (xg_instruction_matches_option_term): Likewise.
1616 (is_unaligned_label): Likewise.
1617 (cache_literal_section): Likewise.
1618 * config/xtensa-relax.c (parse_precond): Likewise.
1619 (parse_option_cond): Likewise.
1620 (transition_applies): Likewise.
1621 (wide_branch_opcode): Likewise.
1622 * dw2gencfi.c: Likewise.
1623 * dwarf2dbg.c (dwarf2_directive_filename): Likewise.
1624 * ehopt.c (get_cie_info): Likewise.
1625 * input-file.c (input_file_open): Likewise.
1626 * listing.c (listing_newline): Likewise.
1627 (debugging_pseudo): Likewise.
1628 * read.c (read_a_source_file): Likewise.
1629 * write.c (adjust_reloc_syms): Likewise.
1630 (compress_debug): Likewise.
1631 (maybe_generate_build_notes): Likewise.
1632
fdb21288
AM
16332021-03-31 Alan Modra <amodra@gmail.com>
1634
1635 * itbl-lex-wrapper.c: Include as.h not sysdep.h.
1636 * config/bfin-lex-wrapper.c: Likewise.
1637 * itbl-lex.l: Don't include as.h.
1638 * config/bfin-lex.l: Likewise.
1639
5b7c81bd
AM
16402021-03-31 Alan Modra <amodra@gmail.com>
1641
1642 * as.h (POISON_BFD_BOOLEAN): Define.
1643 * as.c, * as.h, * atof-generic.c, * config/atof-ieee.c,
1644 * config/bfin-aux.h, * config/obj-coff.c, * config/obj-ecoff.c,
1645 * config/obj-elf.c, * config/obj-elf.h, * config/obj-som.c,
1646 * config/tc-aarch64.c, * config/tc-alpha.c, * config/tc-arc.c,
1647 * config/tc-arc.h, * config/tc-arm.c, * config/tc-arm.h,
1648 * config/tc-avr.c, * config/tc-avr.h, * config/tc-bfin.c,
1649 * config/tc-bfin.h, * config/tc-bpf.c, * config/tc-cris.c,
1650 * config/tc-csky.c, * config/tc-csky.h, * config/tc-d10v.c,
1651 * config/tc-d10v.h, * config/tc-d30v.c, * config/tc-d30v.h,
1652 * config/tc-dlx.c, * config/tc-dlx.h, * config/tc-epiphany.c,
1653 * config/tc-epiphany.h, * config/tc-fr30.c, * config/tc-fr30.h,
1654 * config/tc-frv.c, * config/tc-frv.h, * config/tc-ft32.c,
1655 * config/tc-ft32.h, * config/tc-h8300.c, * config/tc-hppa.c,
1656 * config/tc-i386-intel.c, * config/tc-i386.c, * config/tc-ia64.c,
1657 * config/tc-ip2k.c, * config/tc-iq2000.c, * config/tc-iq2000.h,
1658 * config/tc-lm32.c, * config/tc-lm32.h, * config/tc-m32c.c,
1659 * config/tc-m32c.h, * config/tc-m32r.c, * config/tc-m32r.h,
1660 * config/tc-m68hc11.c, * config/tc-m68k.c, * config/tc-mcore.c,
1661 * config/tc-mcore.h, * config/tc-mep.c, * config/tc-mep.h,
1662 * config/tc-metag.c, * config/tc-metag.h,
1663 * config/tc-microblaze.c, * config/tc-mips.c, * config/tc-mips.h,
1664 * config/tc-mmix.c, * config/tc-mn10200.c, * config/tc-mn10300.c,
1665 * config/tc-mn10300.h, * config/tc-moxie.c, * config/tc-msp430.c,
1666 * config/tc-msp430.h, * config/tc-mt.c, * config/tc-mt.h,
1667 * config/tc-nds32.c, * config/tc-nds32.h, * config/tc-nios2.c,
1668 * config/tc-ns32k.c, * config/tc-or1k.c, * config/tc-or1k.h,
1669 * config/tc-pdp11.c, * config/tc-ppc.c, * config/tc-pru.c,
1670 * config/tc-pru.h, * config/tc-riscv.c, * config/tc-riscv.h,
1671 * config/tc-rx.c, * config/tc-rx.h, * config/tc-s12z.c,
1672 * config/tc-s12z.h, * config/tc-s390.c, * config/tc-score.c,
1673 * config/tc-score.h, * config/tc-score7.c, * config/tc-sh.c,
1674 * config/tc-sh.h, * config/tc-spu.c, * config/tc-tic54x.c,
1675 * config/tc-tic6x.c, * config/tc-tic6x.h, * config/tc-tilegx.c,
1676 * config/tc-tilepro.c, * config/tc-v850.c, * config/tc-v850.h,
1677 * config/tc-visium.c, * config/tc-visium.h, * config/tc-wasm32.c,
1678 * config/tc-wasm32.h, * config/tc-xc16x.c, * config/tc-xgate.c,
1679 * config/tc-xstormy16.c, * config/tc-xstormy16.h,
1680 * config/tc-xtensa.c, * config/tc-xtensa.h, * config/tc-z80.c,
1681 * config/tc-z8k.c, * config/xtensa-istack.h,
1682 * config/xtensa-relax.c, * config/xtensa-relax.h, * dw2gencfi.c,
1683 * dwarf2dbg.c, * dwarf2dbg.h, * expr.c, * expr.h, * frags.c,
1684 * frags.h, * listing.c, * macro.c, * output-file.c, * read.c,
1685 * read.h, * stabs.c, * symbols.c, * write.c: Replace bfd_boolean
1686 with bool, FALSE with false, and TRUE with true.
1687
3dfb1b6d
AM
16882021-03-31 Alan Modra <amodra@gmail.com>
1689
1690 * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h.
1691 * config/tc-crx.c: Likewise.
1692 * config/tc-nds32.h: Likewise.
1693
5e042380
JB
16942021-03-30 Jan Beulich <jbeulich@suse.com>
1695
1696 * config/tc-i386.c (build_modrm_byte): Change return type.
1697 Change type of "default_seg". Use NULL. Adjust setting of
1698 "default_seg".
1699 (reg_ds, reg_es, reg_ss): New.
1700 (struct _i386_insn): Change type of seg[].
1701 (md_begin): Initialize reg_ds, reg_es, and reg_ss.
1702 (swap_operands): Change type of "temp_seg".
1703 (check_string): Adjust %es check.
1704 (process_operands): Change type of "default_seg". Use NULL.
1705 Adjust segment override processing..
1706 (i386_att_operand): Adjust segment override handling.
1707 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1708
34684862
JB
17092021-03-30 Jan Beulich <jbeulich@suse.com>
1710
1711 * config/tc-i386.c (reg_eax): New.
1712 (md_begin): Initialize reg_eax.
1713 * config/tc-i386-intel.c (i386_intel_simplify_register): Use
1714 reg_eax.
1715 (i386_intel_simplify): Likewise.
1716
6288d05f
JB
17172021-03-30 Jan Beulich <jbeulich@suse.com>
1718
1719 * config/tc-i386.c (reg_st0): New.
1720 (md_begin): Convert to switch(). Initialize reg_st0. Don't
1721 insert other st(N).
1722 (parse_real_register): Adjust st(N) processing.
1723
ca5312a2
JB
17242021-03-30 Jan Beulich <jbeulich@suse.com>
1725
1726 * config/tc-i386.c (rc_op): Delete.
1727 (struct Rounding_Operation): Move ...
1728 (struct _i386_insn): ... here. Change field "rounding".
1729 (build_evex_prefix): Adjust rounding processing.
1730 (swap_2_operands): Likewise.
1731 (check_VecOperands): Likewise.
1732 (RC_SAE_immediate): Likewise.
1733 (optimize_encoding): Adjust check for rounding.
1734 (build_modrm_byte): Likewise.
1735 (output_imm): Likewise.
1736 (md_assemble): Initialize rounding type.
1737
5273a3cd
JB
17382021-03-30 Jan Beulich <jbeulich@suse.com>
1739
1740 * config/tc-i386.c (broadcast_op): Delete.
1741 (struct Broadcast_Operation): Move ...
1742 (struct _i386_insn): ... here. Change field "broadcast".
1743 (match_mem_size): Adjust check for broadcast.
1744 (optimize_encoding): Likewise.
1745 (process_suffix): Likewise.
1746 (build_evex_prefix): Adjust broadcast processing.
1747 (swap_2_operands): Likewise.
1748 (check_VecOperations): Likewise.
1749 (match_template): Likewise.
1750 (check_VecOperands): Likewise.
1751
6225c532
JB
17522021-03-30 Jan Beulich <jbeulich@suse.com>
1753
1754 * config/tc-i386.c (reg_k0): New.
1755 (mask_op): Delete.
1756 (struct Mask_Operation): Move ...
1757 (struct _i386_insn): ... here. Change field "mask".
1758 (md_begin): Initialize reg_k0.
1759 (build_evex_prefix): Adjust mask processing.
1760 (swap_2_operands): Likewise.
1761 (check_VecOperands): Likewise.
1762 (check_VecOperations): Likewise.
1763 (optimize_encoding): Adjust checks for masking.
1764 (output_insn): Likewise.
1765
783c187b
JB
17662021-03-30 Jan Beulich <jbeulich@suse.com>
1767
1768 * config/tc-i386.c (swap_2_operands): Switch parameters to
1769 unsigned.
1770 (struct RC_Operation): Switch operand field to unsigned.
1771 (struct Mask_Operation): Likewise.
1772 (struct Broadcast_Operation): Likewise.
1773 (build_evex_prefix): Drop cast.
1774 (check_VecOperands): Likewise.
1775 (build_modrm_byte): Likewise.
1776 (output_imm): Likewise.
1777 (check_VecOperations): Add casts to unsigned.
1778
c8cad9d3
JB
17792021-03-29 Jan Beulich <jbeulich@suse.com>
1780
1781 * testsuite/gas/i386/x86-64-sse2avx.s: Add vpsadbw case.
1782 * testsuite/gas/i386/x86-64-avx-swap-2.d.
1783 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
1784
389d00a5
JB
17852021-03-29 Jan Beulich <jbeulich@suse.com>
1786
1787 * config/tc-i386.c (optimize_encoding): Replace VEX-encoding
1788 checks by opcodespace ones.
1789 (insert_lfence_before): Likewise.
1790 (maybe_fused_with_jcc_p): Likewise.
1791 (add_branch_padding_frag_p): Likewise.
1792 (output_disp): Likewise.
1793 (load_insn_p): Re-arrange checks to key applicable ones off of
1794 an opcodespace check.
1795 (md_assemble): Adjust opcode checks.
1796 (check_byte_reg): Likewise.
1797 (process_operands): Likewise.
1798 (i386_index_check): Likewise.
1799 (process_suffix): Likewise. New local variable is_movx. Adjust
1800 movsx/movzx and crc32 handling.
1801 (output_insn): Adjust opcode checks. Drop no longer reachable
1802 case labels. Output legacy encoding prefixes in addition to the
1803 base_opcode byte(s). Rework counting of prefixes for extended
1804 opcode maps.
1805 * config/tc-i386-intel.c (i386_intel_simplify_register): Adjust
1806 opcode checks.
1807
63b4cc53
AM
18082021-03-29 Alan Modra <amodra@gmail.com>
1809
1810 * atof-generic.c (FALSE, TRUE): Don't define.
1811 * config/obj-elf.h (FALSE, TRUE): Don't define.
1812 * config/obj-som.h (FALSE, TRUE): Don't define.
1813 * config/tc-hppa.h (FALSE, TRUE): Don't define.
1814 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
1815 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
1816 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
1817 * config/tc-mt.h (obj_fix_adjustable): Delete.
1818 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
1819 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
1820 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
1821 (tokenize_extregister): Likewise.
1822 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
1823 (parse_operands_op, parse_operands, md_assemble): Likewise.
1824 * config/tc-d10v.c (build_insn): Likewise.
1825 * config/tc-score.c (s3_gen_insn_frag): Likewise.
1826 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
1827 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
1828 * config/tc-z80.c (emit_byte): Likewise.
1829
854f1e4b
AM
18302021-03-29 Alan Modra <amodra@gmail.com>
1831
1832 * config/tc-arm.c (struct arm_long_option_table <func>): Return
1833 bfd_boolean.
1834 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
1835 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
1836 with bfd_boolean.
1837 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
1838 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
1839 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
1840 logical expressions.
1841 (struct metag_long_option <func>): Return bfd_boolean.
1842 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
1843 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
1844 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
1845 (no_operands, lex_force_match, lex_reg_list): Likewise.
1846 (size_from_suffix): Return int.
1847 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
1848 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
1849
c3344b62
JB
18502021-03-26 Jan Beulich <jbeulich@suse.com>
1851
1852 * testsuite/gas/i386/x86-64-nosse2.s,
1853 testsuite/gas/i386/x86-64-nosse2.l: New.
1854 * testsuite/gas/i386/i386.exp: Run new test.
1855
efa30ac3
HAQ
18562021-03-25 Abid Qadeer <abidh@codesourcery.com>
1857
1858 * testsuite/gas/nios2/brn.d: New.
1859 * testsuite/gas/nios2/brn.d: New.
1860
5e74b495
JB
18612021-03-25 Jan Beulich <jbeulich@suse.com>
1862
1863 * config/tc-i386.c (match_template): Use t instead of i.tm.
1864
596a02ff
JB
18652021-03-25 Jan Beulich <jbeulich@suse.com>
1866
1867 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
1868 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
1869 colliding registers in the upper half of the space.
1870 * testsuite/gas/i386/avx512f-nondef.d,
1871 testsuite/gas/i386/vgather-check.d,
1872 testsuite/gas/i386/x86-64-vgather-check.d,
1873 testsuite/gas/i386/x86-64-vgather-check-error.l,
1874 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
1875 expecations.
1876 * testsuite/gas/i386/vgather-check-none.d,
1877 testsuite/gas/i386/vgather-check-warn.d,
1878 testsuite/gas/i386/x86-64-vgather-check-none.d,
1879 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
1880 tests for expected dump output.
1881
53642852
JB
18822021-03-25 Jan Beulich <jbeulich@suse.com>
1883
1884 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
1885 without mask register.
1886 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
1887
c0e54661
JB
18882021-03-25 Jan Beulich <jbeulich@suse.com>
1889
1890 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
1891 swapping operands for.
1892 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
1893 syntax tests.
1894 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
1895 well as Intel syntax tests.
1896 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
1897 expectations.
32d71569 1898 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
c0e54661
JB
1899 Likewise. Drop passing --def-sym to as.
1900
829f3fe1
JB
19012021-03-25 Jan Beulich <jbeulich@suse.com>
1902
1903 PR/gas 27419
1904 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
1905 conversion to x32 mode.
1906 * testsuite/gas/i386/ilp32/enqcmd.s,
1907 testsuite/gas/i386/ilp32/enqcmd.d,
1908 testsuite/gas/i386/ilp32/movdir.s,
1909 testsuite/gas/i386/ilp32/movdir.d: New.
1910 * testsuite/gas/i386/x86-64-enqcmd.s,
1911 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
1912 cases.
1913 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
1914 (%eip) cases.
1915 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
1916 * testsuite/gas/i386/x86-64-enqcmd.d,
1917 testsuite/gas/i386/x86-64-enqcmd-intel.d,
1918 testsuite/gas/i386/x86-64-enqcmd-inval.l,
1919 testsuite/gas/i386/x86-64-movdir.d,
1920 testsuite/gas/i386/x86-64-movdir-intel.d,
1921 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
1922
5a403766
AM
19232021-03-25 Alan Modra <amodra@gmail.com>
1924
1925 PR 27647
1926 * testsuite/gas/ppc/a2.d: Update expected output.
1927 * testsuite/gas/ppc/power8.d: Likewise.
1928
9a182d04
JB
19292021-03-24 Jan Beulich <jbeulich@suse.com>
1930
1931 * config/tc-i386.c (struct _i386_insn): New field
1932 opcode_length.
1933 (md_begin): Drop assertion.
1934 (install_template): New.
1935 (build_vex_prefix): Call install_template.
1936 (match_template): Likewise.
1937 (process_operands): Use new opcode_length field.
1938 (output_jump): Likewise.
1939 (output_insn): Likewise. Adjust psedo prefix check.
1940
35648716
JB
19412021-03-24 Jan Beulich <jbeulich@suse.com>
1942
1943 * config/tc-i386.c (md_begin): Add assertion.
1944 (build_vex_prefix): Drop implied prefix calculation.
1945 (build_evex_prefix): Likewise.
1946 (optimize_encoding): Adjust opcode checks.
1947 (load_insn_p): Also check opcodeprefix.
1948 (match_template): Also check opcodespace.
1949 (process_suffix): Likewise.
1950 (process_operands): Likewise.
1951 (output_insn): Likewise. Also check isprefix when discaring
1952 standalone LOCK.
1953 * config/tc-i386-intel.c (i386_intel_operand): Also check
1954 opcodespace.
1955
31184569
JB
19562021-03-24 Jan Beulich <jbeulich@suse.com>
1957
1958 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
1959 base_opcode and extension_opcode.
1960
b933fa4b
JB
19612021-03-23 Jan Beulich <jbeulich@suse.com>
1962
1963 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
1964
dac10fb0
JB
19652021-03-23 Jan Beulich <jbeulich@suse.com>
1966
1967 * config/tc-i386.c (output_i386_opcode): Invoke
1968 process_i386_cpu_flag() slightly later.
1969 (process_i386_opcodes): Likewise.
1970
441f6aca
JB
19712021-03-23 Jan Beulich <jbeulich@suse.com>
1972
1973 * config/tc-i386.c (pte): Print prefix and encoding space.
1974 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
1975 (build_evex_prefix): Likewise.
1976 (load_insn_p): Likewise.
1977
70e95837
JB
19782021-03-23 Jan Beulich <jbeulich@suse.com>
1979
1980 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
1981 if()-s.
1982 (match_template, output_insn): Use PREFIX_NONE.
1983
a152332d
JB
19842021-03-23 Jan Beulich <jbeulich@suse.com>
1985
1986 * config/tc-i386.c (i386_index_check): New local variable t.
1987 Correct MPX insn check.
1988 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
1989 MPX insn check.
1990 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
1991 index scaling by other than 1.
1992 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
1993
08dedd66
ML
19942021-03-22 Martin Liska <mliska@suse.cz>
1995
1996 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
1997 (x86_64_section_word): Likewise.
1998 * config/tc-sparc.c (md_parse_option): Likewise.
1999
826b97d4
AM
20002021-03-19 Alan Modra <amodra@gmail.com>
2001
2002 * app.c (do_scrub_chars): Don't lose spaces before a slash.
2003
3273f9a1
CG
20042021-03-18 Christian Groessler <chris@groessler.org>
2005
2006 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
2007 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
2008
80d49d6a
KLC
20092021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
2010
2011 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
2012 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
2013 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
2014 * testsuite/gas/riscv/b-ext-64.d: Likewise.
2015 * testsuite/gas/riscv/b-ext.s: Likewise.
2016 * testsuite/gas/riscv/b-ext.d: Likewise.
2017
7fce7ea9
PW
20182021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
2019
2020 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
2021 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
2022 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
2023 * testsuite/gas/aarch64/sysreg-7.d: New test.
2024 * testsuite/gas/aarch64/sysreg-7.s: New test.
2025
1b2cb8e2
CC
20262021-03-12 Clément Chigot <clement.chigot@atos.net>
2027
2028 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
2029 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
2030 (ppc_xcoff_tbss_section): New variables.
2031 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
2032 (ppc_data_csects): Removed.
2033 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
2034 ppc_xcoff_parse_cons): New functions.
2035 (md_being): Initialize XCOFF sections.
2036 (ppc_xcoff_suffix): Add support for TLS relocations
2037 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
2038 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
2039 to .bss section. Handle new XCOFF section variables.
2040 (ppc_comm): Likewise.
2041 (ppc_toc): Likewise.
2042 (ppc_symbol_new_hook): Likewise.
2043 (ppc_frob_symbol): Likewise.
2044 (ppc_fix_adjustable): Add tbss support.
2045 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
2046 (ppc_xcoff_parse_cons): Add prototype.
2047 (struct ppc_xcoff_section): New structure.
2048
4a403be0
CC
20492021-03-12 Clément Chigot <clement.chigot@atos.net>
2050
2051 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
2052 (MAP, MAP32, MAP64): New macros for XCOFF.
2053 (ppc_xcoff_fixup_addis): New function.
2054 (ppc_is_toc_sym): Handle XMC_TE.
2055 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
2056 BFD_RELOC_PPC_TOC16_LO.
2057 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
2058 (ppc_change_csect): Handle XMC_TE.
2059 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
2060 storage class.
2061 (ppc_symbol_new_hook): Handle XMC_TE.
2062 (ppc_frob_symbol): Likewise.
2063 (ppc_fix_adjustable): Likewise.
2064 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
2065 BFD_RELOC_PPC_TOC16_LO.
2066
b763d508
JB
20672021-03-10 Jan Beulich <jbeulich@suse.com>
2068
2069 * testsuite/gas/i386/avx512f-intel.d,
2070 testsuite/gas/i386/avx512f_vl-intel.d,
2071 testsuite/gas/i386/avx512pf-intel.d,
2072 testsuite/gas/i386/x86-64-avx512f-intel.d,
2073 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
2074 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
2075
31941983
JB
20762021-03-10 Jan Beulich <jbeulich@suse.com>
2077
2078 * testsuite/gas/i386/prefetch.d,
2079 testsuite/gas/i386/prefetch-intel.d,
2080 testsuite/gas/i386/x86-64-prefetch.d,
2081 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
2082 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
2083 * testsuite/gas/i386/i386.exp: Run new test.
2084
742732c7
JB
20852021-03-09 Jan Beulich <jbeulich@suse.com>
2086
2087 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
2088 (md_assemble): Replace use of repprefixok, islockable, and
2089 notrackprefixok.
2090 (i386_index_check): Replace use of repprefixok.
2091
e93a3b27
JB
20922021-03-09 Jan Beulich <jbeulich@suse.com>
2093
2094 * testsuite/gas/i386/noreg64.s: Add sysexit.
2095 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
2096 sysexitl and sysexitq.
2097 * testsuite/gas/i386/noreg-intel64.l,
2098 testsuite/gas/i386/noreg64-data16.d,
2099 testsuite/gas/i386/noreg64-data16.e,
2100 testsuite/gas/i386/noreg64-rex64.d,
2101 testsuite/gas/i386/noreg64.d,
2102 testsuite/gas/i386/noreg64.l,
2103 testsuite/gas/i386/x86-64-sysenter-amd.d,
2104 testsuite/gas/i386/x86-64-sysenter-amd.l,
2105 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
2106
fe0171d2
NC
21072021-02-26 Nick Clifton <nickc@redhat.com>
2108
2109 PR 27411
2110 * config/tc-arm.c (do_t_add_sub): Correct error message.
2111 * testsuite/gas/arm/pr27411.s: New test.
2112 * testsuite/gas/arm/pr27411.d: New test driver.
2113 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
2114
55add51e
AM
21152021-02-24 Alan Modra <amodra@gmail.com>
2116
2117 PR 23691
2118 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
2119 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
2120 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
2121 and use alongside TARGET_CPU_CFILES.
2122 (EXTRA_DIST): Update location of generated .c files.
2123 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
2124 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
2125 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
2126 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
2127 dependencies.
2128 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
2129 (itbl-parse.c, itbl-parse.h): Tidy.
2130 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
2131 * config/bfin-lex.l: Include config/bfin-parse.h.
2132 * configure.ac (extra_objects): Move object files corresponding
2133 to .y and .l files now in config/ to config/.
2134 * Makefile.in: Regenerate.
2135 * configure: Regenerate.
2136 * po/POTFILES.in: Regenerate.
2137
0257c2ff
NC
21382021-02-19 Nick Clifton <nickc@redhat.com>
2139
2140 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
2141 misleading indentation.
2142
5a9f5403
NC
21432021-02-19 Nelson Chu <nelson.chu@sifive.com>
2144
2145 PR 27158
2146 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
2147 (md_apply_fix): Likewise.
2148 (md_convert_frag_branch): Likewise.
2149 (validate_riscv_insn): Likewise. Also arranged operands, including
2150 added C5 and C6 operands, and removed unused Ci and C< operands.
2151 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
2152 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
2153 * testsuite/gas/riscv/insn.s: Likewise.
2154
3d73d29e
NC
21552021-02-18 Nelson Chu <nelson.chu@sifive.com>
2156
2157 * config/tc-riscv.c: Included cpu-riscv.h.
2158 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
2159 (struct riscv_csr_extra): Likewise.
2160 (struct riscv_ext_version): Likewise.
2161 (ext_version_table): Moved from opcodes/riscv-opc.c.
2162 (default_isa_spec): Updated type to riscv_spec_class.
2163 (default_priv_spec): Likewise.
2164 (riscv_set_default_isa_spec): Updated.
2165 (init_ext_version_hash): Likewise.
2166 (riscv_init_csr_hash): Likewise, also fixed indent.
2167
089485ff
AM
21682021-02-17 Alan Modra <amodra@gmail.com>
2169
2170 * testsuite/gas/elf/section28.d: xfail h8300.
2171
ca1289b9
L
21722021-02-16 H.J. Lu <hongjiu.lu@intel.com>
2173
2174 PR gas/27412
2175 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
2176 when checking incorrect section attributes.
2177 * testsuite/gas/elf/elf.exp: Run section28 and section29.
2178 * testsuite/gas/elf/section28.d: New file.
2179 * testsuite/gas/elf/section28.s: Likewise.
2180 * testsuite/gas/elf/section29.d: Likewise.
2181 * testsuite/gas/elf/section29.s: Likewise.
2182
394ae71f
JB
21832021-02-16 Jan Beulich <jbeulich@suse.com>
2184
2185 * testsuite/gas/i386/sse-check.s,
2186 testsuite/gas/i386/sse2avx.s,
2187 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
2188 * testsuite/gas/i386/sse-check-error.l,
2189 testsuite/gas/i386/sse-check-warn.e,
2190 testsuite/gas/i386/sse-check.d,
2191 testsuite/gas/i386/sse2avx.d,
2192 testsuite/gas/i386/x86-64-sse-check-error.l,
2193 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
2194 * testsuite/gas/i386/property-cvtpi2pd.s,
2195 testsuite/gas/i386/property-cvtpi2pd.d,
2196 testsuite/gas/i386/property-cvtpi2ps.s,
2197 testsuite/gas/i386/property-cvtpi2ps.d: New.
2198 * testsuite/gas/i386/i386.exp: Run new tests.
2199
3d70986f
JB
22002021-02-16 Jan Beulich <jbeulich@suse.com>
2201
2202 * config/tc-i386.c (md_assemble): Use template rather than
2203 actuals when updating i.xstate.
2204 * testsuite/gas/i386/property-4.d,
2205 testsuite/gas/i386/property-5.d,
2206 testsuite/gas/i386/property-12.d: Adjust expectations.
2207
014d61ea
JB
22082021-02-16 Jan Beulich <jbeulich@suse.com>
2209
2210 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
2211 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
2212 * testsuite/gas/i386/property-ldmxcsr.s,
2213 testsuite/gas/i386/property-ldmxcsr.d,
2214 testsuite/gas/i386/property-vldmxcsr.s,
2215 testsuite/gas/i386/property-vldmxcsr.d,
2216 testsuite/gas/i386/property-vzeroall.s,
2217 testsuite/gas/i386/property-vzeroall.d: New.
2218 * testsuite/gas/i386/i386.exp: Run new tests.
2219
cbe68696
JB
22202021-02-16 Jan Beulich <jbeulich@suse.com>
2221
2222 * testsuite/gas/i386/i386.exp: Move bitness-independent property
2223 tests to bitness independent section.
2224 * testsuite/gas/i386/x86-64-property-2.d,
2225 testsuite/gas/i386/x86-64-property-3.d,
2226 testsuite/gas/i386/x86-64-property-4.d,
2227 testsuite/gas/i386/x86-64-property-5.d,
2228 testsuite/gas/i386/x86-64-property-6.d,
2229 testsuite/gas/i386/x86-64-property-10.d,
2230 testsuite/gas/i386/x86-64-property-11.d,
2231 testsuite/gas/i386/x86-64-property-12.d,
2232 testsuite/gas/i386/x86-64-property-13.d: Delete.
2233
c2f1204d
JB
22342021-02-16 Jan Beulich <jbeulich@suse.com>
2235
2236 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
2237 movdir.s.
2238 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
2239
9a12b194
AM
22402021-02-16 Alan Modra <amodra@gmail.com>
2241
2242 PR 27426
2243 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
2244 in another place.
2245
70433886
AM
22462021-02-16 Alan Modra <amodra@gmail.com>
2247
2248 * read.c (demand_copy_C_string): Really check for embedded zeros.
2249
ba2b480f
AK
22502021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
2251
2252 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
2253 * doc/c-s390.texi: Document arch14 march option.
2254 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
2255 * testsuite/gas/s390/zarch-arch14.d: New test.
2256 * testsuite/gas/s390/zarch-arch14.s: New test.
2257
c46b7066
NC
22582021-02-12 Nick Clifton <nickc@redhat.com>
2259
2260 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
32d71569 2261 following.
c46b7066
NC
2262 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
2263
3c1d4101
AM
22642021-02-12 Alan Modra <amodra@gmail.com>
2265
2266 * testsuite/gas/all/pr27381.err: Don't match source file name.
2267 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
2268 * testsuite/gas/all/pr27384.err: Don't match source file name.
2269 Adjust line number.
2270 * testsuite/gas/all/pr27384.s: Add ".text" directive.
2271 * testsuite/gas/elf/pr27355.err: Don't match source file name.
2272
933feaf3
AM
22732021-02-11 Alan Modra <amodra@gmail.com>
2274
2275 * NEWS: Mention arm-symbianelf removal.
2276
01e8b831
NC
22772021-02-10 Nick Clifton <nickc@redhat.com>
2278
2279 * listing.c (buffer_line): Remove debugging code accidentally
2280 included with the fix for PR 27384.
2281
284beb43
NC
22822021-02-09 Nick Clifton <nickc@redhat.com>
2283
2284 PR 27381
2285 * read.c (s_incbin): Check that the file to be included is a
2286 regular, non-directory file.
2287 * testsuite/gas/all/pr27381.s: New test source file.
2288 * testsuite/gas/all/pr27381.d: New test control file.
2289 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
2290 * testsuite/gas/all/gas.exp: Run the new test.
2291
a57d1773
AM
22922021-02-09 Alan Modra <amodra@gmail.com>
2293
2294 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
2295 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
2296 support.
2297 * config/te-symbian.h: Delete.
2298 * configure.tgt: Remove arm-*-symbianelf*.
2299 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
2300 target selection.
2301 * testsuite/gas/arm/arch4t.d: Likewise.
2302 * testsuite/gas/arm/got_prel.d: Likewise.
2303 * testsuite/gas/arm/mapdir.d: Likewise.
2304 * testsuite/gas/arm/mapmisc.d: Likewise.
2305 * testsuite/gas/arm/mapsecs.d: Likewise.
2306 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
2307 * testsuite/gas/arm/thumb-eabi.d: Likewise.
2308 * testsuite/gas/arm/thumb.d: Likewise.
2309 * testsuite/gas/arm/thumbrel.d: Likewise.
2310 * Makefile.in: Regenerate.
2311 * po/POTFILES.in: Regenerate.
2312
4a68fcd7
NC
23132021-02-09 Nick Clifton <nickc@redhat.com>
2314
2315 PR 27384
2316 * listing.c (listing_psize): Check the result of the width
2317 expression before assigning it to paper_width.
2318 * testsuite/gas/all/pr27384.s: New test source file.
2319 * testsuite/gas/all/pr27384.d: New test control file.
2320 * testsuite/gas/all/pr27384.err: Expected errors from new test.
2321 * testsuite/gas/all/gas.exp: Run the new test.
2322
52563b0f
NC
23232021-02-09 Nick Clifton <nickc@redhat.com>
2324
2325 PR 27355
2326 * testsuite/gas/elf/pr27355.s: New test source file.
2327 * testsuite/gas/elf/pr27355.d: New test control file.
2328 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
2329 * testsuite/gas/elf/elf.exp: Run the new test.
2330
bfd428bc
MF
23312021-02-08 Mike Frysinger <vapier@gentoo.org>
2332
2333 * config/tc-tic54x (tic54x_mmregs): Rename to ...
2334 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
2335 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
2336 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
2337 cc2_codes, cc3_codes, status_bits, and misc_symbols.
2338
80b652ef
NC
23392021-02-08 Nick Clifton <nickc@redhat.com>
2340
2341 PR 27355
2342 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
2343 if it has not already been created.
2344
24075dcc
NC
23452021-02-04 Nelson Chu <nelson.chu@sifive.com>
2346
2347 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
2348 INSN_CLASS_ZB*.
2349 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
2350 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
2351 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
2352
61ecbbae
AK
23532021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
2354
2355 * doc/c-s390.texi: Document vector instruction formats.
2356
1f568f9a
EH
23572021-02-01 Emery Hemingway <ehmry@posteo.net>
2358
2359 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
2360
7bba67ec
AM
23612021-02-01 Alan Modra <amodra@gmail.com>
2362
2363 PR 27283
2364 * config/tc-alpha.c (insert_operand): Delete dead code.
2365
1f583bc2
L
23662021-01-26 H.J. Lu <hongjiu.lu@intel.com>
2367
2368 PR gas/27243
2369 * config/tc-nios2.c (md_begin): Don't disable relaxation with
2370 --gdwarf-N.
2371 * testsuite/gas/nios2/relax.d: New file.
2372 * testsuite/gas/nios2/relax.s: Likewise.
2373
a45ef9a3
AM
23742021-01-26 Alan Modra <amodra@gmail.com>
2375
2376 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
2377 notarget all except hppa. Comment.
2378 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
2379 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
2380 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
2381 * testsuite/gas/all/sleb128-7.d: Likewise.
2382 * testsuite/gas/all/sleb128-9.d: Likewise.
2383 * testsuite/gas/elf/bignums.d: Likewise.
2384 * testsuite/gas/elf/group0c.d: Likewise.
2385 * testsuite/gas/elf/group1a.d: Likewise.
2386 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
2387 * testsuite/gas/elf/section15.d: Likewise.
2388 * testsuite/gas/elf/section4.d: Likewise.
2389 * testsuite/gas/elf/section7.d: Likewise.
2390 * testsuite/gas/macros/irp.d: Likewise.
2391 * testsuite/gas/macros/repeat.d: Likewise.
2392 * testsuite/gas/macros/rept.d: Likewise.
2393 * testsuite/gas/macros/test2.d: Likewise.
2394 * testsuite/gas/macros/vararg.d: Likewise.
2395 * testsuite/gas/all/string.d: Use xfail rather than skip.
2396 * testsuite/gas/elf/missing-build-notes.d: Likewise.
2397 * testsuite/gas/elf/section0.d: Likewise.
2398 * testsuite/gas/elf/section1.d: Likewise.
2399 * testsuite/gas/elf/section10.d: Likewise.
2400 * testsuite/gas/elf/section11.d: Likewise.
2401 * testsuite/gas/elf/section6.d: Likewise.
2402 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
2403 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
2404 * testsuite/gas/macros/test3.d: Don't notarget nds32.
2405
9886ff03
AM
24062021-01-26 Alan Modra <amodra@gmail.com>
2407
2408 * testsuite/gas/all/byte.d,
2409 * testsuite/gas/all/byte.l,
2410 * testsuite/gas/all/byte.s: Delete.
2411 * testsuite/gas/all/gas.exp: Don't run byte test.
2412
4287950e
AM
24132021-01-26 Alan Modra <amodra@gmail.com>
2414
2415 PR 27282
2416 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
2417 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
2418
eea133e6
L
24192021-01-24 H.J. Lu <hongjiu.lu@intel.com>
2420
2421 PR gas/27228
2422 * testsuite/gas/elf/elf.exp: Run pr27228.
2423 * testsuite/gas/elf/pr27228.d: New file.
2424 * testsuite/gas/elf/pr27228.s: Likewise.
2425
68fcee4f
AM
24262021-01-24 Alan Modra <amodra@gmail.com>
2427
2428 PR 27228
2429 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
2430 is defined.
2431
be07043e
AM
24322021-01-21 Alan Modra <amodra@gmail.com>
2433
2434 PR 27221
2435 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
2436 line number info when gas is generating it.
2437 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
2438 * testsuite/gas/m68hc11/indexed12.d: Likewise.
2439 * testsuite/gas/elf/elf.exp: Don't run warn-2.
2440 * gas/testsuite/gas/elf/warn-2.s: Delete.
2441
498ff032
AM
24422021-01-21 Alan Modra <amodra@gmail.com>
2443
2444 PR 27218
2445 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
2446 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
2447 error for negative file numbers.
2448
4bd7c902
AM
24492021-01-20 Alan Modra <amodra@gmail.com>
2450
2451 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
2452 * testsuite/gas/ppc/test1elf32.d: Likewise.
2453 * testsuite/gas/ppc/test1elf64.d: Likewise.
2454
705989f1
L
24552021-01-18 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 PR gas/27195
2458 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
2459 needed.
2460 (dwarf2_directive_filename): Likewise.
2461 (dwarf2_directive_loc): Likewise.
2462 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
2463 * testsuite/gas/lns/lns-diag-1.l: Remove the
2464 "Error: file number less than one" errors.
2465
44365e88
AM
24662021-01-18 Alan Modra <amodra@gmail.com>
2467
2468 PR 27198
2469 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
2470 * testsuite/gas/i386/pr27198.d,
2471 * gas/testsuite/gas/i386/pr27198.err,
2472 * gas/testsuite/gas/i386/pr27198.s: New test.
2473 * gas/testsuite/gas/i386/i386.exp: Run it.
2474
1942a048
NC
24752021-01-15 Nelson Chu <nelson.chu@sifive.com>
2476
2477 * config/tc-riscv.c: Indent and GNU coding standards tidy,
2478 also aligned the code.
2479 * config/tc-riscv.h: Likewise.
2480
b800637e
NC
24812021-01-15 Nelson Chu <nelson.chu@sifive.com>
2482
2483 * config/tc-riscv.c: Error and warning messages tidy.
2484 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
2485 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
2486 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
2487 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
2488 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
2489 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
2490 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
2491
dcd709e0
NC
24922021-01-15 Nelson Chu <nelson.chu@sifive.com>
2493
2494 * config/tc-riscv.c: Comments tidy and improvement. Also update
2495 comment "fallthru" to "Fall through" that end with a period and
2496 two spaces.
2497
5fda40b2
MF
24982021-01-14 Mike Frysinger <vapier@gentoo.org>
2499
2500 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
2501 Delete warning that these are only available with ELF targets.
2502 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
2503 * read.c (potable): ... here.
2504
abad2815
MF
25052021-01-14 Mike Frysinger <vapier@gentoo.org>
2506
2507 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
2508 * Makefile.in: Regenerated.
2509
adb0bd8f
MF
25102021-01-14 Mike Frysinger <vapier@gentoo.org>
2511
2512 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
2513 (parse_int): Mark char_bag const.
2514
844bf810
L
25152021-01-13 H.J. Lu <hongjiu.lu@intel.com>
2516
2517 PR gas/27178
2518 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
2519 Don't generate GOT_symbol for PLT relocations.
2520 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
2521 * testsuite/gas/i386/no-got.d: New file.
2522 * testsuite/gas/i386/no-got.s: Likewise.
2523 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
2524 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
2525
5347ed60
AM
25262021-01-13 Alan Modra <amodra@gmail.com>
2527
2528 * Makefile.in: Regenerate.
2529 * Makefile.in: Regenerate.
2530
d546b610
L
25312021-01-12 H.J. Lu <hongjiu.lu@intel.com>
2532
2533 PR binutils/26792
2534 * configure.ac: Use GNU_MAKE_JOBSERVER.
2535 * aclocal.m4: Regenerated.
2536 * configure: Likewise.
2537
6d104cac
NC
25382021-01-12 Nick Clifton <nickc@redhat.com>
2539
2540 * po/fr.po: Updated French translation.
2541
83b33c6c
L
25422021-01-11 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 PR ld/27173
2545 * configure: Regenerated.
2546
82c70b08
KT
25472021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2548
2549 * NEWS: Remove CSRE.
2550 * config/tc-aarch64.c (parse_csr_operand): Delete.
2551 (parse_operands): Delete handling of
2552 AARCH64_OPND_CSRE_CSR.
2553 (aarch64_features): Remove csre.
2554 * doc/c-aarch64.texi: Remove CSRE.
2555 * testsuite/gas/aarch64/csre.d: Delete.
2556 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
2557 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
2558 * testsuite/gas/aarch64/csre_csr.s: Likewise.
2559 * testsuite/gas/aarch64/csre_csr.d: Likewise.
2560 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
2561 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
2562 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
2563
a8aa72b9
NC
25642021-01-11 Nick Clifton <nickc@redhat.com>
2565
2566 * po/uk.po: Updated Ukranian translation.
2567
a4966cd9
L
25682021-01-09 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * configure: Regenerated.
2571
573fe3fb
NC
25722021-01-09 Nick Clifton <nickc@redhat.com>
2573
2574 * configure: Regenerate.
2575 * po/gas.pot: Regenerate.
2576
055bc77a
NC
25772021-01-09 Nick Clifton <nickc@redhat.com>
2578
2579 * 2.36 release branch crated.
2580
aae7fcb8
PB
25812021-01-08 Peter Bergner <bergner@linux.ibm.com>
2582
2583 * testsuite/gas/ppc/rop-checks.d,
2584 * testsuite/gas/ppc/rop-checks.l,
2585 * testsuite/gas/ppc/rop-checks.s,
2586 * testsuite/gas/ppc/rop.d,
2587 * testsuite/gas/ppc/rop.s: New tests.
2588 * testsuite/gas/ppc/ppc.exp: Run them.
2589
64307045
AM
25902021-01-09 Alan Modra <amodra@gmail.com>
2591
2592 * configure: Regenerate.
2593
f4782128
ST
25942021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
2595
2596 * configure: Regenerate.
2597
d1bcae83
L
25982021-01-07 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 PR 27109
2601 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
2602 section symbol.
2603 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
2604 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
2605 on the section symbol.
2606 (set_symtab): Don't generate unused section symbols.
2607 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
2608 on the section symbol.
2609 * config/obj-elf.c (elf_adjust_symtab): Call
2610 symbol_mark_used_in_reloc on the group signature symbol.
2611 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
2612 from expected output.
2613 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
2614 is_elf_unused_section_symbols.
2615 * testsuite/gas/elf/section2.e: Updated.
2616 * testsuite/gas/elf/section2.e-unused: New file.
2617 * testsuite/gas/elf/symver.d: Remove unused section symbols.
2618 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
2619 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
2620 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
2621 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
2622 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
2623 * testsuite/gas/i386/size-1.d: Likewise.
2624 * testsuite/gas/i386/size-3.d: Likewise.
2625 * testsuite/gas/i386/svr4.d: Likewise.
2626 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
2627 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
2628 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
2629 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2630
aa881ecd
PT
26312021-01-07 Philipp Tomsich <prt@gnu.org>
2632
2633 * config/tc-riscv.c (riscv_multi_subset_supports): Added
2634 INSN_CLASS_ZIHINTPAUSE.
2635 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
2636 the pause hint instruction.
2637 * testsuite/gas/riscv/pause.s: Likewise.
2638
2652cfad
CXW
26392021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
2640 Jim Wilson <jimw@sifive.com>
2641 Andrew Waterman <andrew@sifive.com>
2642 Maxim Blinov <maxim.blinov@embecosm.com>
2643 Kito Cheng <kito.cheng@sifive.com>
2644 Nelson Chu <nelson.chu@sifive.com>
2645
2646 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
2647 (riscv_get_default_ext_version): Do not check the default_isa_spec when
2648 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
2649 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
2650 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
2651 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
2652
85f55c2b
AM
26532021-01-06 Alan Modra <amodra@gmail.com>
2654
2655 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
2656
22206e84
AM
26572021-01-06 Alan Modra <amodra@gmail.com>
2658
2659 * testsuite/gas/macros/app1.d: xfail tic30.
2660 * testsuite/gas/macros/app2.d: Likewise.
2661 * testsuite/gas/macros/app3.d: Likewise.
2662 * testsuite/gas/macros/app4.d: Likewise.
2663
286d2f2c
MC
26642021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2665
2666 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
2667 * doc/c-riscv.texi: Likewise.
2668
f36ce378
MC
26692021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2670
2671 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
2672 to littleriscv.
2673 * testsuite/gas/riscv/li64.d: Likewise.
2674 * testsuite/gas/riscv/lla32.d: Likewise.
2675 * testsuite/gas/riscv/lla64.d: Likewise.
2676 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
2677 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
2678 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
2679 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
2680 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
2681 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
2682 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
2683
fbc09e7a
MC
26842021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2685
2686 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
2687 elf32-bigriscv.
2688 (install_insn): Always write instructions as little endian.
2689 (riscv_make_nops): Likewise.
2690 (md_convert_frag_branch): Likewise.
2691 (md_number_to_chars): Write data in target endianness.
2692 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
2693 (md_parse_option): Handle the endian options.
2694 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
2695 already defined.
2696 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
2697
cd6d537c
L
26982021-01-04 H.J. Lu <hongjiu.lu@intel.com>
2699
2700 PR ld/26256
2701 * config/obj-elf.c (obj_elf_change_section): Also filter out
2702 SHF_LINK_ORDER.
2703
dd933805
AM
27042021-01-04 Alan Modra <amodra@gmail.com>
2705
2706 PR 27102
2707 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
2708 message and register symbol error message.
2709
90320e40
AM
27102021-01-04 Alan Modra <amodra@gmail.com>
2711
2712 PR 27101
2713 * read.c (s_align): Use a large enough type for "align" to hold
2714 the result of get_absolute_expression.
2715
f9a6a8f0
AM
27162021-01-01 Nicolas Boulenguez <nicolas@debian.org>
2717
2718 * config/tc-i386.c: Correct comment spelling.
2719 * config/tc-riscv.c: Likewise.
2720 * config/tc-s390.c: Correct comment grammar.
2721 * doc/c-i386.texi: Correct spelling.
2722 * doc/c-s390.texi: Correct grammar.
2723
250d07de
AM
27242021-01-01 Alan Modra <amodra@gmail.com>
2725
2726 Update year range in copyright notice of all files.
2727
64d05a43
HPN
27282021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
2729
2730 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
2731
c2795844 2732For older changes see ChangeLog-2020
3499769a 2733\f
a2c58332 2734Copyright (C) 2021-2022 Free Software Foundation, Inc.
3499769a
AM
2735
2736Copying and distribution of this file, with or without modification,
2737are permitted in any medium without royalty provided the copyright
2738notice and this notice are preserved.
2739
2740Local Variables:
2741mode: change-log
2742left-margin: 8
2743fill-column: 74
2744version-control: never
2745End: