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