]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
TRUE/FALSE simplification
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
63b4cc53
AM
12021-03-29 Alan Modra <amodra@gmail.com>
2
3 * atof-generic.c (FALSE, TRUE): Don't define.
4 * config/obj-elf.h (FALSE, TRUE): Don't define.
5 * config/obj-som.h (FALSE, TRUE): Don't define.
6 * config/tc-hppa.h (FALSE, TRUE): Don't define.
7 * config/tc-pdp11.c (FALSE, TRUE): Don't define.
8 * config/tc-iq2000.h (obj_fix_adjustable): Delete.
9 * config/tc-m32r.h (TC_FIX_ADJUSTABLE): Delete.
10 * config/tc-mt.h (obj_fix_adjustable): Delete.
11 * config/tc-nds32.h (TC_FIX_ADJUSTABLE): Delete.
12 * config/tc-arc.c (parse_opcode_flags): Simplify boolean expression.
13 (relaxable_flag, relaxable_operand, assemble_insn): Likewise.
14 (tokenize_extregister): Likewise.
15 * config/tc-csky.c (parse_opcode, get_operand_value): Likewise.
16 (parse_operands_op, parse_operands, md_assemble): Likewise.
17 * config/tc-d10v.c (build_insn): Likewise.
18 * config/tc-score.c (s3_gen_insn_frag): Likewise.
19 * config/tc-score7.c (s7_gen_insn_frag, s7_relax_frag): Likewise.
20 * config/tc-tic6x.c (tic6x_update_features, md_assemble): Likewise.
21 * config/tc-z80.c (emit_byte): Likewise.
22
854f1e4b
AM
232021-03-29 Alan Modra <amodra@gmail.com>
24
25 * config/tc-arm.c (struct arm_long_option_table <func>): Return
26 bfd_boolean.
27 * config/tc-arm.h (arm_optimize_expr, arm_data_in_code): Likewise.
28 * config/tc-metag.c (parse_mov_port): Replace unsigned int variable
29 with bfd_boolean.
30 (parse_mmov, parse_mov_ct, parse_alu, parse_shift, parse_bitop),
31 (parse_cmp, parse_fmmov, parse_fmov_data, parse_fearith),
32 (parse_dget_set, parse_dalu): Likewise, ensuring assignment from
33 logical expressions.
34 (struct metag_long_option <func>): Return bfd_boolean.
35 (metag_parse_cpu, metag_parse_fpu, metag_parse_dsp): Likewise.
36 * config/tc-msp430.c (msp430_dstoperand): Correct dummy type.
37 * config/tc-s12z.c (parse_operand_func): Return bfd_boolean.
38 (no_operands, lex_force_match, lex_reg_list): Likewise.
39 (size_from_suffix): Return int.
40 (s12z_relax_frag, md_estimate_size_before_relax): Return 0.
41 * config/tc-s12z.h (tc_s12z_fix_adjustable): Likewise.
42
c3344b62
JB
432021-03-26 Jan Beulich <jbeulich@suse.com>
44
45 * testsuite/gas/i386/x86-64-nosse2.s,
46 testsuite/gas/i386/x86-64-nosse2.l: New.
47 * testsuite/gas/i386/i386.exp: Run new test.
48
efa30ac3
HAQ
492021-03-25 Abid Qadeer <abidh@codesourcery.com>
50
51 * testsuite/gas/nios2/brn.d: New.
52 * testsuite/gas/nios2/brn.d: New.
53
5e74b495
JB
542021-03-25 Jan Beulich <jbeulich@suse.com>
55
56 * config/tc-i386.c (match_template): Use t instead of i.tm.
57
596a02ff
JB
582021-03-25 Jan Beulich <jbeulich@suse.com>
59
60 * testsuite/gas/i386/avx512f-nondef.s: Add vgather cases.
61 * testsuite/gas/i386/x86-64-vgather-check.s: Add cases with
62 colliding registers in the upper half of the space.
63 * testsuite/gas/i386/avx512f-nondef.d,
64 testsuite/gas/i386/vgather-check.d,
65 testsuite/gas/i386/x86-64-vgather-check.d,
66 testsuite/gas/i386/x86-64-vgather-check-error.l,
67 testsuite/gas/i386/x86-64-vgather-check-warn.e: Adjust
68 expecations.
69 * testsuite/gas/i386/vgather-check-none.d,
70 testsuite/gas/i386/vgather-check-warn.d,
71 testsuite/gas/i386/x86-64-vgather-check-none.d,
72 testsuite/gas/i386/x86-64-vgather-check-warn.d: Refer to "base"
73 tests for expected dump output.
74
53642852
JB
752021-03-25 Jan Beulich <jbeulich@suse.com>
76
77 * testsuite/gas/i386/avx512f-nondef.s: Add case for EVEX.z
78 without mask register.
79 * testsuite/gas/i386/avx512f-nondef.d: Adjust expectations.
80
c0e54661
JB
812021-03-25 Jan Beulich <jbeulich@suse.com>
82
83 * config/tc-i386.c (md_assemble): Widen set of insns to avoid
84 swapping operands for.
85 * testsuite/gas/i386/invlpgb.s: Fix, re-arrange, and add Intel
86 syntax tests.
87 * testsuite/gas/i386/snp.s: Re-arrange and add multi-operand as
88 well as Intel syntax tests.
89 * testsuite/gas/i386/invlpgb.d, testsuite/gas/i386/snp.d: Adjust
90 expectations.
91 * testsuite/gas/i386/invlpgb64.d, testsuite/gas/i386/snp64.d:
92 Likewise. Drop passing --def-sym to as.
93
829f3fe1
JB
942021-03-25 Jan Beulich <jbeulich@suse.com>
95
96 PR/gas 27419
97 * config/tc-i386.c (process_suffix): Restrict (%rip) -> (%eip)
98 conversion to x32 mode.
99 * testsuite/gas/i386/ilp32/enqcmd.s,
100 testsuite/gas/i386/ilp32/enqcmd.d,
101 testsuite/gas/i386/ilp32/movdir.s,
102 testsuite/gas/i386/ilp32/movdir.d: New.
103 * testsuite/gas/i386/x86-64-enqcmd.s,
104 testsuite/gas/i386/x86-64-movdir.s: Drop mismatched operand
105 cases.
106 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Add (%rip) and
107 (%eip) cases.
108 * testsuite/gas/i386/x86-64-movdir64b-reg.s Add (%eip) case.
109 * testsuite/gas/i386/x86-64-enqcmd.d,
110 testsuite/gas/i386/x86-64-enqcmd-intel.d,
111 testsuite/gas/i386/x86-64-enqcmd-inval.l,
112 testsuite/gas/i386/x86-64-movdir.d,
113 testsuite/gas/i386/x86-64-movdir-intel.d,
114 testsuite/gas/i386/x86-64-movdir64b-reg.l: Adjust expectations.
115
5a403766
AM
1162021-03-25 Alan Modra <amodra@gmail.com>
117
118 PR 27647
119 * testsuite/gas/ppc/a2.d: Update expected output.
120 * testsuite/gas/ppc/power8.d: Likewise.
121
9a182d04
JB
1222021-03-24 Jan Beulich <jbeulich@suse.com>
123
124 * config/tc-i386.c (struct _i386_insn): New field
125 opcode_length.
126 (md_begin): Drop assertion.
127 (install_template): New.
128 (build_vex_prefix): Call install_template.
129 (match_template): Likewise.
130 (process_operands): Use new opcode_length field.
131 (output_jump): Likewise.
132 (output_insn): Likewise. Adjust psedo prefix check.
133
35648716
JB
1342021-03-24 Jan Beulich <jbeulich@suse.com>
135
136 * config/tc-i386.c (md_begin): Add assertion.
137 (build_vex_prefix): Drop implied prefix calculation.
138 (build_evex_prefix): Likewise.
139 (optimize_encoding): Adjust opcode checks.
140 (load_insn_p): Also check opcodeprefix.
141 (match_template): Also check opcodespace.
142 (process_suffix): Likewise.
143 (process_operands): Likewise.
144 (output_insn): Likewise. Also check isprefix when discaring
145 standalone LOCK.
146 * config/tc-i386-intel.c (i386_intel_operand): Also check
147 opcodespace.
148
31184569
JB
1492021-03-24 Jan Beulich <jbeulich@suse.com>
150
151 * config/tc-i386.c (parse_insn): Recognize pseudo prefixes by
152 base_opcode and extension_opcode.
153
b933fa4b
JB
1542021-03-23 Jan Beulich <jbeulich@suse.com>
155
156 * config/tc-i386.c (pte): Re-order opc_pfx[] entries.
157
dac10fb0
JB
1582021-03-23 Jan Beulich <jbeulich@suse.com>
159
160 * config/tc-i386.c (output_i386_opcode): Invoke
161 process_i386_cpu_flag() slightly later.
162 (process_i386_opcodes): Likewise.
163
441f6aca
JB
1642021-03-23 Jan Beulich <jbeulich@suse.com>
165
166 * config/tc-i386.c (pte): Print prefix and encoding space.
167 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
168 (build_evex_prefix): Likewise.
169 (load_insn_p): Likewise.
170
70e95837
JB
1712021-03-23 Jan Beulich <jbeulich@suse.com>
172
173 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
174 if()-s.
175 (match_template, output_insn): Use PREFIX_NONE.
176
a152332d
JB
1772021-03-23 Jan Beulich <jbeulich@suse.com>
178
179 * config/tc-i386.c (i386_index_check): New local variable t.
180 Correct MPX insn check.
181 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
182 MPX insn check.
183 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
184 index scaling by other than 1.
185 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
186
08dedd66
ML
1872021-03-22 Martin Liska <mliska@suse.cz>
188
189 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
190 (x86_64_section_word): Likewise.
191 * config/tc-sparc.c (md_parse_option): Likewise.
192
826b97d4
AM
1932021-03-19 Alan Modra <amodra@gmail.com>
194
195 * app.c (do_scrub_chars): Don't lose spaces before a slash.
196
3273f9a1
CG
1972021-03-18 Christian Groessler <chris@groessler.org>
198
199 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
200 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
201
80d49d6a
KLC
2022021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
203
204 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
205 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
206 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
207 * testsuite/gas/riscv/b-ext-64.d: Likewise.
208 * testsuite/gas/riscv/b-ext.s: Likewise.
209 * testsuite/gas/riscv/b-ext.d: Likewise.
210
7fce7ea9
PW
2112021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
212
213 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
214 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
215 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
216 * testsuite/gas/aarch64/sysreg-7.d: New test.
217 * testsuite/gas/aarch64/sysreg-7.s: New test.
218
1b2cb8e2
CC
2192021-03-12 Clément Chigot <clement.chigot@atos.net>
220
221 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
222 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
223 (ppc_xcoff_tbss_section): New variables.
224 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
225 (ppc_data_csects): Removed.
226 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
227 ppc_xcoff_parse_cons): New functions.
228 (md_being): Initialize XCOFF sections.
229 (ppc_xcoff_suffix): Add support for TLS relocations
230 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
231 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
232 to .bss section. Handle new XCOFF section variables.
233 (ppc_comm): Likewise.
234 (ppc_toc): Likewise.
235 (ppc_symbol_new_hook): Likewise.
236 (ppc_frob_symbol): Likewise.
237 (ppc_fix_adjustable): Add tbss support.
238 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
239 (ppc_xcoff_parse_cons): Add prototype.
240 (struct ppc_xcoff_section): New structure.
241
4a403be0
CC
2422021-03-12 Clément Chigot <clement.chigot@atos.net>
243
244 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
245 (MAP, MAP32, MAP64): New macros for XCOFF.
246 (ppc_xcoff_fixup_addis): New function.
247 (ppc_is_toc_sym): Handle XMC_TE.
248 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
249 BFD_RELOC_PPC_TOC16_LO.
250 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
251 (ppc_change_csect): Handle XMC_TE.
252 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
253 storage class.
254 (ppc_symbol_new_hook): Handle XMC_TE.
255 (ppc_frob_symbol): Likewise.
256 (ppc_fix_adjustable): Likewise.
257 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
258 BFD_RELOC_PPC_TOC16_LO.
259
b763d508
JB
2602021-03-10 Jan Beulich <jbeulich@suse.com>
261
262 * testsuite/gas/i386/avx512f-intel.d,
263 testsuite/gas/i386/avx512f_vl-intel.d,
264 testsuite/gas/i386/avx512pf-intel.d,
265 testsuite/gas/i386/x86-64-avx512f-intel.d,
266 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
267 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
268
31941983
JB
2692021-03-10 Jan Beulich <jbeulich@suse.com>
270
271 * testsuite/gas/i386/prefetch.d,
272 testsuite/gas/i386/prefetch-intel.d,
273 testsuite/gas/i386/x86-64-prefetch.d,
274 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
275 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
276 * testsuite/gas/i386/i386.exp: Run new test.
277
742732c7
JB
2782021-03-09 Jan Beulich <jbeulich@suse.com>
279
280 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
281 (md_assemble): Replace use of repprefixok, islockable, and
282 notrackprefixok.
283 (i386_index_check): Replace use of repprefixok.
284
e93a3b27
JB
2852021-03-09 Jan Beulich <jbeulich@suse.com>
286
287 * testsuite/gas/i386/noreg64.s: Add sysexit.
288 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
289 sysexitl and sysexitq.
290 * testsuite/gas/i386/noreg-intel64.l,
291 testsuite/gas/i386/noreg64-data16.d,
292 testsuite/gas/i386/noreg64-data16.e,
293 testsuite/gas/i386/noreg64-rex64.d,
294 testsuite/gas/i386/noreg64.d,
295 testsuite/gas/i386/noreg64.l,
296 testsuite/gas/i386/x86-64-sysenter-amd.d,
297 testsuite/gas/i386/x86-64-sysenter-amd.l,
298 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
299
fe0171d2
NC
3002021-02-26 Nick Clifton <nickc@redhat.com>
301
302 PR 27411
303 * config/tc-arm.c (do_t_add_sub): Correct error message.
304 * testsuite/gas/arm/pr27411.s: New test.
305 * testsuite/gas/arm/pr27411.d: New test driver.
306 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
307
55add51e
AM
3082021-02-24 Alan Modra <amodra@gmail.com>
309
310 PR 23691
311 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
312 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
313 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
314 and use alongside TARGET_CPU_CFILES.
315 (EXTRA_DIST): Update location of generated .c files.
316 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
317 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
318 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
319 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
320 dependencies.
321 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
322 (itbl-parse.c, itbl-parse.h): Tidy.
323 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
324 * config/bfin-lex.l: Include config/bfin-parse.h.
325 * configure.ac (extra_objects): Move object files corresponding
326 to .y and .l files now in config/ to config/.
327 * Makefile.in: Regenerate.
328 * configure: Regenerate.
329 * po/POTFILES.in: Regenerate.
330
0257c2ff
NC
3312021-02-19 Nick Clifton <nickc@redhat.com>
332
333 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
334 misleading indentation.
335
5a9f5403
NC
3362021-02-19 Nelson Chu <nelson.chu@sifive.com>
337
338 PR 27158
339 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
340 (md_apply_fix): Likewise.
341 (md_convert_frag_branch): Likewise.
342 (validate_riscv_insn): Likewise. Also arranged operands, including
343 added C5 and C6 operands, and removed unused Ci and C< operands.
344 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
345 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
346 * testsuite/gas/riscv/insn.s: Likewise.
347
3d73d29e
NC
3482021-02-18 Nelson Chu <nelson.chu@sifive.com>
349
350 * config/tc-riscv.c: Included cpu-riscv.h.
351 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
352 (struct riscv_csr_extra): Likewise.
353 (struct riscv_ext_version): Likewise.
354 (ext_version_table): Moved from opcodes/riscv-opc.c.
355 (default_isa_spec): Updated type to riscv_spec_class.
356 (default_priv_spec): Likewise.
357 (riscv_set_default_isa_spec): Updated.
358 (init_ext_version_hash): Likewise.
359 (riscv_init_csr_hash): Likewise, also fixed indent.
360
089485ff
AM
3612021-02-17 Alan Modra <amodra@gmail.com>
362
363 * testsuite/gas/elf/section28.d: xfail h8300.
364
ca1289b9
L
3652021-02-16 H.J. Lu <hongjiu.lu@intel.com>
366
367 PR gas/27412
368 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
369 when checking incorrect section attributes.
370 * testsuite/gas/elf/elf.exp: Run section28 and section29.
371 * testsuite/gas/elf/section28.d: New file.
372 * testsuite/gas/elf/section28.s: Likewise.
373 * testsuite/gas/elf/section29.d: Likewise.
374 * testsuite/gas/elf/section29.s: Likewise.
375
394ae71f
JB
3762021-02-16 Jan Beulich <jbeulich@suse.com>
377
378 * testsuite/gas/i386/sse-check.s,
379 testsuite/gas/i386/sse2avx.s,
380 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
381 * testsuite/gas/i386/sse-check-error.l,
382 testsuite/gas/i386/sse-check-warn.e,
383 testsuite/gas/i386/sse-check.d,
384 testsuite/gas/i386/sse2avx.d,
385 testsuite/gas/i386/x86-64-sse-check-error.l,
386 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
387 * testsuite/gas/i386/property-cvtpi2pd.s,
388 testsuite/gas/i386/property-cvtpi2pd.d,
389 testsuite/gas/i386/property-cvtpi2ps.s,
390 testsuite/gas/i386/property-cvtpi2ps.d: New.
391 * testsuite/gas/i386/i386.exp: Run new tests.
392
3d70986f
JB
3932021-02-16 Jan Beulich <jbeulich@suse.com>
394
395 * config/tc-i386.c (md_assemble): Use template rather than
396 actuals when updating i.xstate.
397 * testsuite/gas/i386/property-4.d,
398 testsuite/gas/i386/property-5.d,
399 testsuite/gas/i386/property-12.d: Adjust expectations.
400
014d61ea
JB
4012021-02-16 Jan Beulich <jbeulich@suse.com>
402
403 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
404 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
405 * testsuite/gas/i386/property-ldmxcsr.s,
406 testsuite/gas/i386/property-ldmxcsr.d,
407 testsuite/gas/i386/property-vldmxcsr.s,
408 testsuite/gas/i386/property-vldmxcsr.d,
409 testsuite/gas/i386/property-vzeroall.s,
410 testsuite/gas/i386/property-vzeroall.d: New.
411 * testsuite/gas/i386/i386.exp: Run new tests.
412
cbe68696
JB
4132021-02-16 Jan Beulich <jbeulich@suse.com>
414
415 * testsuite/gas/i386/i386.exp: Move bitness-independent property
416 tests to bitness independent section.
417 * testsuite/gas/i386/x86-64-property-2.d,
418 testsuite/gas/i386/x86-64-property-3.d,
419 testsuite/gas/i386/x86-64-property-4.d,
420 testsuite/gas/i386/x86-64-property-5.d,
421 testsuite/gas/i386/x86-64-property-6.d,
422 testsuite/gas/i386/x86-64-property-10.d,
423 testsuite/gas/i386/x86-64-property-11.d,
424 testsuite/gas/i386/x86-64-property-12.d,
425 testsuite/gas/i386/x86-64-property-13.d: Delete.
426
c2f1204d
JB
4272021-02-16 Jan Beulich <jbeulich@suse.com>
428
429 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
430 movdir.s.
431 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
432
9a12b194
AM
4332021-02-16 Alan Modra <amodra@gmail.com>
434
435 PR 27426
436 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
437 in another place.
438
70433886
AM
4392021-02-16 Alan Modra <amodra@gmail.com>
440
441 * read.c (demand_copy_C_string): Really check for embedded zeros.
442
ba2b480f
AK
4432021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
444
445 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
446 * doc/c-s390.texi: Document arch14 march option.
447 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
448 * testsuite/gas/s390/zarch-arch14.d: New test.
449 * testsuite/gas/s390/zarch-arch14.s: New test.
450
c46b7066
NC
4512021-02-12 Nick Clifton <nickc@redhat.com>
452
453 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
454 following.
455 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
456
3c1d4101
AM
4572021-02-12 Alan Modra <amodra@gmail.com>
458
459 * testsuite/gas/all/pr27381.err: Don't match source file name.
460 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
461 * testsuite/gas/all/pr27384.err: Don't match source file name.
462 Adjust line number.
463 * testsuite/gas/all/pr27384.s: Add ".text" directive.
464 * testsuite/gas/elf/pr27355.err: Don't match source file name.
465
933feaf3
AM
4662021-02-11 Alan Modra <amodra@gmail.com>
467
468 * NEWS: Mention arm-symbianelf removal.
469
01e8b831
NC
4702021-02-10 Nick Clifton <nickc@redhat.com>
471
472 * listing.c (buffer_line): Remove debugging code accidentally
473 included with the fix for PR 27384.
474
284beb43
NC
4752021-02-09 Nick Clifton <nickc@redhat.com>
476
477 PR 27381
478 * read.c (s_incbin): Check that the file to be included is a
479 regular, non-directory file.
480 * testsuite/gas/all/pr27381.s: New test source file.
481 * testsuite/gas/all/pr27381.d: New test control file.
482 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
483 * testsuite/gas/all/gas.exp: Run the new test.
484
a57d1773
AM
4852021-02-09 Alan Modra <amodra@gmail.com>
486
487 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
488 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
489 support.
490 * config/te-symbian.h: Delete.
491 * configure.tgt: Remove arm-*-symbianelf*.
492 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
493 target selection.
494 * testsuite/gas/arm/arch4t.d: Likewise.
495 * testsuite/gas/arm/got_prel.d: Likewise.
496 * testsuite/gas/arm/mapdir.d: Likewise.
497 * testsuite/gas/arm/mapmisc.d: Likewise.
498 * testsuite/gas/arm/mapsecs.d: Likewise.
499 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
500 * testsuite/gas/arm/thumb-eabi.d: Likewise.
501 * testsuite/gas/arm/thumb.d: Likewise.
502 * testsuite/gas/arm/thumbrel.d: Likewise.
503 * Makefile.in: Regenerate.
504 * po/POTFILES.in: Regenerate.
505
4a68fcd7
NC
5062021-02-09 Nick Clifton <nickc@redhat.com>
507
508 PR 27384
509 * listing.c (listing_psize): Check the result of the width
510 expression before assigning it to paper_width.
511 * testsuite/gas/all/pr27384.s: New test source file.
512 * testsuite/gas/all/pr27384.d: New test control file.
513 * testsuite/gas/all/pr27384.err: Expected errors from new test.
514 * testsuite/gas/all/gas.exp: Run the new test.
515
52563b0f
NC
5162021-02-09 Nick Clifton <nickc@redhat.com>
517
518 PR 27355
519 * testsuite/gas/elf/pr27355.s: New test source file.
520 * testsuite/gas/elf/pr27355.d: New test control file.
521 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
522 * testsuite/gas/elf/elf.exp: Run the new test.
523
bfd428bc
MF
5242021-02-08 Mike Frysinger <vapier@gentoo.org>
525
526 * config/tc-tic54x (tic54x_mmregs): Rename to ...
527 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
528 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
529 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
530 cc2_codes, cc3_codes, status_bits, and misc_symbols.
531
80b652ef
NC
5322021-02-08 Nick Clifton <nickc@redhat.com>
533
534 PR 27355
535 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
536 if it has not already been created.
537
24075dcc
NC
5382021-02-04 Nelson Chu <nelson.chu@sifive.com>
539
540 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
541 INSN_CLASS_ZB*.
542 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
543 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
544 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
545
61ecbbae
AK
5462021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
547
548 * doc/c-s390.texi: Document vector instruction formats.
549
1f568f9a
EH
5502021-02-01 Emery Hemingway <ehmry@posteo.net>
551
552 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
553
7bba67ec
AM
5542021-02-01 Alan Modra <amodra@gmail.com>
555
556 PR 27283
557 * config/tc-alpha.c (insert_operand): Delete dead code.
558
1f583bc2
L
5592021-01-26 H.J. Lu <hongjiu.lu@intel.com>
560
561 PR gas/27243
562 * config/tc-nios2.c (md_begin): Don't disable relaxation with
563 --gdwarf-N.
564 * testsuite/gas/nios2/relax.d: New file.
565 * testsuite/gas/nios2/relax.s: Likewise.
566
a45ef9a3
AM
5672021-01-26 Alan Modra <amodra@gmail.com>
568
569 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
570 notarget all except hppa. Comment.
571 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
572 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
573 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
574 * testsuite/gas/all/sleb128-7.d: Likewise.
575 * testsuite/gas/all/sleb128-9.d: Likewise.
576 * testsuite/gas/elf/bignums.d: Likewise.
577 * testsuite/gas/elf/group0c.d: Likewise.
578 * testsuite/gas/elf/group1a.d: Likewise.
579 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
580 * testsuite/gas/elf/section15.d: Likewise.
581 * testsuite/gas/elf/section4.d: Likewise.
582 * testsuite/gas/elf/section7.d: Likewise.
583 * testsuite/gas/macros/irp.d: Likewise.
584 * testsuite/gas/macros/repeat.d: Likewise.
585 * testsuite/gas/macros/rept.d: Likewise.
586 * testsuite/gas/macros/test2.d: Likewise.
587 * testsuite/gas/macros/vararg.d: Likewise.
588 * testsuite/gas/all/string.d: Use xfail rather than skip.
589 * testsuite/gas/elf/missing-build-notes.d: Likewise.
590 * testsuite/gas/elf/section0.d: Likewise.
591 * testsuite/gas/elf/section1.d: Likewise.
592 * testsuite/gas/elf/section10.d: Likewise.
593 * testsuite/gas/elf/section11.d: Likewise.
594 * testsuite/gas/elf/section6.d: Likewise.
595 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
596 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
597 * testsuite/gas/macros/test3.d: Don't notarget nds32.
598
9886ff03
AM
5992021-01-26 Alan Modra <amodra@gmail.com>
600
601 * testsuite/gas/all/byte.d,
602 * testsuite/gas/all/byte.l,
603 * testsuite/gas/all/byte.s: Delete.
604 * testsuite/gas/all/gas.exp: Don't run byte test.
605
4287950e
AM
6062021-01-26 Alan Modra <amodra@gmail.com>
607
608 PR 27282
609 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
610 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
611
eea133e6
L
6122021-01-24 H.J. Lu <hongjiu.lu@intel.com>
613
614 PR gas/27228
615 * testsuite/gas/elf/elf.exp: Run pr27228.
616 * testsuite/gas/elf/pr27228.d: New file.
617 * testsuite/gas/elf/pr27228.s: Likewise.
618
68fcee4f
AM
6192021-01-24 Alan Modra <amodra@gmail.com>
620
621 PR 27228
622 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
623 is defined.
624
be07043e
AM
6252021-01-21 Alan Modra <amodra@gmail.com>
626
627 PR 27221
628 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
629 line number info when gas is generating it.
630 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
631 * testsuite/gas/m68hc11/indexed12.d: Likewise.
632 * testsuite/gas/elf/elf.exp: Don't run warn-2.
633 * gas/testsuite/gas/elf/warn-2.s: Delete.
634
498ff032
AM
6352021-01-21 Alan Modra <amodra@gmail.com>
636
637 PR 27218
638 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
639 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
640 error for negative file numbers.
641
4bd7c902
AM
6422021-01-20 Alan Modra <amodra@gmail.com>
643
644 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
645 * testsuite/gas/ppc/test1elf32.d: Likewise.
646 * testsuite/gas/ppc/test1elf64.d: Likewise.
647
705989f1
L
6482021-01-18 H.J. Lu <hongjiu.lu@intel.com>
649
650 PR gas/27195
651 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
652 needed.
653 (dwarf2_directive_filename): Likewise.
654 (dwarf2_directive_loc): Likewise.
655 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
656 * testsuite/gas/lns/lns-diag-1.l: Remove the
657 "Error: file number less than one" errors.
658
44365e88
AM
6592021-01-18 Alan Modra <amodra@gmail.com>
660
661 PR 27198
662 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
663 * testsuite/gas/i386/pr27198.d,
664 * gas/testsuite/gas/i386/pr27198.err,
665 * gas/testsuite/gas/i386/pr27198.s: New test.
666 * gas/testsuite/gas/i386/i386.exp: Run it.
667
1942a048
NC
6682021-01-15 Nelson Chu <nelson.chu@sifive.com>
669
670 * config/tc-riscv.c: Indent and GNU coding standards tidy,
671 also aligned the code.
672 * config/tc-riscv.h: Likewise.
673
b800637e
NC
6742021-01-15 Nelson Chu <nelson.chu@sifive.com>
675
676 * config/tc-riscv.c: Error and warning messages tidy.
677 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
678 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
679 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
680 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
681 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
682 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
683 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
684
dcd709e0
NC
6852021-01-15 Nelson Chu <nelson.chu@sifive.com>
686
687 * config/tc-riscv.c: Comments tidy and improvement. Also update
688 comment "fallthru" to "Fall through" that end with a period and
689 two spaces.
690
5fda40b2
MF
6912021-01-14 Mike Frysinger <vapier@gentoo.org>
692
693 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
694 Delete warning that these are only available with ELF targets.
695 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
696 * read.c (potable): ... here.
697
abad2815
MF
6982021-01-14 Mike Frysinger <vapier@gentoo.org>
699
700 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
701 * Makefile.in: Regenerated.
702
adb0bd8f
MF
7032021-01-14 Mike Frysinger <vapier@gentoo.org>
704
705 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
706 (parse_int): Mark char_bag const.
707
844bf810
L
7082021-01-13 H.J. Lu <hongjiu.lu@intel.com>
709
710 PR gas/27178
711 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
712 Don't generate GOT_symbol for PLT relocations.
713 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
714 * testsuite/gas/i386/no-got.d: New file.
715 * testsuite/gas/i386/no-got.s: Likewise.
716 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
717 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
718
5347ed60
AM
7192021-01-13 Alan Modra <amodra@gmail.com>
720
721 * Makefile.in: Regenerate.
722 * Makefile.in: Regenerate.
723
d546b610
L
7242021-01-12 H.J. Lu <hongjiu.lu@intel.com>
725
726 PR binutils/26792
727 * configure.ac: Use GNU_MAKE_JOBSERVER.
728 * aclocal.m4: Regenerated.
729 * configure: Likewise.
730
6d104cac
NC
7312021-01-12 Nick Clifton <nickc@redhat.com>
732
733 * po/fr.po: Updated French translation.
734
83b33c6c
L
7352021-01-11 H.J. Lu <hongjiu.lu@intel.com>
736
737 PR ld/27173
738 * configure: Regenerated.
739
82c70b08
KT
7402021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
741
742 * NEWS: Remove CSRE.
743 * config/tc-aarch64.c (parse_csr_operand): Delete.
744 (parse_operands): Delete handling of
745 AARCH64_OPND_CSRE_CSR.
746 (aarch64_features): Remove csre.
747 * doc/c-aarch64.texi: Remove CSRE.
748 * testsuite/gas/aarch64/csre.d: Delete.
749 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
750 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
751 * testsuite/gas/aarch64/csre_csr.s: Likewise.
752 * testsuite/gas/aarch64/csre_csr.d: Likewise.
753 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
754 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
755 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
756
a8aa72b9
NC
7572021-01-11 Nick Clifton <nickc@redhat.com>
758
759 * po/uk.po: Updated Ukranian translation.
760
a4966cd9
L
7612021-01-09 H.J. Lu <hongjiu.lu@intel.com>
762
763 * configure: Regenerated.
764
573fe3fb
NC
7652021-01-09 Nick Clifton <nickc@redhat.com>
766
767 * configure: Regenerate.
768 * po/gas.pot: Regenerate.
769
055bc77a
NC
7702021-01-09 Nick Clifton <nickc@redhat.com>
771
772 * 2.36 release branch crated.
773
aae7fcb8
PB
7742021-01-08 Peter Bergner <bergner@linux.ibm.com>
775
776 * testsuite/gas/ppc/rop-checks.d,
777 * testsuite/gas/ppc/rop-checks.l,
778 * testsuite/gas/ppc/rop-checks.s,
779 * testsuite/gas/ppc/rop.d,
780 * testsuite/gas/ppc/rop.s: New tests.
781 * testsuite/gas/ppc/ppc.exp: Run them.
782
64307045
AM
7832021-01-09 Alan Modra <amodra@gmail.com>
784
785 * configure: Regenerate.
786
f4782128
ST
7872021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
788
789 * configure: Regenerate.
790
d1bcae83
L
7912021-01-07 H.J. Lu <hongjiu.lu@intel.com>
792
793 PR 27109
794 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
795 section symbol.
796 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
797 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
798 on the section symbol.
799 (set_symtab): Don't generate unused section symbols.
800 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
801 on the section symbol.
802 * config/obj-elf.c (elf_adjust_symtab): Call
803 symbol_mark_used_in_reloc on the group signature symbol.
804 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
805 from expected output.
806 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
807 is_elf_unused_section_symbols.
808 * testsuite/gas/elf/section2.e: Updated.
809 * testsuite/gas/elf/section2.e-unused: New file.
810 * testsuite/gas/elf/symver.d: Remove unused section symbols.
811 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
812 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
813 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
814 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
815 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
816 * testsuite/gas/i386/size-1.d: Likewise.
817 * testsuite/gas/i386/size-3.d: Likewise.
818 * testsuite/gas/i386/svr4.d: Likewise.
819 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
820 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
821 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
822 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
823
aa881ecd
PT
8242021-01-07 Philipp Tomsich <prt@gnu.org>
825
826 * config/tc-riscv.c (riscv_multi_subset_supports): Added
827 INSN_CLASS_ZIHINTPAUSE.
828 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
829 the pause hint instruction.
830 * testsuite/gas/riscv/pause.s: Likewise.
831
2652cfad
CXW
8322021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
833 Jim Wilson <jimw@sifive.com>
834 Andrew Waterman <andrew@sifive.com>
835 Maxim Blinov <maxim.blinov@embecosm.com>
836 Kito Cheng <kito.cheng@sifive.com>
837 Nelson Chu <nelson.chu@sifive.com>
838
839 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
840 (riscv_get_default_ext_version): Do not check the default_isa_spec when
841 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
842 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
843 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
844 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
845
85f55c2b
AM
8462021-01-06 Alan Modra <amodra@gmail.com>
847
848 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
849
22206e84
AM
8502021-01-06 Alan Modra <amodra@gmail.com>
851
852 * testsuite/gas/macros/app1.d: xfail tic30.
853 * testsuite/gas/macros/app2.d: Likewise.
854 * testsuite/gas/macros/app3.d: Likewise.
855 * testsuite/gas/macros/app4.d: Likewise.
856
286d2f2c
MC
8572021-01-06 Marcus Comstedt <marcus@mc.pp.se>
858
859 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
860 * doc/c-riscv.texi: Likewise.
861
f36ce378
MC
8622021-01-06 Marcus Comstedt <marcus@mc.pp.se>
863
864 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
865 to littleriscv.
866 * testsuite/gas/riscv/li64.d: Likewise.
867 * testsuite/gas/riscv/lla32.d: Likewise.
868 * testsuite/gas/riscv/lla64.d: Likewise.
869 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
870 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
871 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
872 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
873 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
874 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
875 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
876
fbc09e7a
MC
8772021-01-06 Marcus Comstedt <marcus@mc.pp.se>
878
879 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
880 elf32-bigriscv.
881 (install_insn): Always write instructions as little endian.
882 (riscv_make_nops): Likewise.
883 (md_convert_frag_branch): Likewise.
884 (md_number_to_chars): Write data in target endianness.
885 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
886 (md_parse_option): Handle the endian options.
887 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
888 already defined.
889 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
890
cd6d537c
L
8912021-01-04 H.J. Lu <hongjiu.lu@intel.com>
892
893 PR ld/26256
894 * config/obj-elf.c (obj_elf_change_section): Also filter out
895 SHF_LINK_ORDER.
896
dd933805
AM
8972021-01-04 Alan Modra <amodra@gmail.com>
898
899 PR 27102
900 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
901 message and register symbol error message.
902
90320e40
AM
9032021-01-04 Alan Modra <amodra@gmail.com>
904
905 PR 27101
906 * read.c (s_align): Use a large enough type for "align" to hold
907 the result of get_absolute_expression.
908
f9a6a8f0
AM
9092021-01-01 Nicolas Boulenguez <nicolas@debian.org>
910
911 * config/tc-i386.c: Correct comment spelling.
912 * config/tc-riscv.c: Likewise.
913 * config/tc-s390.c: Correct comment grammar.
914 * doc/c-i386.texi: Correct spelling.
915 * doc/c-s390.texi: Correct grammar.
916
250d07de
AM
9172021-01-01 Alan Modra <amodra@gmail.com>
918
919 Update year range in copyright notice of all files.
920
64d05a43
HPN
9212021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
922
923 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
924
c2795844 925For older changes see ChangeLog-2020
3499769a 926\f
c2795844 927Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
928
929Copying and distribution of this file, with or without modification,
930are permitted in any medium without royalty provided the copyright
931notice and this notice are preserved.
932
933Local Variables:
934mode: change-log
935left-margin: 8
936fill-column: 74
937version-control: never
938End: