]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
RISC-V: Support the ISA-dependent CSR checking.
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
bd0cf5a6
NC
12020-02-20 Nelson Chu <nelson.chu@sifive.com>
2
3 * config/tc-riscv.c (csr_extra_hash): New.
4 (enum riscv_csr_class): New enum. Used to decide
5 whether or not this CSR is legal in the current ISA string.
6 (struct riscv_csr_extra): New structure to hold all extra information
7 of CSR.
8 (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
9 DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
10 Call hash_reg_name to insert CSR address into reg_names_hash.
11 (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
12 Decide whether the CSR is valid according to the csr_extra_hash.
13 (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
14 (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
15 not a boolean. This is same as riscv_init_csr_hash, so keep the
16 consistent usage.
17 (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
18 * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
19 * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
20 * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
21 file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
22 f-ext CSR are not allowed.
23 * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
24 * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
25 source file is `priv-reg.s`, and the ISA is rv64if, so the
26 rv32-only CSR are not allowed.
27 * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
28
10a95fcc
AM
292020-02-21 Alan Modra <amodra@gmail.com>
30
31 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
32 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
33
dda2980f
AM
342020-02-21 Alan Modra <amodra@gmail.com>
35
36 PR 25569
37 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
38 on section size adjustment, instead perform another write if
39 exec header size is larger than section size.
40
bd3380bc
NC
412020-02-19 Nelson Chu <nelson.chu@sifive.com>
42
43 * doc/c-riscv.texi: Add the doc entries for -march-attr/
44 -mno-arch-attr command line options.
45
fa164239
JW
462020-02-19 Nelson Chu <nelson.chu@sifive.com>
47
48 * testsuite/gas/riscv/c-add-addi.d: New testcase.
49 * testsuite/gas/riscv/c-add-addi.s: Likewise.
50
fcaaac0a
SB
512020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
52
53 PR 25576
54 * config/tc-z80.c (md_parse_option): Do not use an underscore
55 prefix for local labels in SDCC compatability mode.
56 (z80_start_line_hook): Remove SDCC dollar label support.
57 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
58 * testsuite/gas/z80/sdcc.s: Likewise.
59
602020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
61
62 PR 25517
63 * config/tc-z80.c: Add -march option.
64 * doc/as.texi: Update Z80 documentation.
65 * doc/c-z80.texi: Likewise.
66 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
67 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
68 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
69 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
70 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
71 * testsuite/gas/z80/gbz80_all.d: Likewise.
72 * testsuite/gas/z80/r800_extra.d: Likewise.
73 * testsuite/gas/z80/r800_ii8.d: Likewise.
74 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
75 * testsuite/gas/z80/sdcc.d: Likewise.
76 * testsuite/gas/z80/z180.d: Likewise.
77 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
78 * testsuite/gas/z80/z80_doc.d: Likewise.
79 * testsuite/gas/z80/z80_ii8.d: Likewise.
80 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
81 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
82 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
83 * testsuite/gas/z80/z80_sli.d: Likewise.
84 * testsuite/gas/z80/z80n_all.d: Likewise.
85 * testsuite/gas/z80/z80n_reloc.d: Likewise.
86
a7e12755
L
872020-02-19 H.J. Lu <hongjiu.lu@intel.com>
88
89 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
90 with GNU_PROPERTY_X86_FEATURE_2_MMX.
91 * testsuite/gas/i386/i386.exp: Run property-3 and
92 x86-64-property-3.
93 * testsuite/gas/i386/property-3.d: New file.
94 * testsuite/gas/i386/property-3.s: Likewise.
95 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
96
272a84b1
L
972020-02-17 H.J. Lu <hongjiu.lu@intel.com>
98
99 * config/tc-i386.c (cpu_arch): Add .popcnt.
100 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
101 Add a tab before @samp{.sse4a}.
102
c8f8eebc
JB
1032020-02-17 Jan Beulich <jbeulich@suse.com>
104
105 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
106 for AddrPrefixOpReg templates. Combine the two pieces of
107 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
108 mode.
109
eedb0f2c
JB
1102020-02-17 Jan Beulich <jbeulich@suse.com>
111
112 PR gas/14439
113 * config/tc-i386.c (md_assemble): Also suppress operand
114 swapping for MONITOR{,X} and MWAIT{,X}.
115 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
116 Add Intel syntax monitor/mwait tests.
117 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
118 Adjust expectations.
119 *testsuite/gas/i386/sse3-intel.d,
120 testsuite/gas/i386/x86-64-sse3-intel.d: New.
121 * testsuite/gas/i386/i386.exp: Run new tests.
122
b9915cbc
JB
1232020-02-17 Jan Beulich <jbeulich@suse.com>
124
125 PR gas/6518
126 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
127 [XYZ]MMWord memory operand ambiguity recognition logic (largely
128 re-indentation).
129 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
130 cases.
131 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
132 * testsuite/gas/i386/avx512dq-inval.l,
133 testsuite/gas/i386/inval-avx.l,
134 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
135 * testsuite/gas/i386/avx512vl-ambig.s,
136 testsuite/gas/i386/avx512vl-ambig.l: New.
137 * testsuite/gas/i386/i386.exp: Run new test.
138
af5c13b0
L
1392020-02-16 H.J. Lu <hongjiu.lu@intel.com>
140
141 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
142 nosse4.
143 * doc/c-i386.texi: Document sse4a and nosse4a.
144
07d98387
L
1452020-02-14 H.J. Lu <hongjiu.lu@intel.com>
146
147 * doc/c-i386.texi: Remove the old movsx and movzx documentation
148 for AT&T syntax.
149
65fca059
JB
1502020-02-14 Jan Beulich <jbeulich@suse.com>
151
152 PR gas/25438
153 * config/tc-i386.c (md_assemble): Move movsx/movzx special
154 casing ...
155 (process_suffix): ... here. Consider just the first operand
156 initially.
157 (check_long_reg): Drop opcode 0x63 special case again.
158 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
159 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
160 Move ambiguous operand size tests ...
161 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
162 testsuite/gas/i386/noreg64.s: ... here.
163 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
164 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
165 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
166 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
167 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
168 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
169 testsuite/gas/i386/x86-64-movsxd.d,
170 testsuite/gas/i386/x86-64-movsxd-intel.d,
171 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
172 Adjust expectations.
173 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
174 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
175 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
176 * testsuite/gas/i386/i386.exp: Run new tests.
177
b6773884
JB
1782020-02-14 Jan Beulich <jbeulich@suse.com>
179
180 * config/tc-i386.c (process_operands): Also skip segment
181 override prefix emission if it matches an already present one.
182 * testsuite/gas/i386/prefix32.s: Add double segment override
183 cases.
184 * testsuite/gas/i386/prefix32.l: Adjust expectations.
185
92334ad2
JB
1862020-02-14 Jan Beulich <jbeulich@suse.com>
187
188 * config/tc-i386.c (process_operands): Drop ineffectual segment
189 overrides when optimizing.
190 * testsuite/gas/i386/lea-optimize.d: New.
191 * testsuite/gas/i386/i386.exp: Run new test.
192
1932020-02-14 Jan Beulich <jbeulich@suse.com>
514a8bb0
JB
194
195 * config/tc-i386.c (process_operands): Also check insn prefix
196 for ineffectual segment override warning. Don't cover possible
197 VEX/EVEX encoded insns there.
198 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
199 testsuite/gas/i386/lea.e: New.
200 * testsuite/gas/i386/i386.exp: Run new test.
201
0e6724de
L
2022020-02-14 H.J. Lu <hongjiu.lu@intel.com>
203
204 PR gas/25438
205 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
206 syntax.
207
292676c1
L
2082020-02-13 Fangrui Song <maskray@google.com>
209 H.J. Lu <hongjiu.lu@intel.com>
210
211 PR gas/25551
212 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
213 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
214 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
215 * testsuite/gas/i386/relax-5.d: New file.
216 * testsuite/gas/i386/relax-5.s: Likewise.
217 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
218 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
219
7deea9aa
JB
2202020-02-13 Jan Beulich <jbeulich@suse.com>
221
222 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
223 "nosse4" entry.
224
6c0946d0
JB
2252020-02-12 Jan Beulich <jbeulich@suse.com>
226
227 * config/tc-i386.c (avx512): New (at file scope), moved from
228 (check_VecOperands): ... here.
229 (process_suffix): Add [XYZ]MMword operand size handling.
230 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
231 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
232 tests.
233 * testsuite/gas/i386/avx512dq-inval.l,
234 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
235
5990e377
JB
2362020-02-12 Jan Beulich <jbeulich@suse.com>
237
238 PR gas/24546
239 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
240 code only.
241 * config/tc-i386-intel.c (i386_intel_operand): Also handle
242 CALL/JMP in O_tbyte_ptr case.
243 * doc/c-i386.texi: Mention far call and full pointer load ISA
244 differences.
245 * testsuite/gas/i386/x86-64-branch-3.s,
246 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
247 * testsuite/gas/i386/x86-64-branch-3.d,
248 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
249 * testsuite/gas/i386/x86-64-branch-5.l,
250 testsuite/gas/i386/x86-64-branch-5.s: New.
251 * testsuite/gas/i386/i386.exp: Run new test.
252
9706160a
JB
2532020-02-12 Jan Beulich <jbeulich@suse.com>
254
255 PR gas/25438
256 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
257 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
258 64-bit-only warning.
259 (check_word_reg): Consistently error on mismatching register
260 size and suffix.
261 * testsuite/gas/i386/general.s: Replace dword GPR with word one
262 for movw. Replace suffix / GPR for orb.
263 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
264 byte GPRs as well as ones for inb/outb with a word accumulator.
265 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
266 testsuite/gas/i386/inval.l: Adjust expectations.
267
5de4d9ef
JB
2682020-02-12 Jan Beulich <jbeulich@suse.com>
269
270 * config/tc-i386.c (operand_type_register_match): Also fall
271 through initial two if()-s when the template allows for a GPR
272 operand. Adjust comment.
273
50128d0c
JB
2742020-02-11 Jan Beulich <jbeulich@suse.com>
275
276 (struct _i386_insn): New field "short_form".
277 (optimize_encoding): Drop setting of shortform field.
278 (process_suffix): Set i.short_form. Replace shortform use.
279 (process_operands): Replace shortform use.
280
1ed818b4
MM
2812020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
282
283 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
284 loop initial declaration.
285
5aae9ae9
MM
2862020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
287
288 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
289 instructions that can have 5 arguments.
290 (enum operand_parse_code): Add new operands.
291 (parse_operands): Account for new operands.
292 (S5): New macro.
293 (enum neon_shape_el): Introduce P suffixes for coprocessor.
294 (neon_select_shape): Account for P suffix.
295 (LOW1): Move macro to global position.
296 (HI4): Move macro to global position.
297 (vcx_assign_vec_d): New.
298 (vcx_assign_vec_m): New.
299 (vcx_assign_vec_n): New.
300 (enum vcx_reg_type): New.
301 (vcx_get_reg_type): New.
302 (vcx_size_pos): New.
303 (vcx_vec_pos): New.
304 (vcx_handle_shape): New.
305 (vcx_ensure_register_in_range): New.
306 (vcx_handle_register_arguments): New.
307 (vcx_handle_insn_block): New.
308 (vcx_handle_common_checks): New.
309 (do_vcx1): New.
310 (do_vcx2): New.
311 (do_vcx3): New.
312 * testsuite/gas/arm/cde-missing-fp.d: New test.
313 * testsuite/gas/arm/cde-missing-fp.l: New test.
314 * testsuite/gas/arm/cde-missing-mve.d: New test.
315 * testsuite/gas/arm/cde-missing-mve.l: New test.
316 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
317 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
318 * testsuite/gas/arm/cde-mve.s: New test.
319 * testsuite/gas/arm/cde-warnings.l:
320 * testsuite/gas/arm/cde-warnings.s:
321 * testsuite/gas/arm/cde.d:
322 * testsuite/gas/arm/cde.s:
323
4934a27c
MM
3242020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
325 Matthew Malcomson <matthew.malcomson@arm.com>
326
327 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
328 CDE coprocessor that can be enabled.
329 (enum pred_instruction_type): New pred type.
330 (BAD_NO_VPT): New error message.
331 (BAD_CDE): New error message.
332 (BAD_CDE_COPROC): New error message.
333 (enum operand_parse_code): Add new immediate operands.
334 (parse_operands): Account for new immediate operands.
335 (check_cde_operand): New.
336 (cde_coproc_enabled): New.
337 (cde_coproc_pos): New.
338 (cde_handle_coproc): New.
339 (cxn_handle_predication): New.
340 (do_custom_instruction_1): New.
341 (do_custom_instruction_2): New.
342 (do_custom_instruction_3): New.
343 (do_cx1): New.
344 (do_cx1a): New.
345 (do_cx1d): New.
346 (do_cx1da): New.
347 (do_cx2): New.
348 (do_cx2a): New.
349 (do_cx2d): New.
350 (do_cx2da): New.
351 (do_cx3): New.
352 (do_cx3a): New.
353 (do_cx3d): New.
354 (do_cx3da): New.
355 (handle_pred_state): Define new IT block behaviour.
356 (insns): Add newn CX*{,d}{,a} instructions.
357 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
358 Define new cdecp extension strings.
359 * doc/c-arm.texi: Document new cdecp extension arguments.
360 * testsuite/gas/arm/cde-scalar.d: New test.
361 * testsuite/gas/arm/cde-scalar.s: New test.
362 * testsuite/gas/arm/cde-warnings.d: New test.
363 * testsuite/gas/arm/cde-warnings.l: New test.
364 * testsuite/gas/arm/cde-warnings.s: New test.
365 * testsuite/gas/arm/cde.d: New test.
366 * testsuite/gas/arm/cde.s: New test.
367
4b5aaf5f
L
3682020-02-10 H.J. Lu <hongjiu.lu@intel.com>
369
370 PR gas/25516
371 * config/tc-i386.c (intel64): Renamed to ...
372 (isa64): This.
373 (match_template): Accept Intel64 only instruction by default.
374 (i386_displacement): Updated.
375 (md_parse_option): Updated.
376 * c-i386.texi: Update -mamd64/-mintel64 documentation.
377 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
378 -mamd64 to x86-64-sysenter-amd.
379 * testsuite/gas/i386/x86-64-sysenter.d: New file.
380
33176d91
AM
3812020-02-10 Alan Modra <amodra@gmail.com>
382
383 * config/obj-elf.c (obj_elf_change_section): Error for section
384 type, attr or entsize changes in assembly.
385 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
386 * testsuite/gas/elf/section5.l: Update.
387
82194874
AM
3882020-02-10 Alan Modra <amodra@gmail.com>
389
390 * output-file.c (output_file_close): Do a normal close when
391 flag_always_generate_output.
392 * write.c (write_object_file): Don't stop output when
393 flag_always_generate_output.
394
9fc0b501
SB
3952020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
396
397 PR 25469
398 * config/tc-z80.c: Add -gbz80 command line option to generate code
399 for the GameBoy Z80. Add support for generating DWARF.
400 * config/tc-z80.h: Add support for DWARF debug information
401 generation.
402 * doc/c-z80.texi: Document new command line option.
403 * testsuite/gas/z80/gbz80_all.d: New file.
404 * testsuite/gas/z80/gbz80_all.s: New file.
405 * testsuite/gas/z80/z80.exp: Run the new tests.
406 * testsuite/gas/z80/z80n_all.d: New file.
407 * testsuite/gas/z80/z80n_all.s: New file.
408 * testsuite/gas/z80/z80n_reloc.d: New file.
409
b7d07216
L
4102020-02-06 H.J. Lu <hongjiu.lu@intel.com>
411
412 PR gas/25381
413 * config/obj-elf.c (get_section): Also check
414 linked_to_symbol_name.
415 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
416 (obj_elf_parse_section_letters): Handle the 'o' flag.
417 (build_group_lists): Renamed to ...
418 (build_additional_section_info): This. Set elf_linked_to_section
419 from map_head.linked_to_symbol_name.
420 (elf_adjust_symtab): Updated.
421 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
422 * doc/as.texi: Document the 'o' flag.
423 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
424 * testsuite/gas/elf/section18.d: New file.
425 * testsuite/gas/elf/section18.s: Likewise.
426 * testsuite/gas/elf/section19.d: Likewise.
427 * testsuite/gas/elf/section19.s: Likewise.
428 * testsuite/gas/elf/section20.d: Likewise.
429 * testsuite/gas/elf/section20.s: Likewise.
430 * testsuite/gas/elf/section21.d: Likewise.
431 * testsuite/gas/elf/section21.l: Likewise.
432 * testsuite/gas/elf/section21.s: Likewise.
433
5eb617a7
L
4342020-02-06 H.J. Lu <hongjiu.lu@intel.com>
435
436 * NEWS: Mention x86 assembler options to align branches for
437 binutils 2.34.
438
986ac314
L
4392020-02-06 H.J. Lu <hongjiu.lu@intel.com>
440
441 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
442 only for ELF targets.
443 * testsuite/gas/i386/unique.d: Don't xfail.
444 * testsuite/gas/i386/x86-64-unique.d: Likewise.
445
19234a6d
AM
4462020-02-06 Alan Modra <amodra@gmail.com>
447
448 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
449 * testsuite/gas/i386/x86-64-unique.d: Likewise.
450
02e0be69
AM
4512020-02-06 Alan Modra <amodra@gmail.com>
452
453 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
454 xfail, and rename test.
455 * testsuite/gas/elf/section12b.d: Likewise.
456 * testsuite/gas/elf/section16a.d: Likewise.
457 * testsuite/gas/elf/section16b.d: Likewise.
458
a8c4d40b
L
4592020-02-02 H.J. Lu <hongjiu.lu@intel.com>
460
461 PR gas/25380
462 * config/obj-elf.c (section_match): Removed.
463 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
464 section_id.
465 (obj_elf_change_section): Replace info and group_name arguments
466 with match_p. Also update the section ID and flags from match_p.
467 (obj_elf_section): Handle "unique,N". Update call to
468 obj_elf_change_section.
469 * config/obj-elf.h (elf_section_match): New.
470 (obj_elf_change_section): Updated.
471 * config/tc-arm.c (start_unwind_section): Update call to
472 obj_elf_change_section.
473 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
474 * config/tc-microblaze.c (microblaze_s_data): Likewise.
475 (microblaze_s_sdata): Likewise.
476 (microblaze_s_rdata): Likewise.
477 (microblaze_s_bss): Likewise.
478 * config/tc-mips.c (s_change_section): Likewise.
479 * config/tc-msp430.c (msp430_profiler): Likewise.
480 * config/tc-rx.c (parse_rx_section): Likewise.
481 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
482 * doc/as.texi: Document "unique,N" in .section directive.
483 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
484 * testsuite/gas/elf/section15.d: New file.
485 * testsuite/gas/elf/section15.s: Likewise.
486 * testsuite/gas/elf/section16.s: Likewise.
487 * testsuite/gas/elf/section16a.d: Likewise.
488 * testsuite/gas/elf/section16b.d: Likewise.
489 * testsuite/gas/elf/section17.d: Likewise.
490 * testsuite/gas/elf/section17.l: Likewise.
491 * testsuite/gas/elf/section17.s: Likewise.
492 * testsuite/gas/i386/unique.d: Likewise.
493 * testsuite/gas/i386/unique.s: Likewise.
494 * testsuite/gas/i386/x86-64-unique.d: Likewise.
495 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
496
575d37ae
L
4972020-02-02 H.J. Lu <hongjiu.lu@intel.com>
498
499 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
500
2384096c
G
5012020-02-01 Anthony Green <green@moxielogic.com>
502
503 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
504
95441c43
SL
5052020-01-31 Sandra Loosemore <sandra@codesourcery.com>
506
507 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
508 %tls_ldo.
509
d465d695
AV
5102020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
511
512 PR gas/25472
513 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
514 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
515 +mve.
516 * testsuite/gas/arm/mve_dsp.d: New test.
517
d26cc8a9
NC
5182020-01-31 Nick Clifton <nickc@redhat.com>
519
520 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
521 rather than BFD_RELOC_NONE.
522
90e9955a
SP
5232020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
524
525 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
526 to support VLDMIA instruction for MVE.
527 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
528 instruction for MVE.
529 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
530 instruction for MVE.
531 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
532 instruction for MVE.
533 * testsuite/gas/arm/mve-ldst.d: New test.
534 * testsuite/gas/arm/mve-ldst.s: Likewise.
535
53943f32
NC
5362020-01-31 Nick Clifton <nickc@redhat.com>
537
538 * po/fr.po: Updated French translation.
539 * po/ru.po: Updated Russian translation.
540
c3036ed0
RS
5412020-01-31 Richard Sandiford <richard.sandiford@arm.com>
542
543 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
544 .s for the movprfx.
545 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
546 * testsuite/gas/aarch64/sve-movprfx_28.d,
547 * testsuite/gas/aarch64/sve-movprfx_28.l,
548 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
549
2ae4c703
JB
5502020-01-30 Jan Beulich <jbeulich@suse.com>
551
552 * config/tc-i386.c (output_disp): Tighten base_opcode check.
553 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
554 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
555 Adjust expectations.
556
bd434cc4
JM
5572020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
558
559 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
560 * testsuite/gas/bpf/alu-be.d: Likewise.
561 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
562 * testsuite/gas/bpf/alu32-be.d: Likewise.
563
aeab2b26
JB
5642020-01-30 Jan Beulich <jbeulich@suse.com>
565
566 * testsuite/gas/i386/x86-64-branch-2.s,
567 testsuite/gas/i386/x86-64-branch-4.s,
568 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
569 * testsuite/gas/i386/ilp32/x86-64-branch.d,
570 testsuite/gas/i386/x86-64-branch-2.d,
571 testsuite/gas/i386/x86-64-branch-4.l,
572 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
573
873494c8
JB
5742020-01-30 Jan Beulich <jbeulich@suse.com>
575
576 * config/tc-i386.c (process_suffix): .
577 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
578 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
579 Add LRETQ case.
580 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
581 suffix.
582 testsuite/gas/i386/x86_64.s: Add RETF cases.
583 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
584 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
585 testsuite/gas/i386/x86-64-opcode.d,
586 testsuite/gas/i386/x86-64-suffix-intel.d,
587 testsuite/gas/i386/x86-64-suffix.d,
588 testsuite/gas/i386/x86_64-intel.d
589 testsuite/gas/i386/x86_64.d: Adjust expectations.
590 * testsuite/gas/i386/x86-64-suffix.e,
591 testsuite/gas/i386/x86_64.e: New.
592
62b3f548
JB
5932020-01-30 Jan Beulich <jbeulich@suse.com>
594
595 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
596 special case.
597
bc31405e
L
5982020-01-27 H.J. Lu <hongjiu.lu@intel.com>
599
600 PR binutils/25445
601 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
602 movsxd.
603 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
604 differences. Document movslq and movsxd.
605 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
606 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
607 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
608 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
609 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
610 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
611 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
612 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
613 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
614 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
615 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
616
e3696f67
AM
6172020-01-27 Alan Modra <amodra@gmail.com>
618
619 * testsuite/gas/all/gas.exp: Replace case statements with switch
620 statements.
621 * testsuite/gas/elf/elf.exp: Likewise.
622 * testsuite/gas/macros/macros.exp: Likewise.
623 * testsuite/lib/gas-defs.exp: Likewise.
624
7568c93b
TC
6252020-01-27 Tamar Christina <tamar.christina@arm.com>
626
627 PR 25403
628 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
629 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
630
403d1bd9
JW
6312020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
632
633 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
634 s exts must be known, so rename *ok* to *fail*.
635 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
636 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
637 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
638 above change.
639 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
640 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
641
be4c5e58
L
6422020-01-22 H.J. Lu <hongjiu.lu@intel.com>
643
644 PR gas/25438
645 * config/tc-i386.c (check_long_reg): Always disallow double word
646 suffix in mnemonic with word general register.
647 * testsuite/gas/i386/general.s: Replace word general register
648 with double word general register for movl.
649 * testsuite/gas/i386/inval.s: Add tests for movl with word general
650 register.
651 * testsuite/gas/i386/general.l: Updated.
652 * testsuite/gas/i386/inval.l: Likewise.
653
9e7028aa
AM
6542020-01-22 Alan Modra <amodra@gmail.com>
655
656 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
657 __tls_get_addr_desc and __tls_get_addr_opt.
658
e3ed17f3
JB
6592020-01-21 Jan Beulich <jbeulich@suse.com>
660
661 * testsuite/gas/i386/inval-crc32.s,
662 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
663 * testsuite/gas/i386/inval-crc32.l,
664 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
665
1a035124
JB
6662020-01-21 Jan Beulich <jbeulich@suse.com>
667
668 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
669 generic code path. Deal with No_lSuf being set in a template.
670 * testsuite/gas/i386/inval-crc32.l,
671 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
672 instead of error(s) when operand size is ambiguous.
673 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
674 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
675 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
676 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
677 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
678 Adjust expectations.
679
c006a730
JB
6802020-01-21 Jan Beulich <jbeulich@suse.com>
681
682 * config/tc-i386.c (process_suffix): Drop SYSRET special case
683 and an intel_syntax check. Re-write lack-of-suffix processing
684 logic.
685 * doc/c-i386.texi: Document operand size defaults for suffix-
686 less AT&T syntax insns.
687 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
688 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
689 testsuite/gas/i386/x86-64-avx-scalar.s,
690 testsuite/gas/i386/x86-64-avx.s,
691 testsuite/gas/i386/x86-64-bundle.s,
692 testsuite/gas/i386/x86-64-intel64.s,
693 testsuite/gas/i386/x86-64-lock-1.s,
694 testsuite/gas/i386/x86-64-opcode.s,
695 testsuite/gas/i386/x86-64-sse2avx.s,
696 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
697 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
698 testsuite/gas/i386/x86-64-nops.s,
699 testsuite/gas/i386/x86-64-ptwrite.s,
700 testsuite/gas/i386/x86-64-simd.s,
701 testsuite/gas/i386/x86-64-sse-noavx.s,
702 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
703 insns.
704 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
705 testsuite/gas/i386/noreg64.s: Add further tests.
706 * testsuite/gas/i386/ilp32/x86-64-nops.d,
707 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
708 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
709 testsuite/gas/i386/sse-noavx.d,
710 testsuite/gas/i386/x86-64-intel64.d,
711 testsuite/gas/i386/x86-64-nops.d,
712 testsuite/gas/i386/x86-64-opcode.d,
713 testsuite/gas/i386/x86-64-ptwrite-intel.d,
714 testsuite/gas/i386/x86-64-ptwrite.d,
715 testsuite/gas/i386/x86-64-simd-intel.d,
716 testsuite/gas/i386/x86-64-simd-suffix.d,
717 testsuite/gas/i386/x86-64-simd.d,
718 testsuite/gas/i386/x86-64-sse-noavx.d
719 testsuite/gas/i386/x86-64-suffix.d,
720 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
721 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
722 testsuite/gas/i386/noreg64.l: New.
723 * testsuite/gas/i386/i386.exp: Run new tests.
724
c906a69a
JB
7252020-01-21 Jan Beulich <jbeulich@suse.com>
726
727 * testsuite/gas/i386/avx512_bf16_vl.s,
728 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
729 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
730 broadcast forms of VCVTNEPS2BF16.
731 * testsuite/gas/i386/avx512_bf16_vl.d,
732 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
733
26916852
NC
7342020-01-20 Nick Clifton <nickc@redhat.com>
735
736 * po/uk.po: Updated Ukranian translation.
737
14470f07
L
7382020-01-20 H.J. Lu <hongjiu.lu@intel.com>
739
740 PR ld/25416
741 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
742 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
743 x32 object.
744 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
745 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
746 R_X86_64_GOTPC32_TLSDESC relocation.
747
1b1bb2c6
NC
7482020-01-18 Nick Clifton <nickc@redhat.com>
749
750 * configure: Regenerate.
751 * po/gas.pot: Regenerate.
752
ae774686
NC
7532020-01-18 Nick Clifton <nickc@redhat.com>
754
755 Binutils 2.34 branch created.
756
42e04b36
L
7572020-01-17 H.J. Lu <hongjiu.lu@intel.com>
758
759 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
760 with vex_encoding_vex.
761 (parse_insn): Likewise.
762 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
763 and {vex3} documentation.
764 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
765 {vex}.
766 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
767
2da2eaf4
AV
7682020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
769
770 PR 25376
771 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
772 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
773 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
774 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
775 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
776 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
777
45a4bb20
JB
7782020-01-16 Jan Beulich <jbeulich@suse.com>
779
780 * config/tc-i386.c (match_template): Drop found_cpu_match local
781 variable.
782
4814632e
JB
7832020-01-16 Jan Beulich <jbeulich@suse.com>
784
785 * testsuite/gas/i386/avx512dq-inval.l,
786 testsuite/gas/i386/avx512dq-inval.s: New.
787 * testsuite/gas/i386/i386.exp: Run new test.
788
131cb553
JL
7892020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
790
791 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
792 relocations when the target is 430X, except when extracting part of an
793 expression.
794 (msp430_srcoperand): Adjust comment.
795 Initialize the expp member of the msp430_operand_s struct as
796 appropriate.
797 (msp430_dstoperand): Likewise.
798 * testsuite/gas/msp430/msp430.exp: Run new test.
799 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
800 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
801
c24d0e8d
AM
8022020-01-15 Alan Modra <amodra@gmail.com>
803
804 * configure.tgt: Add sparc-*-freebsd case.
805
e44925ae
LC
8062020-01-14 Lili Cui <lili.cui@intel.com>
807
808 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
809 * testsuite/gas/i386/align-branch-1b.d: Likewise.
810 * testsuite/gas/i386/align-branch-1c.d: Likewise.
811 * testsuite/gas/i386/align-branch-1d.d: Likewise.
812 * testsuite/gas/i386/align-branch-1e.d: Likewise.
813 * testsuite/gas/i386/align-branch-1f.d: Likewise.
814 * testsuite/gas/i386/align-branch-1g.d: Likewise.
815 * testsuite/gas/i386/align-branch-1h.d: Likewise.
816 * testsuite/gas/i386/align-branch-1i.d: Likewise.
817 * testsuite/gas/i386/align-branch-5.d: Likewise.
818 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
819 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
820 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
821 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
822 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
823 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
824 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
825 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
826 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
827 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
828 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
829 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
830
7a6bf3be
SB
8312020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
832
833 PR 25377
834 * config/tc-z80.c: Add support for half precision, single
835 precision and double precision floating point values.
836 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
837 * doc/as.texi: Add new z80 command line options.
838 * doc/c-z80.texi: Document new z80 command line options.
839 * testsuite/gas/z80/ez80_pref_dis.s: New test.
840 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
841 * testsuite/gas/z80/z80.exp: Run the new test.
842 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
843 * testsuite/gas/z80/fp_zeda32.d: Likewise.
844 * testsuite/gas/z80/strings.d: Update expected output.
845
82e9597c
MM
8462020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
847
848 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
849 dependency.
850
5e4f7e05
CZ
8512020-01-13 Claudiu Zissulescu <claziss@gmail.com>
852
853 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
854 the CPU.
855 * config/tc-arc.h: Add header if/defs.
856 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
857
febda64f
AM
8582020-01-13 Alan Modra <amodra@gmail.com>
859
860 * testsuite/gas/wasm32/allinsn.d: Update expected output.
861
5496abe1
AM
8622020-01-13 Alan Modra <amodra@gmail.com>
863
864 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
865 insertion.
866
ec4181f2
AM
8672020-01-10 Alan Modra <amodra@gmail.com>
868
869 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
870 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
871
40c75bc8
SB
8722020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
873
874 PR 25224
875 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
876 opcode byte values.
877 (emit_ld_r_r): Likewise.
878 (emit_ld_rr_m): Likewise.
879 (emit_ld_rr_nn): Likewise.
880
72aea328
JB
8812020-01-09 Jan Beulich <jbeulich@suse.com>
882
883 * config/tc-i386.c (optimize_encoding): Add
884 is_any_vex_encoding() invocations. Drop respective
885 i.tm.extension_opcode == None checks.
886
3f93af61
JB
8872020-01-09 Jan Beulich <jbeulich@suse.com>
888
889 * config/tc-i386.c (md_assemble): Check RegRex is clear during
890 REX transformations. Correct comment indentation.
891
7697afb6
JB
8922020-01-09 Jan Beulich <jbeulich@suse.com>
893
894 * config/tc-i386.c (optimize_encoding): Generalize register
895 transformation for TEST optimization.
896
d835a58b
JB
8972020-01-09 Jan Beulich <jbeulich@suse.com>
898
899 * testsuite/gas/i386/x86-64-sysenter-amd.s,
900 testsuite/gas/i386/x86-64-sysenter-amd.d,
901 testsuite/gas/i386/x86-64-sysenter-amd.l,
902 testsuite/gas/i386/x86-64-sysenter-intel.d,
903 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
904 * testsuite/gas/i386/i386.exp: Run new tests.
905
915808f6
NC
9062020-01-08 Nick Clifton <nickc@redhat.com>
907
908 PR 25284
909 * doc/as.texi (Align): Document the fact that all arguments can be
910 omitted.
911 (Balign): Likewise.
912 (P2align): Likewise.
913
f1f28025
NC
9142020-01-08 Nick Clifton <nickc@redhat.com>
915
916 PR 14891
917 * config/obj-elf.c (obj_elf_section): Fail if the section name is
918 already defined as a different symbol type.
919 * testsuite/gas/elf/pr14891.s: New test source file.
920 * testsuite/gas/elf/pr14891.d: New test driver.
921 * testsuite/gas/elf/pr14891.s: New test expected error output.
922 * testsuite/gas/elf/elf.exp: Run the new test.
923
030a2e78
AM
9242020-01-08 Alan Modra <amodra@gmail.com>
925
926 * config/tc-z8k.c (md_begin): Make idx unsigned.
927 (get_specific): Likewise for this_index.
928
2a1ebfb2
CZ
9292020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
930
931 * onfig/tc-arc.c (parse_reloc_symbol): New function.
932 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
933 (md_operand): Set X_md to absent.
934 (arc_parse_name): Check for X_md.
935
16d87673
SB
9362020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
937
938 PR 25311
939 * as.h (TC_STRING_ESCAPES): Provide a default definition.
940 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
941 NO_STRING_ESCAPES.
942 * read.c (next_char_of_string): Likewise.
943 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
944 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
945
a2322019
NC
9462020-01-03 Nick Clifton <nickc@redhat.com>
947
948 * po/sv.po: Updated Swedish translation.
949
5437a02a
JB
9502020-01-03 Jan Beulich <jbeulich@suse.com>
951
952 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
953 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
954
567dfba2
JB
9552020-01-03 Jan Beulich <jbeulich@suse.com>
956
957 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
958 by-element usdot. Add 64-bit form tests for by-element sudot.
959 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
960
8c45011a
JB
9612020-01-03 Jan Beulich <jbeulich@suse.com>
962
963 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
964 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
965
f4950f76
JB
9662020-01-03 Jan Beulich <jbeulich@suse.com>
967
968 * testsuite/gas/aarch64/f64mm.d,
969 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
970
6655dba2
SB
9712020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
972
973 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
974 support for assembler code generated by SDCC. Add new relocation
975 types. Add z80-elf target support.
976 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
977 labels. Local labels starts from ".L".
978 * NEWS: Mention the new support.
979 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
980 * testsuite/gas/all/fwdexp.s: Likewise.
981 * testsuite/gas/all/cond.l: Likewise.
982 * testsuite/gas/all/cond.s: Likewise.
983 * testsuite/gas/all/fwdexp.d: Likewise.
984 * testsuite/gas/all/fwdexp.s: Likewise.
985 * testsuite/gas/elf/section2.e-mips: Likewise.
986 * testsuite/gas/elf/section2.l: Likewise.
987 * testsuite/gas/elf/section2.s: Likewise.
988 * testsuite/gas/macros/app1.d: Likewise.
989 * testsuite/gas/macros/app1.s: Likewise.
990 * testsuite/gas/macros/app2.d: Likewise.
991 * testsuite/gas/macros/app2.s: Likewise.
992 * testsuite/gas/macros/app3.d: Likewise.
993 * testsuite/gas/macros/app3.s: Likewise.
994 * testsuite/gas/macros/app4.d: Likewise.
995 * testsuite/gas/macros/app4.s: Likewise.
996 * testsuite/gas/macros/app4b.s: Likewise.
997 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
998 * testsuite/gas/z80/z80.exp: Add new tests
999 * testsuite/gas/z80/dollar.d: New file.
1000 * testsuite/gas/z80/dollar.s: New file.
1001 * testsuite/gas/z80/ez80_adl_all.d: New file.
1002 * testsuite/gas/z80/ez80_adl_all.s: New file.
1003 * testsuite/gas/z80/ez80_adl_suf.d: New file.
1004 * testsuite/gas/z80/ez80_isuf.s: New file.
1005 * testsuite/gas/z80/ez80_z80_all.d: New file.
1006 * testsuite/gas/z80/ez80_z80_all.s: New file.
1007 * testsuite/gas/z80/ez80_z80_suf.d: New file.
1008 * testsuite/gas/z80/r800_extra.d: New file.
1009 * testsuite/gas/z80/r800_extra.s: New file.
1010 * testsuite/gas/z80/r800_ii8.d: New file.
1011 * testsuite/gas/z80/r800_z80_doc.d: New file.
1012 * testsuite/gas/z80/z180.d: New file.
1013 * testsuite/gas/z80/z180.s: New file.
1014 * testsuite/gas/z80/z180_z80_doc.d: New file.
1015 * testsuite/gas/z80/z80_doc.d: New file.
1016 * testsuite/gas/z80/z80_doc.s: New file.
1017 * testsuite/gas/z80/z80_ii8.d: New file.
1018 * testsuite/gas/z80/z80_ii8.s: New file.
1019 * testsuite/gas/z80/z80_in_f_c.d: New file.
1020 * testsuite/gas/z80/z80_in_f_c.s: New file.
1021 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
1022 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
1023 * testsuite/gas/z80/z80_out_c_0.d: New file.
1024 * testsuite/gas/z80/z80_out_c_0.s: New file.
1025 * testsuite/gas/z80/z80_reloc.d: New file.
1026 * testsuite/gas/z80/z80_reloc.s: New file.
1027 * testsuite/gas/z80/z80_sli.d: New file.
1028 * testsuite/gas/z80/z80_sli.s: New file.
1029
a65b5de6
SN
10302020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1031
1032 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
1033 REGLIST_RN.
1034
b14ce8bf
AM
10352020-01-01 Alan Modra <amodra@gmail.com>
1036
1037 Update year range in copyright notice of all files.
1038
0b114740 1039For older changes see ChangeLog-2019
3499769a 1040\f
0b114740 1041Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1042
1043Copying and distribution of this file, with or without modification,
1044are permitted in any medium without royalty provided the copyright
1045notice and this notice are preserved.
1046
1047Local Variables:
1048mode: change-log
1049left-margin: 8
1050fill-column: 74
1051version-control: never
1052End: