1 2021-02-09 Nick Clifton <nickc@redhat.com>
4 * listing.c (listing_psize): Check the result of the width
5 expression before assigning it to paper_width.
6 * testsuite/gas/all/pr27384.s: New test source file.
7 * testsuite/gas/all/pr27384.d: New test control file.
8 * testsuite/gas/all/pr27384.err: Expected errors from new test.
9 * testsuite/gas/all/gas.exp: Run the new test.
11 2021-02-09 Nick Clifton <nickc@redhat.com>
14 * testsuite/gas/elf/pr27355.s: New test source file.
15 * testsuite/gas/elf/pr27355.d: New test control file.
16 * testsuite/gas/elf/pr27355.err: Expected errors from new test.
17 * testsuite/gas/elf/elf.exp: Run the new test.
19 2021-02-08 Mike Frysinger <vapier@gentoo.org>
21 * config/tc-tic54x (tic54x_mmregs): Rename to ...
22 (tic54x_register_mmregs): ... this. Change mmregs to tic54x_mmregs.
23 (md_pseudo_table): Change tic54x_mmregs to tic54x_register_mmregs.
24 (md_begin): Add tic54x_ prefix to regs, mmregs, condition_codes,
25 cc2_codes, cc3_codes, status_bits, and misc_symbols.
27 2021-02-08 Nick Clifton <nickc@redhat.com>
30 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
31 if it has not already been created.
33 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
35 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
37 * testsuite/gas/riscv/bitmanip-insns-32.d: Removed.
38 * testsuite/gas/riscv/bitmanip-insns-64.d: Removed.
39 * testsuite/gas/riscv/bitmanip-insns.s: Removed.
41 2021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
43 * doc/c-s390.texi: Document vector instruction formats.
45 2021-02-01 Emery Hemingway <ehmry@posteo.net>
47 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
49 2021-02-01 Alan Modra <amodra@gmail.com>
52 * config/tc-alpha.c (insert_operand): Delete dead code.
54 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
57 * config/tc-nios2.c (md_begin): Don't disable relaxation with
59 * testsuite/gas/nios2/relax.d: New file.
60 * testsuite/gas/nios2/relax.s: Likewise.
62 2021-01-26 Alan Modra <amodra@gmail.com>
64 * testsuite/gas/all/local-label-overflow.d: Use xfail rather than
65 notarget all except hppa. Comment.
66 * testsuite/gas/all/sleb128-2.d: Use xfail rather than notarget.
67 * testsuite/gas/all/sleb128-4.d: Likewise. Don't skip msp430.
68 * testsuite/gas/all/sleb128-5.d: Use xfail rather than notarget.
69 * testsuite/gas/all/sleb128-7.d: Likewise.
70 * testsuite/gas/all/sleb128-9.d: Likewise.
71 * testsuite/gas/elf/bignums.d: Likewise.
72 * testsuite/gas/elf/group0c.d: Likewise.
73 * testsuite/gas/elf/group1a.d: Likewise.
74 * testsuite/gas/elf/section-symbol-redef.d: Likewise.
75 * testsuite/gas/elf/section15.d: Likewise.
76 * testsuite/gas/elf/section4.d: Likewise.
77 * testsuite/gas/elf/section7.d: Likewise.
78 * testsuite/gas/macros/irp.d: Likewise.
79 * testsuite/gas/macros/repeat.d: Likewise.
80 * testsuite/gas/macros/rept.d: Likewise.
81 * testsuite/gas/macros/test2.d: Likewise.
82 * testsuite/gas/macros/vararg.d: Likewise.
83 * testsuite/gas/all/string.d: Use xfail rather than skip.
84 * testsuite/gas/elf/missing-build-notes.d: Likewise.
85 * testsuite/gas/elf/section0.d: Likewise.
86 * testsuite/gas/elf/section1.d: Likewise.
87 * testsuite/gas/elf/section10.d: Likewise.
88 * testsuite/gas/elf/section11.d: Likewise.
89 * testsuite/gas/elf/section6.d: Likewise.
90 * testsuite/gas/elf/symtab.d: Use xfail rather than skip, adjust hppa.
91 * testsuite/gas/elf/symtab.s: Don't start directives in first column.
92 * testsuite/gas/macros/test3.d: Don't notarget nds32.
94 2021-01-26 Alan Modra <amodra@gmail.com>
96 * testsuite/gas/all/byte.d,
97 * testsuite/gas/all/byte.l,
98 * testsuite/gas/all/byte.s: Delete.
99 * testsuite/gas/all/gas.exp: Don't run byte test.
101 2021-01-26 Alan Modra <amodra@gmail.com>
104 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
105 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
107 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
110 * testsuite/gas/elf/elf.exp: Run pr27228.
111 * testsuite/gas/elf/pr27228.d: New file.
112 * testsuite/gas/elf/pr27228.s: Likewise.
114 2021-01-24 Alan Modra <amodra@gmail.com>
117 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
120 2021-01-21 Alan Modra <amodra@gmail.com>
123 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
124 line number info when gas is generating it.
125 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
126 * testsuite/gas/m68hc11/indexed12.d: Likewise.
127 * testsuite/gas/elf/elf.exp: Don't run warn-2.
128 * gas/testsuite/gas/elf/warn-2.s: Delete.
130 2021-01-21 Alan Modra <amodra@gmail.com>
133 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
134 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
135 error for negative file numbers.
137 2021-01-20 Alan Modra <amodra@gmail.com>
139 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
140 * testsuite/gas/ppc/test1elf32.d: Likewise.
141 * testsuite/gas/ppc/test1elf64.d: Likewise.
143 2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
146 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
148 (dwarf2_directive_filename): Likewise.
149 (dwarf2_directive_loc): Likewise.
150 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
151 * testsuite/gas/lns/lns-diag-1.l: Remove the
152 "Error: file number less than one" errors.
154 2021-01-18 Alan Modra <amodra@gmail.com>
157 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
158 * testsuite/gas/i386/pr27198.d,
159 * gas/testsuite/gas/i386/pr27198.err,
160 * gas/testsuite/gas/i386/pr27198.s: New test.
161 * gas/testsuite/gas/i386/i386.exp: Run it.
163 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
165 * config/tc-riscv.c: Indent and GNU coding standards tidy,
166 also aligned the code.
167 * config/tc-riscv.h: Likewise.
169 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
171 * config/tc-riscv.c: Error and warning messages tidy.
172 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
173 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
174 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
175 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
176 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
177 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
178 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
180 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
182 * config/tc-riscv.c: Comments tidy and improvement. Also update
183 comment "fallthru" to "Fall through" that end with a period and
186 2021-01-14 Mike Frysinger <vapier@gentoo.org>
188 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
189 Delete warning that these are only available with ELF targets.
190 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
191 * read.c (potable): ... here.
193 2021-01-14 Mike Frysinger <vapier@gentoo.org>
195 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
196 * Makefile.in: Regenerated.
198 2021-01-14 Mike Frysinger <vapier@gentoo.org>
200 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
201 (parse_int): Mark char_bag const.
203 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
206 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
207 Don't generate GOT_symbol for PLT relocations.
208 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
209 * testsuite/gas/i386/no-got.d: New file.
210 * testsuite/gas/i386/no-got.s: Likewise.
211 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
212 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
214 2021-01-13 Alan Modra <amodra@gmail.com>
216 * Makefile.in: Regenerate.
217 * Makefile.in: Regenerate.
219 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
222 * configure.ac: Use GNU_MAKE_JOBSERVER.
223 * aclocal.m4: Regenerated.
224 * configure: Likewise.
226 2021-01-12 Nick Clifton <nickc@redhat.com>
228 * po/fr.po: Updated French translation.
230 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
233 * configure: Regenerated.
235 2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
238 * config/tc-aarch64.c (parse_csr_operand): Delete.
239 (parse_operands): Delete handling of
240 AARCH64_OPND_CSRE_CSR.
241 (aarch64_features): Remove csre.
242 * doc/c-aarch64.texi: Remove CSRE.
243 * testsuite/gas/aarch64/csre.d: Delete.
244 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
245 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
246 * testsuite/gas/aarch64/csre_csr.s: Likewise.
247 * testsuite/gas/aarch64/csre_csr.d: Likewise.
248 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
249 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
250 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
252 2021-01-11 Nick Clifton <nickc@redhat.com>
254 * po/uk.po: Updated Ukranian translation.
256 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
258 * configure: Regenerated.
260 2021-01-09 Nick Clifton <nickc@redhat.com>
262 * configure: Regenerate.
263 * po/gas.pot: Regenerate.
265 2021-01-09 Nick Clifton <nickc@redhat.com>
267 * 2.36 release branch crated.
269 2021-01-08 Peter Bergner <bergner@linux.ibm.com>
271 * testsuite/gas/ppc/rop-checks.d,
272 * testsuite/gas/ppc/rop-checks.l,
273 * testsuite/gas/ppc/rop-checks.s,
274 * testsuite/gas/ppc/rop.d,
275 * testsuite/gas/ppc/rop.s: New tests.
276 * testsuite/gas/ppc/ppc.exp: Run them.
278 2021-01-09 Alan Modra <amodra@gmail.com>
280 * configure: Regenerate.
282 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
284 * configure: Regenerate.
286 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
289 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
291 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
292 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
293 on the section symbol.
294 (set_symtab): Don't generate unused section symbols.
295 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
296 on the section symbol.
297 * config/obj-elf.c (elf_adjust_symtab): Call
298 symbol_mark_used_in_reloc on the group signature symbol.
299 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
300 from expected output.
301 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
302 is_elf_unused_section_symbols.
303 * testsuite/gas/elf/section2.e: Updated.
304 * testsuite/gas/elf/section2.e-unused: New file.
305 * testsuite/gas/elf/symver.d: Remove unused section symbols.
306 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
307 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
308 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
309 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
310 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
311 * testsuite/gas/i386/size-1.d: Likewise.
312 * testsuite/gas/i386/size-3.d: Likewise.
313 * testsuite/gas/i386/svr4.d: Likewise.
314 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
315 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
316 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
317 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
319 2021-01-07 Philipp Tomsich <prt@gnu.org>
321 * config/tc-riscv.c (riscv_multi_subset_supports): Added
322 INSN_CLASS_ZIHINTPAUSE.
323 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
324 the pause hint instruction.
325 * testsuite/gas/riscv/pause.s: Likewise.
327 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
328 Jim Wilson <jimw@sifive.com>
329 Andrew Waterman <andrew@sifive.com>
330 Maxim Blinov <maxim.blinov@embecosm.com>
331 Kito Cheng <kito.cheng@sifive.com>
332 Nelson Chu <nelson.chu@sifive.com>
334 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
335 (riscv_get_default_ext_version): Do not check the default_isa_spec when
336 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
337 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
338 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
339 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
341 2021-01-06 Alan Modra <amodra@gmail.com>
343 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
345 2021-01-06 Alan Modra <amodra@gmail.com>
347 * testsuite/gas/macros/app1.d: xfail tic30.
348 * testsuite/gas/macros/app2.d: Likewise.
349 * testsuite/gas/macros/app3.d: Likewise.
350 * testsuite/gas/macros/app4.d: Likewise.
352 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
354 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
355 * doc/c-riscv.texi: Likewise.
357 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
359 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
361 * testsuite/gas/riscv/li64.d: Likewise.
362 * testsuite/gas/riscv/lla32.d: Likewise.
363 * testsuite/gas/riscv/lla64.d: Likewise.
364 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
365 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
366 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
367 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
368 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
369 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
370 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
372 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
374 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
376 (install_insn): Always write instructions as little endian.
377 (riscv_make_nops): Likewise.
378 (md_convert_frag_branch): Likewise.
379 (md_number_to_chars): Write data in target endianness.
380 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
381 (md_parse_option): Handle the endian options.
382 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
384 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
386 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
389 * config/obj-elf.c (obj_elf_change_section): Also filter out
392 2021-01-04 Alan Modra <amodra@gmail.com>
395 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
396 message and register symbol error message.
398 2021-01-04 Alan Modra <amodra@gmail.com>
401 * read.c (s_align): Use a large enough type for "align" to hold
402 the result of get_absolute_expression.
404 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
406 * config/tc-i386.c: Correct comment spelling.
407 * config/tc-riscv.c: Likewise.
408 * config/tc-s390.c: Correct comment grammar.
409 * doc/c-i386.texi: Correct spelling.
410 * doc/c-s390.texi: Correct grammar.
412 2021-01-01 Alan Modra <amodra@gmail.com>
414 Update year range in copyright notice of all files.
416 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
418 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
420 For older changes see ChangeLog-2020
422 Copyright (C) 2021 Free Software Foundation, Inc.
424 Copying and distribution of this file, with or without modification,
425 are permitted in any medium without royalty provided the copyright
426 notice and this notice are preserved.
432 version-control: never