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