]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
x86: re-order two fields of struct insn_template
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
dac10fb0
JB
12021-03-23 Jan Beulich <jbeulich@suse.com>
2
3 * config/tc-i386.c (output_i386_opcode): Invoke
4 process_i386_cpu_flag() slightly later.
5 (process_i386_opcodes): Likewise.
6
441f6aca
JB
72021-03-23 Jan Beulich <jbeulich@suse.com>
8
9 * config/tc-i386.c (pte): Print prefix and encoding space.
10 (build_vex_prefix): Check opcodespace instead of opcodeprefix.
11 (build_evex_prefix): Likewise.
12 (load_insn_p): Likewise.
13
70e95837
JB
142021-03-23 Jan Beulich <jbeulich@suse.com>
15
16 * config/tc-i386.c (load_insn_p): Use PREFIX_NONE. Fold two
17 if()-s.
18 (match_template, output_insn): Use PREFIX_NONE.
19
a152332d
JB
202021-03-23 Jan Beulich <jbeulich@suse.com>
21
22 * config/tc-i386.c (i386_index_check): New local variable t.
23 Correct MPX insn check.
24 * config/tc-i386-intel.c (i386_intel_simplify_register): Correct
25 MPX insn check.
26 * testsuite/gas/i386/x86-64-mpx.s: Add RIP-relative cases. Test
27 index scaling by other than 1.
28 * testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
29
08dedd66
ML
302021-03-22 Martin Liska <mliska@suse.cz>
31
32 * config/tc-i386.c (md_parse_option): Replace usage of CONST_STRNEQ with startswith.
33 (x86_64_section_word): Likewise.
34 * config/tc-sparc.c (md_parse_option): Likewise.
35
826b97d4
AM
362021-03-19 Alan Modra <amodra@gmail.com>
37
38 * app.c (do_scrub_chars): Don't lose spaces before a slash.
39
3273f9a1
CG
402021-03-18 Christian Groessler <chris@groessler.org>
41
42 * config/tc-z8k.c (apply_fix): Handle 7-bit relocations correctly.
43 Problem found by Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>.
44
80d49d6a
KLC
452021-03-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
46
47 * config/tc-riscv.c (ext_version_table): Add b, zba, zbb and zbc.
48 (riscv_multi_subset_supports): Add INSN_CLASS_ZB*.
49 * testsuite/gas/riscv/b-ext-64.s: Bitmanip test case.
50 * testsuite/gas/riscv/b-ext-64.d: Likewise.
51 * testsuite/gas/riscv/b-ext.s: Likewise.
52 * testsuite/gas/riscv/b-ext.d: Likewise.
53
7fce7ea9
PW
542021-03-12 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
55
56 * testsuite/gas/aarch64/illegal-sysreg-7.d: New test.
57 * testsuite/gas/aarch64/illegal-sysreg-7.l: New test.
58 * testsuite/gas/aarch64/illegal-sysreg-7.s: New test.
59 * testsuite/gas/aarch64/sysreg-7.d: New test.
60 * testsuite/gas/aarch64/sysreg-7.s: New test.
61
1b2cb8e2
CC
622021-03-12 Clément Chigot <clement.chigot@atos.net>
63
64 * config/tc-ppc.c (ppc_xcoff_text_section, ppc_xcoff_data_section,
65 (ppc_xcoff_bss_section, ppc_xcoff_tdata_section,
66 (ppc_xcoff_tbss_section): New variables.
67 (ppc_text_subsegment, ppc_text_csects, ppc_data_subgments,
68 (ppc_data_csects): Removed.
69 (ppc_xcoff_section_is_initialized, ppc_init_xcoff_section,
70 ppc_xcoff_parse_cons): New functions.
71 (md_being): Initialize XCOFF sections.
72 (ppc_xcoff_suffix): Add support for TLS relocations
73 (fixup_size, md_apply_fix): Add support for new BFD_RELOC.
74 (ppc_change_csect): Handle XMC_TL, XMC_UL. Correctly, add XMC_BS
75 to .bss section. Handle new XCOFF section variables.
76 (ppc_comm): Likewise.
77 (ppc_toc): Likewise.
78 (ppc_symbol_new_hook): Likewise.
79 (ppc_frob_symbol): Likewise.
80 (ppc_fix_adjustable): Add tbss support.
81 * config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): New define.
82 (ppc_xcoff_parse_cons): Add prototype.
83 (struct ppc_xcoff_section): New structure.
84
4a403be0
CC
852021-03-12 Clément Chigot <clement.chigot@atos.net>
86
87 * config/tc-ppc.c (ppc_xcoff_suffix): New function.
88 (MAP, MAP32, MAP64): New macros for XCOFF.
89 (ppc_xcoff_fixup_addis): New function.
90 (ppc_is_toc_sym): Handle XMC_TE.
91 (fixup_size): Add cases for BFD_RELOC_PPC_TOC16_HI and
92 BFD_RELOC_PPC_TOC16_LO.
93 (md_assemble): Call ppc_xcoff_fixup_addis for XCOFF.
94 (ppc_change_csect): Handle XMC_TE.
95 (ppc_tc): Enable .tc symbols to have only a XMC_TC or XMC_TE
96 storage class.
97 (ppc_symbol_new_hook): Handle XMC_TE.
98 (ppc_frob_symbol): Likewise.
99 (ppc_fix_adjustable): Likewise.
100 (md_apply_fix): Handle BFD_RELOC_PPC_TOC16_HI and
101 BFD_RELOC_PPC_TOC16_LO.
102
b763d508
JB
1032021-03-10 Jan Beulich <jbeulich@suse.com>
104
105 * testsuite/gas/i386/avx512f-intel.d,
106 testsuite/gas/i386/avx512f_vl-intel.d,
107 testsuite/gas/i386/avx512pf-intel.d,
108 testsuite/gas/i386/x86-64-avx512f-intel.d,
109 testsuite/gas/i386/x86-64-avx512f_vl-intel.d,
110 testsuite/gas/i386/x86-64-avx512pf-intel.d: Adjust expectations.
111
31941983
JB
1122021-03-10 Jan Beulich <jbeulich@suse.com>
113
114 * testsuite/gas/i386/prefetch.d,
115 testsuite/gas/i386/prefetch-intel.d,
116 testsuite/gas/i386/x86-64-prefetch.d,
117 testsuite/gas/i386/x86-64-prefetch-intel.d: Adjust expectations.
118 * testsuite/gas/i386/nops-8.s, testsuite/gas/i386/nops-8.d: New.
119 * testsuite/gas/i386/i386.exp: Run new test.
120
742732c7
JB
1212021-03-09 Jan Beulich <jbeulich@suse.com>
122
123 * config/tc-i386.c (check_hle): Replace HLEPrefix* by Prefix*.
124 (md_assemble): Replace use of repprefixok, islockable, and
125 notrackprefixok.
126 (i386_index_check): Replace use of repprefixok.
127
e93a3b27
JB
1282021-03-09 Jan Beulich <jbeulich@suse.com>
129
130 * testsuite/gas/i386/noreg64.s: Add sysexit.
131 * testsuite/gas/i386/x86-64-sysenter-amd.s: Split sysexit into
132 sysexitl and sysexitq.
133 * testsuite/gas/i386/noreg-intel64.l,
134 testsuite/gas/i386/noreg64-data16.d,
135 testsuite/gas/i386/noreg64-data16.e,
136 testsuite/gas/i386/noreg64-rex64.d,
137 testsuite/gas/i386/noreg64.d,
138 testsuite/gas/i386/noreg64.l,
139 testsuite/gas/i386/x86-64-sysenter-amd.d,
140 testsuite/gas/i386/x86-64-sysenter-amd.l,
141 testsuite/gas/i386/x86-64-sysenter-intel.d: Adjust expectations.
142
fe0171d2
NC
1432021-02-26 Nick Clifton <nickc@redhat.com>
144
145 PR 27411
146 * config/tc-arm.c (do_t_add_sub): Correct error message.
147 * testsuite/gas/arm/pr27411.s: New test.
148 * testsuite/gas/arm/pr27411.d: New test driver.
149 * testsuite/gas/arm/pr27411.l: Expected error output for new test.
150
55add51e
AM
1512021-02-24 Alan Modra <amodra@gmail.com>
152
153 PR 23691
154 * Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
155 (TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
156 (TARGET_EXTRA_FILES): ..to here. Add config/bfin-lex-wrapper.c,
157 and use alongside TARGET_CPU_CFILES.
158 (EXTRA_DIST): Update location of generated .c files.
159 (config/m68k-parse.c): New rule replacing m68k-parse.c rule.
160 (config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
161 (config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
162 (itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
163 dependencies.
164 (itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
165 (itbl-parse.c, itbl-parse.h): Tidy.
166 * config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
167 * config/bfin-lex.l: Include config/bfin-parse.h.
168 * configure.ac (extra_objects): Move object files corresponding
169 to .y and .l files now in config/ to config/.
170 * Makefile.in: Regenerate.
171 * configure: Regenerate.
172 * po/POTFILES.in: Regenerate.
173
0257c2ff
NC
1742021-02-19 Nick Clifton <nickc@redhat.com>
175
176 * config/tc-riscv.c (riscv_ip): Fix compile time warnings about
177 misleading indentation.
178
5a9f5403
NC
1792021-02-19 Nelson Chu <nelson.chu@sifive.com>
180
181 PR 27158
182 * config/tc-riscv.c (riscv_ip): Updated encoding macros.
183 (md_apply_fix): Likewise.
184 (md_convert_frag_branch): Likewise.
185 (validate_riscv_insn): Likewise. Also arranged operands, including
186 added C5 and C6 operands, and removed unused Ci and C< operands.
187 * doc/c-riscv.texi: Updated and added CSS/CL/CS types.
188 * testsuite/gas/riscv/insn.d: Added CSS/CL/CS instructions.
189 * testsuite/gas/riscv/insn.s: Likewise.
190
3d73d29e
NC
1912021-02-18 Nelson Chu <nelson.chu@sifive.com>
192
193 * config/tc-riscv.c: Included cpu-riscv.h.
194 (enum riscv_csr_clas): Moved from include/opcode/riscv.h.
195 (struct riscv_csr_extra): Likewise.
196 (struct riscv_ext_version): Likewise.
197 (ext_version_table): Moved from opcodes/riscv-opc.c.
198 (default_isa_spec): Updated type to riscv_spec_class.
199 (default_priv_spec): Likewise.
200 (riscv_set_default_isa_spec): Updated.
201 (init_ext_version_hash): Likewise.
202 (riscv_init_csr_hash): Likewise, also fixed indent.
203
089485ff
AM
2042021-02-17 Alan Modra <amodra@gmail.com>
205
206 * testsuite/gas/elf/section28.d: xfail h8300.
207
ca1289b9
L
2082021-02-16 H.J. Lu <hongjiu.lu@intel.com>
209
210 PR gas/27412
211 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN
212 when checking incorrect section attributes.
213 * testsuite/gas/elf/elf.exp: Run section28 and section29.
214 * testsuite/gas/elf/section28.d: New file.
215 * testsuite/gas/elf/section28.s: Likewise.
216 * testsuite/gas/elf/section29.d: Likewise.
217 * testsuite/gas/elf/section29.s: Likewise.
218
394ae71f
JB
2192021-02-16 Jan Beulich <jbeulich@suse.com>
220
221 * testsuite/gas/i386/sse-check.s,
222 testsuite/gas/i386/sse2avx.s,
223 testsuite/gas/i386/x86-64-sse2avx.s: Add CVTPI2PD cases.
224 * testsuite/gas/i386/sse-check-error.l,
225 testsuite/gas/i386/sse-check-warn.e,
226 testsuite/gas/i386/sse-check.d,
227 testsuite/gas/i386/sse2avx.d,
228 testsuite/gas/i386/x86-64-sse-check-error.l,
229 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expecations.
230 * testsuite/gas/i386/property-cvtpi2pd.s,
231 testsuite/gas/i386/property-cvtpi2pd.d,
232 testsuite/gas/i386/property-cvtpi2ps.s,
233 testsuite/gas/i386/property-cvtpi2ps.d: New.
234 * testsuite/gas/i386/i386.exp: Run new tests.
235
3d70986f
JB
2362021-02-16 Jan Beulich <jbeulich@suse.com>
237
238 * config/tc-i386.c (md_assemble): Use template rather than
239 actuals when updating i.xstate.
240 * testsuite/gas/i386/property-4.d,
241 testsuite/gas/i386/property-5.d,
242 testsuite/gas/i386/property-12.d: Adjust expectations.
243
014d61ea
JB
2442021-02-16 Jan Beulich <jbeulich@suse.com>
245
246 * config/tc-i386.c (output_insn): Handle ldmxcsr, stmxcsr,
247 vldmxcsr, vstmxcsr, vzeroall, and vzeroupper.
248 * testsuite/gas/i386/property-ldmxcsr.s,
249 testsuite/gas/i386/property-ldmxcsr.d,
250 testsuite/gas/i386/property-vldmxcsr.s,
251 testsuite/gas/i386/property-vldmxcsr.d,
252 testsuite/gas/i386/property-vzeroall.s,
253 testsuite/gas/i386/property-vzeroall.d: New.
254 * testsuite/gas/i386/i386.exp: Run new tests.
255
cbe68696
JB
2562021-02-16 Jan Beulich <jbeulich@suse.com>
257
258 * testsuite/gas/i386/i386.exp: Move bitness-independent property
259 tests to bitness independent section.
260 * testsuite/gas/i386/x86-64-property-2.d,
261 testsuite/gas/i386/x86-64-property-3.d,
262 testsuite/gas/i386/x86-64-property-4.d,
263 testsuite/gas/i386/x86-64-property-5.d,
264 testsuite/gas/i386/x86-64-property-6.d,
265 testsuite/gas/i386/x86-64-property-10.d,
266 testsuite/gas/i386/x86-64-property-11.d,
267 testsuite/gas/i386/x86-64-property-12.d,
268 testsuite/gas/i386/x86-64-property-13.d: Delete.
269
c2f1204d
JB
2702021-02-16 Jan Beulich <jbeulich@suse.com>
271
272 * testsuite/gas/i386/enqcmd-16bit.s: Include enqcmd.s, not
273 movdir.s.
274 * testsuite/gas/i386/enqcmd-16bit.d: Adjust expectations.
275
9a12b194
AM
2762021-02-16 Alan Modra <amodra@gmail.com>
277
278 PR 27426
279 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
280 in another place.
281
70433886
AM
2822021-02-16 Alan Modra <amodra@gmail.com>
283
284 * read.c (demand_copy_C_string): Really check for embedded zeros.
285
ba2b480f
AK
2862021-02-15 Andreas Krebbel <krebbel@linux.ibm.com>
287
288 * config/tc-s390.c (s390_parse_cpu): New entry for arch14.
289 * doc/c-s390.texi: Document arch14 march option.
290 * testsuite/gas/s390/s390.exp: Run the arch14 related tests.
291 * testsuite/gas/s390/zarch-arch14.d: New test.
292 * testsuite/gas/s390/zarch-arch14.s: New test.
293
c46b7066
NC
2942021-02-12 Nick Clifton <nickc@redhat.com>
295
296 * testsuite/gas/mach-o/sections-1.d: Stop automatic debug link
297 following.
298 * testsuite/gas/xgate/insns-dwarf2.d: Likewise.
299
3c1d4101
AM
3002021-02-12 Alan Modra <amodra@gmail.com>
301
302 * testsuite/gas/all/pr27381.err: Don't match source file name.
303 * testsuite/gas/all/pr27381.s: Don't start directive in first column.
304 * testsuite/gas/all/pr27384.err: Don't match source file name.
305 Adjust line number.
306 * testsuite/gas/all/pr27384.s: Add ".text" directive.
307 * testsuite/gas/elf/pr27355.err: Don't match source file name.
308
933feaf3
AM
3092021-02-11 Alan Modra <amodra@gmail.com>
310
311 * NEWS: Mention arm-symbianelf removal.
312
01e8b831
NC
3132021-02-10 Nick Clifton <nickc@redhat.com>
314
315 * listing.c (buffer_line): Remove debugging code accidentally
316 included with the fix for PR 27384.
317
284beb43
NC
3182021-02-09 Nick Clifton <nickc@redhat.com>
319
320 PR 27381
321 * read.c (s_incbin): Check that the file to be included is a
322 regular, non-directory file.
323 * testsuite/gas/all/pr27381.s: New test source file.
324 * testsuite/gas/all/pr27381.d: New test control file.
325 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
326 * testsuite/gas/all/gas.exp: Run the new test.
327
a57d1773
AM
3282021-02-09 Alan Modra <amodra@gmail.com>
329
330 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
331 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
332 support.
333 * config/te-symbian.h: Delete.
334 * configure.tgt: Remove arm-*-symbianelf*.
335 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
336 target selection.
337 * testsuite/gas/arm/arch4t.d: Likewise.
338 * testsuite/gas/arm/got_prel.d: Likewise.
339 * testsuite/gas/arm/mapdir.d: Likewise.
340 * testsuite/gas/arm/mapmisc.d: Likewise.
341 * testsuite/gas/arm/mapsecs.d: Likewise.
342 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
343 * testsuite/gas/arm/thumb-eabi.d: Likewise.
344 * testsuite/gas/arm/thumb.d: Likewise.
345 * testsuite/gas/arm/thumbrel.d: Likewise.
346 * Makefile.in: Regenerate.
347 * po/POTFILES.in: Regenerate.
348
4a68fcd7
NC
3492021-02-09 Nick Clifton <nickc@redhat.com>
350
351 PR 27384
352 * listing.c (listing_psize): Check the result of the width
353 expression before assigning it to paper_width.
354 * testsuite/gas/all/pr27384.s: New test source file.
355 * testsuite/gas/all/pr27384.d: New test control file.
356 * testsuite/gas/all/pr27384.err: Expected errors from new test.
357 * testsuite/gas/all/gas.exp: Run the new test.
358
52563b0f
NC
3592021-02-09 Nick Clifton <nickc@redhat.com>
360
361 PR 27355
362 * testsuite/gas/elf/pr27355.s: New test source file.
363 * testsuite/gas/elf/pr27355.d: New test control file.
364 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
365 * testsuite/gas/elf/elf.exp: Run the new test.
366
bfd428bc
MF
3672021-02-08 Mike Frysinger <vapier@gentoo.org>
368
369 * config/tc-tic54x (tic54x_mmregs): Rename to ...
370 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
371 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
372 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
373 cc2_codes, cc3_codes, status_bits, and misc_symbols.
374
80b652ef
NC
3752021-02-08 Nick Clifton <nickc@redhat.com>
376
377 PR 27355
378 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
379 if it has not already been created.
380
24075dcc
NC
3812021-02-04 Nelson Chu <nelson.chu@sifive.com>
382
383 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
384 INSN_CLASS_ZB*.
385 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
386 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
387 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
388
61ecbbae
AK
3892021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
390
391 * doc/c-s390.texi: Document vector instruction formats.
392
1f568f9a
EH
3932021-02-01 Emery Hemingway <ehmry@posteo.net>
394
395 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
396
7bba67ec
AM
3972021-02-01 Alan Modra <amodra@gmail.com>
398
399 PR 27283
400 * config/tc-alpha.c (insert_operand): Delete dead code.
401
1f583bc2
L
4022021-01-26 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR gas/27243
405 * config/tc-nios2.c (md_begin): Don't disable relaxation with
406 --gdwarf-N.
407 * testsuite/gas/nios2/relax.d: New file.
408 * testsuite/gas/nios2/relax.s: Likewise.
409
a45ef9a3
AM
4102021-01-26 Alan Modra <amodra@gmail.com>
411
412 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
413 notarget all except hppa. Comment.
414 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
415 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
416 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
417 * testsuite/gas/all/sleb128-7.d: Likewise.
418 * testsuite/gas/all/sleb128-9.d: Likewise.
419 * testsuite/gas/elf/bignums.d: Likewise.
420 * testsuite/gas/elf/group0c.d: Likewise.
421 * testsuite/gas/elf/group1a.d: Likewise.
422 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
423 * testsuite/gas/elf/section15.d: Likewise.
424 * testsuite/gas/elf/section4.d: Likewise.
425 * testsuite/gas/elf/section7.d: Likewise.
426 * testsuite/gas/macros/irp.d: Likewise.
427 * testsuite/gas/macros/repeat.d: Likewise.
428 * testsuite/gas/macros/rept.d: Likewise.
429 * testsuite/gas/macros/test2.d: Likewise.
430 * testsuite/gas/macros/vararg.d: Likewise.
431 * testsuite/gas/all/string.d: Use xfail rather than skip.
432 * testsuite/gas/elf/missing-build-notes.d: Likewise.
433 * testsuite/gas/elf/section0.d: Likewise.
434 * testsuite/gas/elf/section1.d: Likewise.
435 * testsuite/gas/elf/section10.d: Likewise.
436 * testsuite/gas/elf/section11.d: Likewise.
437 * testsuite/gas/elf/section6.d: Likewise.
438 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
439 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
440 * testsuite/gas/macros/test3.d: Don't notarget nds32.
441
9886ff03
AM
4422021-01-26 Alan Modra <amodra@gmail.com>
443
444 * testsuite/gas/all/byte.d,
445 * testsuite/gas/all/byte.l,
446 * testsuite/gas/all/byte.s: Delete.
447 * testsuite/gas/all/gas.exp: Don't run byte test.
448
4287950e
AM
4492021-01-26 Alan Modra <amodra@gmail.com>
450
451 PR 27282
452 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
453 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
454
eea133e6
L
4552021-01-24 H.J. Lu <hongjiu.lu@intel.com>
456
457 PR gas/27228
458 * testsuite/gas/elf/elf.exp: Run pr27228.
459 * testsuite/gas/elf/pr27228.d: New file.
460 * testsuite/gas/elf/pr27228.s: Likewise.
461
68fcee4f
AM
4622021-01-24 Alan Modra <amodra@gmail.com>
463
464 PR 27228
465 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
466 is defined.
467
be07043e
AM
4682021-01-21 Alan Modra <amodra@gmail.com>
469
470 PR 27221
471 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
472 line number info when gas is generating it.
473 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
474 * testsuite/gas/m68hc11/indexed12.d: Likewise.
475 * testsuite/gas/elf/elf.exp: Don't run warn-2.
476 * gas/testsuite/gas/elf/warn-2.s: Delete.
477
498ff032
AM
4782021-01-21 Alan Modra <amodra@gmail.com>
479
480 PR 27218
481 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
482 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
483 error for negative file numbers.
484
4bd7c902
AM
4852021-01-20 Alan Modra <amodra@gmail.com>
486
487 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
488 * testsuite/gas/ppc/test1elf32.d: Likewise.
489 * testsuite/gas/ppc/test1elf64.d: Likewise.
490
705989f1
L
4912021-01-18 H.J. Lu <hongjiu.lu@intel.com>
492
493 PR gas/27195
494 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
495 needed.
496 (dwarf2_directive_filename): Likewise.
497 (dwarf2_directive_loc): Likewise.
498 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
499 * testsuite/gas/lns/lns-diag-1.l: Remove the
500 "Error: file number less than one" errors.
501
44365e88
AM
5022021-01-18 Alan Modra <amodra@gmail.com>
503
504 PR 27198
505 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
506 * testsuite/gas/i386/pr27198.d,
507 * gas/testsuite/gas/i386/pr27198.err,
508 * gas/testsuite/gas/i386/pr27198.s: New test.
509 * gas/testsuite/gas/i386/i386.exp: Run it.
510
1942a048
NC
5112021-01-15 Nelson Chu <nelson.chu@sifive.com>
512
513 * config/tc-riscv.c: Indent and GNU coding standards tidy,
514 also aligned the code.
515 * config/tc-riscv.h: Likewise.
516
b800637e
NC
5172021-01-15 Nelson Chu <nelson.chu@sifive.com>
518
519 * config/tc-riscv.c: Error and warning messages tidy.
520 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
521 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
522 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
523 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
524 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
525 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
526 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
527
dcd709e0
NC
5282021-01-15 Nelson Chu <nelson.chu@sifive.com>
529
530 * config/tc-riscv.c: Comments tidy and improvement. Also update
531 comment "fallthru" to "Fall through" that end with a period and
532 two spaces.
533
5fda40b2
MF
5342021-01-14 Mike Frysinger <vapier@gentoo.org>
535
536 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
537 Delete warning that these are only available with ELF targets.
538 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
539 * read.c (potable): ... here.
540
abad2815
MF
5412021-01-14 Mike Frysinger <vapier@gentoo.org>
542
543 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
544 * Makefile.in: Regenerated.
545
adb0bd8f
MF
5462021-01-14 Mike Frysinger <vapier@gentoo.org>
547
548 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
549 (parse_int): Mark char_bag const.
550
844bf810
L
5512021-01-13 H.J. Lu <hongjiu.lu@intel.com>
552
553 PR gas/27178
554 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
555 Don't generate GOT_symbol for PLT relocations.
556 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
557 * testsuite/gas/i386/no-got.d: New file.
558 * testsuite/gas/i386/no-got.s: Likewise.
559 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
560 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
561
5347ed60
AM
5622021-01-13 Alan Modra <amodra@gmail.com>
563
564 * Makefile.in: Regenerate.
565 * Makefile.in: Regenerate.
566
d546b610
L
5672021-01-12 H.J. Lu <hongjiu.lu@intel.com>
568
569 PR binutils/26792
570 * configure.ac: Use GNU_MAKE_JOBSERVER.
571 * aclocal.m4: Regenerated.
572 * configure: Likewise.
573
6d104cac
NC
5742021-01-12 Nick Clifton <nickc@redhat.com>
575
576 * po/fr.po: Updated French translation.
577
83b33c6c
L
5782021-01-11 H.J. Lu <hongjiu.lu@intel.com>
579
580 PR ld/27173
581 * configure: Regenerated.
582
82c70b08
KT
5832021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
584
585 * NEWS: Remove CSRE.
586 * config/tc-aarch64.c (parse_csr_operand): Delete.
587 (parse_operands): Delete handling of
588 AARCH64_OPND_CSRE_CSR.
589 (aarch64_features): Remove csre.
590 * doc/c-aarch64.texi: Remove CSRE.
591 * testsuite/gas/aarch64/csre.d: Delete.
592 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
593 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
594 * testsuite/gas/aarch64/csre_csr.s: Likewise.
595 * testsuite/gas/aarch64/csre_csr.d: Likewise.
596 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
597 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
598 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
599
a8aa72b9
NC
6002021-01-11 Nick Clifton <nickc@redhat.com>
601
602 * po/uk.po: Updated Ukranian translation.
603
a4966cd9
L
6042021-01-09 H.J. Lu <hongjiu.lu@intel.com>
605
606 * configure: Regenerated.
607
573fe3fb
NC
6082021-01-09 Nick Clifton <nickc@redhat.com>
609
610 * configure: Regenerate.
611 * po/gas.pot: Regenerate.
612
055bc77a
NC
6132021-01-09 Nick Clifton <nickc@redhat.com>
614
615 * 2.36 release branch crated.
616
aae7fcb8
PB
6172021-01-08 Peter Bergner <bergner@linux.ibm.com>
618
619 * testsuite/gas/ppc/rop-checks.d,
620 * testsuite/gas/ppc/rop-checks.l,
621 * testsuite/gas/ppc/rop-checks.s,
622 * testsuite/gas/ppc/rop.d,
623 * testsuite/gas/ppc/rop.s: New tests.
624 * testsuite/gas/ppc/ppc.exp: Run them.
625
64307045
AM
6262021-01-09 Alan Modra <amodra@gmail.com>
627
628 * configure: Regenerate.
629
f4782128
ST
6302021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
631
632 * configure: Regenerate.
633
d1bcae83
L
6342021-01-07 H.J. Lu <hongjiu.lu@intel.com>
635
636 PR 27109
637 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
638 section symbol.
639 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
640 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
641 on the section symbol.
642 (set_symtab): Don't generate unused section symbols.
643 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
644 on the section symbol.
645 * config/obj-elf.c (elf_adjust_symtab): Call
646 symbol_mark_used_in_reloc on the group signature symbol.
647 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
648 from expected output.
649 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
650 is_elf_unused_section_symbols.
651 * testsuite/gas/elf/section2.e: Updated.
652 * testsuite/gas/elf/section2.e-unused: New file.
653 * testsuite/gas/elf/symver.d: Remove unused section symbols.
654 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
655 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
656 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
657 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
658 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
659 * testsuite/gas/i386/size-1.d: Likewise.
660 * testsuite/gas/i386/size-3.d: Likewise.
661 * testsuite/gas/i386/svr4.d: Likewise.
662 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
663 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
664 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
665 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
666
aa881ecd
PT
6672021-01-07 Philipp Tomsich <prt@gnu.org>
668
669 * config/tc-riscv.c (riscv_multi_subset_supports): Added
670 INSN_CLASS_ZIHINTPAUSE.
671 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
672 the pause hint instruction.
673 * testsuite/gas/riscv/pause.s: Likewise.
674
2652cfad
CXW
6752021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
676 Jim Wilson <jimw@sifive.com>
677 Andrew Waterman <andrew@sifive.com>
678 Maxim Blinov <maxim.blinov@embecosm.com>
679 Kito Cheng <kito.cheng@sifive.com>
680 Nelson Chu <nelson.chu@sifive.com>
681
682 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
683 (riscv_get_default_ext_version): Do not check the default_isa_spec when
684 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
685 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
686 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
687 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
688
85f55c2b
AM
6892021-01-06 Alan Modra <amodra@gmail.com>
690
691 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
692
22206e84
AM
6932021-01-06 Alan Modra <amodra@gmail.com>
694
695 * testsuite/gas/macros/app1.d: xfail tic30.
696 * testsuite/gas/macros/app2.d: Likewise.
697 * testsuite/gas/macros/app3.d: Likewise.
698 * testsuite/gas/macros/app4.d: Likewise.
699
286d2f2c
MC
7002021-01-06 Marcus Comstedt <marcus@mc.pp.se>
701
702 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
703 * doc/c-riscv.texi: Likewise.
704
f36ce378
MC
7052021-01-06 Marcus Comstedt <marcus@mc.pp.se>
706
707 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
708 to littleriscv.
709 * testsuite/gas/riscv/li64.d: Likewise.
710 * testsuite/gas/riscv/lla32.d: Likewise.
711 * testsuite/gas/riscv/lla64.d: Likewise.
712 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
713 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
714 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
715 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
716 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
717 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
718 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
719
fbc09e7a
MC
7202021-01-06 Marcus Comstedt <marcus@mc.pp.se>
721
722 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
723 elf32-bigriscv.
724 (install_insn): Always write instructions as little endian.
725 (riscv_make_nops): Likewise.
726 (md_convert_frag_branch): Likewise.
727 (md_number_to_chars): Write data in target endianness.
728 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
729 (md_parse_option): Handle the endian options.
730 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
731 already defined.
732 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
733
cd6d537c
L
7342021-01-04 H.J. Lu <hongjiu.lu@intel.com>
735
736 PR ld/26256
737 * config/obj-elf.c (obj_elf_change_section): Also filter out
738 SHF_LINK_ORDER.
739
dd933805
AM
7402021-01-04 Alan Modra <amodra@gmail.com>
741
742 PR 27102
743 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
744 message and register symbol error message.
745
90320e40
AM
7462021-01-04 Alan Modra <amodra@gmail.com>
747
748 PR 27101
749 * read.c (s_align): Use a large enough type for "align" to hold
750 the result of get_absolute_expression.
751
f9a6a8f0
AM
7522021-01-01 Nicolas Boulenguez <nicolas@debian.org>
753
754 * config/tc-i386.c: Correct comment spelling.
755 * config/tc-riscv.c: Likewise.
756 * config/tc-s390.c: Correct comment grammar.
757 * doc/c-i386.texi: Correct spelling.
758 * doc/c-s390.texi: Correct grammar.
759
250d07de
AM
7602021-01-01 Alan Modra <amodra@gmail.com>
761
762 Update year range in copyright notice of all files.
763
64d05a43
HPN
7642021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
765
766 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
767
c2795844 768For older changes see ChangeLog-2020
3499769a 769\f
c2795844 770Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
771
772Copying and distribution of this file, with or without modification,
773are permitted in any medium without royalty provided the copyright
774notice and this notice are preserved.
775
776Local Variables:
777mode: change-log
778left-margin: 8
779fill-column: 74
780version-control: never
781End: