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