Prevent a bad .Psize expression from triggering a memory access violation.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
4a68fcd7
NC
12021-02-09 Nick Clifton <nickc@redhat.com>
2
3 PR 27384
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.
10
52563b0f
NC
112021-02-09 Nick Clifton <nickc@redhat.com>
12
13 PR 27355
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.
18
bfd428bc
MF
192021-02-08 Mike Frysinger <vapier@gentoo.org>
20
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.
26
80b652ef
NC
272021-02-08 Nick Clifton <nickc@redhat.com>
28
29 PR 27355
30 * dwarf2dbg.c (allocate_filename_to_slot): Allocate the dirs array
31 if it has not already been created.
32
24075dcc
NC
332021-02-04 Nelson Chu <nelson.chu@sifive.com>
34
35 * config/tc-riscv.c (riscv_multi_subset_supports): Removed
36 INSN_CLASS_ZB*.
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.
40
61ecbbae
AK
412021-02-03 Andreas Krebbel <krebbel@linux.ibm.com>
42
43 * doc/c-s390.texi: Document vector instruction formats.
44
1f568f9a
EH
452021-02-01 Emery Hemingway <ehmry@posteo.net>
46
47 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
48
7bba67ec
AM
492021-02-01 Alan Modra <amodra@gmail.com>
50
51 PR 27283
52 * config/tc-alpha.c (insert_operand): Delete dead code.
53
1f583bc2
L
542021-01-26 H.J. Lu <hongjiu.lu@intel.com>
55
56 PR gas/27243
57 * config/tc-nios2.c (md_begin): Don't disable relaxation with
58 --gdwarf-N.
59 * testsuite/gas/nios2/relax.d: New file.
60 * testsuite/gas/nios2/relax.s: Likewise.
61
a45ef9a3
AM
622021-01-26 Alan Modra <amodra@gmail.com>
63
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.
93
9886ff03
AM
942021-01-26 Alan Modra <amodra@gmail.com>
95
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.
100
4287950e
AM
1012021-01-26 Alan Modra <amodra@gmail.com>
102
103 PR 27282
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.
106
eea133e6
L
1072021-01-24 H.J. Lu <hongjiu.lu@intel.com>
108
109 PR gas/27228
110 * testsuite/gas/elf/elf.exp: Run pr27228.
111 * testsuite/gas/elf/pr27228.d: New file.
112 * testsuite/gas/elf/pr27228.s: Likewise.
113
68fcee4f
AM
1142021-01-24 Alan Modra <amodra@gmail.com>
115
116 PR 27228
117 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
118 is defined.
119
be07043e
AM
1202021-01-21 Alan Modra <amodra@gmail.com>
121
122 PR 27221
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.
129
498ff032
AM
1302021-01-21 Alan Modra <amodra@gmail.com>
131
132 PR 27218
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.
136
4bd7c902
AM
1372021-01-20 Alan Modra <amodra@gmail.com>
138
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.
142
705989f1
L
1432021-01-18 H.J. Lu <hongjiu.lu@intel.com>
144
145 PR gas/27195
146 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
147 needed.
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.
153
44365e88
AM
1542021-01-18 Alan Modra <amodra@gmail.com>
155
156 PR 27198
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.
162
1942a048
NC
1632021-01-15 Nelson Chu <nelson.chu@sifive.com>
164
165 * config/tc-riscv.c: Indent and GNU coding standards tidy,
166 also aligned the code.
167 * config/tc-riscv.h: Likewise.
168
b800637e
NC
1692021-01-15 Nelson Chu <nelson.chu@sifive.com>
170
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.
179
dcd709e0
NC
1802021-01-15 Nelson Chu <nelson.chu@sifive.com>
181
182 * config/tc-riscv.c: Comments tidy and improvement. Also update
183 comment "fallthru" to "Fall through" that end with a period and
184 two spaces.
185
5fda40b2
MF
1862021-01-14 Mike Frysinger <vapier@gentoo.org>
187
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.
192
abad2815
MF
1932021-01-14 Mike Frysinger <vapier@gentoo.org>
194
195 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
196 * Makefile.in: Regenerated.
197
adb0bd8f
MF
1982021-01-14 Mike Frysinger <vapier@gentoo.org>
199
200 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
201 (parse_int): Mark char_bag const.
202
844bf810
L
2032021-01-13 H.J. Lu <hongjiu.lu@intel.com>
204
205 PR gas/27178
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.
213
5347ed60
AM
2142021-01-13 Alan Modra <amodra@gmail.com>
215
216 * Makefile.in: Regenerate.
217 * Makefile.in: Regenerate.
218
d546b610
L
2192021-01-12 H.J. Lu <hongjiu.lu@intel.com>
220
221 PR binutils/26792
222 * configure.ac: Use GNU_MAKE_JOBSERVER.
223 * aclocal.m4: Regenerated.
224 * configure: Likewise.
225
6d104cac
NC
2262021-01-12 Nick Clifton <nickc@redhat.com>
227
228 * po/fr.po: Updated French translation.
229
83b33c6c
L
2302021-01-11 H.J. Lu <hongjiu.lu@intel.com>
231
232 PR ld/27173
233 * configure: Regenerated.
234
82c70b08
KT
2352021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
236
237 * NEWS: Remove CSRE.
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.
251
a8aa72b9
NC
2522021-01-11 Nick Clifton <nickc@redhat.com>
253
254 * po/uk.po: Updated Ukranian translation.
255
a4966cd9
L
2562021-01-09 H.J. Lu <hongjiu.lu@intel.com>
257
258 * configure: Regenerated.
259
573fe3fb
NC
2602021-01-09 Nick Clifton <nickc@redhat.com>
261
262 * configure: Regenerate.
263 * po/gas.pot: Regenerate.
264
055bc77a
NC
2652021-01-09 Nick Clifton <nickc@redhat.com>
266
267 * 2.36 release branch crated.
268
aae7fcb8
PB
2692021-01-08 Peter Bergner <bergner@linux.ibm.com>
270
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.
277
64307045
AM
2782021-01-09 Alan Modra <amodra@gmail.com>
279
280 * configure: Regenerate.
281
f4782128
ST
2822021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
283
284 * configure: Regenerate.
285
d1bcae83
L
2862021-01-07 H.J. Lu <hongjiu.lu@intel.com>
287
288 PR 27109
289 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
290 section symbol.
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.
318
aa881ecd
PT
3192021-01-07 Philipp Tomsich <prt@gnu.org>
320
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.
326
2652cfad
CXW
3272021-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>
333
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.
340
85f55c2b
AM
3412021-01-06 Alan Modra <amodra@gmail.com>
342
343 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
344
22206e84
AM
3452021-01-06 Alan Modra <amodra@gmail.com>
346
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.
351
286d2f2c
MC
3522021-01-06 Marcus Comstedt <marcus@mc.pp.se>
353
354 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
355 * doc/c-riscv.texi: Likewise.
356
f36ce378
MC
3572021-01-06 Marcus Comstedt <marcus@mc.pp.se>
358
359 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
360 to littleriscv.
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.
371
fbc09e7a
MC
3722021-01-06 Marcus Comstedt <marcus@mc.pp.se>
373
374 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
375 elf32-bigriscv.
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
383 already defined.
384 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
385
cd6d537c
L
3862021-01-04 H.J. Lu <hongjiu.lu@intel.com>
387
388 PR ld/26256
389 * config/obj-elf.c (obj_elf_change_section): Also filter out
390 SHF_LINK_ORDER.
391
dd933805
AM
3922021-01-04 Alan Modra <amodra@gmail.com>
393
394 PR 27102
395 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
396 message and register symbol error message.
397
90320e40
AM
3982021-01-04 Alan Modra <amodra@gmail.com>
399
400 PR 27101
401 * read.c (s_align): Use a large enough type for "align" to hold
402 the result of get_absolute_expression.
403
f9a6a8f0
AM
4042021-01-01 Nicolas Boulenguez <nicolas@debian.org>
405
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.
411
250d07de
AM
4122021-01-01 Alan Modra <amodra@gmail.com>
413
414 Update year range in copyright notice of all files.
415
64d05a43
HPN
4162021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
417
418 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
419
c2795844 420For older changes see ChangeLog-2020
3499769a 421\f
c2795844 422Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
423
424Copying and distribution of this file, with or without modification,
425are permitted in any medium without royalty provided the copyright
426notice and this notice are preserved.
427
428Local Variables:
429mode: change-log
430left-margin: 8
431fill-column: 74
432version-control: never
433End:
This page took 0.338187 seconds and 4 git commands to generate.