1 2021-02-10 Nick Clifton <nickc@redhat.com>
3 * listing.c (buffer_line): Remove debugging code accidentally
4 included with the fix for PR 27384.
6 2021-02-09 Nick Clifton <nickc@redhat.com>
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.
16 2021-02-09 Alan Modra <amodra@gmail.com>
18 * Makefile.am (TARG_ENV_HFILES): Remove config/te-symbian.h.
19 * config/tc-arm.c (elf32_arm_target_format): Remove TE_SYMBIAN
21 * config/te-symbian.h: Delete.
22 * configure.tgt: Remove arm-*-symbianelf*.
23 * testsuite/gas/arm/arch4t-eabi.d: Don't mention symbianelf in
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.
37 2021-02-09 Nick Clifton <nickc@redhat.com>
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.
47 2021-02-09 Nick Clifton <nickc@redhat.com>
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.
55 2021-02-08 Mike Frysinger <vapier@gentoo.org>
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.
63 2021-02-08 Nick Clifton <nickc@redhat.com>
66 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
67 if it has not already been created.
69 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
71 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
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.
77 2021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
79 * doc/c-s390.texi: Document vector instruction formats.
81 2021-02-01 Emery Hemingway <ehmry@posteo.net>
83 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
85 2021-02-01 Alan Modra <amodra@gmail.com>
88 * config/tc-alpha.c (insert_operand): Delete dead code.
90 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
93 * config/tc-nios2.c (md_begin): Don't disable relaxation with
95 * testsuite/gas/nios2/relax.d: New file.
96 * testsuite/gas/nios2/relax.s: Likewise.
98 2021-01-26 Alan Modra <amodra@gmail.com>
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.
130 2021-01-26 Alan Modra <amodra@gmail.com>
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.
137 2021-01-26 Alan Modra <amodra@gmail.com>
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.
143 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
146 * testsuite/gas/elf/elf.exp: Run pr27228.
147 * testsuite/gas/elf/pr27228.d: New file.
148 * testsuite/gas/elf/pr27228.s: Likewise.
150 2021-01-24 Alan Modra <amodra@gmail.com>
153 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
156 2021-01-21 Alan Modra <amodra@gmail.com>
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.
166 2021-01-21 Alan Modra <amodra@gmail.com>
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.
173 2021-01-20 Alan Modra <amodra@gmail.com>
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.
179 2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
182 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
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.
190 2021-01-18 Alan Modra <amodra@gmail.com>
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.
199 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
201 * config/tc-riscv.c: Indent and GNU coding standards tidy,
202 also aligned the code.
203 * config/tc-riscv.h: Likewise.
205 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
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.
216 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
218 * config/tc-riscv.c: Comments tidy and improvement. Also update
219 comment "fallthru" to "Fall through" that end with a period and
222 2021-01-14 Mike Frysinger <vapier@gentoo.org>
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.
229 2021-01-14 Mike Frysinger <vapier@gentoo.org>
231 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
232 * Makefile.in: Regenerated.
234 2021-01-14 Mike Frysinger <vapier@gentoo.org>
236 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
237 (parse_int): Mark char_bag const.
239 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
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.
250 2021-01-13 Alan Modra <amodra@gmail.com>
252 * Makefile.in: Regenerate.
253 * Makefile.in: Regenerate.
255 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
258 * configure.ac: Use GNU_MAKE_JOBSERVER.
259 * aclocal.m4: Regenerated.
260 * configure: Likewise.
262 2021-01-12 Nick Clifton <nickc@redhat.com>
264 * po/fr.po: Updated French translation.
266 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
269 * configure: Regenerated.
271 2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
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.
288 2021-01-11 Nick Clifton <nickc@redhat.com>
290 * po/uk.po: Updated Ukranian translation.
292 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
294 * configure: Regenerated.
296 2021-01-09 Nick Clifton <nickc@redhat.com>
298 * configure: Regenerate.
299 * po/gas.pot: Regenerate.
301 2021-01-09 Nick Clifton <nickc@redhat.com>
303 * 2.36 release branch crated.
305 2021-01-08 Peter Bergner <bergner@linux.ibm.com>
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.
314 2021-01-09 Alan Modra <amodra@gmail.com>
316 * configure: Regenerate.
318 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
320 * configure: Regenerate.
322 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
325 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
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.
355 2021-01-07 Philipp Tomsich <prt@gnu.org>
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.
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>
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.
377 2021-01-06 Alan Modra <amodra@gmail.com>
379 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
381 2021-01-06 Alan Modra <amodra@gmail.com>
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.
388 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
390 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
391 * doc/c-riscv.texi: Likewise.
393 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
395 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
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.
408 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
410 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
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
420 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
422 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
425 * config/obj-elf.c (obj_elf_change_section): Also filter out
428 2021-01-04 Alan Modra <amodra@gmail.com>
431 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
432 message and register symbol error message.
434 2021-01-04 Alan Modra <amodra@gmail.com>
437 * read.c (s_align): Use a large enough type for "align" to hold
438 the result of get_absolute_expression.
440 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
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.
448 2021-01-01 Alan Modra <amodra@gmail.com>
450 Update year range in copyright notice of all files.
452 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
454 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
456 For older changes see ChangeLog-2020
458 Copyright (C) 2021 Free Software Foundation, Inc.
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.
468 version-control: never