pr27228 testcase
[binutils-gdb.git] / gas / ChangeLog
1 2021-01-26 Alan Modra <amodra@gmail.com>
2
3 PR 27282
4 * testsuite/gas/all/none.d: Replace skip with xfail, don't xfail ft32.
5 * testsuite/gas/elf/pr27228.d: xfail hppa and allow OBJECT match.
6
7 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
8
9 PR gas/27228
10 * testsuite/gas/elf/elf.exp: Run pr27228.
11 * testsuite/gas/elf/pr27228.d: New file.
12 * testsuite/gas/elf/pr27228.s: Likewise.
13
14 2021-01-24 Alan Modra <amodra@gmail.com>
15
16 PR 27228
17 * write.c (resolve_reloc_expr_symbols): Don't assume local symbol
18 is defined.
19
20 2021-01-21 Alan Modra <amodra@gmail.com>
21
22 PR 27221
23 * dwarf2dbg.c (dwarf2_gen_line_info_1): Don't warn about ignored
24 line number info when gas is generating it.
25 * testsuite/gas/elf/dwarf2-20.d: Adjust to not expect warnings.
26 * testsuite/gas/m68hc11/indexed12.d: Likewise.
27 * testsuite/gas/elf/elf.exp: Don't run warn-2.
28 * gas/testsuite/gas/elf/warn-2.s: Delete.
29
30 2021-01-21 Alan Modra <amodra@gmail.com>
31
32 PR 27218
33 * dwarf2dbg.c (dwarf2_gen_line_info): Correct setting of dwarf_level.
34 (dwarf2_directive_filename, dwarf2_directive_loc): Likewise, and
35 error for negative file numbers.
36
37 2021-01-20 Alan Modra <amodra@gmail.com>
38
39 * testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
40 * testsuite/gas/ppc/test1elf32.d: Likewise.
41 * testsuite/gas/ppc/test1elf64.d: Likewise.
42
43 2021-01-18 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR gas/27195
46 * dwarf2dbg.c (dwarf2_gen_line_info): Set dwarf_level to 5 if
47 needed.
48 (dwarf2_directive_filename): Likewise.
49 (dwarf2_directive_loc): Likewise.
50 * testsuite/gas/elf/dwarf-5-file0.d: Pass --gdwarf-3.
51 * testsuite/gas/lns/lns-diag-1.l: Remove the
52 "Error: file number less than one" errors.
53
54 2021-01-18 Alan Modra <amodra@gmail.com>
55
56 PR 27198
57 * config/tc-i386.c (need_plt32_p): Return FALSE for NULL symbol.
58 * testsuite/gas/i386/pr27198.d,
59 * gas/testsuite/gas/i386/pr27198.err,
60 * gas/testsuite/gas/i386/pr27198.s: New test.
61 * gas/testsuite/gas/i386/i386.exp: Run it.
62
63 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
64
65 * config/tc-riscv.c: Indent and GNU coding standards tidy,
66 also aligned the code.
67 * config/tc-riscv.h: Likewise.
68
69 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
70
71 * config/tc-riscv.c: Error and warning messages tidy.
72 * testsuite/gas/riscv/priv-reg-fail-fext.l: Updated.
73 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
74 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
75 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
76 * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
77 * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
78 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
79
80 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
81
82 * config/tc-riscv.c: Comments tidy and improvement. Also update
83 comment "fallthru" to "Fall through" that end with a period and
84 two spaces.
85
86 2021-01-14 Mike Frysinger <vapier@gentoo.org>
87
88 * doc/as.texi: Delete @ifset ELF wrapping around [248]byte entries.
89 Delete warning that these are only available with ELF targets.
90 * obj-elf.c (elf_pseudo_table): Move 2byte/4byte/8byte entries ...
91 * read.c (potable): ... here.
92
93 2021-01-14 Mike Frysinger <vapier@gentoo.org>
94
95 * Makefile.am (bfin-lex-wrapper.@OBJEXT@): Delete $(NO_WERROR).
96 * Makefile.in: Regenerated.
97
98 2021-01-14 Mike Frysinger <vapier@gentoo.org>
99
100 * bfin-lex.l (YY_NO_INPUT, YY_NO_UNPUT): Define.
101 (parse_int): Mark char_bag const.
102
103 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
104
105 PR gas/27178
106 * config/tc-i386.c (lex_got::gotrel): Add need_GOT_symbol.
107 Don't generate GOT_symbol for PLT relocations.
108 * testsuite/gas/i386/i386.exp: Run PR gas/27178 tests.
109 * testsuite/gas/i386/no-got.d: New file.
110 * testsuite/gas/i386/no-got.s: Likewise.
111 * testsuite/gas/i386/x86-64-no-got.d: Likewise.
112 * testsuite/gas/i386/x86-64-no-got.s: Likewise.
113
114 2021-01-13 Alan Modra <amodra@gmail.com>
115
116 * Makefile.in: Regenerate.
117 * Makefile.in: Regenerate.
118
119 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR binutils/26792
122 * configure.ac: Use GNU_MAKE_JOBSERVER.
123 * aclocal.m4: Regenerated.
124 * configure: Likewise.
125
126 2021-01-12 Nick Clifton <nickc@redhat.com>
127
128 * po/fr.po: Updated French translation.
129
130 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
131
132 PR ld/27173
133 * configure: Regenerated.
134
135 2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
136
137 * NEWS: Remove CSRE.
138 * config/tc-aarch64.c (parse_csr_operand): Delete.
139 (parse_operands): Delete handling of
140 AARCH64_OPND_CSRE_CSR.
141 (aarch64_features): Remove csre.
142 * doc/c-aarch64.texi: Remove CSRE.
143 * testsuite/gas/aarch64/csre.d: Delete.
144 * testsuite/gas/aarch64/csre-invalid.s: Likewise.
145 * testsuite/gas/aarch64/csre-invalid.d: Likewise.
146 * testsuite/gas/aarch64/csre_csr.s: Likewise.
147 * testsuite/gas/aarch64/csre_csr.d: Likewise.
148 * testsuite/gas/aarch64/csre_csr-invalid.s: Likewise.
149 * testsuite/gas/aarch64/csre_csr-invalid.l: Likewise.
150 * testsuite/gas/aarch64/csre_csr-invalid.d: Likewise.
151
152 2021-01-11 Nick Clifton <nickc@redhat.com>
153
154 * po/uk.po: Updated Ukranian translation.
155
156 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
157
158 * configure: Regenerated.
159
160 2021-01-09 Nick Clifton <nickc@redhat.com>
161
162 * configure: Regenerate.
163 * po/gas.pot: Regenerate.
164
165 2021-01-09 Nick Clifton <nickc@redhat.com>
166
167 * 2.36 release branch crated.
168
169 2021-01-08 Peter Bergner <bergner@linux.ibm.com>
170
171 * testsuite/gas/ppc/rop-checks.d,
172 * testsuite/gas/ppc/rop-checks.l,
173 * testsuite/gas/ppc/rop-checks.s,
174 * testsuite/gas/ppc/rop.d,
175 * testsuite/gas/ppc/rop.s: New tests.
176 * testsuite/gas/ppc/ppc.exp: Run them.
177
178 2021-01-09 Alan Modra <amodra@gmail.com>
179
180 * configure: Regenerate.
181
182 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
183
184 * configure: Regenerate.
185
186 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
187
188 PR 27109
189 * read.c (s_reloc): Call symbol_mark_used_in_reloc on the
190 section symbol.
191 * subsegs.c (subseg_set_rest): Set BSF_SECTION_SYM_USED if needed.
192 * write.c (adjust_reloc_syms): Call symbol_mark_used_in_reloc
193 on the section symbol.
194 (set_symtab): Don't generate unused section symbols.
195 (maybe_generate_build_notes): Call symbol_mark_used_in_reloc
196 on the section symbol.
197 * config/obj-elf.c (elf_adjust_symtab): Call
198 symbol_mark_used_in_reloc on the group signature symbol.
199 * testsuite/gas/cfi/cfi-label.d: Remove unused section symbols
200 from expected output.
201 * testsuite/gas/elf/elf.exp (run_elf_list_test): Check
202 is_elf_unused_section_symbols.
203 * testsuite/gas/elf/section2.e: Updated.
204 * testsuite/gas/elf/section2.e-unused: New file.
205 * testsuite/gas/elf/symver.d: Remove unused section symbols.
206 * testsuite/gas/i386/ilp32/elf/symver.d: Likewise.
207 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
208 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
209 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
210 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
211 * testsuite/gas/i386/size-1.d: Likewise.
212 * testsuite/gas/i386/size-3.d: Likewise.
213 * testsuite/gas/i386/svr4.d: Likewise.
214 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
215 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
216 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
217 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
218
219 2021-01-07 Philipp Tomsich <prt@gnu.org>
220
221 * config/tc-riscv.c (riscv_multi_subset_supports): Added
222 INSN_CLASS_ZIHINTPAUSE.
223 * testsuite/gas/riscv/pause.d: New testcase. Adding coverage for
224 the pause hint instruction.
225 * testsuite/gas/riscv/pause.s: Likewise.
226
227 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
228 Jim Wilson <jimw@sifive.com>
229 Andrew Waterman <andrew@sifive.com>
230 Maxim Blinov <maxim.blinov@embecosm.com>
231 Kito Cheng <kito.cheng@sifive.com>
232 Nelson Chu <nelson.chu@sifive.com>
233
234 * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZB*.
235 (riscv_get_default_ext_version): Do not check the default_isa_spec when
236 the version defined in the riscv_opcodes table is ISA_SPEC_CLASS_DRAFT.
237 * testsuite/gas/riscv/bitmanip-insns-32.d: New testcase.
238 * testsuite/gas/riscv/bitmanip-insns-64.d: Likewise.
239 * testsuite/gas/riscv/bitmanip-insns.s: Likewise.
240
241 2021-01-06 Alan Modra <amodra@gmail.com>
242
243 * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
244
245 2021-01-06 Alan Modra <amodra@gmail.com>
246
247 * testsuite/gas/macros/app1.d: xfail tic30.
248 * testsuite/gas/macros/app2.d: Likewise.
249 * testsuite/gas/macros/app3.d: Likewise.
250 * testsuite/gas/macros/app4.d: Likewise.
251
252 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
253
254 * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs.
255 * doc/c-riscv.texi: Likewise.
256
257 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
258
259 * testsuite/gas/riscv/li32.d: Accept bigriscv in addition
260 to littleriscv.
261 * testsuite/gas/riscv/li64.d: Likewise.
262 * testsuite/gas/riscv/lla32.d: Likewise.
263 * testsuite/gas/riscv/lla64.d: Likewise.
264 * testsuite/gas/riscv/march-ok-g2.d: Likewise.
265 * testsuite/gas/riscv/march-ok-g2_p1.d: Likewise.
266 * testsuite/gas/riscv/march-ok-g2p0.d: Likewise.
267 * testsuite/gas/riscv/march-ok-i2p0.d: Likewise.
268 * testsuite/gas/riscv/march-ok-i2p0m2_a2f2.d: Likewise.
269 * testsuite/gas/riscv/march-ok-nse-with-version.d: Likewise.
270 * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
271
272 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
273
274 * config/tc-riscv.c (riscv_target_format): Add elf64-bigriscv and
275 elf32-bigriscv.
276 (install_insn): Always write instructions as little endian.
277 (riscv_make_nops): Likewise.
278 (md_convert_frag_branch): Likewise.
279 (md_number_to_chars): Write data in target endianness.
280 (options, md_longopts): Add -mbig-endian and -mlittle-endian options.
281 (md_parse_option): Handle the endian options.
282 * config/tc-riscv.h: Only define TARGET_BYTES_BIG_ENDIAN if not
283 already defined.
284 * configure.tgt: Added riscv64be*, riscv32be*, riscvbe*.
285
286 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
287
288 PR ld/26256
289 * config/obj-elf.c (obj_elf_change_section): Also filter out
290 SHF_LINK_ORDER.
291
292 2021-01-04 Alan Modra <amodra@gmail.com>
293
294 PR 27102
295 * symbols.c (S_SET_EXTERNAL): Revise section symbol warning
296 message and register symbol error message.
297
298 2021-01-04 Alan Modra <amodra@gmail.com>
299
300 PR 27101
301 * read.c (s_align): Use a large enough type for "align" to hold
302 the result of get_absolute_expression.
303
304 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
305
306 * config/tc-i386.c: Correct comment spelling.
307 * config/tc-riscv.c: Likewise.
308 * config/tc-s390.c: Correct comment grammar.
309 * doc/c-i386.texi: Correct spelling.
310 * doc/c-s390.texi: Correct grammar.
311
312 2021-01-01 Alan Modra <amodra@gmail.com>
313
314 Update year range in copyright notice of all files.
315
316 2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
317
318 * config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
319
320 For older changes see ChangeLog-2020
321 \f
322 Copyright (C) 2021 Free Software Foundation, Inc.
323
324 Copying and distribution of this file, with or without modification,
325 are permitted in any medium without royalty provided the copyright
326 notice and this notice are preserved.
327
328 Local Variables:
329 mode: change-log
330 left-margin: 8
331 fill-column: 74
332 version-control: never
333 End: