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