bd3913ad9a0b08f3092f08f94f0a1fd595df0ef5
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2021-02-10 Nick Clifton <nickc@redhat.com>
2
3 * listing.c (buffer_line): Remove debugging code accidentally
4 included with the fix for PR 27384.
5
6 2021-02-09 Nick Clifton <nickc@redhat.com>
7
8 PR 27381
9 * read.c (s_incbin): Check that the file to be included is a
10 regular, non-directory file.
11 * testsuite/gas/all/pr27381.s: New test source file.
12 * testsuite/gas/all/pr27381.d: New test control file.
13 * testsuite/gas/all/pr27381.err: Expected error output for the new test.
14 * testsuite/gas/all/gas.exp: Run the new test.
15
16 2021-02-09 Alan Modra <amodra@gmail.com>
17
18 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
19 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
20 support.
21 * config/te-symbian.h: Delete.
22 * configure.tgt: Remove arm-*-symbianelf*.
23 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
24 target selection.
25 * testsuite/gas/arm/arch4t.d: Likewise.
26 * testsuite/gas/arm/got_prel.d: Likewise.
27 * testsuite/gas/arm/mapdir.d: Likewise.
28 * testsuite/gas/arm/mapmisc.d: Likewise.
29 * testsuite/gas/arm/mapsecs.d: Likewise.
30 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
31 * testsuite/gas/arm/thumb-eabi.d: Likewise.
32 * testsuite/gas/arm/thumb.d: Likewise.
33 * testsuite/gas/arm/thumbrel.d: Likewise.
34 * Makefile.in: Regenerate.
35 * po/POTFILES.in: Regenerate.
36
37 2021-02-09 Nick Clifton <nickc@redhat.com>
38
39 PR 27384
40 * listing.c (listing_psize): Check the result of the width
41 expression before assigning it to paper_width.
42 * testsuite/gas/all/pr27384.s: New test source file.
43 * testsuite/gas/all/pr27384.d: New test control file.
44 * testsuite/gas/all/pr27384.err: Expected errors from new test.
45 * testsuite/gas/all/gas.exp: Run the new test.
46
47 2021-02-09 Nick Clifton <nickc@redhat.com>
48
49 PR 27355
50 * testsuite/gas/elf/pr27355.s: New test source file.
51 * testsuite/gas/elf/pr27355.d: New test control file.
52 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
53 * testsuite/gas/elf/elf.exp: Run the new test.
54
55 2021-02-08 Mike Frysinger <vapier@gentoo.org>
56
57 * config/tc-tic54x (tic54x_mmregs): Rename to ...
58 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
59 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
60 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
61 cc2_codes, cc3_codes, status_bits, and misc_symbols.
62
63 2021-02-08 Nick Clifton <nickc@redhat.com>
64
65 PR 27355
66 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
67 if it has not already been created.
68
69 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
70
71 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
72 INSN_CLASS_ZB*.
73 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
74 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
75 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
76
77 2021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
78
79 * doc/c-s390.texi: Document vector instruction formats.
80
81 2021-02-01 Emery Hemingway <ehmry@posteo.net>
82
83 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
84
85 2021-02-01 Alan Modra <amodra@gmail.com>
86
87 PR 27283
88 * config/tc-alpha.c (insert_operand): Delete dead code.
89
90 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
91
92 PR gas/27243
93 * config/tc-nios2.c (md_begin): Don't disable relaxation with
94 --gdwarf-N.
95 * testsuite/gas/nios2/relax.d: New file.
96 * testsuite/gas/nios2/relax.s: Likewise.
97
98 2021-01-26 Alan Modra <amodra@gmail.com>
99
100 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
101 notarget all except hppa. Comment.
102 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
103 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
104 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
105 * testsuite/gas/all/sleb128-7.d: Likewise.
106 * testsuite/gas/all/sleb128-9.d: Likewise.
107 * testsuite/gas/elf/bignums.d: Likewise.
108 * testsuite/gas/elf/group0c.d: Likewise.
109 * testsuite/gas/elf/group1a.d: Likewise.
110 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
111 * testsuite/gas/elf/section15.d: Likewise.
112 * testsuite/gas/elf/section4.d: Likewise.
113 * testsuite/gas/elf/section7.d: Likewise.
114 * testsuite/gas/macros/irp.d: Likewise.
115 * testsuite/gas/macros/repeat.d: Likewise.
116 * testsuite/gas/macros/rept.d: Likewise.
117 * testsuite/gas/macros/test2.d: Likewise.
118 * testsuite/gas/macros/vararg.d: Likewise.
119 * testsuite/gas/all/string.d: Use xfail rather than skip.
120 * testsuite/gas/elf/missing-build-notes.d: Likewise.
121 * testsuite/gas/elf/section0.d: Likewise.
122 * testsuite/gas/elf/section1.d: Likewise.
123 * testsuite/gas/elf/section10.d: Likewise.
124 * testsuite/gas/elf/section11.d: Likewise.
125 * testsuite/gas/elf/section6.d: Likewise.
126 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
127 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
128 * testsuite/gas/macros/test3.d: Don't notarget nds32.
129
130 2021-01-26 Alan Modra <amodra@gmail.com>
131
132 * testsuite/gas/all/byte.d,
133 * testsuite/gas/all/byte.l,
134 * testsuite/gas/all/byte.s: Delete.
135 * testsuite/gas/all/gas.exp: Don't run byte test.
136
137 2021-01-26 Alan Modra <amodra@gmail.com>
138
139 PR 27282
140 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
141 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
142
143 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
144
145 PR gas/27228
146 * testsuite/gas/elf/elf.exp: Run pr27228.
147 * testsuite/gas/elf/pr27228.d: New file.
148 * testsuite/gas/elf/pr27228.s: Likewise.
149
150 2021-01-24 Alan Modra <amodra@gmail.com>
151
152 PR 27228
153 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
154 is defined.
155
156 2021-01-21 Alan Modra <amodra@gmail.com>
157
158 PR 27221
159 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
160 line number info when gas is generating it.
161 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
162 * testsuite/gas/m68hc11/indexed12.d: Likewise.
163 * testsuite/gas/elf/elf.exp: Don't run warn-2.
164 * gas/testsuite/gas/elf/warn-2.s: Delete.
165
166 2021-01-21 Alan Modra <amodra@gmail.com>
167
168 PR 27218
169 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
170 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
171 error for negative file numbers.
172
173 2021-01-20 Alan Modra <amodra@gmail.com>
174
175 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
176 * testsuite/gas/ppc/test1elf32.d: Likewise.
177 * testsuite/gas/ppc/test1elf64.d: Likewise.
178
179 2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
180
181 PR gas/27195
182 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
183 needed.
184 (dwarf2_directive_filename): Likewise.
185 (dwarf2_directive_loc): Likewise.
186 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
187 * testsuite/gas/lns/lns-diag-1.l: Remove the
188 "Error: file number less than one" errors.
189
190 2021-01-18 Alan Modra <amodra@gmail.com>
191
192 PR 27198
193 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
194 * testsuite/gas/i386/pr27198.d,
195 * gas/testsuite/gas/i386/pr27198.err,
196 * gas/testsuite/gas/i386/pr27198.s: New test.
197 * gas/testsuite/gas/i386/i386.exp: Run it.
198
199 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
200
201 * config/tc-riscv.c: Indent and GNU coding standards tidy,
202 also aligned the code.
203 * config/tc-riscv.h: Likewise.
204
205 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
206
207 * config/tc-riscv.c: Error and warning messages tidy.
208 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
209 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
210 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
211 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
212 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
213 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
214 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
215
216 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
217
218 * config/tc-riscv.c: Comments tidy and improvement. Also update
219 comment "fallthru" to "Fall through" that end with a period and
220 two spaces.
221
222 2021-01-14 Mike Frysinger <vapier@gentoo.org>
223
224 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
225 Delete warning that these are only available with ELF targets.
226 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
227 * read.c (potable): ... here.
228
229 2021-01-14 Mike Frysinger <vapier@gentoo.org>
230
231 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
232 * Makefile.in: Regenerated.
233
234 2021-01-14 Mike Frysinger <vapier@gentoo.org>
235
236 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
237 (parse_int): Mark char_bag const.
238
239 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
240
241 PR gas/27178
242 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
243 Don't generate GOT_symbol for PLT relocations.
244 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
245 * testsuite/gas/i386/no-got.d: New file.
246 * testsuite/gas/i386/no-got.s: Likewise.
247 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
248 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
249
250 2021-01-13 Alan Modra <amodra@gmail.com>
251
252 * Makefile.in: Regenerate.
253 * Makefile.in: Regenerate.
254
255 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR binutils/26792
258 * configure.ac: Use GNU_MAKE_JOBSERVER.
259 * aclocal.m4: Regenerated.
260 * configure: Likewise.
261
262 2021-01-12 Nick Clifton <nickc@redhat.com>
263
264 * po/fr.po: Updated French translation.
265
266 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
267
268 PR ld/27173
269 * configure: Regenerated.
270
271 2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
272
273 * NEWS: Remove CSRE.
274 * config/tc-aarch64.c (parse_csr_operand): Delete.
275 (parse_operands): Delete handling of
276 AARCH64_OPND_CSRE_CSR.
277 (aarch64_features): Remove csre.
278 * doc/c-aarch64.texi: Remove CSRE.
279 * testsuite/gas/aarch64/csre.d: Delete.
280 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
281 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
282 * testsuite/gas/aarch64/csre_csr.s: Likewise.
283 * testsuite/gas/aarch64/csre_csr.d: Likewise.
284 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
285 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
286 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
287
288 2021-01-11 Nick Clifton <nickc@redhat.com>
289
290 * po/uk.po: Updated Ukranian translation.
291
292 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
293
294 * configure: Regenerated.
295
296 2021-01-09 Nick Clifton <nickc@redhat.com>
297
298 * configure: Regenerate.
299 * po/gas.pot: Regenerate.
300
301 2021-01-09 Nick Clifton <nickc@redhat.com>
302
303 * 2.36 release branch crated.
304
305 2021-01-08 Peter Bergner <bergner@linux.ibm.com>
306
307 * testsuite/gas/ppc/rop-checks.d,
308 * testsuite/gas/ppc/rop-checks.l,
309 * testsuite/gas/ppc/rop-checks.s,
310 * testsuite/gas/ppc/rop.d,
311 * testsuite/gas/ppc/rop.s: New tests.
312 * testsuite/gas/ppc/ppc.exp: Run them.
313
314 2021-01-09 Alan Modra <amodra@gmail.com>
315
316 * configure: Regenerate.
317
318 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
319
320 * configure: Regenerate.
321
322 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
323
324 PR 27109
325 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
326 section symbol.
327 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
328 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
329 on the section symbol.
330 (set_symtab): Don't generate unused section symbols.
331 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
332 on the section symbol.
333 * config/obj-elf.c (elf_adjust_symtab): Call
334 symbol_mark_used_in_reloc on the group signature symbol.
335 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
336 from expected output.
337 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
338 is_elf_unused_section_symbols.
339 * testsuite/gas/elf/section2.e: Updated.
340 * testsuite/gas/elf/section2.e-unused: New file.
341 * testsuite/gas/elf/symver.d: Remove unused section symbols.
342 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
343 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
344 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
345 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
346 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
347 * testsuite/gas/i386/size-1.d: Likewise.
348 * testsuite/gas/i386/size-3.d: Likewise.
349 * testsuite/gas/i386/svr4.d: Likewise.
350 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
351 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
352 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
353 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
354
355 2021-01-07 Philipp Tomsich <prt@gnu.org>
356
357 * config/tc-riscv.c (riscv_multi_subset_supports): Added
358 INSN_CLASS_ZIHINTPAUSE.
359 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
360 the pause hint instruction.
361 * testsuite/gas/riscv/pause.s: Likewise.
362
363 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
364 Jim Wilson <jimw@sifive.com>
365 Andrew Waterman <andrew@sifive.com>
366 Maxim Blinov <maxim.blinov@embecosm.com>
367 Kito Cheng <kito.cheng@sifive.com>
368 Nelson Chu <nelson.chu@sifive.com>
369
370 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
371 (riscv_get_default_ext_version): Do not check the default_isa_spec when
372 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
373 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
374 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
375 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
376
377 2021-01-06 Alan Modra <amodra@gmail.com>
378
379 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
380
381 2021-01-06 Alan Modra <amodra@gmail.com>
382
383 * testsuite/gas/macros/app1.d: xfail tic30.
384 * testsuite/gas/macros/app2.d: Likewise.
385 * testsuite/gas/macros/app3.d: Likewise.
386 * testsuite/gas/macros/app4.d: Likewise.
387
388 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
389
390 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
391 * doc/c-riscv.texi: Likewise.
392
393 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
394
395 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
396 to littleriscv.
397 * testsuite/gas/riscv/li64.d: Likewise.
398 * testsuite/gas/riscv/lla32.d: Likewise.
399 * testsuite/gas/riscv/lla64.d: Likewise.
400 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
401 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
402 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
403 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
404 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
405 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
406 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
407
408 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
409
410 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
411 elf32-bigriscv.
412 (install_insn): Always write instructions as little endian.
413 (riscv_make_nops): Likewise.
414 (md_convert_frag_branch): Likewise.
415 (md_number_to_chars): Write data in target endianness.
416 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
417 (md_parse_option): Handle the endian options.
418 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
419 already defined.
420 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
421
422 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR ld/26256
425 * config/obj-elf.c (obj_elf_change_section): Also filter out
426 SHF_LINK_ORDER.
427
428 2021-01-04 Alan Modra <amodra@gmail.com>
429
430 PR 27102
431 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
432 message and register symbol error message.
433
434 2021-01-04 Alan Modra <amodra@gmail.com>
435
436 PR 27101
437 * read.c (s_align): Use a large enough type for "align" to hold
438 the result of get_absolute_expression.
439
440 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
441
442 * config/tc-i386.c: Correct comment spelling.
443 * config/tc-riscv.c: Likewise.
444 * config/tc-s390.c: Correct comment grammar.
445 * doc/c-i386.texi: Correct spelling.
446 * doc/c-s390.texi: Correct grammar.
447
448 2021-01-01 Alan Modra <amodra@gmail.com>
449
450 Update year range in copyright notice of all files.
451
452 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
453
454 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
455
456 For older changes see ChangeLog-2020
457 \f
458 Copyright (C) 2021 Free Software Foundation, Inc.
459
460 Copying and distribution of this file, with or without modification,
461 are permitted in any medium without royalty provided the copyright
462 notice and this notice are preserved.
463
464 Local Variables:
465 mode: change-log
466 left-margin: 8
467 fill-column: 74
468 version-control: never
469 End:
This page took 0.042862 seconds and 3 git commands to generate.