1 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
3 * NEWS: Mention .nop directive.
4 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
5 * read.c (potable): Add .nop.
7 * read.h (s_nop): New prototype.
8 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
10 (md_generate_nops): New function.
11 (relax_segment): Likewise.
12 (write_contents): Use md_generate_nops for rs_fill_nop.
13 * config/tc-i386.c (alt64_11): New.
14 (alt64_patt): Likewise.
15 (md_convert_frag): Handle rs_space_nop.
16 (i386_output_nops): New function.
17 (i386_generate_nops): Likewise.
18 (i386_align_code): Call i386_output_nops.
19 * config/tc-i386.h (i386_generate_nops): New.
20 (md_generate_nops): Likewise.
21 * doc/as.texinfo: Document .nop directive.
22 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
23 * testsuite/gas/i386/nop-1.d: New file.
24 * testsuite/gas/i386/nop-1.s: Likewise.
25 * testsuite/gas/i386/nop-2.d: Likewise.
26 * testsuite/gas/i386/nop-2.s: Likewise.
27 * testsuite/gas/i386/nop-3.d: Likewise.
28 * testsuite/gas/i386/nop-3.s: Likewise.
29 * testsuite/gas/i386/nop-4.d: Likewise.
30 * testsuite/gas/i386/nop-4.s: Likewise.
31 * testsuite/gas/i386/nop-5.d: Likewise.
32 * testsuite/gas/i386/nop-5.s: Likewise.
33 * testsuite/gas/i386/nop-6.d: Likewise.
34 * testsuite/gas/i386/nop-6.s: Likewise.
35 * testsuite/gas/i386/nop-bad-1.l: Likewise.
36 * testsuite/gas/i386/nop-bad-1.s: Likewise.
37 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
38 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
39 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
40 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
41 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
42 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
44 2018-02-15 Tamar Christina <tamar.christina@arm.com>
46 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
47 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
49 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
51 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
52 frag that contains source address.
54 2018-02-13 Nick Clifton <nickc@redhat.com>
57 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
58 instruction before assuming that it is a MOV instruction.
59 * testsuite/gas/arm/pr22773.s: New test.
60 * testsuite/gas/arm/pr22773.d: New test driver.
61 * testsuite/gas/arm/pr22773.l: New expected output.
63 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
66 * config/tc-i386.c (need_plt32_p): New function.
67 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
68 (md_estimate_size_before_relax): Likewise.
69 * testsuite/gas/i386/reloc64.d: Updated.
70 * testsuite/gas/i386/x86-64-jump.d: Likewise.
71 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
72 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
73 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
74 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
75 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
76 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
78 2018-02-13 Maciej W. Rozycki <macro@mips.com>
80 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
82 2018-02-13 Nick Clifton <nickc@redhat.com>
85 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
87 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
88 (obj_elf_vtable_inherit): New stub function that calls
89 obj_elf_get_vtable_inherit.
90 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
91 (obj_elf_vtable_entry): New stub function that calls
92 obj_elf_get_vtable_entry.
93 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
94 (obj_elf_vtable_entry) Likewise.
95 (obj_elf_get_vtable_inherit) Likewise.
96 (obj_elf_get_vtable_entry) Likewise.
97 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
98 * config/tc-i386c (md_pseudo_table): Likewise.
99 * config/tc-hppa.c (pa_vtable_entry): Call
100 obj_elf_get_vtable_entry.
101 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
102 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
103 with call to dwarf2_get_filename.
104 * dwarf2dbg.c (dwarf2_directive_file): Rename to
105 dwarf2_directive_filename.
106 (dwarf2_directive_file): New stub function that calls
107 dwarf2_directive_filename.
108 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
110 2018-02-12 Maciej W. Rozycki <macro@mips.com>
112 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
115 2018-02-12 Henry Wong <henry@stuffedcow.net>
117 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
118 * testsuite/gas/mips/r6-n32.d: Likewise.
119 * testsuite/gas/mips/r6-n64.d: Likewise.
121 2018-02-12 Nick Clifton <nickc@redhat.com>
123 * po/ru.po: Updated Russian translation.
125 2018-02-08 Alan Modra <amodra@gmail.com>
128 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
129 (ppc_frag_check): Likewise.
130 * testsuite/gas/ppc/misalign.d,
131 * testsuite/gas/ppc/misalign.l,
132 * testsuite/gas/ppc/misalign.s: New test.
133 * testsuite/gas/ppc/misalign2.d,
134 * testsuite/gas/ppc/misalign2.s: New test.
135 * testsuite/gas/ppc/ppc.exp: Run them.
137 2018-02-05 Maciej W. Rozycki <macro@mips.com>
139 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
140 `expr' parameter to `ep'.
142 2018-02-05 Maciej W. Rozycki <macro@mips.com>
144 * testsuite/gas/mips/reginfo-2.d: New test.
145 * testsuite/gas/mips/reginfo-2-n32.d: New test.
146 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
147 * testsuite/gas/mips/reginfo-2.s: New test source.
148 * testsuite/gas/mips/mips.exp: Run the new tests.
150 2018-02-05 Nick Clifton <nickc@redhat.com>
152 * po/ru.po: Updated Russian translation.
154 2018-01-31 Alan Modra <amodra@gmail.com>
157 * app.c (last_char): New static var.
158 (struct app_save): Add last_char field.
159 (app_push, app_pop): Handle it.
160 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
162 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
165 * config/tc-sparc.h (sparc_mach): Declare.
166 (TARGET_MACH): Define to above.
167 * config/tc-sparc.c (sparc_mach): New function.
168 (sparc_md_end): Minor tweak.
170 2018-01-29 Nick Clifton <nickc@redhat.com>
172 * po/ru.po: Updated Russian translation.
174 2018-01-26 Maciej W. Rozycki <macro@mips.com>
176 * configure.tgt: Use generic emulation for `mips-*-windiss',
177 overriding the blanket choice made for `*-*-windiss'.
179 2018-01-26 Maciej W. Rozycki <macro@mips.com>
181 * configure.tgt: Use `mips-*-sysv4*' rather than
184 2018-01-24 Renlin Li <renlin.li@arm.com>
186 * config/tc-aarch64.c (reloc_table): add entries for
187 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
188 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
189 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
190 BFD_RELOC_AARCH64_MOVW_PREL_G3.
191 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
192 (md_apply_fix): Likewise
193 * testsuite/gas/aarch64/prel_g0.s: New.
194 * testsuite/gas/aarch64/prel_g0.d: New.
195 * testsuite/gas/aarch64/prel_g0_nc.s: New.
196 * testsuite/gas/aarch64/prel_g0_nc.d: New.
197 * testsuite/gas/aarch64/prel_g1.s: New.
198 * testsuite/gas/aarch64/prel_g1.d: New.
199 * testsuite/gas/aarch64/prel_g1_nc.s: New.
200 * testsuite/gas/aarch64/prel_g1_nc.d: New.
201 * testsuite/gas/aarch64/prel_g2.s: New.
202 * testsuite/gas/aarch64/prel_g2.d: New.
203 * testsuite/gas/aarch64/prel_g2_nc.s: New.
204 * testsuite/gas/aarch64/prel_g2_nc.d: New.
205 * testsuite/gas/aarch64/prel_g3.s: New.
206 * testsuite/gas/aarch64/prel_g3.d: New.
208 2018-01-23 Maciej W. Rozycki <macro@mips.com>
210 * configure.ac: Also set `mips_default_abi' to N32_ABI for
212 * configure: Regenerate.
214 2018-01-23 Maciej W. Rozycki <macro@mips.com>
216 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
219 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
221 * config/tc-i386.c (cpu_arch): Add .pconfig.
222 * doc/c-i386.texi: Document .pconfig.
223 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
224 * testsuite/gas/i386/pconfig-intel.d: New test.
225 * testsuite/gas/i386/pconfig.d: Likewise.
226 * testsuite/gas/i386/pconfig.s: Likewise.
227 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
228 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
229 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
231 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
233 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
234 * doc/c-i386.texi: Document .wbnoinvd.
235 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
236 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
237 * testsuite/gas/i386/wbnoinvd.d: Likewise.
238 * testsuite/gas/i386/wbnoinvd.s: Likewise.
239 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
240 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
241 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
243 2018-01-23 Maciej W. Rozycki <macro@mips.com>
245 * config/tc-mips.c (md_show_usage): Correctly indicate the
246 configuration-specific default ABI.
248 2018-01-23 Maciej W. Rozycki <macro@mips.com>
250 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
251 `-mno-mips16e2' options.
253 2018-01-22 Maciej W. Rozycki <macro@mips.com>
255 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
256 Correct syntax of the `.set nomips16e2' directive description.
258 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
261 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
262 * testsuite/gas/rx/pr22737.s: New test.
263 * testsuite/gas/rx/pr22737.d: Likewise.
264 * testsuite/gas/rx/rx.exp: Run the new test.
266 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
268 * config/tc-arm.c (ToC macro): Remove spurious comment.
269 (ToU macro): Likewise.
271 2018-01-17 Jim Wilson <jimw@sifive.com>
273 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
274 (riscv_ip) <'z'>: New.
276 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
278 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
279 (cpu_noarch): Add noibt, noshstk.
280 (parse_insn): Change cpucet to cpuibt.
281 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
282 * testsuite/gas/i386/cet-ibt-inval.l: New test.
283 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
284 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
285 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
286 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
287 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
288 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
289 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
291 2018-01-16 Nick Clifton <nickc@redhat.com>
293 * po/fr.po: Updated French translation.
295 2018-01-15 Jim Wilson <jimw@sifive.com>
297 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
298 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
300 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
302 * config/tc-arm.c (ToC): Define macro.
304 (insns): Make use of above macros for new instructions introduced in
307 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
309 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
310 and vlstm conditionally executable and reindent parameters.
311 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
312 aforementionned instructions.
314 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
316 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
317 profile architecture or if in autodetection mode. Clarify that
318 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
319 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
321 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
322 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
323 * testsuite/gas/arm/udf.l: Likewise.
324 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
326 2018-01-15 Nick Clifton <nickc@redhat.com>
328 * po/uk.po: Updated Ukranian translation.
330 2018-01-13 Nick Clifton <nickc@redhat.com>
332 * po/gas.pot: Regenerated.
334 2018-01-13 Nick Clifton <nickc@redhat.com>
336 * configure: Regenerate.
338 2018-01-13 Nick Clifton <nickc@redhat.com>
341 * NEWS: Add marker for 2.30.
343 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
345 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
346 define to 0 and 1. Remove a dangling reference to "AMD 29000"
349 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
351 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
352 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
353 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
354 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
355 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
356 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
357 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
358 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
360 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
361 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
362 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
363 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
364 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
365 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
366 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
367 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
369 2018-01-11 Alan Modra <amodra@gmail.com>
371 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
372 positive "‘profile’ may be used uninitialized".
374 2018-01-10 Jan Beulich <jbeulich@suse.com>
376 * testsuite/gas/i386/avx512_4fmaps.s,
377 testsuite/gas/i386/avx512_4fmaps_vl.s,
378 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
379 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
380 Disp8 forms (and the transition happening at the right
382 * testsuite/gas/i386/avx512_4fmaps.d,
383 testsuite/gas/i386/avx512_4fmaps-intel.d,
384 testsuite/gas/i386/avx512_4fmaps_vl.d,
385 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
386 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
387 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
388 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
389 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
392 2018-01-10 Jan Beulich <jbeulich@suse.com>
394 * testsuite/gas/i386/avx512bw.s,
395 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
397 * testsuite/gas/i386/avx512bw-intel.d,
398 testsuite/gas/i386/avx512bw.d,
399 testsuite/gas/i386/avx512bw_vl-intel.d.
400 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
402 2018-01-09 Jim Wilson <jimw@sifive.com>
404 * testsuite/gas/riscv/auipc-x0.d: New.
405 * testsuite/gas/riscv/auipc-x0.s: New.
407 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
409 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
410 in Arm execution state, and Armv6T2 and above in Thumb execution
412 * testsuite/gas/arm/csdb.s: New.
413 * testsuite/gas/arm/csdb.d: New.
414 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
415 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
417 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
419 * testsuite/gas/aarch64/system.d: Update expected results to expect
422 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
425 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
427 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
428 * testsuite/gas/i386/x86-64-movd.d: Likewise.
429 * testsuite/gas/i386/x86-64-movd.s: Likewise.
431 2018-01-08 Nick Clifton <nickc@redhat.com>
434 * doc/c-i386.texi (i386-Directives): Document the .largecomm
437 2018-01-04 Jim Wilson <jimw@sifive.com>
439 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
440 * testsuite/gas/riscv/priv-reg.d: Likewise.
442 2018-01-03 Alan Modra <amodra@gmail.com>
444 Update year range in copyright notice of all files.
446 2018-01-02 Nick Clifton <nickc@redhat.com>
449 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
450 version of ARM MRS instruction.
452 For older changes see ChangeLog-2017
454 Copyright (C) 2018 Free Software Foundation, Inc.
456 Copying and distribution of this file, with or without modification,
457 are permitted in any medium without royalty provided the copyright
458 notice and this notice are preserved.
464 version-control: never