]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/ChangeLog
x86-64: Intel64 adjustments for insns dealing with far pointers
[thirdparty/binutils-gdb.git] / gas / ChangeLog
1 2020-02-12 Jan Beulich <jbeulich@suse.com>
2
3 PR gas/24546
4 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
5 code only.
6 * config/tc-i386-intel.c (i386_intel_operand): Also handle
7 CALL/JMP in O_tbyte_ptr case.
8 * doc/c-i386.texi: Mention far call and full pointer load ISA
9 differences.
10 * testsuite/gas/i386/x86-64-branch-3.s,
11 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
12 * testsuite/gas/i386/x86-64-branch-3.d,
13 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
14 * testsuite/gas/i386/x86-64-branch-5.l,
15 testsuite/gas/i386/x86-64-branch-5.s: New.
16 * testsuite/gas/i386/i386.exp: Run new test.
17
18 2020-02-12 Jan Beulich <jbeulich@suse.com>
19
20 PR gas/25438
21 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
22 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
23 64-bit-only warning.
24 (check_word_reg): Consistently error on mismatching register
25 size and suffix.
26 * testsuite/gas/i386/general.s: Replace dword GPR with word one
27 for movw. Replace suffix / GPR for orb.
28 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
29 byte GPRs as well as ones for inb/outb with a word accumulator.
30 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
31 testsuite/gas/i386/inval.l: Adjust expectations.
32
33 2020-02-12 Jan Beulich <jbeulich@suse.com>
34
35 * config/tc-i386.c (operand_type_register_match): Also fall
36 through initial two if()-s when the template allows for a GPR
37 operand. Adjust comment.
38
39 2020-02-11 Jan Beulich <jbeulich@suse.com>
40
41 (struct _i386_insn): New field "short_form".
42 (optimize_encoding): Drop setting of shortform field.
43 (process_suffix): Set i.short_form. Replace shortform use.
44 (process_operands): Replace shortform use.
45
46 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
47
48 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
49 loop initial declaration.
50
51 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
52
53 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
54 instructions that can have 5 arguments.
55 (enum operand_parse_code): Add new operands.
56 (parse_operands): Account for new operands.
57 (S5): New macro.
58 (enum neon_shape_el): Introduce P suffixes for coprocessor.
59 (neon_select_shape): Account for P suffix.
60 (LOW1): Move macro to global position.
61 (HI4): Move macro to global position.
62 (vcx_assign_vec_d): New.
63 (vcx_assign_vec_m): New.
64 (vcx_assign_vec_n): New.
65 (enum vcx_reg_type): New.
66 (vcx_get_reg_type): New.
67 (vcx_size_pos): New.
68 (vcx_vec_pos): New.
69 (vcx_handle_shape): New.
70 (vcx_ensure_register_in_range): New.
71 (vcx_handle_register_arguments): New.
72 (vcx_handle_insn_block): New.
73 (vcx_handle_common_checks): New.
74 (do_vcx1): New.
75 (do_vcx2): New.
76 (do_vcx3): New.
77 * testsuite/gas/arm/cde-missing-fp.d: New test.
78 * testsuite/gas/arm/cde-missing-fp.l: New test.
79 * testsuite/gas/arm/cde-missing-mve.d: New test.
80 * testsuite/gas/arm/cde-missing-mve.l: New test.
81 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
82 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
83 * testsuite/gas/arm/cde-mve.s: New test.
84 * testsuite/gas/arm/cde-warnings.l:
85 * testsuite/gas/arm/cde-warnings.s:
86 * testsuite/gas/arm/cde.d:
87 * testsuite/gas/arm/cde.s:
88
89 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
90 Matthew Malcomson <matthew.malcomson@arm.com>
91
92 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
93 CDE coprocessor that can be enabled.
94 (enum pred_instruction_type): New pred type.
95 (BAD_NO_VPT): New error message.
96 (BAD_CDE): New error message.
97 (BAD_CDE_COPROC): New error message.
98 (enum operand_parse_code): Add new immediate operands.
99 (parse_operands): Account for new immediate operands.
100 (check_cde_operand): New.
101 (cde_coproc_enabled): New.
102 (cde_coproc_pos): New.
103 (cde_handle_coproc): New.
104 (cxn_handle_predication): New.
105 (do_custom_instruction_1): New.
106 (do_custom_instruction_2): New.
107 (do_custom_instruction_3): New.
108 (do_cx1): New.
109 (do_cx1a): New.
110 (do_cx1d): New.
111 (do_cx1da): New.
112 (do_cx2): New.
113 (do_cx2a): New.
114 (do_cx2d): New.
115 (do_cx2da): New.
116 (do_cx3): New.
117 (do_cx3a): New.
118 (do_cx3d): New.
119 (do_cx3da): New.
120 (handle_pred_state): Define new IT block behaviour.
121 (insns): Add newn CX*{,d}{,a} instructions.
122 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
123 Define new cdecp extension strings.
124 * doc/c-arm.texi: Document new cdecp extension arguments.
125 * testsuite/gas/arm/cde-scalar.d: New test.
126 * testsuite/gas/arm/cde-scalar.s: New test.
127 * testsuite/gas/arm/cde-warnings.d: New test.
128 * testsuite/gas/arm/cde-warnings.l: New test.
129 * testsuite/gas/arm/cde-warnings.s: New test.
130 * testsuite/gas/arm/cde.d: New test.
131 * testsuite/gas/arm/cde.s: New test.
132
133 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
134
135 PR gas/25516
136 * config/tc-i386.c (intel64): Renamed to ...
137 (isa64): This.
138 (match_template): Accept Intel64 only instruction by default.
139 (i386_displacement): Updated.
140 (md_parse_option): Updated.
141 * c-i386.texi: Update -mamd64/-mintel64 documentation.
142 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
143 -mamd64 to x86-64-sysenter-amd.
144 * testsuite/gas/i386/x86-64-sysenter.d: New file.
145
146 2020-02-10 Alan Modra <amodra@gmail.com>
147
148 * config/obj-elf.c (obj_elf_change_section): Error for section
149 type, attr or entsize changes in assembly.
150 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
151 * testsuite/gas/elf/section5.l: Update.
152
153 2020-02-10 Alan Modra <amodra@gmail.com>
154
155 * output-file.c (output_file_close): Do a normal close when
156 flag_always_generate_output.
157 * write.c (write_object_file): Don't stop output when
158 flag_always_generate_output.
159
160 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
161
162 PR 25469
163 * config/tc-z80.c: Add -gbz80 command line option to generate code
164 for the GameBoy Z80. Add support for generating DWARF.
165 * config/tc-z80.h: Add support for DWARF debug information
166 generation.
167 * doc/c-z80.texi: Document new command line option.
168 * testsuite/gas/z80/gbz80_all.d: New file.
169 * testsuite/gas/z80/gbz80_all.s: New file.
170 * testsuite/gas/z80/z80.exp: Run the new tests.
171 * testsuite/gas/z80/z80n_all.d: New file.
172 * testsuite/gas/z80/z80n_all.s: New file.
173 * testsuite/gas/z80/z80n_reloc.d: New file.
174
175 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
176
177 PR gas/25381
178 * config/obj-elf.c (get_section): Also check
179 linked_to_symbol_name.
180 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
181 (obj_elf_parse_section_letters): Handle the 'o' flag.
182 (build_group_lists): Renamed to ...
183 (build_additional_section_info): This. Set elf_linked_to_section
184 from map_head.linked_to_symbol_name.
185 (elf_adjust_symtab): Updated.
186 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
187 * doc/as.texi: Document the 'o' flag.
188 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
189 * testsuite/gas/elf/section18.d: New file.
190 * testsuite/gas/elf/section18.s: Likewise.
191 * testsuite/gas/elf/section19.d: Likewise.
192 * testsuite/gas/elf/section19.s: Likewise.
193 * testsuite/gas/elf/section20.d: Likewise.
194 * testsuite/gas/elf/section20.s: Likewise.
195 * testsuite/gas/elf/section21.d: Likewise.
196 * testsuite/gas/elf/section21.l: Likewise.
197 * testsuite/gas/elf/section21.s: Likewise.
198
199 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
200
201 * NEWS: Mention x86 assembler options to align branches for
202 binutils 2.34.
203
204 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
205
206 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
207 only for ELF targets.
208 * testsuite/gas/i386/unique.d: Don't xfail.
209 * testsuite/gas/i386/x86-64-unique.d: Likewise.
210
211 2020-02-06 Alan Modra <amodra@gmail.com>
212
213 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
214 * testsuite/gas/i386/x86-64-unique.d: Likewise.
215
216 2020-02-06 Alan Modra <amodra@gmail.com>
217
218 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
219 xfail, and rename test.
220 * testsuite/gas/elf/section12b.d: Likewise.
221 * testsuite/gas/elf/section16a.d: Likewise.
222 * testsuite/gas/elf/section16b.d: Likewise.
223
224 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR gas/25380
227 * config/obj-elf.c (section_match): Removed.
228 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
229 section_id.
230 (obj_elf_change_section): Replace info and group_name arguments
231 with match_p. Also update the section ID and flags from match_p.
232 (obj_elf_section): Handle "unique,N". Update call to
233 obj_elf_change_section.
234 * config/obj-elf.h (elf_section_match): New.
235 (obj_elf_change_section): Updated.
236 * config/tc-arm.c (start_unwind_section): Update call to
237 obj_elf_change_section.
238 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
239 * config/tc-microblaze.c (microblaze_s_data): Likewise.
240 (microblaze_s_sdata): Likewise.
241 (microblaze_s_rdata): Likewise.
242 (microblaze_s_bss): Likewise.
243 * config/tc-mips.c (s_change_section): Likewise.
244 * config/tc-msp430.c (msp430_profiler): Likewise.
245 * config/tc-rx.c (parse_rx_section): Likewise.
246 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
247 * doc/as.texi: Document "unique,N" in .section directive.
248 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
249 * testsuite/gas/elf/section15.d: New file.
250 * testsuite/gas/elf/section15.s: Likewise.
251 * testsuite/gas/elf/section16.s: Likewise.
252 * testsuite/gas/elf/section16a.d: Likewise.
253 * testsuite/gas/elf/section16b.d: Likewise.
254 * testsuite/gas/elf/section17.d: Likewise.
255 * testsuite/gas/elf/section17.l: Likewise.
256 * testsuite/gas/elf/section17.s: Likewise.
257 * testsuite/gas/i386/unique.d: Likewise.
258 * testsuite/gas/i386/unique.s: Likewise.
259 * testsuite/gas/i386/x86-64-unique.d: Likewise.
260 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
261
262 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
263
264 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
265
266 2020-02-01 Anthony Green <green@moxielogic.com>
267
268 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
269
270 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
271
272 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
273 %tls_ldo.
274
275 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
276
277 PR gas/25472
278 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
279 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
280 +mve.
281 * testsuite/gas/arm/mve_dsp.d: New test.
282
283 2020-01-31 Nick Clifton <nickc@redhat.com>
284
285 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
286 rather than BFD_RELOC_NONE.
287
288 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
289
290 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
291 to support VLDMIA instruction for MVE.
292 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
293 instruction for MVE.
294 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
295 instruction for MVE.
296 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
297 instruction for MVE.
298 * testsuite/gas/arm/mve-ldst.d: New test.
299 * testsuite/gas/arm/mve-ldst.s: Likewise.
300
301 2020-01-31 Nick Clifton <nickc@redhat.com>
302
303 * po/fr.po: Updated French translation.
304 * po/ru.po: Updated Russian translation.
305
306 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
307
308 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
309 .s for the movprfx.
310 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
311 * testsuite/gas/aarch64/sve-movprfx_28.d,
312 * testsuite/gas/aarch64/sve-movprfx_28.l,
313 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
314
315 2020-01-30 Jan Beulich <jbeulich@suse.com>
316
317 * config/tc-i386.c (output_disp): Tighten base_opcode check.
318 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
319 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
320 Adjust expectations.
321
322 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
323
324 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
325 * testsuite/gas/bpf/alu-be.d: Likewise.
326 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
327 * testsuite/gas/bpf/alu32-be.d: Likewise.
328
329 2020-01-30 Jan Beulich <jbeulich@suse.com>
330
331 * testsuite/gas/i386/x86-64-branch-2.s,
332 testsuite/gas/i386/x86-64-branch-4.s,
333 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
334 * testsuite/gas/i386/ilp32/x86-64-branch.d,
335 testsuite/gas/i386/x86-64-branch-2.d,
336 testsuite/gas/i386/x86-64-branch-4.l,
337 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
338
339 2020-01-30 Jan Beulich <jbeulich@suse.com>
340
341 * config/tc-i386.c (process_suffix): .
342 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
343 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
344 Add LRETQ case.
345 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
346 suffix.
347 testsuite/gas/i386/x86_64.s: Add RETF cases.
348 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
349 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
350 testsuite/gas/i386/x86-64-opcode.d,
351 testsuite/gas/i386/x86-64-suffix-intel.d,
352 testsuite/gas/i386/x86-64-suffix.d,
353 testsuite/gas/i386/x86_64-intel.d
354 testsuite/gas/i386/x86_64.d: Adjust expectations.
355 * testsuite/gas/i386/x86-64-suffix.e,
356 testsuite/gas/i386/x86_64.e: New.
357
358 2020-01-30 Jan Beulich <jbeulich@suse.com>
359
360 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
361 special case.
362
363 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
364
365 PR binutils/25445
366 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
367 movsxd.
368 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
369 differences. Document movslq and movsxd.
370 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
371 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
372 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
373 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
374 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
375 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
376 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
377 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
378 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
379 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
380 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
381
382 2020-01-27 Alan Modra <amodra@gmail.com>
383
384 * testsuite/gas/all/gas.exp: Replace case statements with switch
385 statements.
386 * testsuite/gas/elf/elf.exp: Likewise.
387 * testsuite/gas/macros/macros.exp: Likewise.
388 * testsuite/lib/gas-defs.exp: Likewise.
389
390 2020-01-27 Tamar Christina <tamar.christina@arm.com>
391
392 PR 25403
393 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
394 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
395
396 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
397
398 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
399 s exts must be known, so rename *ok* to *fail*.
400 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
401 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
402 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
403 above change.
404 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
405 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
406
407 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
408
409 PR gas/25438
410 * config/tc-i386.c (check_long_reg): Always disallow double word
411 suffix in mnemonic with word general register.
412 * testsuite/gas/i386/general.s: Replace word general register
413 with double word general register for movl.
414 * testsuite/gas/i386/inval.s: Add tests for movl with word general
415 register.
416 * testsuite/gas/i386/general.l: Updated.
417 * testsuite/gas/i386/inval.l: Likewise.
418
419 2020-01-22 Alan Modra <amodra@gmail.com>
420
421 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
422 __tls_get_addr_desc and __tls_get_addr_opt.
423
424 2020-01-21 Jan Beulich <jbeulich@suse.com>
425
426 * testsuite/gas/i386/inval-crc32.s,
427 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
428 * testsuite/gas/i386/inval-crc32.l,
429 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
430
431 2020-01-21 Jan Beulich <jbeulich@suse.com>
432
433 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
434 generic code path. Deal with No_lSuf being set in a template.
435 * testsuite/gas/i386/inval-crc32.l,
436 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
437 instead of error(s) when operand size is ambiguous.
438 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
439 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
440 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
441 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
442 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
443 Adjust expectations.
444
445 2020-01-21 Jan Beulich <jbeulich@suse.com>
446
447 * config/tc-i386.c (process_suffix): Drop SYSRET special case
448 and an intel_syntax check. Re-write lack-of-suffix processing
449 logic.
450 * doc/c-i386.texi: Document operand size defaults for suffix-
451 less AT&T syntax insns.
452 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
453 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
454 testsuite/gas/i386/x86-64-avx-scalar.s,
455 testsuite/gas/i386/x86-64-avx.s,
456 testsuite/gas/i386/x86-64-bundle.s,
457 testsuite/gas/i386/x86-64-intel64.s,
458 testsuite/gas/i386/x86-64-lock-1.s,
459 testsuite/gas/i386/x86-64-opcode.s,
460 testsuite/gas/i386/x86-64-sse2avx.s,
461 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
462 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
463 testsuite/gas/i386/x86-64-nops.s,
464 testsuite/gas/i386/x86-64-ptwrite.s,
465 testsuite/gas/i386/x86-64-simd.s,
466 testsuite/gas/i386/x86-64-sse-noavx.s,
467 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
468 insns.
469 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
470 testsuite/gas/i386/noreg64.s: Add further tests.
471 * testsuite/gas/i386/ilp32/x86-64-nops.d,
472 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
473 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
474 testsuite/gas/i386/sse-noavx.d,
475 testsuite/gas/i386/x86-64-intel64.d,
476 testsuite/gas/i386/x86-64-nops.d,
477 testsuite/gas/i386/x86-64-opcode.d,
478 testsuite/gas/i386/x86-64-ptwrite-intel.d,
479 testsuite/gas/i386/x86-64-ptwrite.d,
480 testsuite/gas/i386/x86-64-simd-intel.d,
481 testsuite/gas/i386/x86-64-simd-suffix.d,
482 testsuite/gas/i386/x86-64-simd.d,
483 testsuite/gas/i386/x86-64-sse-noavx.d
484 testsuite/gas/i386/x86-64-suffix.d,
485 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
486 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
487 testsuite/gas/i386/noreg64.l: New.
488 * testsuite/gas/i386/i386.exp: Run new tests.
489
490 2020-01-21 Jan Beulich <jbeulich@suse.com>
491
492 * testsuite/gas/i386/avx512_bf16_vl.s,
493 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
494 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
495 broadcast forms of VCVTNEPS2BF16.
496 * testsuite/gas/i386/avx512_bf16_vl.d,
497 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
498
499 2020-01-20 Nick Clifton <nickc@redhat.com>
500
501 * po/uk.po: Updated Ukranian translation.
502
503 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
504
505 PR ld/25416
506 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
507 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
508 x32 object.
509 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
510 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
511 R_X86_64_GOTPC32_TLSDESC relocation.
512
513 2020-01-18 Nick Clifton <nickc@redhat.com>
514
515 * configure: Regenerate.
516 * po/gas.pot: Regenerate.
517
518 2020-01-18 Nick Clifton <nickc@redhat.com>
519
520 Binutils 2.34 branch created.
521
522 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
523
524 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
525 with vex_encoding_vex.
526 (parse_insn): Likewise.
527 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
528 and {vex3} documentation.
529 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
530 {vex}.
531 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
532
533 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
534
535 PR 25376
536 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
537 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
538 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
539 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
540 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
541 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
542
543 2020-01-16 Jan Beulich <jbeulich@suse.com>
544
545 * config/tc-i386.c (match_template): Drop found_cpu_match local
546 variable.
547
548 2020-01-16 Jan Beulich <jbeulich@suse.com>
549
550 * testsuite/gas/i386/avx512dq-inval.l,
551 testsuite/gas/i386/avx512dq-inval.s: New.
552 * testsuite/gas/i386/i386.exp: Run new test.
553
554 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
555
556 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
557 relocations when the target is 430X, except when extracting part of an
558 expression.
559 (msp430_srcoperand): Adjust comment.
560 Initialize the expp member of the msp430_operand_s struct as
561 appropriate.
562 (msp430_dstoperand): Likewise.
563 * testsuite/gas/msp430/msp430.exp: Run new test.
564 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
565 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
566
567 2020-01-15 Alan Modra <amodra@gmail.com>
568
569 * configure.tgt: Add sparc-*-freebsd case.
570
571 2020-01-14 Lili Cui <lili.cui@intel.com>
572
573 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
574 * testsuite/gas/i386/align-branch-1b.d: Likewise.
575 * testsuite/gas/i386/align-branch-1c.d: Likewise.
576 * testsuite/gas/i386/align-branch-1d.d: Likewise.
577 * testsuite/gas/i386/align-branch-1e.d: Likewise.
578 * testsuite/gas/i386/align-branch-1f.d: Likewise.
579 * testsuite/gas/i386/align-branch-1g.d: Likewise.
580 * testsuite/gas/i386/align-branch-1h.d: Likewise.
581 * testsuite/gas/i386/align-branch-1i.d: Likewise.
582 * testsuite/gas/i386/align-branch-5.d: Likewise.
583 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
584 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
585 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
586 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
587 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
588 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
589 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
590 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
591 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
592 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
593 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
594 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
595
596 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
597
598 PR 25377
599 * config/tc-z80.c: Add support for half precision, single
600 precision and double precision floating point values.
601 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
602 * doc/as.texi: Add new z80 command line options.
603 * doc/c-z80.texi: Document new z80 command line options.
604 * testsuite/gas/z80/ez80_pref_dis.s: New test.
605 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
606 * testsuite/gas/z80/z80.exp: Run the new test.
607 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
608 * testsuite/gas/z80/fp_zeda32.d: Likewise.
609 * testsuite/gas/z80/strings.d: Update expected output.
610
611 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
612
613 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
614 dependency.
615
616 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
617
618 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
619 the CPU.
620 * config/tc-arc.h: Add header if/defs.
621 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
622
623 2020-01-13 Alan Modra <amodra@gmail.com>
624
625 * testsuite/gas/wasm32/allinsn.d: Update expected output.
626
627 2020-01-13 Alan Modra <amodra@gmail.com>
628
629 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
630 insertion.
631
632 2020-01-10 Alan Modra <amodra@gmail.com>
633
634 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
635 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
636
637 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
638
639 PR 25224
640 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
641 opcode byte values.
642 (emit_ld_r_r): Likewise.
643 (emit_ld_rr_m): Likewise.
644 (emit_ld_rr_nn): Likewise.
645
646 2020-01-09 Jan Beulich <jbeulich@suse.com>
647
648 * config/tc-i386.c (optimize_encoding): Add
649 is_any_vex_encoding() invocations. Drop respective
650 i.tm.extension_opcode == None checks.
651
652 2020-01-09 Jan Beulich <jbeulich@suse.com>
653
654 * config/tc-i386.c (md_assemble): Check RegRex is clear during
655 REX transformations. Correct comment indentation.
656
657 2020-01-09 Jan Beulich <jbeulich@suse.com>
658
659 * config/tc-i386.c (optimize_encoding): Generalize register
660 transformation for TEST optimization.
661
662 2020-01-09 Jan Beulich <jbeulich@suse.com>
663
664 * testsuite/gas/i386/x86-64-sysenter-amd.s,
665 testsuite/gas/i386/x86-64-sysenter-amd.d,
666 testsuite/gas/i386/x86-64-sysenter-amd.l,
667 testsuite/gas/i386/x86-64-sysenter-intel.d,
668 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
669 * testsuite/gas/i386/i386.exp: Run new tests.
670
671 2020-01-08 Nick Clifton <nickc@redhat.com>
672
673 PR 25284
674 * doc/as.texi (Align): Document the fact that all arguments can be
675 omitted.
676 (Balign): Likewise.
677 (P2align): Likewise.
678
679 2020-01-08 Nick Clifton <nickc@redhat.com>
680
681 PR 14891
682 * config/obj-elf.c (obj_elf_section): Fail if the section name is
683 already defined as a different symbol type.
684 * testsuite/gas/elf/pr14891.s: New test source file.
685 * testsuite/gas/elf/pr14891.d: New test driver.
686 * testsuite/gas/elf/pr14891.s: New test expected error output.
687 * testsuite/gas/elf/elf.exp: Run the new test.
688
689 2020-01-08 Alan Modra <amodra@gmail.com>
690
691 * config/tc-z8k.c (md_begin): Make idx unsigned.
692 (get_specific): Likewise for this_index.
693
694 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
695
696 * onfig/tc-arc.c (parse_reloc_symbol): New function.
697 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
698 (md_operand): Set X_md to absent.
699 (arc_parse_name): Check for X_md.
700
701 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
702
703 PR 25311
704 * as.h (TC_STRING_ESCAPES): Provide a default definition.
705 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
706 NO_STRING_ESCAPES.
707 * read.c (next_char_of_string): Likewise.
708 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
709 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
710
711 2020-01-03 Nick Clifton <nickc@redhat.com>
712
713 * po/sv.po: Updated Swedish translation.
714
715 2020-01-03 Jan Beulich <jbeulich@suse.com>
716
717 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
718 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
719
720 2020-01-03 Jan Beulich <jbeulich@suse.com>
721
722 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
723 by-element usdot. Add 64-bit form tests for by-element sudot.
724 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
725
726 2020-01-03 Jan Beulich <jbeulich@suse.com>
727
728 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
729 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
730
731 2020-01-03 Jan Beulich <jbeulich@suse.com>
732
733 * testsuite/gas/aarch64/f64mm.d,
734 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
735
736 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
737
738 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
739 support for assembler code generated by SDCC. Add new relocation
740 types. Add z80-elf target support.
741 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
742 labels. Local labels starts from ".L".
743 * NEWS: Mention the new support.
744 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
745 * testsuite/gas/all/fwdexp.s: Likewise.
746 * testsuite/gas/all/cond.l: Likewise.
747 * testsuite/gas/all/cond.s: Likewise.
748 * testsuite/gas/all/fwdexp.d: Likewise.
749 * testsuite/gas/all/fwdexp.s: Likewise.
750 * testsuite/gas/elf/section2.e-mips: Likewise.
751 * testsuite/gas/elf/section2.l: Likewise.
752 * testsuite/gas/elf/section2.s: Likewise.
753 * testsuite/gas/macros/app1.d: Likewise.
754 * testsuite/gas/macros/app1.s: Likewise.
755 * testsuite/gas/macros/app2.d: Likewise.
756 * testsuite/gas/macros/app2.s: Likewise.
757 * testsuite/gas/macros/app3.d: Likewise.
758 * testsuite/gas/macros/app3.s: Likewise.
759 * testsuite/gas/macros/app4.d: Likewise.
760 * testsuite/gas/macros/app4.s: Likewise.
761 * testsuite/gas/macros/app4b.s: Likewise.
762 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
763 * testsuite/gas/z80/z80.exp: Add new tests
764 * testsuite/gas/z80/dollar.d: New file.
765 * testsuite/gas/z80/dollar.s: New file.
766 * testsuite/gas/z80/ez80_adl_all.d: New file.
767 * testsuite/gas/z80/ez80_adl_all.s: New file.
768 * testsuite/gas/z80/ez80_adl_suf.d: New file.
769 * testsuite/gas/z80/ez80_isuf.s: New file.
770 * testsuite/gas/z80/ez80_z80_all.d: New file.
771 * testsuite/gas/z80/ez80_z80_all.s: New file.
772 * testsuite/gas/z80/ez80_z80_suf.d: New file.
773 * testsuite/gas/z80/r800_extra.d: New file.
774 * testsuite/gas/z80/r800_extra.s: New file.
775 * testsuite/gas/z80/r800_ii8.d: New file.
776 * testsuite/gas/z80/r800_z80_doc.d: New file.
777 * testsuite/gas/z80/z180.d: New file.
778 * testsuite/gas/z80/z180.s: New file.
779 * testsuite/gas/z80/z180_z80_doc.d: New file.
780 * testsuite/gas/z80/z80_doc.d: New file.
781 * testsuite/gas/z80/z80_doc.s: New file.
782 * testsuite/gas/z80/z80_ii8.d: New file.
783 * testsuite/gas/z80/z80_ii8.s: New file.
784 * testsuite/gas/z80/z80_in_f_c.d: New file.
785 * testsuite/gas/z80/z80_in_f_c.s: New file.
786 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
787 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
788 * testsuite/gas/z80/z80_out_c_0.d: New file.
789 * testsuite/gas/z80/z80_out_c_0.s: New file.
790 * testsuite/gas/z80/z80_reloc.d: New file.
791 * testsuite/gas/z80/z80_reloc.s: New file.
792 * testsuite/gas/z80/z80_sli.d: New file.
793 * testsuite/gas/z80/z80_sli.s: New file.
794
795 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
796
797 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
798 REGLIST_RN.
799
800 2020-01-01 Alan Modra <amodra@gmail.com>
801
802 Update year range in copyright notice of all files.
803
804 For older changes see ChangeLog-2019
805 \f
806 Copyright (C) 2020 Free Software Foundation, Inc.
807
808 Copying and distribution of this file, with or without modification,
809 are permitted in any medium without royalty provided the copyright
810 notice and this notice are preserved.
811
812 Local Variables:
813 mode: change-log
814 left-margin: 8
815 fill-column: 74
816 version-control: never
817 End: