Replace "if (x) free (x)" with "free (x)", gas
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
9fbb53c7
AM
12020-05-21 Alan Modra <amodra@gmail.com>
2
3 * atof-generic.c: Replace "if (x) free (x)" with "free (x)"
4 throughout.
5 * config/obj-elf.c: Likewise.
6 * config/tc-aarch64.c: Likewise.
7 * config/tc-arm.c: Likewise.
8 * config/tc-m68k.c: Likewise.
9 * config/tc-nios2.c: Likewise.
10 * config/tc-tic30.c: Likewise.
11 * ecoff.c: Likewise.
12 * read.c: Likewise.
13 * stabs.c: Likewise.
14 * symbols.c: Likewise.
15 * testsuite/gas/all/test-gen.c: Likewise.
16
8f595e9b
NC
172020-05-20 Nelson Chu <nelson.chu@sifive.com>
18
19 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
20 * config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
21 Static variables which are used to set the ISA extensions. You can
22 use -march (or ELF build attributes) and -misa-spec to set them,
23 respectively.
24 (ext_version_hash): The hash table used to handle the extensions
25 with versions.
26 (init_ext_version_hash): Initialize the ext_version_hash according
27 to riscv_ext_version_table.
28 (riscv_get_default_ext_version): The callback function of
29 riscv_parse_subset_t. According to the choosed ISA spec,
30 get the default version for the specific extension.
31 (riscv_set_arch): Set the callback function.
32 (enum options, struct option md_longopts): Add new option -misa-spec.
33 (md_parse_option): Do not call riscv_set_arch for -march. We will
34 call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
35 to set default_isa_spec class.
36 (riscv_after_parse_args): Call init_ext_version_hash to initialize the
37 ext_version_hash, and then call riscv_set_arch to set the architecture
38 with versions according to default_arch_with_ext.
39 * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
40 x extensions.
41 * testsuite/gas/riscv/attribute-03.d: Likewise.
42 * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
43 already set it's version to 2p1 by march, so no need to use the default
44 2p2 version. For m-ext, we do not set the version by -march and ELF arch
45 attribute, so set the default 2p0 to it. For zicsr, it is not defined in
46 ISA spec 2p2, so set 0p0 to it.
47 * testsuite/gas/riscv/attribute-10.d: New testcase. The version of
48 zicsr is 2p0 according to ISA spec 20191213.
49 * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
50 (DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
51 You can set them by configure options --with-arch and
52 --with-isa-spec, respectively.
53 (riscv_set_default_isa_spec): New function used to set the
54 default ISA spec.
55 (md_parse_option): Call riscv_set_default_isa_spec rather than
56 call riscv_get_isa_spec_class directly.
57 (riscv_after_parse_args): If the -isa-spec is not set, then we
58 set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
59 calling riscv_set_default_isa_spec.
60 * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
61 the --with-isa-spec may be set to different ISA spec.
62 * testsuite/gas/riscv/attribute-02.d: Likewise.
63 * testsuite/gas/riscv/attribute-03.d: Likewise.
64 * testsuite/gas/riscv/attribute-04.d: Likewise.
65 * testsuite/gas/riscv/attribute-05.d: Likewise.
66 * testsuite/gas/riscv/attribute-06.d: Likewise.
67 * testsuite/gas/riscv/attribute-07.d: Likewise.
68 * configure.ac: Add configure options, --with-arch and
69 --with-isa-spec.
70 * configure: Regenerated.
71 * config.in: Regenerated.
72 * config/tc-riscv.c (default_priv_spec): Static variable which is
73 used to check if the CSR is valid for the chosen privilege spec. You
74 can use -mpriv-spec to set it.
75 (enum reg_class): We now get the CSR address from csr_extra_hash rather
76 than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
77 (riscv_init_csr_hashes): Only need to initialize one hash table
78 csr_extra_hash.
79 (riscv_csr_class_check): Change the return type to void. Don't check
80 the ISA dependency if -mcsr-check isn't set.
81 (riscv_csr_version_check): New function. Check and find the CSR address
82 from csr_extra_hash, according to default_priv_spec. Report warning
83 for the invalid CSR if -mcsr-check is set.
84 (reg_csr_lookup_internal): Updated.
85 (reg_lookup_internal): Likewise.
86 (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
87 (enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
88 (md_parse_option): Call riscv_set_default_priv_version to set
89 default_priv_spec.
90 (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
91 privilege spec to the newest one.
92 (enum riscv_csr_class, struct riscv_csr_extra): Move them to
93 include/opcode/riscv.h.
94 * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
95 to check the ISA dependency for CSR, so fix the spec version by adding
96 -mpriv-spec=1.11.
97 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
98 version warnings for the test case.
99 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
100 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
101 * gas/testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
102 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
103 * gas/testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
104 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
105 Check whether the CSR is valid when privilege version 1.9 is choosed.
106 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
107 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
108 Check whether the CSR is valid when privilege version 1.9.1 is choosed.
109 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
110 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
111 Check whether the CSR is valid when privilege version 1.10 is choosed.
112 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
113 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
114 Check whether the CSR is valid when privilege version 1.11 is choosed.
115 * gas/testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
116 * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
117 setting. You can set it by configure option --with-priv-spec.
118 (riscv_set_default_priv_spec): New function used to set the default
119 privilege spec.
120 (md_parse_option): Call riscv_set_default_priv_spec rather than
121 call riscv_get_priv_spec_class directly.
122 (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
123 default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
124 calling riscv_set_default_priv_spec.
125 * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
126 the --with-priv-spec may be set to different privilege spec.
127 * testsuite/gas/riscv/priv-reg.d: Likewise.
128 * configure.ac: Add configure option --with-priv-spec.
129 * configure: Regenerated.
130 * config.in: Regenerated.
131 * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
132 explicit_attr. Set it to TRUE if any ELF attribute is found.
133 (riscv_set_default_priv_spec): Try to set the default_priv_spec if
134 the priv attributes are set.
135 (md_assemble): Set the default_priv_spec according to the priv
136 attributes when we start to assemble instruction.
137 (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
138 riscv_write_out_attrs. Update the arch and priv attributes. If we
139 don't set the corresponding ELF attributes, then try to output the
140 default ones.
141 (riscv_set_public_attributes): If any ELF attribute or -march-attr
142 options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
143 to update the arch and priv attributes.
144 (s_riscv_attribute): Make sure all arch and priv attributes are set
145 before any instruction.
146 * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
147 ELF attribute or -march-attr is set. If the priv attributes are not
148 set, then try to update them by the default setting (-mpriv-spec or
149 --with-priv-spec).
150 * testsuite/gas/riscv/attribute-02.d: Likewise.
151 * testsuite/gas/riscv/attribute-03.d: Likewise.
152 * testsuite/gas/riscv/attribute-04.d: Likewise.
153 * testsuite/gas/riscv/attribute-06.d: Likewise.
154 * testsuite/gas/riscv/attribute-07.d: Likewise.
155 * testsuite/gas/riscv/attribute-08.d: Likewise.
156 * testsuite/gas/riscv/attribute-09.d: Likewise.
157 * testsuite/gas/riscv/attribute-10.d: Likewise.
158 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
159 * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
160 set by priv attributes must be supported.
161 * testsuite/gas/riscv/attribute-05.s: Likewise.
162 * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
163 priv attributes according to the -mpriv-spec option.
164 * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
165 * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
166 * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
167 * testsuite/gas/riscv/priv-reg.d: Removed.
168 * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
169 CSR according to the priv spec 1.9.
170 * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
171 CSR according to the priv spec 1.9.1.
172 * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
173 CSR according to the priv spec 1.10.
174 * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
175 CSR according to the priv spec 1.11.
176 * config/tc-riscv.c (md_show_usage): Add descriptions about
177 the new GAS options.
178 * doc/c-riscv.texi: Likewise.
179
3d205eb4
PB
1802020-05-19 Peter Bergner <bergner@linux.ibm.com>
181
182 * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
183 * testsuite/gas/ppc/power9.d: Likewise.
184 * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
185 pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
186 sync, wait, waitrsv>: Add tests.
187 * testsuite/gas/ppc/power10.d: Likewise.
188
164446e0
AF
1892020-05-19 Alexander Fedotov <alfedotov@gmail.com>
190
191 PR 25992
192 * config/tc-arm.c : Add arm_ext_v8r feature.
193 (it_fsm_post_encode): Check arm_ext_v8r feature.
194 (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.
195
69f57659
AM
1962020-05-19 Alan Modra <amodra@gmail.com>
197
198 * write.c (write_contents): Use bfd_get_filename rather than
199 accessing bfd->filename directly. Use bfd_section_name rather
200 than accessing section->name directly.
201
0e1d094e
AM
2022020-05-19 Alan Modra <amodra@gmail.com>
203
204 * symbols.c (local_symbol_make): Init all of lsy_flags.
205
d402189f
AM
2062020-05-18 Alan Modra <amodra@gmail.com>
207
208 * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
209 before looking at add_symbol->sy_flags.
210
503648e4 2112020-05-18 Hongtao Liu <hongtao.liu@intel.com>
212
213 * config/tc-i386.c: Not handle lret/iret.
214 * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
215 * testsuite/gas/i386/lfence-ret-b.d: Ditto.
216 * testsuite/gas/i386/lfence-ret-c.d: Ditto.
217 * testsuite/gas/i386/lfence-ret-d.d: Ditto.
218 * testsuite/gas/i386/lfence-ret.s: Ditto.
219 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
220 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
221 * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
222 * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
223 * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
224 * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
225 * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
226
2a50b401
AM
2272020-05-15 Alan Modra <amodra@gmail.com>
228 Alex Coplan <alex.coplan@arm.com>
229
230 * symbols.c (struct local_symbol): Update comment.
231 (resolve_symbol_value): For resolved symbols equated to other
232 symbols, verify that the referenced symbol is not a local_symbol
233 before accessing sy_value. Don't leave symbol loops during
234 finalize_syms resolution.
235 * testsuite/gas/all/assign-bad-recursive.d: New test.
236 * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
237 * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
238 * testsuite/gas/all/gas.exp: Run it.
239
9d95b8e9
NC
2402020-05-14 Nick Clifton <nickc@redhat.com>
241
242 * po/sv.po: Updated Swedish translation.
243
3b646889
AM
2442020-05-11 Alan Modra <amodra@gmail.com>
245
246 * testsuite/gas/ppc/scalarquad.d,
247 * testsuite/gas/ppc/scalarquad.s: New test.
248 * testsuite/gas/ppc/ppc.exp: Run it.
249
9cc4ce88
AM
2502020-05-11 Alan Modra <amodra@gmail.com>
251
252 * testsuite/gas/ppc/rightmost.d,
253 * testsuite/gas/ppc/rightmost.s: New test.
254 * testsuite/gas/ppc/ppc.exp: Run it.
255
5d57bc3f
AM
2562020-05-11 Alan Modra <amodra@gmail.com>
257
258 * testsuite/gas/ppc/xvtlsbb.d,
259 * testsuite/gas/ppc/xvtlsbb.s: New test.
260 * testsuite/gas/ppc/ppc.exp: Run it.
261
66ef5847
AM
2622020-05-11 Alan Modra <amodra@gmail.com>
263
264 * testsuite/gas/ppc/stringop.d,
265 * testsuite/gas/ppc/stringop.s: New test.
266 * testsuite/gas/ppc/ppc.exp: Run it.
267
4f3e9537
PB
2682020-05-11 Peter Bergner <bergner@linux.ibm.com>
269
270 * testsuite/gas/ppc/set_bool.d,
271 * testsuite/gas/ppc/set_bool.s: New test.
272 * testsuite/gas/ppc/ppc.exp: Run it.
273
ec40e91c
AM
2742020-05-11 Alan Modra <amodra@gmail.com>
275
276 * testsuite/gas/ppc/bitmanip.d,
277 * testsuite/gas/ppc/bitmanip.s: New test.
278 * testsuite/gas/ppc/ppc.exp: Run it.
279
d7e97a76
AM
2802020-05-11 Alan Modra <amodra@gmail.com>
281
282 * testsuite/gas/ppc/genpcv.d,
283 * testsuite/gas/ppc/genpcv.s: New test.
284 * testsuite/gas/ppc/ppc.exp: Run it.
285
fdefed7c
AM
2862020-05-11 Alan Modra <amodra@gmail.com>
287
288 * testsuite/gas/ppc/maskmanip.d,
289 * testsuite/gas/ppc/maskmanip.s: New test.
290 * testsuite/gas/ppc/ppc.exp: Run it.
291
aa3c112f
AM
2922020-05-11 Alan Modra <amodra@gmail.com>
293 Peter Bergner <bergner@linux.ibm.com>
294
295 * config/tc-ppc.c (pre_defined_registers): Add accumulators.
296 (md_assemble): Check acc specified in correct operand.
297 * testsuite/gas/ppc/outerprod.d,
298 * testsuite/gas/ppc/outerprod.s,
299 * testsuite/gas/ppc/vsx4.d,
300 * testsuite/gas/ppc/vsx4.s: New tests.
301 * testsuite/gas/ppc/ppc.exp: Run them.
302
6edbfd3b
AM
3032020-05-11 Alan Modra <amodra@gmail.com>
304
305 * testsuite/gas/ppc/simd_perm.d,
306 * testsuite/gas/ppc/simd_perm.s: New test.
307 * testsuite/gas/ppc/ppc.exp: Run it.
308
c7d7aea2
AM
3092020-05-11 Alan Modra <amodra@gmail.com>
310
311 * testsuite/gas/ppc/int128.d,
312 * testsuite/gas/ppc/int128.s: New test.
313 * testsuite/gas/ppc/ppc.exp: Run it.
314
94ba9882
AM
3152020-05-11 Alan Modra <amodra@gmail.com>
316
317 * testsuite/gas/ppc/vsx_32byte.d,
318 * testsuite/gas/ppc/vsx_32byte.s: New test.
319 * testsuite/gas/ppc/ppc.exp: Run it.
320
f4791f1a
AM
3212020-05-11 Alan Modra <amodra@gmail.com>
322
323 * testsuite/gas/ppc/vec_mul.s,
324 * testsuite/gas/ppc/vec_mul.d: New test.
325 * testsuite/gas/ppc/ppc.exp: Run it.
326
3ff0a5ba
PB
3272020-05-11 Peter Bergner <bergner@linux.ibm.com>
328
329 * testsuite/gas/ppc/byte_rev.d,
330 * testsuite/gas/ppc/byte_rev.s: New test.
331 * testsuite/gas/ppc/ppc.exp: Run it.
332
afef4fe9
PB
3332020-05-11 Peter Bergner <bergner@linux.ibm.com>
334
335 * testsuite/gas/ppc/power10.d: Add paste. tests.
336 * testsuite/gas/ppc/power10.s: Likewise.
337
1224c05d
PB
3382020-05-11 Peter Bergner <bergner@linux.ibm.com>
339
340 * testsuite/gas/ppc/power10.s: New test.
341 * testsuite/gas/ppc/power10.d: Likewise.
342 * testsuite/gas/ppc/ppc.exp: Run it.
343
7c1f4227
AM
3442020-05-11 Alan Modra <amodra@gmail.com>
345
346 * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
347 renaming.
348 * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
349 place of -mfuture/-Mfuture.
350 * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
351 * testsuite/gas/ppc/prefix-reloc.d: Likewise.
352
bfeaed38
NC
3532020-05-06 Nick Clifton <nickc@redhat.com>
354
355 * po/sv.po: Updated Swedish translation.
356
6ef719c0
NC
3572020-05-06 Nick Clifton <nickc@redhat.com>
358
359 PR 25927
360 * doc/as.texi (Preprocessing): Replace cross reference to not
361 existant document with a URL to the equivalent page in the GCC
362 manual.
363
546cb2d8
NC
3642020-05-05 Nick Clifton <nickc@redhat.com>
365
366 * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
367 construction of a DWARF-5 directory name table.
368 * testsuite/gas/elf/pr25917.d: Update expected output.
369
7d0bd487
GN
3702020-05-05 Gunther Nikl <gnikl@justmail.de>
371
372 * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
373 (md_parse_option): Remove initialization of elf_flags.
070b775f 374
fe05f369
ASDV
3752020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com>
376
377 PR gas/25863
378 * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
379 * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
380 * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
381
4706679d
NC
3822020-05-04 Nick Clifton <nickc@redhat.com>
383
384 PR 25917
385 * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
386 table's existence before looking at its entries.
070b775f
NC
387 Also do not emit a default directory entry if there are no
388 directories in use.
389
4706679d
NC
390 * testsuite/gas/elf/pr25917.s: New test source file.
391 * testsuite/gas/elf/pr25917.d: New test driver.
392 * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
393
09c1e68a
AC
3942020-04-30 Alex Coplan <alex.coplan@arm.com>
395
396 * config/tc-aarch64.c (fix_insn): Implement for
397 AARCH64_OPND_UNDEFINED.
398 (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
399 * testsuite/gas/aarch64/udf.s: New.
400 * testsuite/gas/aarch64/udf.d: New.
401 * testsuite/gas/aarch64/udf-invalid.s: New.
402 * testsuite/gas/aarch64/udf-invalid.l: New.
403 * testsuite/gas/aarch64/udf-invalid.d: New.
404
c578f16e
YS
4052020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
406
407 * config/tc-rx.c (elf_flags): Reset default value.
408 (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
409
935f1f4b
MF
4102020-04-29 Max Filippov <jcmvbkbc@gmail.com>
411
412 * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
413 if it's not defined.
414 (microarch_earliest): New static variable.
415 (xg_translate_idioms): Translate "simcall" to "simcall 0" when
416 simcall opcode has mandatory parameter.
417 (xg_init_global_config): Initialize microarch_earliest.
418
5c936ef5
NC
4192020-04-29 Nick Clifton <nickc@redhat.com>
420
421 PR 22699
422 * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
423 IMM0_8S and add support for IMM0_8U.
424 * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
425 unsigned 8-bit immediate.
426 * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
241e541d 427 * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
5c936ef5 428
251dae91
TC
4292020-04-27 Tamar Christina <tamar.christina@arm.com>
430
431 * NEWS: Add news entry for big-obj.
432 * config/tc-i386.c (i386_target_format): Support new format.
433 * doc/c-i386.texi: Add i386 support.
434 * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
435 * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
436
714e6c96
NC
4372020-04-27 Nick Clifton <nickc@redhat.com>
438
439 PR 25878
440 * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
441 (assign_file_to_slot): New function. Fills in an entry in the
442 files table.
443 (allocate_filenum): Use new function.
444 (allocate_filename_to_slot): Use new function. If the specified
445 slot entry is already in use, but was chosen automatically then
446 reassign the automatic entry.
447
a09f656b 4482020-04-26 Hongtao Liu <hongtao.liu@intel.com
449
450 * config/tc-i386.c (lfence_before_ret_shl): New member.
451 (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
452 for Anysize insns.
453 (insert_after_load): Issue warning for REP CMPS/SCAS.
454 (insert_before_before): Handle iret, Handle
455 -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
456 (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
457 -mlfence-before-ret=[none/not/or/shl/yes].
458 Enable -mlfence-before-ret=shl when
459 -mlfence-beofre-indirect-branch=all and no explict -mlfence-before-ret option.
460 (md_show_usage): Ditto.
461 * doc/c-i386.texi: Ditto.
462 * testsuite/gas/i386/i386.exp: Add new testcases.
463 * testsuite/gas/i386/lfence-load-b.d: New.
464 * testsuite/gas/i386/lfence-load-b.e: New.
465 * testsuite/gas/i386/lfence-load.d: Modified.
466 * testsuite/gas/i386/lfence-load.e: New.
467 * testsuite/gas/i386/lfence-load.s: Modified.
468 * testsuite/gas/i386/lfence-ret-a.d: Modified.
469 * testsuite/gas/i386/lfence-ret-b.d: Modified.
470 * testsuite/gas/i386/lfence-ret-c.d: New.
471 * testsuite/gas/i386/lfence-ret-d.d: New.
472 * testsuite/gas/i386/lfence-ret.s: Modified.
473 * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
474 * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
475 * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
476 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
477 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
478 * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
479 * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
480 * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
481 * testsuite/gas/i386/x86-64-lfence-ret.e: New.
482 * testsuite/gas/i386/x86-64-lfence-ret.s: New.
483
30ce8e47
MF
4842020-04-22 Max Filippov <jcmvbkbc@gmail.com>
485
486 PR ld/25861
487 * config/tc-xtensa.c (md_apply_fix): Replace
488 BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
489 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
490 BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
491 * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
492 with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
493
31c89d60
AM
4942020-04-22 Alan Modra <amodra@gmail.com>
495
496 * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
497 symbol for ".symver .. remove".
498 * doc/as.texi (.symver): Update.
499 * testsuite/gas/symver/symver11.s: Make foo weak.
500 * testsuite/gas/symver/symver11.d: Expect an error.
501 * testsuite/gas/symver/symver7.d: Allow other random symbols.
502
1d3eb556
L
5032020-04-21 H.J. Lu <hongjiu.lu@intel.com>
504
505 * testsuite/gas/symver/symver11.s: Add ".balign 8".
506
bb2a1453
AS
5072020-04-21 Andreas Schwab <schwab@linux-m68k.org>
508
509 PR 25848
510 * testsuite/gas/m68k/operands.s: Add tests for cmpi.
511 * testsuite/gas/m68k/operands.d: Update.
512 * testsuite/gas/m68k/op68000.d: Update for new error messages.
513
c36876fe
TC
5142020-04-21 Tamar Christina <tamar.christina@arm.com>
515
516 PR binutils/24753
517 * testsuite/gas/arm/pr24753.d: New test.
518 * testsuite/gas/arm/pr24753.s: New test.
519
6914be53
L
5202020-04-21 H.J. Lu <hongjiu.lu@intel.com>
521
522 PR gas/23840
523 PR gas/25295
524 * NEWS: Mention .symver extension.
525 * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
526 function.
527 (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
528 add a version name. Add local, hidden and remove visibility
529 support.
530 (elf_frob_symbol): Handle the list of version names. Update the
531 original symbol to local, hidden or remove it from the symbol
532 table.
533 (elf_frob_file_before_adjust): Handle the list of version names.
534 * config/obj-elf.h (elf_visibility): New.
535 (elf_versioned_name_list): Likewise.
536 (elf_obj_sy): Change local to bitfield. Add rename, bad_version
537 and visibility. Change versioned_name pointer to struct
538 elf_versioned_name_list.
539 * doc/as.texi: Update .symver directive.
540 * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more
541 error checking tests.
542 * testsuite/gas/symver/symver6.d: New file.
543 * testsuite/gas/symver/symver7.d: Likewise.
544 * testsuite/gas/symver/symver7.s: Likewise.
545 * testsuite/gas/symver/symver8.d: Likewise.
546 * testsuite/gas/symver/symver8.s: Likewise.
547 * testsuite/gas/symver/symver9.s: Likewise.
548 * testsuite/gas/symver/symver9a.d: Likewise.
549 * testsuite/gas/symver/symver9b.d: Likewise.
550 * testsuite/gas/symver/symver10.s: Likewise.
551 * testsuite/gas/symver/symver10a.d: Likewise.
552 * testsuite/gas/symver/symver10b.d: Likewise.
553 * testsuite/gas/symver/symver11.d: Likewise.
554 * testsuite/gas/symver/symver11.s: Likewise.
555 * testsuite/gas/symver/symver12.d: Likewise.
556 * testsuite/gas/symver/symver12.s: Likewise.
557 * testsuite/gas/symver/symver13.d: Likewise.
558 * testsuite/gas/symver/symver13.s: Likewise.
559 * testsuite/gas/symver/symver14.d: Likewise.
560 * testsuite/gas/symver/symver14.l: Likewise.
561 * testsuite/gas/symver/symver15.d: Likewise.
562 * testsuite/gas/symver/symver15.l: Likewise.
563 * testsuite/gas/symver/symver6.l: Removed.
564 * testsuite/gas/symver/symver6.s: Updated.
565
c2e5c986
SD
5662020-04-20 Sudakshina Das <sudi.das@arm.com>
567
568 * config/tc-aarch64.c (parse_barrier_psb): Update error messages
569 to include TSB.
570 * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests.
571 * testsuite/gas/aarch64/system-2.s: Add new tsb tests.
572 * testsuite/gas/aarch64/system.d: Update.
573
8a6e1d1d
SD
5742020-04-20 Sudakshina Das <sudi.das@arm.com>
575
576 * testsuite/gas/aarch64/bti.d: Update -march option.
577 * testsuite/gas/aarch64/illegal-bti.d: Remove.
578 * testsuite/gas/aarch64/illegal-bti.l: Remove.
579 * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
580 * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
581
49af2f5c
AM
5822020-04-17 Alan Modra <amodra@gmail.com>
583
584 * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot.
585
8e4979ac
NC
5862020-04-16 Gagan Singh Sidhu <broly@mac.com>
587 Nick Clifton <nickc@redhat.com>
588
589 PR 25803
590 * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
591 targets.
592 * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
593 for the type-2 test.
594 * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
595 targets running this test.
596
c54a9b56
DF
5972020-02-16 David Faust <david.faust@oracle.com>
598
599 * testsuite/gas/bpf/bpf.exp: Run jump32 tests.
600 * testsuite/gas/bpf/jump32.s: New file.
601 * testsuite/gas/bpf/jump32.d: Likewise.
602
3071b197
L
6032020-04-08 H.J. Lu <hongjiu.lu@intel.com>
604
605 * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
606 documentation.
607
6a3ab923
GN
6082020-04-08 Gunther Nikl <gnikl@justmail.de>
609
610 * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
611 (md_pcrel_from): Remove prototytpe.
d9f19885
GN
612 * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
613 define.
614 (md_pcrel_from_section): Remove duplicate prototype.
9ad4cfa8
GN
615 * tc.h (md_pcrel_from_section): Add prototype.
616 * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
617 * config/tc-arc.h (md_pcrel_from_section): Likewise.
618 * config/tc-arm.h (md_pcrel_from_section): Likewise.
619 * config/tc-avr.h (md_pcrel_from_section): Likewise.
620 * config/tc-bfin.h (md_pcrel_from_section): Likewise.
621 * config/tc-bpf.h (md_pcrel_from_section): Likewise.
622 * config/tc-csky.h (md_pcrel_from_section): Likewise.
623 * config/tc-d10v.h (md_pcrel_from_section): Likewise.
624 * config/tc-d30v.h (md_pcrel_from_section): Likewise.
625 * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
626 * config/tc-fr30.h (md_pcrel_from_section): Likewise.
627 * config/tc-frv.h (md_pcrel_from_section): Likewise.
628 * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
629 * config/tc-lm32.h (md_pcrel_from_section): Likewise.
630 * config/tc-m32c.h (md_pcrel_from_section): Likewise.
631 * config/tc-m32r.h (md_pcrel_from_section): Likewise.
632 * config/tc-mcore.h (md_pcrel_from_section): Likewise.
633 * config/tc-mep.h (md_pcrel_from_section): Likewise.
634 * config/tc-metag.h (md_pcrel_from_section): Likewise.
635 * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
636 * config/tc-mmix.h (md_pcrel_from_section): Likewise.
637 * config/tc-moxie.h (md_pcrel_from_section): Likewise.
638 * config/tc-msp430.h (md_pcrel_from_section): Likewise.
639 * config/tc-mt.h (md_pcrel_from_section): Likewise.
640 * config/tc-or1k.h (md_pcrel_from_section): Likewise.
641 * config/tc-ppc.h (md_pcrel_from_section): Likewise.
642 * config/tc-rl78.h (md_pcrel_from_section): Likewise.
643 * config/tc-rx.h (md_pcrel_from_section): Likewise.
644 * config/tc-s390.h (md_pcrel_from_section): Likewise.
645 * config/tc-sh.h (md_pcrel_from_section): Likewise.
646 * config/tc-xc16x.h (md_pcrel_from_section): Likewise.
647 * config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
4c09b8c4
GN
648 * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
649 md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
650 md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
651 md_apply_fix3): Delete prototypes.
6a3ab923 652
6e0e8b45
L
6532020-04-07 H.J. Lu <hongjiu.lu@intel.com>
654
655 * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
656 instructions.
657
266803a2
L
6582020-04-07 H.J. Lu <hongjiu.lu@intel.com>
659
660 * doc/c-z80.texi: Fix @xref warnings.
661
bb651e8b
CL
6622020-04-07 Lili Cui <lili.cui@intel.com>
663
664 * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
665 (cpu_noarch): Likewise.
666 * doc/c-i386.texi: Document TSXLDTRK.
667 * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
668 * testsuite/gas/i386/tsxldtrk.d: Likewise.
669 * testsuite/gas/i386/tsxldtrk.s: Likewise.
670 * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
671
4b27d27c
L
6722020-04-02 Lili Cui <lili.cui@intel.com>
673
674 * config/tc-i386.c (cpu_arch): Add .serialize.
675 (cpu_noarch): Likewise.
676 * doc/c-i386.texi: Document serialize.
677 * testsuite/gas/i386/i386.exp: Run serialize tests
678 * testsuite/gas/i386/serialize.d: Likewise.
679 * testsuite/gas/i386/x86-64-serialize.d: Likewise.
680 * testsuite/gas/i386/serialize.s: Likewise.
681
bb897477
RO
6822020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
683
684 * testsuite/gas/elf/section12a.d: Use notarget instead of xfail.
685 * testsuite/gas/elf/section12b.d: Likewise.
686 * testsuite/gas/elf/section16a.d: Likewise.
687 * testsuite/gas/elf/section16b.d: Likewise.
688
59e28a97
GN
6892020-04-02 Gunther Nikl <gnikl@justmail.de>
690
691 * config/tc-m68k.c (m68k_ip): Fix range check for index register
692 with a suppressed address register.
693
efc3a950
L
6942020-04-01 H.J. Lu <hongjiu.lu@intel.com>
695
696 PR gas/25756
697 * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New.
698 * testsuite/gas/i386/localpic.s: Add a test for relocation
699 against local absolute symbol.
700 * testsuite/gas/i386/x86-64-localpic.s: Likewise.
701 * testsuite/gas/i386/localpic.d: Updated.
702 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
703 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
704
15d47c3a
RO
7052020-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
706
707 PR gas/25732
708 * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
709 * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
710 * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
711 testsuite/gas/i386/x86-64-jump.d.
712 * gas/testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
713 Incorporate changes to
714 gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
715 * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
716 changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
717 * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
718 * testsuite/gas/i386/x86-64-branch-3.d: Likewise.
719
876678f0
MR
7202020-03-31 Maciej W. Rozycki <macro@linux-mips.org>
721
722 PR 25611
723 PR 25614
724 * dwarf2dbg.c: Do not include "bignum.h".
725
d1a89da5
NC
7262020-03-30 Nelson Chu <nelson.chu@sifive.com>
727
728 * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo.
729 * testsuite/gas/riscv/alias-csr.s: Likewise.
730 * testsuite/gas/riscv/no-aliases-csr.d: Move this
731 to priv-reg-pseudo-noalias.
732 * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent.
733 * testsuite/gas/riscv/bad-csr.l: Likewise.
734 * testsuite/gas/riscv/bad-csr.s: Likewise.
735 * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg.
736 * testsuite/gas/riscv/satp.s: Likewise.
737 * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo
738 csr instruction, including alias-csr testcase.
739 * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise.
740 * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all
741 pseudo instruction with objdump -Mno-aliases.
742 * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase.
743 * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise.
744 * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise.
745 * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11.
746 * testsuite/gas/riscv/priv-reg.s: Likewise.
747 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
748 * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
749 * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
750
b7780957
J
7512020-03-25 J.W. Jagersma <jwjagersma@gmail.com>
752
753 * config/obj-coff.c (obj_coff_section): Set the bss flag on
754 sections with the "b" attribute.
755
d1023b5d
AM
7562020-03-22 Alan Modra <amodra@gmail.com>
757
758 * testsuite/gas/s12z/truncated.d: Update expected output.
759
0d832e7f
SB
7602020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
761
762 PR 25690
763 * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
764 * doc/c-z80.texi: Update documentation.
765
327ef784
NC
7662020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
767
768 PR 25641
769 PR 25668
770 PR 25633
771 Fix disassembling ED+A4/AC/B4/BC opcodes.
772 Fix assembling lines containing colonless label and instruction
773 with first operand inside parentheses.
774 Fix registration of unsupported by target CPU registers.
775 * config/tc-z80.c: See above.
776 * config/tc-z80.h: See above.
777 * testsuite/gas/z80/colonless.d: Update test.
778 * testsuite/gas/z80/colonless.s: Likewise.
779 * testsuite/gas/z80/ez80_adl_all.d: Likewise.
780 * testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
781 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
782 * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
783 * testsuite/gas/z80/r800_unsup_regs.d: Likewise.
784 * testsuite/gas/z80/unsup_regs.s: Likewise.
785 * testsuite/gas/z80/z180_unsup_regs.d: Likewise.
786 * testsuite/gas/z80/z80.exp: Likewise.
787 * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
788 * testsuite/gas/z80/z80_unsup_regs.d: Likewise.
789 * testsuite/gas/z80/z80n_unsup_regs.d: Likewise.
790
66d1f7cc
AV
7912020-03-13 Andre Vieira <andre.simoesdiasvieira@arm.com>
792
793 PR 25660
794 * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ.
795 (parse_operands): Handle new operand codes.
796 (do_neon_dyadic_long): Make shape check accept the scalar variants.
797 (asm_opcode_insns): Fix operand codes for vaddl and vsubl.
798 * testsuite/gas/arm/mve-vaddsub-it.s: New test.
799 * testsuite/gas/arm/mve-vaddsub-it.d: New test.
800 * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test.
801 * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test.
802 * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test.
803 * testsuite/gas/arm/nomve-vaddsub-it.d: New test.
804
9e8f1c90
L
8052020-03-11 H.J. Lu <hongjiu.lu@intel.com>
806
807 * NEWS: Mention x86 assembler options for CVE-2020-0551.
808
97b4a8f7
L
8092020-03-11 H.J. Lu <hongjiu.lu@intel.com>
810
811 * testsuite/gas/i386/i386.exp: Run new tests.
812 * testsuite/gas/i386/lfence-byte.d: New file.
813 * testsuite/gas/i386/lfence-byte.e: Likewise.
814 * testsuite/gas/i386/lfence-byte.s: Likewise.
815 * testsuite/gas/i386/lfence-indbr-a.d: Likewise.
816 * testsuite/gas/i386/lfence-indbr-b.d: Likewise.
817 * testsuite/gas/i386/lfence-indbr-c.d: Likewise.
818 * testsuite/gas/i386/lfence-indbr.e: Likewise.
819 * testsuite/gas/i386/lfence-indbr.s: Likewise.
820 * testsuite/gas/i386/lfence-load.d: Likewise.
821 * testsuite/gas/i386/lfence-load.s: Likewise.
822 * testsuite/gas/i386/lfence-ret-a.d: Likewise.
823 * testsuite/gas/i386/lfence-ret-b.d: Likewise.
824 * testsuite/gas/i386/lfence-ret.s: Likewise.
825 * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise.
826 * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise.
827 * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise.
828 * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise.
829 * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise.
830 * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise.
831 * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise.
832 * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise.
833 * testsuite/gas/i386/x86-64-lfence-load.d: Likewise.
834 * testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
835 * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise.
836 * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise.
837
ae531041
L
8382020-03-11 H.J. Lu <hongjiu.lu@intel.com>
839
840 * config/tc-i386.c (lfence_after_load): New.
841 (lfence_before_indirect_branch_kind): New.
842 (lfence_before_indirect_branch): New.
843 (lfence_before_ret_kind): New.
844 (lfence_before_ret): New.
845 (last_insn): New.
846 (load_insn_p): New.
847 (insert_lfence_after): New.
848 (insert_lfence_before): New.
849 (md_assemble): Call insert_lfence_before and insert_lfence_after.
850 Set last_insn.
851 (OPTION_MLFENCE_AFTER_LOAD): New.
852 (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New.
853 (OPTION_MLFENCE_BEFORE_RET): New.
854 (md_longopts): Add -mlfence-after-load=,
855 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
856 (md_parse_option): Handle -mlfence-after-load=,
857 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
858 (md_show_usage): Display -mlfence-after-load=,
859 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
860 (i386_cons_align): New.
861 * config/tc-i386.h (i386_cons_align): New.
862 (md_cons_align): New.
863 * doc/c-i386.texi: Document -mlfence-after-load=,
864 -mlfence-before-indirect-branch= and -mlfence-before-ret=.
865
5496f3c6
NC
8662020-03-11 Nick Clifton <nickc@redhat.com>
867
868 PR 25611
869 PR 25614
870 * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1.
871 (DWARF2_FILE_SIZE_NAME): Default to -1.
872 (DWARF2_LINE_VERSION): Default to the current dwarf level or 3,
873 whichever is higher.
874 (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1.
875 (NUM_MD5_BYTES): Define.
876 (struct file entry): Add md5 field.
877 (get_filenum): Delete and replace with...
878 (get_basename): New function.
879 (get_directory_table_entry): New function.
880 (allocate_filenum): New function.
881 (allocate_filename_to_slot): New function.
882 (dwarf2_where): Use new functions.
883 (dwarf2_directive_filename): Add support for extended .file
884 pseudo-op.
885 (dwarf2_directive_loc): Allow the use of file number zero with
886 DWARF 5 or higher.
887 (out_file_list): Rename to...
888 (out_dir_and_file_list): Add DWARF 5 support.
889 (out_debug_line): Emit extra values into the section header for
890 DWARF 5.
891 (out_debug_str): Allow for file 0 to be used with DWARF 5.
892 * doc/as.texi (.file): Update the description of this pseudo-op.
893 * testsuite/gas/elf-dwarf-5-file0.s: Add more lines.
894 * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output.
895 * testsuite/gas/lns/lns-diag-1.l: Update expected error message.
896 * NEWS: Mention the new feature.
897
a6a1f5e0
AM
8982020-03-10 Alan Modra <amodra@gmail.com>
899
900 * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
901 to avoid signed overflow.
902 * config/tc-mcore.c (md_assemble): Likewise.
903 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
904 * config/tc-nds32.c (SET_ADDEND): Likewise.
905 * config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
906
3fabc179
JB
9072020-03-09 Jan Beulich <jbeulich@suse.com>
908
909 * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos.
910 * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d,
911 testsuite/gas/i386/avx-intel.d: Adjust expectations.
912
190e5fc8
AM
9132020-03-07 Alan Modra <amodra@gmail.com>
914
915 * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in
916 first column.
917
84d9ab33
NC
9182020-03-06 Nick Clifton <nickc@redhat.com>
919
920 PR 25614
921 * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
922 0 if the dwarf_level is 5 or more. Complain if a filename follows
923 a file 0.
924 * testsuite/gas/elf/dwarf-5-file0.s: New test.
925 * testsuite/gas/elf/dwarf-5-file0.d: New test driver.
926 * testsuite/gas/elf/elf.exp: Run the new test.
927
928 PR 25612
929 * config/tc-ia64.h (DWARF2_VERISION): Fix typo.
930 * doc/as.texi: Fix another typo.
931
31bf1864
NC
9322020-03-06 Nick Clifton <nickc@redhat.com>
933
934 PR 25612
935 * as.c (dwarf_level): Define.
936 (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
937 (parse_args): Add support for the new options.
938 as.h (dwarf_level): Prototype.
939 * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
940 value.
941 * config/tc-ia64.h (DWARF2_VERISION): Update definition.
942 (DWARF2_LINE_VERSION): Remove definition.
943 * doc/as.texi: Document the new options.
944
3c968de5
NC
9452020-03-06 Nick Clifton <nickc@redhat.com>
946
947 PR 25572
948 * as.c (main): Allow matching input and outputs when they are
949 not regular files.
950
bc49bfd8
JB
9512020-03-06 Jan Beulich <jbeulich@suse.com>
952
953 * config/tc-i386.c (match_mem_size): Generalize broadcast special
954 casing.
955 (check_VecOperands): Zap xmmword/ymmword/zmmword when more than
956 one of byte/word/dword/qword is set alongside a SIMD register in
957 a template's operand.
958
4873e243
JB
9592020-03-06 Jan Beulich <jbeulich@suse.com>
960
961 * config/tc-i386.c (match_template): Extend code in logic
962 rejecting certain suffixes in certain modes to also cover mask
963 register use and VecSIB. Drop special casing of broadcast. Skip
964 immediates in the check.
965
e365e234
JB
9662020-03-06 Jan Beulich <jbeulich@suse.com>
967
968 * config/tc-i386.c (match_template): Fold duplicate code in
969 logic rejecting certain suffixes in certain modes. Drop
970 pointless "else".
971
4ed21b58
JB
9722020-03-06 Jan Beulich <jbeulich@suse.com>
973
974 * config/tc-i386.c (process_suffix): Exlucde !vexw insns
975 alongside !norex64 ones.
976 * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR*
977 with both 32- and 64-bit GPR operands.
978 * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both
979 32- and 64-bit GPR operands.
980 * testsuite/gas/i386/x86-64-avx512bw-intel.d,
981 testsuite/gas/i386/x86-64-avx512bw.d,
982 testsuite/gas/i386/x86-64-avx512f-intel.d,
983 testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations.
984
643bb870
JB
9852020-03-06 Jan Beulich <jbeulich@suse.com>
986
987 * config/tc-i386.c (md_assemble): Drop use of rex64.
988 (process_suffix): For REX.W for 64-bit CRC32.
989
a23b33b3
JB
9902020-03-06 Jan Beulich <jbeulich@suse.com>
991
992 * config/tc-i386.c (i386_addressing_mode): For 32-bit
993 addressing for MPX insns without base/index.
994 * testsuite/gas/i386/mpx-16bit.s,
995 * testsuite/gas/i386/mpx-16bit.d: New.
996 * testsuite/gas/i386/i386.exp: Run new test.
997
a0497384
JB
9982020-03-06 Jan Beulich <jbeulich@suse.com>
999
1000 * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s,
1001 testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s,
1002 testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s,
1003 testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s,
1004 * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases
1005 as well as a BSWAP one.
1006 * testsuite/gas/i386/rdpid.s: Add 16-bit case.
1007 * testsuite/gas/i386/sse2-16bit.s: Cover more insns.
1008 * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d,
1009 testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
1010 testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d,
1011 testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d,
1012 testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d,
1013 testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d,
1014 testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d,
1015 testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d,
1016 testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d,
1017 testsuite/gas/i386/vmx.d: Adjust expectations.
1018
b630c145
JB
10192020-03-06 Jan Beulich <jbeulich@suse.com>
1020
1021 * config/tc-i386.c (md_assemble): Also exclude tpause and umwait
1022 from having their operands swapped.
1023 * testsuite/gas/i386/waitpkg.s,
1024 testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait
1025 3-operand cases as well as testing of 16-bit code generation.
1026 * testsuite/gas/i386/waitpkg.d,
1027 testsuite/gas/i386/waitpkg-intel.d,
1028 testsuite/gas/i386/x86-64-waitpkg.d,
1029 testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations.
1030
de48783e
NC
10312020-03-04 Nelson Chu <nelson.chu@sifive.com>
1032
dee35d02
NC
1033 * config/tc-riscv.c (percent_op_utype): Support the modifier
1034 %got_pcrel_hi.
1035 * doc/c-riscv.texi: Add documentation.
1036 * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
1037 modifier %got_pcrel_hi.
1038 * testsuite/gas/riscv/no-relax-reloc.s: Likewise.
1039 * testsuite/gas/riscv/relax-reloc.d: Likewise.
1040 * testsuite/gas/riscv/relax-reloc.s: Likewise.
1041
de48783e
NC
1042 * doc/c-riscv.texi (relocation modifiers): Add documentation.
1043 (RISC-V-Formats): Update the section name from "Instruction Formats"
1044 to "RISC-V Instruction Formats".
1045
749479c8
AO
10462020-03-04 Alexandre Oliva <oliva@adacore.com>
1047
1048 * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is
1049 detected in a section which does not have at least 4 byte
1050 alignment.
1051 * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive.
1052 * testsuite/gas/arm/ldr-t.s: Likewise.
1053 * testsuite/gas/arm/sp-pc-usage-t.s: Likewise.
1054 * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of
1055 disassembly, ignoring any NOPs that may have been inserted because
1056 of section alignment.
1057 * testsuite/gas/arm/ldr-t.d: Likewise.
1058
a847e322
JB
10592020-03-04 Jan Beulich <jbeulich@suse.com>
1060
1061 * config/tc-i386.c (cpu_arch): Add .sev_es entry.
1062 * doc/c-i386.texi: Mention sev_es.
1063 * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
1064 * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
1065 expectations.
1066 * testsuite/gas/i386/arch-13-znver1.d,
1067 testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
1068
3cd7f3e3
L
10692020-03-03 H.J. Lu <hongjiu.lu@intel.com>
1070
1071 * config/tc-i386.c (match_template): Replace ignoresize and
1072 defaultsize with mnemonicsize.
1073 (process_suffix): Likewise.
1074
b8ba1385
SB
10752020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
1076
1077 PR 25627
1078 * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of
1079 instruction LD IY,(HL).
1080 * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly.
1081 * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction.
1082 * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly.
1083 * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction.
1084
10d97a0f
L
10852020-03-03 H.J. Lu <hongjiu.lu@intel.com>
1086
1087 PR gas/25622
1088 * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
1089 x86-64-default-suffix-avx.
1090 * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
1091 vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
1092 * testsuite/gas/i386/noreg64.d: Updated.
1093 * testsuite/gas/i386/noreg64.l: Likewise.
1094 * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
1095 * testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
1096 * testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
1097
8326546e
SB
10982020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
1099
1100 PR 25604
1101 * config/tc-z80.c (contains_register): Prevent an illegal memory
1102 access when checking an expression for a register name.
1103
e3e896e6
AM
11042020-03-03 Alan Modra <amodra@gmail.com>
1105
1106 * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips
1107 support.
1108
a4dd6c97
AM
11092020-03-02 Alan Modra <amodra@gmail.com>
1110
1111 * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section.
1112 * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata
1113 and .sbss sections.
1114 * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout.
1115 (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section.
1116 (s3_s_score_lcomm): Likewise.
1117 * config/tc-score7.c: Similarly.
1118 * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section.
1119
dec7b24b
YS
11202020-02-28 YunQiang Su <syq@debian.org>
1121
1122 PR gas/25539
1123 * config/tc-mips.c (fix_loongson3_llsc): Compare label value
1124 to handle multi-labels.
1125 (has_label_name): New.
1126
cceb53b8
MM
11272020-02-26 Matthew Malcomson <matthew.malcomson@arm.com>
1128
1129 * config/tc-arm.c (enum pred_instruction_type): Remove
1130 NEUTRAL_IT_NO_VPT_INSN predication type.
1131 (cxn_handle_predication): Modify to require condition suffixes.
1132 (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases.
1133 * testsuite/gas/arm/cde-scalar.s: Update test.
1134 * testsuite/gas/arm/cde-warnings.l: Update test.
1135 * testsuite/gas/arm/cde-warnings.s: Update test.
1136
da3ec71f
AM
11372020-02-26 Alan Modra <amodra@gmail.com>
1138
1139 * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
1140 N_() on empty string.
1141
42135cad
AM
11422020-02-26 Alan Modra <amodra@gmail.com>
1143
1144 * read.c (read_a_source_file): Call strncpy with length one
1145 less than size of original_case_string.
1146
dc1e8a47
AM
11472020-02-26 Alan Modra <amodra@gmail.com>
1148
1149 * config/obj-elf.c: Indent labels correctly.
1150 * config/obj-macho.c: Likewise.
1151 * config/tc-aarch64.c: Likewise.
1152 * config/tc-alpha.c: Likewise.
1153 * config/tc-arm.c: Likewise.
1154 * config/tc-cr16.c: Likewise.
1155 * config/tc-crx.c: Likewise.
1156 * config/tc-frv.c: Likewise.
1157 * config/tc-i386-intel.c: Likewise.
1158 * config/tc-i386.c: Likewise.
1159 * config/tc-ia64.c: Likewise.
1160 * config/tc-mn10200.c: Likewise.
1161 * config/tc-mn10300.c: Likewise.
1162 * config/tc-nds32.c: Likewise.
1163 * config/tc-riscv.c: Likewise.
1164 * config/tc-s12z.c: Likewise.
1165 * config/tc-xtensa.c: Likewise.
1166 * config/tc-z80.c: Likewise.
1167 * read.c: Likewise.
1168 * symbols.c: Likewise.
1169 * write.c: Likewise.
1170
bd0cf5a6
NC
11712020-02-20 Nelson Chu <nelson.chu@sifive.com>
1172
54b2aec1
NC
1173 * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
1174 we are assembling instruction with CSR. Call riscv_csr_read_only_check
1175 after parsing all arguments.
1176 (enum csr_insn_type): New enum is used to classify the CSR instruction.
1177 (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These
1178 are used to check if we write a read-only CSR by the CSR instruction.
1179 * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test
1180 all CSR for the read-only CSR checking.
1181 * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
1182 * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
1183 * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test
1184 all CSR instructions for the read-only CSR checking.
1185 * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
1186 * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
1187
2ca89224
NC
1188 * config/tc-riscv.c (struct riscv_set_options): New field csr_check.
1189 (riscv_opts): Initialize it.
1190 (reg_lookup_internal): Check the `riscv_opts.csr_check`
1191 before doing the CSR checking.
1192 (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK.
1193 (md_longopts): Add mcsr-check and mno-csr-check.
1194 (md_parse_option): Handle new enum option values.
1195 (s_riscv_option): Handle new long options.
1196 * doc/c-riscv.texi: Add description for the new .option and assembler
1197 options.
1198 * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable
1199 the CSR checking.
1200 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
1201
bd0cf5a6
NC
1202 * config/tc-riscv.c (csr_extra_hash): New.
1203 (enum riscv_csr_class): New enum. Used to decide
1204 whether or not this CSR is legal in the current ISA string.
1205 (struct riscv_csr_extra): New structure to hold all extra information
1206 of CSR.
1207 (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
1208 DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
1209 Call hash_reg_name to insert CSR address into reg_names_hash.
1210 (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
1211 Decide whether the CSR is valid according to the csr_extra_hash.
1212 (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
1213 (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
1214 not a boolean. This is same as riscv_init_csr_hash, so keep the
1215 consistent usage.
1216 (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
1217 * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
1218 * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
1219 * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
1220 file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
1221 f-ext CSR are not allowed.
1222 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
1223 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
1224 source file is `priv-reg.s`, and the ISA is rv64if, so the
1225 rv32-only CSR are not allowed.
1226 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
1227
10a95fcc
AM
12282020-02-21 Alan Modra <amodra@gmail.com>
1229
1230 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
1231 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
1232
dda2980f
AM
12332020-02-21 Alan Modra <amodra@gmail.com>
1234
1235 PR 25569
1236 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
1237 on section size adjustment, instead perform another write if
1238 exec header size is larger than section size.
1239
bd3380bc
NC
12402020-02-19 Nelson Chu <nelson.chu@sifive.com>
1241
1242 * doc/c-riscv.texi: Add the doc entries for -march-attr/
1243 -mno-arch-attr command line options.
1244
fa164239
JW
12452020-02-19 Nelson Chu <nelson.chu@sifive.com>
1246
1247 * testsuite/gas/riscv/c-add-addi.d: New testcase.
1248 * testsuite/gas/riscv/c-add-addi.s: Likewise.
1249
fcaaac0a
SB
12502020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
1251
1252 PR 25576
1253 * config/tc-z80.c (md_parse_option): Do not use an underscore
1254 prefix for local labels in SDCC compatability mode.
1255 (z80_start_line_hook): Remove SDCC dollar label support.
1256 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
1257 * testsuite/gas/z80/sdcc.s: Likewise.
1258
12592020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
1260
1261 PR 25517
1262 * config/tc-z80.c: Add -march option.
1263 * doc/as.texi: Update Z80 documentation.
1264 * doc/c-z80.texi: Likewise.
1265 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
1266 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
1267 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
1268 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
1269 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
1270 * testsuite/gas/z80/gbz80_all.d: Likewise.
1271 * testsuite/gas/z80/r800_extra.d: Likewise.
1272 * testsuite/gas/z80/r800_ii8.d: Likewise.
1273 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
1274 * testsuite/gas/z80/sdcc.d: Likewise.
1275 * testsuite/gas/z80/z180.d: Likewise.
1276 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
1277 * testsuite/gas/z80/z80_doc.d: Likewise.
1278 * testsuite/gas/z80/z80_ii8.d: Likewise.
1279 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
1280 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
1281 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
1282 * testsuite/gas/z80/z80_sli.d: Likewise.
1283 * testsuite/gas/z80/z80n_all.d: Likewise.
1284 * testsuite/gas/z80/z80n_reloc.d: Likewise.
1285
a7e12755
L
12862020-02-19 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
1289 with GNU_PROPERTY_X86_FEATURE_2_MMX.
1290 * testsuite/gas/i386/i386.exp: Run property-3 and
1291 x86-64-property-3.
1292 * testsuite/gas/i386/property-3.d: New file.
1293 * testsuite/gas/i386/property-3.s: Likewise.
1294 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
1295
272a84b1
L
12962020-02-17 H.J. Lu <hongjiu.lu@intel.com>
1297
1298 * config/tc-i386.c (cpu_arch): Add .popcnt.
1299 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
1300 Add a tab before @samp{.sse4a}.
1301
c8f8eebc
JB
13022020-02-17 Jan Beulich <jbeulich@suse.com>
1303
1304 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
1305 for AddrPrefixOpReg templates. Combine the two pieces of
1306 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
1307 mode.
1308
eedb0f2c
JB
13092020-02-17 Jan Beulich <jbeulich@suse.com>
1310
1311 PR gas/14439
1312 * config/tc-i386.c (md_assemble): Also suppress operand
1313 swapping for MONITOR{,X} and MWAIT{,X}.
1314 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
1315 Add Intel syntax monitor/mwait tests.
1316 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
1317 Adjust expectations.
1318 *testsuite/gas/i386/sse3-intel.d,
1319 testsuite/gas/i386/x86-64-sse3-intel.d: New.
1320 * testsuite/gas/i386/i386.exp: Run new tests.
1321
b9915cbc
JB
13222020-02-17 Jan Beulich <jbeulich@suse.com>
1323
1324 PR gas/6518
1325 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
1326 [XYZ]MMWord memory operand ambiguity recognition logic (largely
1327 re-indentation).
1328 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
1329 cases.
1330 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
1331 * testsuite/gas/i386/avx512dq-inval.l,
1332 testsuite/gas/i386/inval-avx.l,
1333 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
1334 * testsuite/gas/i386/avx512vl-ambig.s,
1335 testsuite/gas/i386/avx512vl-ambig.l: New.
1336 * testsuite/gas/i386/i386.exp: Run new test.
1337
af5c13b0
L
13382020-02-16 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
1341 nosse4.
1342 * doc/c-i386.texi: Document sse4a and nosse4a.
1343
07d98387
L
13442020-02-14 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 * doc/c-i386.texi: Remove the old movsx and movzx documentation
1347 for AT&T syntax.
1348
65fca059
JB
13492020-02-14 Jan Beulich <jbeulich@suse.com>
1350
1351 PR gas/25438
1352 * config/tc-i386.c (md_assemble): Move movsx/movzx special
1353 casing ...
1354 (process_suffix): ... here. Consider just the first operand
1355 initially.
1356 (check_long_reg): Drop opcode 0x63 special case again.
1357 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
1358 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
1359 Move ambiguous operand size tests ...
1360 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
1361 testsuite/gas/i386/noreg64.s: ... here.
1362 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
1363 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
1364 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
1365 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
1366 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
1367 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
1368 testsuite/gas/i386/x86-64-movsxd.d,
1369 testsuite/gas/i386/x86-64-movsxd-intel.d,
1370 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
1371 Adjust expectations.
1372 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
1373 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
1374 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
1375 * testsuite/gas/i386/i386.exp: Run new tests.
1376
b6773884
JB
13772020-02-14 Jan Beulich <jbeulich@suse.com>
1378
1379 * config/tc-i386.c (process_operands): Also skip segment
1380 override prefix emission if it matches an already present one.
1381 * testsuite/gas/i386/prefix32.s: Add double segment override
1382 cases.
1383 * testsuite/gas/i386/prefix32.l: Adjust expectations.
1384
92334ad2
JB
13852020-02-14 Jan Beulich <jbeulich@suse.com>
1386
1387 * config/tc-i386.c (process_operands): Drop ineffectual segment
1388 overrides when optimizing.
1389 * testsuite/gas/i386/lea-optimize.d: New.
1390 * testsuite/gas/i386/i386.exp: Run new test.
1391
13922020-02-14 Jan Beulich <jbeulich@suse.com>
514a8bb0
JB
1393
1394 * config/tc-i386.c (process_operands): Also check insn prefix
1395 for ineffectual segment override warning. Don't cover possible
1396 VEX/EVEX encoded insns there.
1397 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
1398 testsuite/gas/i386/lea.e: New.
1399 * testsuite/gas/i386/i386.exp: Run new test.
1400
0e6724de
L
14012020-02-14 H.J. Lu <hongjiu.lu@intel.com>
1402
1403 PR gas/25438
1404 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
1405 syntax.
1406
292676c1
L
14072020-02-13 Fangrui Song <maskray@google.com>
1408 H.J. Lu <hongjiu.lu@intel.com>
1409
1410 PR gas/25551
1411 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
1412 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
1413 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
1414 * testsuite/gas/i386/relax-5.d: New file.
1415 * testsuite/gas/i386/relax-5.s: Likewise.
1416 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
1417 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
1418
7deea9aa
JB
14192020-02-13 Jan Beulich <jbeulich@suse.com>
1420
1421 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
1422 "nosse4" entry.
1423
6c0946d0
JB
14242020-02-12 Jan Beulich <jbeulich@suse.com>
1425
1426 * config/tc-i386.c (avx512): New (at file scope), moved from
1427 (check_VecOperands): ... here.
1428 (process_suffix): Add [XYZ]MMword operand size handling.
1429 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
1430 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
1431 tests.
1432 * testsuite/gas/i386/avx512dq-inval.l,
1433 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
1434
5990e377
JB
14352020-02-12 Jan Beulich <jbeulich@suse.com>
1436
1437 PR gas/24546
1438 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
1439 code only.
1440 * config/tc-i386-intel.c (i386_intel_operand): Also handle
1441 CALL/JMP in O_tbyte_ptr case.
1442 * doc/c-i386.texi: Mention far call and full pointer load ISA
1443 differences.
1444 * testsuite/gas/i386/x86-64-branch-3.s,
1445 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
1446 * testsuite/gas/i386/x86-64-branch-3.d,
1447 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
1448 * testsuite/gas/i386/x86-64-branch-5.l,
1449 testsuite/gas/i386/x86-64-branch-5.s: New.
1450 * testsuite/gas/i386/i386.exp: Run new test.
1451
9706160a
JB
14522020-02-12 Jan Beulich <jbeulich@suse.com>
1453
1454 PR gas/25438
1455 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
1456 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
1457 64-bit-only warning.
1458 (check_word_reg): Consistently error on mismatching register
1459 size and suffix.
1460 * testsuite/gas/i386/general.s: Replace dword GPR with word one
1461 for movw. Replace suffix / GPR for orb.
1462 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
1463 byte GPRs as well as ones for inb/outb with a word accumulator.
1464 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
1465 testsuite/gas/i386/inval.l: Adjust expectations.
1466
5de4d9ef
JB
14672020-02-12 Jan Beulich <jbeulich@suse.com>
1468
1469 * config/tc-i386.c (operand_type_register_match): Also fall
1470 through initial two if()-s when the template allows for a GPR
1471 operand. Adjust comment.
1472
50128d0c
JB
14732020-02-11 Jan Beulich <jbeulich@suse.com>
1474
1475 (struct _i386_insn): New field "short_form".
1476 (optimize_encoding): Drop setting of shortform field.
1477 (process_suffix): Set i.short_form. Replace shortform use.
1478 (process_operands): Replace shortform use.
1479
1ed818b4
MM
14802020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
1481
1482 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
1483 loop initial declaration.
1484
5aae9ae9
MM
14852020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
1486
1487 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
1488 instructions that can have 5 arguments.
1489 (enum operand_parse_code): Add new operands.
1490 (parse_operands): Account for new operands.
1491 (S5): New macro.
1492 (enum neon_shape_el): Introduce P suffixes for coprocessor.
1493 (neon_select_shape): Account for P suffix.
1494 (LOW1): Move macro to global position.
1495 (HI4): Move macro to global position.
1496 (vcx_assign_vec_d): New.
1497 (vcx_assign_vec_m): New.
1498 (vcx_assign_vec_n): New.
1499 (enum vcx_reg_type): New.
1500 (vcx_get_reg_type): New.
1501 (vcx_size_pos): New.
1502 (vcx_vec_pos): New.
1503 (vcx_handle_shape): New.
1504 (vcx_ensure_register_in_range): New.
1505 (vcx_handle_register_arguments): New.
1506 (vcx_handle_insn_block): New.
1507 (vcx_handle_common_checks): New.
1508 (do_vcx1): New.
1509 (do_vcx2): New.
1510 (do_vcx3): New.
1511 * testsuite/gas/arm/cde-missing-fp.d: New test.
1512 * testsuite/gas/arm/cde-missing-fp.l: New test.
1513 * testsuite/gas/arm/cde-missing-mve.d: New test.
1514 * testsuite/gas/arm/cde-missing-mve.l: New test.
1515 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
1516 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
1517 * testsuite/gas/arm/cde-mve.s: New test.
1518 * testsuite/gas/arm/cde-warnings.l:
1519 * testsuite/gas/arm/cde-warnings.s:
1520 * testsuite/gas/arm/cde.d:
1521 * testsuite/gas/arm/cde.s:
1522
4934a27c
MM
15232020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
1524 Matthew Malcomson <matthew.malcomson@arm.com>
1525
1526 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
1527 CDE coprocessor that can be enabled.
1528 (enum pred_instruction_type): New pred type.
1529 (BAD_NO_VPT): New error message.
1530 (BAD_CDE): New error message.
1531 (BAD_CDE_COPROC): New error message.
1532 (enum operand_parse_code): Add new immediate operands.
1533 (parse_operands): Account for new immediate operands.
1534 (check_cde_operand): New.
1535 (cde_coproc_enabled): New.
1536 (cde_coproc_pos): New.
1537 (cde_handle_coproc): New.
1538 (cxn_handle_predication): New.
1539 (do_custom_instruction_1): New.
1540 (do_custom_instruction_2): New.
1541 (do_custom_instruction_3): New.
1542 (do_cx1): New.
1543 (do_cx1a): New.
1544 (do_cx1d): New.
1545 (do_cx1da): New.
1546 (do_cx2): New.
1547 (do_cx2a): New.
1548 (do_cx2d): New.
1549 (do_cx2da): New.
1550 (do_cx3): New.
1551 (do_cx3a): New.
1552 (do_cx3d): New.
1553 (do_cx3da): New.
1554 (handle_pred_state): Define new IT block behaviour.
1555 (insns): Add newn CX*{,d}{,a} instructions.
1556 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
1557 Define new cdecp extension strings.
1558 * doc/c-arm.texi: Document new cdecp extension arguments.
1559 * testsuite/gas/arm/cde-scalar.d: New test.
1560 * testsuite/gas/arm/cde-scalar.s: New test.
1561 * testsuite/gas/arm/cde-warnings.d: New test.
1562 * testsuite/gas/arm/cde-warnings.l: New test.
1563 * testsuite/gas/arm/cde-warnings.s: New test.
1564 * testsuite/gas/arm/cde.d: New test.
1565 * testsuite/gas/arm/cde.s: New test.
1566
4b5aaf5f
L
15672020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 PR gas/25516
1570 * config/tc-i386.c (intel64): Renamed to ...
1571 (isa64): This.
1572 (match_template): Accept Intel64 only instruction by default.
1573 (i386_displacement): Updated.
1574 (md_parse_option): Updated.
1575 * c-i386.texi: Update -mamd64/-mintel64 documentation.
1576 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
1577 -mamd64 to x86-64-sysenter-amd.
1578 * testsuite/gas/i386/x86-64-sysenter.d: New file.
1579
33176d91
AM
15802020-02-10 Alan Modra <amodra@gmail.com>
1581
1582 * config/obj-elf.c (obj_elf_change_section): Error for section
1583 type, attr or entsize changes in assembly.
1584 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
1585 * testsuite/gas/elf/section5.l: Update.
1586
82194874
AM
15872020-02-10 Alan Modra <amodra@gmail.com>
1588
1589 * output-file.c (output_file_close): Do a normal close when
1590 flag_always_generate_output.
1591 * write.c (write_object_file): Don't stop output when
1592 flag_always_generate_output.
1593
9fc0b501
SB
15942020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1595
1596 PR 25469
1597 * config/tc-z80.c: Add -gbz80 command line option to generate code
1598 for the GameBoy Z80. Add support for generating DWARF.
1599 * config/tc-z80.h: Add support for DWARF debug information
1600 generation.
1601 * doc/c-z80.texi: Document new command line option.
1602 * testsuite/gas/z80/gbz80_all.d: New file.
1603 * testsuite/gas/z80/gbz80_all.s: New file.
1604 * testsuite/gas/z80/z80.exp: Run the new tests.
1605 * testsuite/gas/z80/z80n_all.d: New file.
1606 * testsuite/gas/z80/z80n_all.s: New file.
1607 * testsuite/gas/z80/z80n_reloc.d: New file.
1608
b7d07216
L
16092020-02-06 H.J. Lu <hongjiu.lu@intel.com>
1610
1611 PR gas/25381
1612 * config/obj-elf.c (get_section): Also check
1613 linked_to_symbol_name.
1614 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
1615 (obj_elf_parse_section_letters): Handle the 'o' flag.
1616 (build_group_lists): Renamed to ...
1617 (build_additional_section_info): This. Set elf_linked_to_section
1618 from map_head.linked_to_symbol_name.
1619 (elf_adjust_symtab): Updated.
1620 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
1621 * doc/as.texi: Document the 'o' flag.
1622 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
1623 * testsuite/gas/elf/section18.d: New file.
1624 * testsuite/gas/elf/section18.s: Likewise.
1625 * testsuite/gas/elf/section19.d: Likewise.
1626 * testsuite/gas/elf/section19.s: Likewise.
1627 * testsuite/gas/elf/section20.d: Likewise.
1628 * testsuite/gas/elf/section20.s: Likewise.
1629 * testsuite/gas/elf/section21.d: Likewise.
1630 * testsuite/gas/elf/section21.l: Likewise.
1631 * testsuite/gas/elf/section21.s: Likewise.
1632
5eb617a7
L
16332020-02-06 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * NEWS: Mention x86 assembler options to align branches for
1636 binutils 2.34.
1637
986ac314
L
16382020-02-06 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
1641 only for ELF targets.
1642 * testsuite/gas/i386/unique.d: Don't xfail.
1643 * testsuite/gas/i386/x86-64-unique.d: Likewise.
1644
19234a6d
AM
16452020-02-06 Alan Modra <amodra@gmail.com>
1646
1647 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
1648 * testsuite/gas/i386/x86-64-unique.d: Likewise.
1649
02e0be69
AM
16502020-02-06 Alan Modra <amodra@gmail.com>
1651
1652 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
1653 xfail, and rename test.
1654 * testsuite/gas/elf/section12b.d: Likewise.
1655 * testsuite/gas/elf/section16a.d: Likewise.
1656 * testsuite/gas/elf/section16b.d: Likewise.
1657
a8c4d40b
L
16582020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 PR gas/25380
1661 * config/obj-elf.c (section_match): Removed.
1662 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
1663 section_id.
1664 (obj_elf_change_section): Replace info and group_name arguments
1665 with match_p. Also update the section ID and flags from match_p.
1666 (obj_elf_section): Handle "unique,N". Update call to
1667 obj_elf_change_section.
1668 * config/obj-elf.h (elf_section_match): New.
1669 (obj_elf_change_section): Updated.
1670 * config/tc-arm.c (start_unwind_section): Update call to
1671 obj_elf_change_section.
1672 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1673 * config/tc-microblaze.c (microblaze_s_data): Likewise.
1674 (microblaze_s_sdata): Likewise.
1675 (microblaze_s_rdata): Likewise.
1676 (microblaze_s_bss): Likewise.
1677 * config/tc-mips.c (s_change_section): Likewise.
1678 * config/tc-msp430.c (msp430_profiler): Likewise.
1679 * config/tc-rx.c (parse_rx_section): Likewise.
1680 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
1681 * doc/as.texi: Document "unique,N" in .section directive.
1682 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
1683 * testsuite/gas/elf/section15.d: New file.
1684 * testsuite/gas/elf/section15.s: Likewise.
1685 * testsuite/gas/elf/section16.s: Likewise.
1686 * testsuite/gas/elf/section16a.d: Likewise.
1687 * testsuite/gas/elf/section16b.d: Likewise.
1688 * testsuite/gas/elf/section17.d: Likewise.
1689 * testsuite/gas/elf/section17.l: Likewise.
1690 * testsuite/gas/elf/section17.s: Likewise.
1691 * testsuite/gas/i386/unique.d: Likewise.
1692 * testsuite/gas/i386/unique.s: Likewise.
1693 * testsuite/gas/i386/x86-64-unique.d: Likewise.
1694 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
1695
575d37ae
L
16962020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1697
1698 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
1699
2384096c
G
17002020-02-01 Anthony Green <green@moxielogic.com>
1701
1702 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
1703
95441c43
SL
17042020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1705
1706 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
1707 %tls_ldo.
1708
d465d695
AV
17092020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
1710
1711 PR gas/25472
1712 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
1713 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
1714 +mve.
1715 * testsuite/gas/arm/mve_dsp.d: New test.
1716
d26cc8a9
NC
17172020-01-31 Nick Clifton <nickc@redhat.com>
1718
1719 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
1720 rather than BFD_RELOC_NONE.
1721
90e9955a
SP
17222020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1723
1724 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
1725 to support VLDMIA instruction for MVE.
1726 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
1727 instruction for MVE.
1728 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
1729 instruction for MVE.
1730 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
1731 instruction for MVE.
1732 * testsuite/gas/arm/mve-ldst.d: New test.
1733 * testsuite/gas/arm/mve-ldst.s: Likewise.
1734
53943f32
NC
17352020-01-31 Nick Clifton <nickc@redhat.com>
1736
1737 * po/fr.po: Updated French translation.
1738 * po/ru.po: Updated Russian translation.
1739
c3036ed0
RS
17402020-01-31 Richard Sandiford <richard.sandiford@arm.com>
1741
1742 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
1743 .s for the movprfx.
1744 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
1745 * testsuite/gas/aarch64/sve-movprfx_28.d,
1746 * testsuite/gas/aarch64/sve-movprfx_28.l,
1747 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
1748
2ae4c703
JB
17492020-01-30 Jan Beulich <jbeulich@suse.com>
1750
1751 * config/tc-i386.c (output_disp): Tighten base_opcode check.
1752 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
1753 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
1754 Adjust expectations.
1755
bd434cc4
JM
17562020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
1757
1758 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
1759 * testsuite/gas/bpf/alu-be.d: Likewise.
1760 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
1761 * testsuite/gas/bpf/alu32-be.d: Likewise.
1762
aeab2b26
JB
17632020-01-30 Jan Beulich <jbeulich@suse.com>
1764
1765 * testsuite/gas/i386/x86-64-branch-2.s,
1766 testsuite/gas/i386/x86-64-branch-4.s,
1767 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
1768 * testsuite/gas/i386/ilp32/x86-64-branch.d,
1769 testsuite/gas/i386/x86-64-branch-2.d,
1770 testsuite/gas/i386/x86-64-branch-4.l,
1771 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
1772
873494c8
JB
17732020-01-30 Jan Beulich <jbeulich@suse.com>
1774
1775 * config/tc-i386.c (process_suffix): .
1776 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
1777 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
1778 Add LRETQ case.
1779 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
1780 suffix.
1781 testsuite/gas/i386/x86_64.s: Add RETF cases.
1782 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
1783 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
1784 testsuite/gas/i386/x86-64-opcode.d,
1785 testsuite/gas/i386/x86-64-suffix-intel.d,
1786 testsuite/gas/i386/x86-64-suffix.d,
1787 testsuite/gas/i386/x86_64-intel.d
1788 testsuite/gas/i386/x86_64.d: Adjust expectations.
1789 * testsuite/gas/i386/x86-64-suffix.e,
1790 testsuite/gas/i386/x86_64.e: New.
1791
62b3f548
JB
17922020-01-30 Jan Beulich <jbeulich@suse.com>
1793
1794 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
1795 special case.
1796
bc31405e
L
17972020-01-27 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 PR binutils/25445
1800 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
1801 movsxd.
1802 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
1803 differences. Document movslq and movsxd.
1804 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
1805 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
1806 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
1807 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
1808 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
1809 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
1810 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
1811 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
1812 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
1813 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
1814 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
1815
e3696f67
AM
18162020-01-27 Alan Modra <amodra@gmail.com>
1817
1818 * testsuite/gas/all/gas.exp: Replace case statements with switch
1819 statements.
1820 * testsuite/gas/elf/elf.exp: Likewise.
1821 * testsuite/gas/macros/macros.exp: Likewise.
1822 * testsuite/lib/gas-defs.exp: Likewise.
1823
7568c93b
TC
18242020-01-27 Tamar Christina <tamar.christina@arm.com>
1825
1826 PR 25403
1827 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
1828 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
1829
403d1bd9
JW
18302020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
1831
1832 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
1833 s exts must be known, so rename *ok* to *fail*.
1834 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
1835 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
1836 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
1837 above change.
1838 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
1839 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
1840
be4c5e58
L
18412020-01-22 H.J. Lu <hongjiu.lu@intel.com>
1842
1843 PR gas/25438
1844 * config/tc-i386.c (check_long_reg): Always disallow double word
1845 suffix in mnemonic with word general register.
1846 * testsuite/gas/i386/general.s: Replace word general register
1847 with double word general register for movl.
1848 * testsuite/gas/i386/inval.s: Add tests for movl with word general
1849 register.
1850 * testsuite/gas/i386/general.l: Updated.
1851 * testsuite/gas/i386/inval.l: Likewise.
1852
9e7028aa
AM
18532020-01-22 Alan Modra <amodra@gmail.com>
1854
1855 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
1856 __tls_get_addr_desc and __tls_get_addr_opt.
1857
e3ed17f3
JB
18582020-01-21 Jan Beulich <jbeulich@suse.com>
1859
1860 * testsuite/gas/i386/inval-crc32.s,
1861 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
1862 * testsuite/gas/i386/inval-crc32.l,
1863 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
1864
1a035124
JB
18652020-01-21 Jan Beulich <jbeulich@suse.com>
1866
1867 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
1868 generic code path. Deal with No_lSuf being set in a template.
1869 * testsuite/gas/i386/inval-crc32.l,
1870 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
1871 instead of error(s) when operand size is ambiguous.
1872 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
1873 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
1874 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
1875 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
1876 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
1877 Adjust expectations.
1878
c006a730
JB
18792020-01-21 Jan Beulich <jbeulich@suse.com>
1880
1881 * config/tc-i386.c (process_suffix): Drop SYSRET special case
1882 and an intel_syntax check. Re-write lack-of-suffix processing
1883 logic.
1884 * doc/c-i386.texi: Document operand size defaults for suffix-
1885 less AT&T syntax insns.
1886 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
1887 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
1888 testsuite/gas/i386/x86-64-avx-scalar.s,
1889 testsuite/gas/i386/x86-64-avx.s,
1890 testsuite/gas/i386/x86-64-bundle.s,
1891 testsuite/gas/i386/x86-64-intel64.s,
1892 testsuite/gas/i386/x86-64-lock-1.s,
1893 testsuite/gas/i386/x86-64-opcode.s,
1894 testsuite/gas/i386/x86-64-sse2avx.s,
1895 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
1896 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
1897 testsuite/gas/i386/x86-64-nops.s,
1898 testsuite/gas/i386/x86-64-ptwrite.s,
1899 testsuite/gas/i386/x86-64-simd.s,
1900 testsuite/gas/i386/x86-64-sse-noavx.s,
1901 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
1902 insns.
1903 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
1904 testsuite/gas/i386/noreg64.s: Add further tests.
1905 * testsuite/gas/i386/ilp32/x86-64-nops.d,
1906 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
1907 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
1908 testsuite/gas/i386/sse-noavx.d,
1909 testsuite/gas/i386/x86-64-intel64.d,
1910 testsuite/gas/i386/x86-64-nops.d,
1911 testsuite/gas/i386/x86-64-opcode.d,
1912 testsuite/gas/i386/x86-64-ptwrite-intel.d,
1913 testsuite/gas/i386/x86-64-ptwrite.d,
1914 testsuite/gas/i386/x86-64-simd-intel.d,
1915 testsuite/gas/i386/x86-64-simd-suffix.d,
1916 testsuite/gas/i386/x86-64-simd.d,
1917 testsuite/gas/i386/x86-64-sse-noavx.d
1918 testsuite/gas/i386/x86-64-suffix.d,
1919 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
1920 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
1921 testsuite/gas/i386/noreg64.l: New.
1922 * testsuite/gas/i386/i386.exp: Run new tests.
1923
c906a69a
JB
19242020-01-21 Jan Beulich <jbeulich@suse.com>
1925
1926 * testsuite/gas/i386/avx512_bf16_vl.s,
1927 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
1928 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
1929 broadcast forms of VCVTNEPS2BF16.
1930 * testsuite/gas/i386/avx512_bf16_vl.d,
1931 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
1932
26916852
NC
19332020-01-20 Nick Clifton <nickc@redhat.com>
1934
1935 * po/uk.po: Updated Ukranian translation.
1936
14470f07
L
19372020-01-20 H.J. Lu <hongjiu.lu@intel.com>
1938
1939 PR ld/25416
1940 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
1941 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
1942 x32 object.
1943 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
1944 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
1945 R_X86_64_GOTPC32_TLSDESC relocation.
1946
1b1bb2c6
NC
19472020-01-18 Nick Clifton <nickc@redhat.com>
1948
1949 * configure: Regenerate.
1950 * po/gas.pot: Regenerate.
1951
ae774686
NC
19522020-01-18 Nick Clifton <nickc@redhat.com>
1953
1954 Binutils 2.34 branch created.
1955
42e04b36
L
19562020-01-17 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
1959 with vex_encoding_vex.
1960 (parse_insn): Likewise.
1961 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
1962 and {vex3} documentation.
1963 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
1964 {vex}.
1965 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
1966
2da2eaf4
AV
19672020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1968
1969 PR 25376
1970 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
1971 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
1972 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
1973 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
1974 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
1975 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
1976
45a4bb20
JB
19772020-01-16 Jan Beulich <jbeulich@suse.com>
1978
1979 * config/tc-i386.c (match_template): Drop found_cpu_match local
1980 variable.
1981
4814632e
JB
19822020-01-16 Jan Beulich <jbeulich@suse.com>
1983
1984 * testsuite/gas/i386/avx512dq-inval.l,
1985 testsuite/gas/i386/avx512dq-inval.s: New.
1986 * testsuite/gas/i386/i386.exp: Run new test.
1987
131cb553
JL
19882020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1989
1990 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
1991 relocations when the target is 430X, except when extracting part of an
1992 expression.
1993 (msp430_srcoperand): Adjust comment.
1994 Initialize the expp member of the msp430_operand_s struct as
1995 appropriate.
1996 (msp430_dstoperand): Likewise.
1997 * testsuite/gas/msp430/msp430.exp: Run new test.
1998 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
1999 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
2000
c24d0e8d
AM
20012020-01-15 Alan Modra <amodra@gmail.com>
2002
2003 * configure.tgt: Add sparc-*-freebsd case.
2004
e44925ae
LC
20052020-01-14 Lili Cui <lili.cui@intel.com>
2006
2007 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
2008 * testsuite/gas/i386/align-branch-1b.d: Likewise.
2009 * testsuite/gas/i386/align-branch-1c.d: Likewise.
2010 * testsuite/gas/i386/align-branch-1d.d: Likewise.
2011 * testsuite/gas/i386/align-branch-1e.d: Likewise.
2012 * testsuite/gas/i386/align-branch-1f.d: Likewise.
2013 * testsuite/gas/i386/align-branch-1g.d: Likewise.
2014 * testsuite/gas/i386/align-branch-1h.d: Likewise.
2015 * testsuite/gas/i386/align-branch-1i.d: Likewise.
2016 * testsuite/gas/i386/align-branch-5.d: Likewise.
2017 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
2018 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
2019 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
2020 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
2021 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
2022 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
2023 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
2024 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
2025 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
2026 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
2027 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
2028 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
2029
7a6bf3be
SB
20302020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
2031
2032 PR 25377
2033 * config/tc-z80.c: Add support for half precision, single
2034 precision and double precision floating point values.
2035 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
2036 * doc/as.texi: Add new z80 command line options.
2037 * doc/c-z80.texi: Document new z80 command line options.
2038 * testsuite/gas/z80/ez80_pref_dis.s: New test.
2039 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
2040 * testsuite/gas/z80/z80.exp: Run the new test.
2041 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
2042 * testsuite/gas/z80/fp_zeda32.d: Likewise.
2043 * testsuite/gas/z80/strings.d: Update expected output.
2044
82e9597c
MM
20452020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
2046
2047 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
2048 dependency.
2049
5e4f7e05
CZ
20502020-01-13 Claudiu Zissulescu <claziss@gmail.com>
2051
2052 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
2053 the CPU.
2054 * config/tc-arc.h: Add header if/defs.
2055 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
2056
febda64f
AM
20572020-01-13 Alan Modra <amodra@gmail.com>
2058
2059 * testsuite/gas/wasm32/allinsn.d: Update expected output.
2060
5496abe1
AM
20612020-01-13 Alan Modra <amodra@gmail.com>
2062
2063 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
2064 insertion.
2065
ec4181f2
AM
20662020-01-10 Alan Modra <amodra@gmail.com>
2067
2068 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
2069 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
2070
40c75bc8
SB
20712020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
2072
2073 PR 25224
2074 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
2075 opcode byte values.
2076 (emit_ld_r_r): Likewise.
2077 (emit_ld_rr_m): Likewise.
2078 (emit_ld_rr_nn): Likewise.
2079
72aea328
JB
20802020-01-09 Jan Beulich <jbeulich@suse.com>
2081
2082 * config/tc-i386.c (optimize_encoding): Add
2083 is_any_vex_encoding() invocations. Drop respective
2084 i.tm.extension_opcode == None checks.
2085
3f93af61
JB
20862020-01-09 Jan Beulich <jbeulich@suse.com>
2087
2088 * config/tc-i386.c (md_assemble): Check RegRex is clear during
2089 REX transformations. Correct comment indentation.
2090
7697afb6
JB
20912020-01-09 Jan Beulich <jbeulich@suse.com>
2092
2093 * config/tc-i386.c (optimize_encoding): Generalize register
2094 transformation for TEST optimization.
2095
d835a58b
JB
20962020-01-09 Jan Beulich <jbeulich@suse.com>
2097
2098 * testsuite/gas/i386/x86-64-sysenter-amd.s,
2099 testsuite/gas/i386/x86-64-sysenter-amd.d,
2100 testsuite/gas/i386/x86-64-sysenter-amd.l,
2101 testsuite/gas/i386/x86-64-sysenter-intel.d,
2102 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
2103 * testsuite/gas/i386/i386.exp: Run new tests.
2104
915808f6
NC
21052020-01-08 Nick Clifton <nickc@redhat.com>
2106
2107 PR 25284
2108 * doc/as.texi (Align): Document the fact that all arguments can be
2109 omitted.
2110 (Balign): Likewise.
2111 (P2align): Likewise.
2112
f1f28025
NC
21132020-01-08 Nick Clifton <nickc@redhat.com>
2114
2115 PR 14891
2116 * config/obj-elf.c (obj_elf_section): Fail if the section name is
2117 already defined as a different symbol type.
2118 * testsuite/gas/elf/pr14891.s: New test source file.
2119 * testsuite/gas/elf/pr14891.d: New test driver.
2120 * testsuite/gas/elf/pr14891.s: New test expected error output.
2121 * testsuite/gas/elf/elf.exp: Run the new test.
2122
030a2e78
AM
21232020-01-08 Alan Modra <amodra@gmail.com>
2124
2125 * config/tc-z8k.c (md_begin): Make idx unsigned.
2126 (get_specific): Likewise for this_index.
2127
2a1ebfb2
CZ
21282020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
2129
2130 * onfig/tc-arc.c (parse_reloc_symbol): New function.
2131 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
2132 (md_operand): Set X_md to absent.
2133 (arc_parse_name): Check for X_md.
2134
16d87673
SB
21352020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
2136
2137 PR 25311
2138 * as.h (TC_STRING_ESCAPES): Provide a default definition.
2139 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
2140 NO_STRING_ESCAPES.
2141 * read.c (next_char_of_string): Likewise.
2142 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
2143 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
2144
a2322019
NC
21452020-01-03 Nick Clifton <nickc@redhat.com>
2146
2147 * po/sv.po: Updated Swedish translation.
2148
5437a02a
JB
21492020-01-03 Jan Beulich <jbeulich@suse.com>
2150
2151 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
2152 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
2153
567dfba2
JB
21542020-01-03 Jan Beulich <jbeulich@suse.com>
2155
2156 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
2157 by-element usdot. Add 64-bit form tests for by-element sudot.
2158 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
2159
8c45011a
JB
21602020-01-03 Jan Beulich <jbeulich@suse.com>
2161
2162 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
2163 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
2164
f4950f76
JB
21652020-01-03 Jan Beulich <jbeulich@suse.com>
2166
2167 * testsuite/gas/aarch64/f64mm.d,
2168 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
2169
6655dba2
SB
21702020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
2171
2172 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
2173 support for assembler code generated by SDCC. Add new relocation
2174 types. Add z80-elf target support.
2175 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
2176 labels. Local labels starts from ".L".
2177 * NEWS: Mention the new support.
2178 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
2179 * testsuite/gas/all/fwdexp.s: Likewise.
2180 * testsuite/gas/all/cond.l: Likewise.
2181 * testsuite/gas/all/cond.s: Likewise.
2182 * testsuite/gas/all/fwdexp.d: Likewise.
2183 * testsuite/gas/all/fwdexp.s: Likewise.
2184 * testsuite/gas/elf/section2.e-mips: Likewise.
2185 * testsuite/gas/elf/section2.l: Likewise.
2186 * testsuite/gas/elf/section2.s: Likewise.
2187 * testsuite/gas/macros/app1.d: Likewise.
2188 * testsuite/gas/macros/app1.s: Likewise.
2189 * testsuite/gas/macros/app2.d: Likewise.
2190 * testsuite/gas/macros/app2.s: Likewise.
2191 * testsuite/gas/macros/app3.d: Likewise.
2192 * testsuite/gas/macros/app3.s: Likewise.
2193 * testsuite/gas/macros/app4.d: Likewise.
2194 * testsuite/gas/macros/app4.s: Likewise.
2195 * testsuite/gas/macros/app4b.s: Likewise.
2196 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
2197 * testsuite/gas/z80/z80.exp: Add new tests
2198 * testsuite/gas/z80/dollar.d: New file.
2199 * testsuite/gas/z80/dollar.s: New file.
2200 * testsuite/gas/z80/ez80_adl_all.d: New file.
2201 * testsuite/gas/z80/ez80_adl_all.s: New file.
2202 * testsuite/gas/z80/ez80_adl_suf.d: New file.
2203 * testsuite/gas/z80/ez80_isuf.s: New file.
2204 * testsuite/gas/z80/ez80_z80_all.d: New file.
2205 * testsuite/gas/z80/ez80_z80_all.s: New file.
2206 * testsuite/gas/z80/ez80_z80_suf.d: New file.
2207 * testsuite/gas/z80/r800_extra.d: New file.
2208 * testsuite/gas/z80/r800_extra.s: New file.
2209 * testsuite/gas/z80/r800_ii8.d: New file.
2210 * testsuite/gas/z80/r800_z80_doc.d: New file.
2211 * testsuite/gas/z80/z180.d: New file.
2212 * testsuite/gas/z80/z180.s: New file.
2213 * testsuite/gas/z80/z180_z80_doc.d: New file.
2214 * testsuite/gas/z80/z80_doc.d: New file.
2215 * testsuite/gas/z80/z80_doc.s: New file.
2216 * testsuite/gas/z80/z80_ii8.d: New file.
2217 * testsuite/gas/z80/z80_ii8.s: New file.
2218 * testsuite/gas/z80/z80_in_f_c.d: New file.
2219 * testsuite/gas/z80/z80_in_f_c.s: New file.
2220 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
2221 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
2222 * testsuite/gas/z80/z80_out_c_0.d: New file.
2223 * testsuite/gas/z80/z80_out_c_0.s: New file.
2224 * testsuite/gas/z80/z80_reloc.d: New file.
2225 * testsuite/gas/z80/z80_reloc.s: New file.
2226 * testsuite/gas/z80/z80_sli.d: New file.
2227 * testsuite/gas/z80/z80_sli.s: New file.
2228
a65b5de6
SN
22292020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2230
2231 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
2232 REGLIST_RN.
2233
b14ce8bf
AM
22342020-01-01 Alan Modra <amodra@gmail.com>
2235
2236 Update year range in copyright notice of all files.
2237
0b114740 2238For older changes see ChangeLog-2019
3499769a 2239\f
0b114740 2240Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
2241
2242Copying and distribution of this file, with or without modification,
2243are permitted in any medium without royalty provided the copyright
2244notice and this notice are preserved.
2245
2246Local Variables:
2247mode: change-log
2248left-margin: 8
2249fill-column: 74
2250version-control: never
2251End:
This page took 0.51361 seconds and 4 git commands to generate.