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