]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
07d98387
L
12020-02-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * doc/c-i386.texi: Remove the old movsx and movzx documentation
4 for AT&T syntax.
5
65fca059
JB
62020-02-14 Jan Beulich <jbeulich@suse.com>
7
8 PR gas/25438
9 * config/tc-i386.c (md_assemble): Move movsx/movzx special
10 casing ...
11 (process_suffix): ... here. Consider just the first operand
12 initially.
13 (check_long_reg): Drop opcode 0x63 special case again.
14 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
15 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
16 Move ambiguous operand size tests ...
17 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
18 testsuite/gas/i386/noreg64.s: ... here.
19 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
20 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
21 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
22 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
23 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
24 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
25 testsuite/gas/i386/x86-64-movsxd.d,
26 testsuite/gas/i386/x86-64-movsxd-intel.d,
27 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
28 Adjust expectations.
29 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
30 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
31 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
32 * testsuite/gas/i386/i386.exp: Run new tests.
33
b6773884
JB
342020-02-14 Jan Beulich <jbeulich@suse.com>
35
36 * config/tc-i386.c (process_operands): Also skip segment
37 override prefix emission if it matches an already present one.
38 * testsuite/gas/i386/prefix32.s: Add double segment override
39 cases.
40 * testsuite/gas/i386/prefix32.l: Adjust expectations.
41
92334ad2
JB
422020-02-14 Jan Beulich <jbeulich@suse.com>
43
44 * config/tc-i386.c (process_operands): Drop ineffectual segment
45 overrides when optimizing.
46 * testsuite/gas/i386/lea-optimize.d: New.
47 * testsuite/gas/i386/i386.exp: Run new test.
48
492020-02-14 Jan Beulich <jbeulich@suse.com>
514a8bb0
JB
50
51 * config/tc-i386.c (process_operands): Also check insn prefix
52 for ineffectual segment override warning. Don't cover possible
53 VEX/EVEX encoded insns there.
54 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
55 testsuite/gas/i386/lea.e: New.
56 * testsuite/gas/i386/i386.exp: Run new test.
57
0e6724de
L
582020-02-14 H.J. Lu <hongjiu.lu@intel.com>
59
60 PR gas/25438
61 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
62 syntax.
63
292676c1
L
642020-02-13 Fangrui Song <maskray@google.com>
65 H.J. Lu <hongjiu.lu@intel.com>
66
67 PR gas/25551
68 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
69 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
70 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
71 * testsuite/gas/i386/relax-5.d: New file.
72 * testsuite/gas/i386/relax-5.s: Likewise.
73 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
74 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
75
7deea9aa
JB
762020-02-13 Jan Beulich <jbeulich@suse.com>
77
78 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
79 "nosse4" entry.
80
6c0946d0
JB
812020-02-12 Jan Beulich <jbeulich@suse.com>
82
83 * config/tc-i386.c (avx512): New (at file scope), moved from
84 (check_VecOperands): ... here.
85 (process_suffix): Add [XYZ]MMword operand size handling.
86 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
87 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
88 tests.
89 * testsuite/gas/i386/avx512dq-inval.l,
90 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
91
5990e377
JB
922020-02-12 Jan Beulich <jbeulich@suse.com>
93
94 PR gas/24546
95 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
96 code only.
97 * config/tc-i386-intel.c (i386_intel_operand): Also handle
98 CALL/JMP in O_tbyte_ptr case.
99 * doc/c-i386.texi: Mention far call and full pointer load ISA
100 differences.
101 * testsuite/gas/i386/x86-64-branch-3.s,
102 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
103 * testsuite/gas/i386/x86-64-branch-3.d,
104 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
105 * testsuite/gas/i386/x86-64-branch-5.l,
106 testsuite/gas/i386/x86-64-branch-5.s: New.
107 * testsuite/gas/i386/i386.exp: Run new test.
108
9706160a
JB
1092020-02-12 Jan Beulich <jbeulich@suse.com>
110
111 PR gas/25438
112 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
113 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
114 64-bit-only warning.
115 (check_word_reg): Consistently error on mismatching register
116 size and suffix.
117 * testsuite/gas/i386/general.s: Replace dword GPR with word one
118 for movw. Replace suffix / GPR for orb.
119 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
120 byte GPRs as well as ones for inb/outb with a word accumulator.
121 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
122 testsuite/gas/i386/inval.l: Adjust expectations.
123
5de4d9ef
JB
1242020-02-12 Jan Beulich <jbeulich@suse.com>
125
126 * config/tc-i386.c (operand_type_register_match): Also fall
127 through initial two if()-s when the template allows for a GPR
128 operand. Adjust comment.
129
50128d0c
JB
1302020-02-11 Jan Beulich <jbeulich@suse.com>
131
132 (struct _i386_insn): New field "short_form".
133 (optimize_encoding): Drop setting of shortform field.
134 (process_suffix): Set i.short_form. Replace shortform use.
135 (process_operands): Replace shortform use.
136
1ed818b4
MM
1372020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
138
139 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
140 loop initial declaration.
141
5aae9ae9
MM
1422020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
143
144 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
145 instructions that can have 5 arguments.
146 (enum operand_parse_code): Add new operands.
147 (parse_operands): Account for new operands.
148 (S5): New macro.
149 (enum neon_shape_el): Introduce P suffixes for coprocessor.
150 (neon_select_shape): Account for P suffix.
151 (LOW1): Move macro to global position.
152 (HI4): Move macro to global position.
153 (vcx_assign_vec_d): New.
154 (vcx_assign_vec_m): New.
155 (vcx_assign_vec_n): New.
156 (enum vcx_reg_type): New.
157 (vcx_get_reg_type): New.
158 (vcx_size_pos): New.
159 (vcx_vec_pos): New.
160 (vcx_handle_shape): New.
161 (vcx_ensure_register_in_range): New.
162 (vcx_handle_register_arguments): New.
163 (vcx_handle_insn_block): New.
164 (vcx_handle_common_checks): New.
165 (do_vcx1): New.
166 (do_vcx2): New.
167 (do_vcx3): New.
168 * testsuite/gas/arm/cde-missing-fp.d: New test.
169 * testsuite/gas/arm/cde-missing-fp.l: New test.
170 * testsuite/gas/arm/cde-missing-mve.d: New test.
171 * testsuite/gas/arm/cde-missing-mve.l: New test.
172 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
173 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
174 * testsuite/gas/arm/cde-mve.s: New test.
175 * testsuite/gas/arm/cde-warnings.l:
176 * testsuite/gas/arm/cde-warnings.s:
177 * testsuite/gas/arm/cde.d:
178 * testsuite/gas/arm/cde.s:
179
4934a27c
MM
1802020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
181 Matthew Malcomson <matthew.malcomson@arm.com>
182
183 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
184 CDE coprocessor that can be enabled.
185 (enum pred_instruction_type): New pred type.
186 (BAD_NO_VPT): New error message.
187 (BAD_CDE): New error message.
188 (BAD_CDE_COPROC): New error message.
189 (enum operand_parse_code): Add new immediate operands.
190 (parse_operands): Account for new immediate operands.
191 (check_cde_operand): New.
192 (cde_coproc_enabled): New.
193 (cde_coproc_pos): New.
194 (cde_handle_coproc): New.
195 (cxn_handle_predication): New.
196 (do_custom_instruction_1): New.
197 (do_custom_instruction_2): New.
198 (do_custom_instruction_3): New.
199 (do_cx1): New.
200 (do_cx1a): New.
201 (do_cx1d): New.
202 (do_cx1da): New.
203 (do_cx2): New.
204 (do_cx2a): New.
205 (do_cx2d): New.
206 (do_cx2da): New.
207 (do_cx3): New.
208 (do_cx3a): New.
209 (do_cx3d): New.
210 (do_cx3da): New.
211 (handle_pred_state): Define new IT block behaviour.
212 (insns): Add newn CX*{,d}{,a} instructions.
213 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
214 Define new cdecp extension strings.
215 * doc/c-arm.texi: Document new cdecp extension arguments.
216 * testsuite/gas/arm/cde-scalar.d: New test.
217 * testsuite/gas/arm/cde-scalar.s: New test.
218 * testsuite/gas/arm/cde-warnings.d: New test.
219 * testsuite/gas/arm/cde-warnings.l: New test.
220 * testsuite/gas/arm/cde-warnings.s: New test.
221 * testsuite/gas/arm/cde.d: New test.
222 * testsuite/gas/arm/cde.s: New test.
223
4b5aaf5f
L
2242020-02-10 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR gas/25516
227 * config/tc-i386.c (intel64): Renamed to ...
228 (isa64): This.
229 (match_template): Accept Intel64 only instruction by default.
230 (i386_displacement): Updated.
231 (md_parse_option): Updated.
232 * c-i386.texi: Update -mamd64/-mintel64 documentation.
233 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
234 -mamd64 to x86-64-sysenter-amd.
235 * testsuite/gas/i386/x86-64-sysenter.d: New file.
236
33176d91
AM
2372020-02-10 Alan Modra <amodra@gmail.com>
238
239 * config/obj-elf.c (obj_elf_change_section): Error for section
240 type, attr or entsize changes in assembly.
241 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
242 * testsuite/gas/elf/section5.l: Update.
243
82194874
AM
2442020-02-10 Alan Modra <amodra@gmail.com>
245
246 * output-file.c (output_file_close): Do a normal close when
247 flag_always_generate_output.
248 * write.c (write_object_file): Don't stop output when
249 flag_always_generate_output.
250
9fc0b501
SB
2512020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
252
253 PR 25469
254 * config/tc-z80.c: Add -gbz80 command line option to generate code
255 for the GameBoy Z80. Add support for generating DWARF.
256 * config/tc-z80.h: Add support for DWARF debug information
257 generation.
258 * doc/c-z80.texi: Document new command line option.
259 * testsuite/gas/z80/gbz80_all.d: New file.
260 * testsuite/gas/z80/gbz80_all.s: New file.
261 * testsuite/gas/z80/z80.exp: Run the new tests.
262 * testsuite/gas/z80/z80n_all.d: New file.
263 * testsuite/gas/z80/z80n_all.s: New file.
264 * testsuite/gas/z80/z80n_reloc.d: New file.
265
b7d07216
L
2662020-02-06 H.J. Lu <hongjiu.lu@intel.com>
267
268 PR gas/25381
269 * config/obj-elf.c (get_section): Also check
270 linked_to_symbol_name.
271 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
272 (obj_elf_parse_section_letters): Handle the 'o' flag.
273 (build_group_lists): Renamed to ...
274 (build_additional_section_info): This. Set elf_linked_to_section
275 from map_head.linked_to_symbol_name.
276 (elf_adjust_symtab): Updated.
277 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
278 * doc/as.texi: Document the 'o' flag.
279 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
280 * testsuite/gas/elf/section18.d: New file.
281 * testsuite/gas/elf/section18.s: Likewise.
282 * testsuite/gas/elf/section19.d: Likewise.
283 * testsuite/gas/elf/section19.s: Likewise.
284 * testsuite/gas/elf/section20.d: Likewise.
285 * testsuite/gas/elf/section20.s: Likewise.
286 * testsuite/gas/elf/section21.d: Likewise.
287 * testsuite/gas/elf/section21.l: Likewise.
288 * testsuite/gas/elf/section21.s: Likewise.
289
5eb617a7
L
2902020-02-06 H.J. Lu <hongjiu.lu@intel.com>
291
292 * NEWS: Mention x86 assembler options to align branches for
293 binutils 2.34.
294
986ac314
L
2952020-02-06 H.J. Lu <hongjiu.lu@intel.com>
296
297 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
298 only for ELF targets.
299 * testsuite/gas/i386/unique.d: Don't xfail.
300 * testsuite/gas/i386/x86-64-unique.d: Likewise.
301
19234a6d
AM
3022020-02-06 Alan Modra <amodra@gmail.com>
303
304 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
305 * testsuite/gas/i386/x86-64-unique.d: Likewise.
306
02e0be69
AM
3072020-02-06 Alan Modra <amodra@gmail.com>
308
309 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
310 xfail, and rename test.
311 * testsuite/gas/elf/section12b.d: Likewise.
312 * testsuite/gas/elf/section16a.d: Likewise.
313 * testsuite/gas/elf/section16b.d: Likewise.
314
a8c4d40b
L
3152020-02-02 H.J. Lu <hongjiu.lu@intel.com>
316
317 PR gas/25380
318 * config/obj-elf.c (section_match): Removed.
319 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
320 section_id.
321 (obj_elf_change_section): Replace info and group_name arguments
322 with match_p. Also update the section ID and flags from match_p.
323 (obj_elf_section): Handle "unique,N". Update call to
324 obj_elf_change_section.
325 * config/obj-elf.h (elf_section_match): New.
326 (obj_elf_change_section): Updated.
327 * config/tc-arm.c (start_unwind_section): Update call to
328 obj_elf_change_section.
329 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
330 * config/tc-microblaze.c (microblaze_s_data): Likewise.
331 (microblaze_s_sdata): Likewise.
332 (microblaze_s_rdata): Likewise.
333 (microblaze_s_bss): Likewise.
334 * config/tc-mips.c (s_change_section): Likewise.
335 * config/tc-msp430.c (msp430_profiler): Likewise.
336 * config/tc-rx.c (parse_rx_section): Likewise.
337 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
338 * doc/as.texi: Document "unique,N" in .section directive.
339 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
340 * testsuite/gas/elf/section15.d: New file.
341 * testsuite/gas/elf/section15.s: Likewise.
342 * testsuite/gas/elf/section16.s: Likewise.
343 * testsuite/gas/elf/section16a.d: Likewise.
344 * testsuite/gas/elf/section16b.d: Likewise.
345 * testsuite/gas/elf/section17.d: Likewise.
346 * testsuite/gas/elf/section17.l: Likewise.
347 * testsuite/gas/elf/section17.s: Likewise.
348 * testsuite/gas/i386/unique.d: Likewise.
349 * testsuite/gas/i386/unique.s: Likewise.
350 * testsuite/gas/i386/x86-64-unique.d: Likewise.
351 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
352
575d37ae
L
3532020-02-02 H.J. Lu <hongjiu.lu@intel.com>
354
355 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
356
2384096c
G
3572020-02-01 Anthony Green <green@moxielogic.com>
358
359 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
360
95441c43
SL
3612020-01-31 Sandra Loosemore <sandra@codesourcery.com>
362
363 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
364 %tls_ldo.
365
d465d695
AV
3662020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
367
368 PR gas/25472
369 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
370 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
371 +mve.
372 * testsuite/gas/arm/mve_dsp.d: New test.
373
d26cc8a9
NC
3742020-01-31 Nick Clifton <nickc@redhat.com>
375
376 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
377 rather than BFD_RELOC_NONE.
378
90e9955a
SP
3792020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
380
381 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
382 to support VLDMIA instruction for MVE.
383 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
384 instruction for MVE.
385 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
386 instruction for MVE.
387 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
388 instruction for MVE.
389 * testsuite/gas/arm/mve-ldst.d: New test.
390 * testsuite/gas/arm/mve-ldst.s: Likewise.
391
53943f32
NC
3922020-01-31 Nick Clifton <nickc@redhat.com>
393
394 * po/fr.po: Updated French translation.
395 * po/ru.po: Updated Russian translation.
396
c3036ed0
RS
3972020-01-31 Richard Sandiford <richard.sandiford@arm.com>
398
399 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
400 .s for the movprfx.
401 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
402 * testsuite/gas/aarch64/sve-movprfx_28.d,
403 * testsuite/gas/aarch64/sve-movprfx_28.l,
404 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
405
2ae4c703
JB
4062020-01-30 Jan Beulich <jbeulich@suse.com>
407
408 * config/tc-i386.c (output_disp): Tighten base_opcode check.
409 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
410 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
411 Adjust expectations.
412
bd434cc4
JM
4132020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
414
415 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
416 * testsuite/gas/bpf/alu-be.d: Likewise.
417 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
418 * testsuite/gas/bpf/alu32-be.d: Likewise.
419
aeab2b26
JB
4202020-01-30 Jan Beulich <jbeulich@suse.com>
421
422 * testsuite/gas/i386/x86-64-branch-2.s,
423 testsuite/gas/i386/x86-64-branch-4.s,
424 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
425 * testsuite/gas/i386/ilp32/x86-64-branch.d,
426 testsuite/gas/i386/x86-64-branch-2.d,
427 testsuite/gas/i386/x86-64-branch-4.l,
428 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
429
873494c8
JB
4302020-01-30 Jan Beulich <jbeulich@suse.com>
431
432 * config/tc-i386.c (process_suffix): .
433 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
434 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
435 Add LRETQ case.
436 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
437 suffix.
438 testsuite/gas/i386/x86_64.s: Add RETF cases.
439 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
440 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
441 testsuite/gas/i386/x86-64-opcode.d,
442 testsuite/gas/i386/x86-64-suffix-intel.d,
443 testsuite/gas/i386/x86-64-suffix.d,
444 testsuite/gas/i386/x86_64-intel.d
445 testsuite/gas/i386/x86_64.d: Adjust expectations.
446 * testsuite/gas/i386/x86-64-suffix.e,
447 testsuite/gas/i386/x86_64.e: New.
448
62b3f548
JB
4492020-01-30 Jan Beulich <jbeulich@suse.com>
450
451 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
452 special case.
453
bc31405e
L
4542020-01-27 H.J. Lu <hongjiu.lu@intel.com>
455
456 PR binutils/25445
457 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
458 movsxd.
459 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
460 differences. Document movslq and movsxd.
461 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
462 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
463 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
464 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
465 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
466 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
467 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
468 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
469 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
470 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
471 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
472
e3696f67
AM
4732020-01-27 Alan Modra <amodra@gmail.com>
474
475 * testsuite/gas/all/gas.exp: Replace case statements with switch
476 statements.
477 * testsuite/gas/elf/elf.exp: Likewise.
478 * testsuite/gas/macros/macros.exp: Likewise.
479 * testsuite/lib/gas-defs.exp: Likewise.
480
7568c93b
TC
4812020-01-27 Tamar Christina <tamar.christina@arm.com>
482
483 PR 25403
484 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
485 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
486
403d1bd9
JW
4872020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
488
489 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
490 s exts must be known, so rename *ok* to *fail*.
491 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
492 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
493 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
494 above change.
495 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
496 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
497
be4c5e58
L
4982020-01-22 H.J. Lu <hongjiu.lu@intel.com>
499
500 PR gas/25438
501 * config/tc-i386.c (check_long_reg): Always disallow double word
502 suffix in mnemonic with word general register.
503 * testsuite/gas/i386/general.s: Replace word general register
504 with double word general register for movl.
505 * testsuite/gas/i386/inval.s: Add tests for movl with word general
506 register.
507 * testsuite/gas/i386/general.l: Updated.
508 * testsuite/gas/i386/inval.l: Likewise.
509
9e7028aa
AM
5102020-01-22 Alan Modra <amodra@gmail.com>
511
512 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
513 __tls_get_addr_desc and __tls_get_addr_opt.
514
e3ed17f3
JB
5152020-01-21 Jan Beulich <jbeulich@suse.com>
516
517 * testsuite/gas/i386/inval-crc32.s,
518 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
519 * testsuite/gas/i386/inval-crc32.l,
520 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
521
1a035124
JB
5222020-01-21 Jan Beulich <jbeulich@suse.com>
523
524 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
525 generic code path. Deal with No_lSuf being set in a template.
526 * testsuite/gas/i386/inval-crc32.l,
527 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
528 instead of error(s) when operand size is ambiguous.
529 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
530 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
531 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
532 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
533 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
534 Adjust expectations.
535
c006a730
JB
5362020-01-21 Jan Beulich <jbeulich@suse.com>
537
538 * config/tc-i386.c (process_suffix): Drop SYSRET special case
539 and an intel_syntax check. Re-write lack-of-suffix processing
540 logic.
541 * doc/c-i386.texi: Document operand size defaults for suffix-
542 less AT&T syntax insns.
543 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
544 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
545 testsuite/gas/i386/x86-64-avx-scalar.s,
546 testsuite/gas/i386/x86-64-avx.s,
547 testsuite/gas/i386/x86-64-bundle.s,
548 testsuite/gas/i386/x86-64-intel64.s,
549 testsuite/gas/i386/x86-64-lock-1.s,
550 testsuite/gas/i386/x86-64-opcode.s,
551 testsuite/gas/i386/x86-64-sse2avx.s,
552 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
553 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
554 testsuite/gas/i386/x86-64-nops.s,
555 testsuite/gas/i386/x86-64-ptwrite.s,
556 testsuite/gas/i386/x86-64-simd.s,
557 testsuite/gas/i386/x86-64-sse-noavx.s,
558 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
559 insns.
560 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
561 testsuite/gas/i386/noreg64.s: Add further tests.
562 * testsuite/gas/i386/ilp32/x86-64-nops.d,
563 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
564 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
565 testsuite/gas/i386/sse-noavx.d,
566 testsuite/gas/i386/x86-64-intel64.d,
567 testsuite/gas/i386/x86-64-nops.d,
568 testsuite/gas/i386/x86-64-opcode.d,
569 testsuite/gas/i386/x86-64-ptwrite-intel.d,
570 testsuite/gas/i386/x86-64-ptwrite.d,
571 testsuite/gas/i386/x86-64-simd-intel.d,
572 testsuite/gas/i386/x86-64-simd-suffix.d,
573 testsuite/gas/i386/x86-64-simd.d,
574 testsuite/gas/i386/x86-64-sse-noavx.d
575 testsuite/gas/i386/x86-64-suffix.d,
576 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
577 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
578 testsuite/gas/i386/noreg64.l: New.
579 * testsuite/gas/i386/i386.exp: Run new tests.
580
c906a69a
JB
5812020-01-21 Jan Beulich <jbeulich@suse.com>
582
583 * testsuite/gas/i386/avx512_bf16_vl.s,
584 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
585 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
586 broadcast forms of VCVTNEPS2BF16.
587 * testsuite/gas/i386/avx512_bf16_vl.d,
588 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
589
26916852
NC
5902020-01-20 Nick Clifton <nickc@redhat.com>
591
592 * po/uk.po: Updated Ukranian translation.
593
14470f07
L
5942020-01-20 H.J. Lu <hongjiu.lu@intel.com>
595
596 PR ld/25416
597 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
598 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
599 x32 object.
600 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
601 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
602 R_X86_64_GOTPC32_TLSDESC relocation.
603
1b1bb2c6
NC
6042020-01-18 Nick Clifton <nickc@redhat.com>
605
606 * configure: Regenerate.
607 * po/gas.pot: Regenerate.
608
ae774686
NC
6092020-01-18 Nick Clifton <nickc@redhat.com>
610
611 Binutils 2.34 branch created.
612
42e04b36
L
6132020-01-17 H.J. Lu <hongjiu.lu@intel.com>
614
615 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
616 with vex_encoding_vex.
617 (parse_insn): Likewise.
618 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
619 and {vex3} documentation.
620 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
621 {vex}.
622 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
623
2da2eaf4
AV
6242020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
625
626 PR 25376
627 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
628 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
629 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
630 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
631 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
632 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
633
45a4bb20
JB
6342020-01-16 Jan Beulich <jbeulich@suse.com>
635
636 * config/tc-i386.c (match_template): Drop found_cpu_match local
637 variable.
638
4814632e
JB
6392020-01-16 Jan Beulich <jbeulich@suse.com>
640
641 * testsuite/gas/i386/avx512dq-inval.l,
642 testsuite/gas/i386/avx512dq-inval.s: New.
643 * testsuite/gas/i386/i386.exp: Run new test.
644
131cb553
JL
6452020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
646
647 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
648 relocations when the target is 430X, except when extracting part of an
649 expression.
650 (msp430_srcoperand): Adjust comment.
651 Initialize the expp member of the msp430_operand_s struct as
652 appropriate.
653 (msp430_dstoperand): Likewise.
654 * testsuite/gas/msp430/msp430.exp: Run new test.
655 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
656 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
657
c24d0e8d
AM
6582020-01-15 Alan Modra <amodra@gmail.com>
659
660 * configure.tgt: Add sparc-*-freebsd case.
661
e44925ae
LC
6622020-01-14 Lili Cui <lili.cui@intel.com>
663
664 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
665 * testsuite/gas/i386/align-branch-1b.d: Likewise.
666 * testsuite/gas/i386/align-branch-1c.d: Likewise.
667 * testsuite/gas/i386/align-branch-1d.d: Likewise.
668 * testsuite/gas/i386/align-branch-1e.d: Likewise.
669 * testsuite/gas/i386/align-branch-1f.d: Likewise.
670 * testsuite/gas/i386/align-branch-1g.d: Likewise.
671 * testsuite/gas/i386/align-branch-1h.d: Likewise.
672 * testsuite/gas/i386/align-branch-1i.d: Likewise.
673 * testsuite/gas/i386/align-branch-5.d: Likewise.
674 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
675 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
676 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
677 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
678 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
679 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
680 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
681 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
682 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
683 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
684 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
685 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
686
7a6bf3be
SB
6872020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
688
689 PR 25377
690 * config/tc-z80.c: Add support for half precision, single
691 precision and double precision floating point values.
692 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
693 * doc/as.texi: Add new z80 command line options.
694 * doc/c-z80.texi: Document new z80 command line options.
695 * testsuite/gas/z80/ez80_pref_dis.s: New test.
696 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
697 * testsuite/gas/z80/z80.exp: Run the new test.
698 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
699 * testsuite/gas/z80/fp_zeda32.d: Likewise.
700 * testsuite/gas/z80/strings.d: Update expected output.
701
82e9597c
MM
7022020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
703
704 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
705 dependency.
706
5e4f7e05
CZ
7072020-01-13 Claudiu Zissulescu <claziss@gmail.com>
708
709 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
710 the CPU.
711 * config/tc-arc.h: Add header if/defs.
712 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
713
febda64f
AM
7142020-01-13 Alan Modra <amodra@gmail.com>
715
716 * testsuite/gas/wasm32/allinsn.d: Update expected output.
717
5496abe1
AM
7182020-01-13 Alan Modra <amodra@gmail.com>
719
720 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
721 insertion.
722
ec4181f2
AM
7232020-01-10 Alan Modra <amodra@gmail.com>
724
725 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
726 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
727
40c75bc8
SB
7282020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
729
730 PR 25224
731 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
732 opcode byte values.
733 (emit_ld_r_r): Likewise.
734 (emit_ld_rr_m): Likewise.
735 (emit_ld_rr_nn): Likewise.
736
72aea328
JB
7372020-01-09 Jan Beulich <jbeulich@suse.com>
738
739 * config/tc-i386.c (optimize_encoding): Add
740 is_any_vex_encoding() invocations. Drop respective
741 i.tm.extension_opcode == None checks.
742
3f93af61
JB
7432020-01-09 Jan Beulich <jbeulich@suse.com>
744
745 * config/tc-i386.c (md_assemble): Check RegRex is clear during
746 REX transformations. Correct comment indentation.
747
7697afb6
JB
7482020-01-09 Jan Beulich <jbeulich@suse.com>
749
750 * config/tc-i386.c (optimize_encoding): Generalize register
751 transformation for TEST optimization.
752
d835a58b
JB
7532020-01-09 Jan Beulich <jbeulich@suse.com>
754
755 * testsuite/gas/i386/x86-64-sysenter-amd.s,
756 testsuite/gas/i386/x86-64-sysenter-amd.d,
757 testsuite/gas/i386/x86-64-sysenter-amd.l,
758 testsuite/gas/i386/x86-64-sysenter-intel.d,
759 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
760 * testsuite/gas/i386/i386.exp: Run new tests.
761
915808f6
NC
7622020-01-08 Nick Clifton <nickc@redhat.com>
763
764 PR 25284
765 * doc/as.texi (Align): Document the fact that all arguments can be
766 omitted.
767 (Balign): Likewise.
768 (P2align): Likewise.
769
f1f28025
NC
7702020-01-08 Nick Clifton <nickc@redhat.com>
771
772 PR 14891
773 * config/obj-elf.c (obj_elf_section): Fail if the section name is
774 already defined as a different symbol type.
775 * testsuite/gas/elf/pr14891.s: New test source file.
776 * testsuite/gas/elf/pr14891.d: New test driver.
777 * testsuite/gas/elf/pr14891.s: New test expected error output.
778 * testsuite/gas/elf/elf.exp: Run the new test.
779
030a2e78
AM
7802020-01-08 Alan Modra <amodra@gmail.com>
781
782 * config/tc-z8k.c (md_begin): Make idx unsigned.
783 (get_specific): Likewise for this_index.
784
2a1ebfb2
CZ
7852020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
786
787 * onfig/tc-arc.c (parse_reloc_symbol): New function.
788 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
789 (md_operand): Set X_md to absent.
790 (arc_parse_name): Check for X_md.
791
16d87673
SB
7922020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
793
794 PR 25311
795 * as.h (TC_STRING_ESCAPES): Provide a default definition.
796 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
797 NO_STRING_ESCAPES.
798 * read.c (next_char_of_string): Likewise.
799 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
800 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
801
a2322019
NC
8022020-01-03 Nick Clifton <nickc@redhat.com>
803
804 * po/sv.po: Updated Swedish translation.
805
5437a02a
JB
8062020-01-03 Jan Beulich <jbeulich@suse.com>
807
808 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
809 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
810
567dfba2
JB
8112020-01-03 Jan Beulich <jbeulich@suse.com>
812
813 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
814 by-element usdot. Add 64-bit form tests for by-element sudot.
815 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
816
8c45011a
JB
8172020-01-03 Jan Beulich <jbeulich@suse.com>
818
819 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
820 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
821
f4950f76
JB
8222020-01-03 Jan Beulich <jbeulich@suse.com>
823
824 * testsuite/gas/aarch64/f64mm.d,
825 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
826
6655dba2
SB
8272020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
828
829 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
830 support for assembler code generated by SDCC. Add new relocation
831 types. Add z80-elf target support.
832 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
833 labels. Local labels starts from ".L".
834 * NEWS: Mention the new support.
835 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
836 * testsuite/gas/all/fwdexp.s: Likewise.
837 * testsuite/gas/all/cond.l: Likewise.
838 * testsuite/gas/all/cond.s: Likewise.
839 * testsuite/gas/all/fwdexp.d: Likewise.
840 * testsuite/gas/all/fwdexp.s: Likewise.
841 * testsuite/gas/elf/section2.e-mips: Likewise.
842 * testsuite/gas/elf/section2.l: Likewise.
843 * testsuite/gas/elf/section2.s: Likewise.
844 * testsuite/gas/macros/app1.d: Likewise.
845 * testsuite/gas/macros/app1.s: Likewise.
846 * testsuite/gas/macros/app2.d: Likewise.
847 * testsuite/gas/macros/app2.s: Likewise.
848 * testsuite/gas/macros/app3.d: Likewise.
849 * testsuite/gas/macros/app3.s: Likewise.
850 * testsuite/gas/macros/app4.d: Likewise.
851 * testsuite/gas/macros/app4.s: Likewise.
852 * testsuite/gas/macros/app4b.s: Likewise.
853 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
854 * testsuite/gas/z80/z80.exp: Add new tests
855 * testsuite/gas/z80/dollar.d: New file.
856 * testsuite/gas/z80/dollar.s: New file.
857 * testsuite/gas/z80/ez80_adl_all.d: New file.
858 * testsuite/gas/z80/ez80_adl_all.s: New file.
859 * testsuite/gas/z80/ez80_adl_suf.d: New file.
860 * testsuite/gas/z80/ez80_isuf.s: New file.
861 * testsuite/gas/z80/ez80_z80_all.d: New file.
862 * testsuite/gas/z80/ez80_z80_all.s: New file.
863 * testsuite/gas/z80/ez80_z80_suf.d: New file.
864 * testsuite/gas/z80/r800_extra.d: New file.
865 * testsuite/gas/z80/r800_extra.s: New file.
866 * testsuite/gas/z80/r800_ii8.d: New file.
867 * testsuite/gas/z80/r800_z80_doc.d: New file.
868 * testsuite/gas/z80/z180.d: New file.
869 * testsuite/gas/z80/z180.s: New file.
870 * testsuite/gas/z80/z180_z80_doc.d: New file.
871 * testsuite/gas/z80/z80_doc.d: New file.
872 * testsuite/gas/z80/z80_doc.s: New file.
873 * testsuite/gas/z80/z80_ii8.d: New file.
874 * testsuite/gas/z80/z80_ii8.s: New file.
875 * testsuite/gas/z80/z80_in_f_c.d: New file.
876 * testsuite/gas/z80/z80_in_f_c.s: New file.
877 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
878 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
879 * testsuite/gas/z80/z80_out_c_0.d: New file.
880 * testsuite/gas/z80/z80_out_c_0.s: New file.
881 * testsuite/gas/z80/z80_reloc.d: New file.
882 * testsuite/gas/z80/z80_reloc.s: New file.
883 * testsuite/gas/z80/z80_sli.d: New file.
884 * testsuite/gas/z80/z80_sli.s: New file.
885
a65b5de6
SN
8862020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
887
888 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
889 REGLIST_RN.
890
b14ce8bf
AM
8912020-01-01 Alan Modra <amodra@gmail.com>
892
893 Update year range in copyright notice of all files.
894
0b114740 895For older changes see ChangeLog-2019
3499769a 896\f
0b114740 897Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
898
899Copying and distribution of this file, with or without modification,
900are permitted in any medium without royalty provided the copyright
901notice and this notice are preserved.
902
903Local Variables:
904mode: change-log
905left-margin: 8
906fill-column: 74
907version-control: never
908End: