1 2018-02-22 A. Wilcox <awilfox@adelielinux.org>
4 * config/tc-mips.c (mips_lookup_insn): Use memmove to strip the
5 instruction size suffix.
7 2018-02-20 Maciej W. Rozycki <macro@mips.com>
9 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
10 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
11 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
12 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
13 * testsuite/gas/mips/mips.exp: Run the new tests.
15 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
17 * config/tc-xtensa.c (struct litpool_frag): Add new field
19 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
20 (MAX_POOL_LITERALS): New macro definitions.
21 (auto_litpool_limit): Initialize to 0.
22 (md_parse_option): Set auto_litpool_limit in the presence of
23 --auto-litpools option.
24 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
26 (xg_find_litpool): New function. Make sure that found literal
27 pool size is within the limit.
28 (xtensa_move_literals): Extract literal pool search code into
30 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
31 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
32 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
33 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
35 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
36 that objdump doesn't get out of sync.
38 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
40 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
41 also the same as -march.
43 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
45 * NEWS: Mention .nop directive.
46 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
47 * read.c (potable): Add .nop.
48 (s_nop): New function.
49 * read.h (s_nop): New prototype.
50 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
52 (md_generate_nops): New function.
53 (relax_segment): Likewise.
54 (write_contents): Use md_generate_nops for rs_fill_nop.
55 * config/tc-i386.c (alt64_11): New.
56 (alt64_patt): Likewise.
57 (md_convert_frag): Handle rs_space_nop.
58 (i386_output_nops): New function.
59 (i386_generate_nops): Likewise.
60 (i386_align_code): Call i386_output_nops.
61 * config/tc-i386.h (i386_generate_nops): New.
62 (md_generate_nops): Likewise.
63 * doc/as.texinfo: Document .nop directive.
64 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
65 * testsuite/gas/i386/nop-1.d: New file.
66 * testsuite/gas/i386/nop-1.s: Likewise.
67 * testsuite/gas/i386/nop-2.d: Likewise.
68 * testsuite/gas/i386/nop-2.s: Likewise.
69 * testsuite/gas/i386/nop-3.d: Likewise.
70 * testsuite/gas/i386/nop-3.s: Likewise.
71 * testsuite/gas/i386/nop-4.d: Likewise.
72 * testsuite/gas/i386/nop-4.s: Likewise.
73 * testsuite/gas/i386/nop-5.d: Likewise.
74 * testsuite/gas/i386/nop-5.s: Likewise.
75 * testsuite/gas/i386/nop-6.d: Likewise.
76 * testsuite/gas/i386/nop-6.s: Likewise.
77 * testsuite/gas/i386/nop-bad-1.l: Likewise.
78 * testsuite/gas/i386/nop-bad-1.s: Likewise.
79 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
80 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
81 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
82 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
83 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
84 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
86 2018-02-15 Tamar Christina <tamar.christina@arm.com>
88 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
89 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
91 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
93 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
94 frag that contains source address.
96 2018-02-13 Nick Clifton <nickc@redhat.com>
99 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
100 instruction before assuming that it is a MOV instruction.
101 * testsuite/gas/arm/pr22773.s: New test.
102 * testsuite/gas/arm/pr22773.d: New test driver.
103 * testsuite/gas/arm/pr22773.l: New expected output.
105 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
108 * config/tc-i386.c (need_plt32_p): New function.
109 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
110 (md_estimate_size_before_relax): Likewise.
111 * testsuite/gas/i386/reloc64.d: Updated.
112 * testsuite/gas/i386/x86-64-jump.d: Likewise.
113 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
114 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
115 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
116 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
117 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
118 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
120 2018-02-13 Maciej W. Rozycki <macro@mips.com>
122 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
124 2018-02-13 Nick Clifton <nickc@redhat.com>
127 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
129 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
130 (obj_elf_vtable_inherit): New stub function that calls
131 obj_elf_get_vtable_inherit.
132 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
133 (obj_elf_vtable_entry): New stub function that calls
134 obj_elf_get_vtable_entry.
135 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
136 (obj_elf_vtable_entry) Likewise.
137 (obj_elf_get_vtable_inherit) Likewise.
138 (obj_elf_get_vtable_entry) Likewise.
139 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
140 * config/tc-i386c (md_pseudo_table): Likewise.
141 * config/tc-hppa.c (pa_vtable_entry): Call
142 obj_elf_get_vtable_entry.
143 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
144 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
145 with call to dwarf2_get_filename.
146 * dwarf2dbg.c (dwarf2_directive_file): Rename to
147 dwarf2_directive_filename.
148 (dwarf2_directive_file): New stub function that calls
149 dwarf2_directive_filename.
150 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
152 2018-02-12 Maciej W. Rozycki <macro@mips.com>
154 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
157 2018-02-12 Henry Wong <henry@stuffedcow.net>
159 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
160 * testsuite/gas/mips/r6-n32.d: Likewise.
161 * testsuite/gas/mips/r6-n64.d: Likewise.
163 2018-02-12 Nick Clifton <nickc@redhat.com>
165 * po/ru.po: Updated Russian translation.
167 2018-02-08 Alan Modra <amodra@gmail.com>
170 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
171 (ppc_frag_check): Likewise.
172 * testsuite/gas/ppc/misalign.d,
173 * testsuite/gas/ppc/misalign.l,
174 * testsuite/gas/ppc/misalign.s: New test.
175 * testsuite/gas/ppc/misalign2.d,
176 * testsuite/gas/ppc/misalign2.s: New test.
177 * testsuite/gas/ppc/ppc.exp: Run them.
179 2018-02-05 Maciej W. Rozycki <macro@mips.com>
181 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
182 `expr' parameter to `ep'.
184 2018-02-05 Maciej W. Rozycki <macro@mips.com>
186 * testsuite/gas/mips/reginfo-2.d: New test.
187 * testsuite/gas/mips/reginfo-2-n32.d: New test.
188 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
189 * testsuite/gas/mips/reginfo-2.s: New test source.
190 * testsuite/gas/mips/mips.exp: Run the new tests.
192 2018-02-05 Nick Clifton <nickc@redhat.com>
194 * po/ru.po: Updated Russian translation.
196 2018-01-31 Alan Modra <amodra@gmail.com>
199 * app.c (last_char): New static var.
200 (struct app_save): Add last_char field.
201 (app_push, app_pop): Handle it.
202 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
204 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
207 * config/tc-sparc.h (sparc_mach): Declare.
208 (TARGET_MACH): Define to above.
209 * config/tc-sparc.c (sparc_mach): New function.
210 (sparc_md_end): Minor tweak.
212 2018-01-29 Nick Clifton <nickc@redhat.com>
214 * po/ru.po: Updated Russian translation.
216 2018-01-26 Maciej W. Rozycki <macro@mips.com>
218 * configure.tgt: Use generic emulation for `mips-*-windiss',
219 overriding the blanket choice made for `*-*-windiss'.
221 2018-01-26 Maciej W. Rozycki <macro@mips.com>
223 * configure.tgt: Use `mips-*-sysv4*' rather than
226 2018-01-24 Renlin Li <renlin.li@arm.com>
228 * config/tc-aarch64.c (reloc_table): add entries for
229 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
230 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
231 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
232 BFD_RELOC_AARCH64_MOVW_PREL_G3.
233 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
234 (md_apply_fix): Likewise
235 * testsuite/gas/aarch64/prel_g0.s: New.
236 * testsuite/gas/aarch64/prel_g0.d: New.
237 * testsuite/gas/aarch64/prel_g0_nc.s: New.
238 * testsuite/gas/aarch64/prel_g0_nc.d: New.
239 * testsuite/gas/aarch64/prel_g1.s: New.
240 * testsuite/gas/aarch64/prel_g1.d: New.
241 * testsuite/gas/aarch64/prel_g1_nc.s: New.
242 * testsuite/gas/aarch64/prel_g1_nc.d: New.
243 * testsuite/gas/aarch64/prel_g2.s: New.
244 * testsuite/gas/aarch64/prel_g2.d: New.
245 * testsuite/gas/aarch64/prel_g2_nc.s: New.
246 * testsuite/gas/aarch64/prel_g2_nc.d: New.
247 * testsuite/gas/aarch64/prel_g3.s: New.
248 * testsuite/gas/aarch64/prel_g3.d: New.
250 2018-01-23 Maciej W. Rozycki <macro@mips.com>
252 * configure.ac: Also set `mips_default_abi' to N32_ABI for
254 * configure: Regenerate.
256 2018-01-23 Maciej W. Rozycki <macro@mips.com>
258 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
261 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
263 * config/tc-i386.c (cpu_arch): Add .pconfig.
264 * doc/c-i386.texi: Document .pconfig.
265 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
266 * testsuite/gas/i386/pconfig-intel.d: New test.
267 * testsuite/gas/i386/pconfig.d: Likewise.
268 * testsuite/gas/i386/pconfig.s: Likewise.
269 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
270 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
271 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
273 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
275 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
276 * doc/c-i386.texi: Document .wbnoinvd.
277 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
278 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
279 * testsuite/gas/i386/wbnoinvd.d: Likewise.
280 * testsuite/gas/i386/wbnoinvd.s: Likewise.
281 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
282 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
283 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
285 2018-01-23 Maciej W. Rozycki <macro@mips.com>
287 * config/tc-mips.c (md_show_usage): Correctly indicate the
288 configuration-specific default ABI.
290 2018-01-23 Maciej W. Rozycki <macro@mips.com>
292 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
293 `-mno-mips16e2' options.
295 2018-01-22 Maciej W. Rozycki <macro@mips.com>
297 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
298 Correct syntax of the `.set nomips16e2' directive description.
300 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
303 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
304 * testsuite/gas/rx/pr22737.s: New test.
305 * testsuite/gas/rx/pr22737.d: Likewise.
306 * testsuite/gas/rx/rx.exp: Run the new test.
308 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
310 * config/tc-arm.c (ToC macro): Remove spurious comment.
311 (ToU macro): Likewise.
313 2018-01-17 Jim Wilson <jimw@sifive.com>
315 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
316 (riscv_ip) <'z'>: New.
318 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
320 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
321 (cpu_noarch): Add noibt, noshstk.
322 (parse_insn): Change cpucet to cpuibt.
323 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
324 * testsuite/gas/i386/cet-ibt-inval.l: New test.
325 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
326 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
327 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
328 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
329 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
330 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
331 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
333 2018-01-16 Nick Clifton <nickc@redhat.com>
335 * po/fr.po: Updated French translation.
337 2018-01-15 Jim Wilson <jimw@sifive.com>
339 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
340 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
342 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
344 * config/tc-arm.c (ToC): Define macro.
346 (insns): Make use of above macros for new instructions introduced in
349 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
351 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
352 and vlstm conditionally executable and reindent parameters.
353 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
354 aforementionned instructions.
356 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
358 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
359 profile architecture or if in autodetection mode. Clarify that
360 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
361 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
363 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
364 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
365 * testsuite/gas/arm/udf.l: Likewise.
366 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
368 2018-01-15 Nick Clifton <nickc@redhat.com>
370 * po/uk.po: Updated Ukranian translation.
372 2018-01-13 Nick Clifton <nickc@redhat.com>
374 * po/gas.pot: Regenerated.
376 2018-01-13 Nick Clifton <nickc@redhat.com>
378 * configure: Regenerate.
380 2018-01-13 Nick Clifton <nickc@redhat.com>
383 * NEWS: Add marker for 2.30.
385 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
387 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
388 define to 0 and 1. Remove a dangling reference to "AMD 29000"
391 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
393 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
394 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
395 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
396 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
397 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
398 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
399 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
400 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
402 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
403 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
404 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
405 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
406 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
407 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
408 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
409 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
411 2018-01-11 Alan Modra <amodra@gmail.com>
413 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
414 positive "‘profile’ may be used uninitialized".
416 2018-01-10 Jan Beulich <jbeulich@suse.com>
418 * testsuite/gas/i386/avx512_4fmaps.s,
419 testsuite/gas/i386/avx512_4fmaps_vl.s,
420 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
421 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
422 Disp8 forms (and the transition happening at the right
424 * testsuite/gas/i386/avx512_4fmaps.d,
425 testsuite/gas/i386/avx512_4fmaps-intel.d,
426 testsuite/gas/i386/avx512_4fmaps_vl.d,
427 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
428 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
429 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
430 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
431 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
434 2018-01-10 Jan Beulich <jbeulich@suse.com>
436 * testsuite/gas/i386/avx512bw.s,
437 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
439 * testsuite/gas/i386/avx512bw-intel.d,
440 testsuite/gas/i386/avx512bw.d,
441 testsuite/gas/i386/avx512bw_vl-intel.d.
442 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
444 2018-01-09 Jim Wilson <jimw@sifive.com>
446 * testsuite/gas/riscv/auipc-x0.d: New.
447 * testsuite/gas/riscv/auipc-x0.s: New.
449 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
451 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
452 in Arm execution state, and Armv6T2 and above in Thumb execution
454 * testsuite/gas/arm/csdb.s: New.
455 * testsuite/gas/arm/csdb.d: New.
456 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
457 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
459 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
461 * testsuite/gas/aarch64/system.d: Update expected results to expect
464 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
467 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
469 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
470 * testsuite/gas/i386/x86-64-movd.d: Likewise.
471 * testsuite/gas/i386/x86-64-movd.s: Likewise.
473 2018-01-08 Nick Clifton <nickc@redhat.com>
476 * doc/c-i386.texi (i386-Directives): Document the .largecomm
479 2018-01-04 Jim Wilson <jimw@sifive.com>
481 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
482 * testsuite/gas/riscv/priv-reg.d: Likewise.
484 2018-01-03 Alan Modra <amodra@gmail.com>
486 Update year range in copyright notice of all files.
488 2018-01-02 Nick Clifton <nickc@redhat.com>
491 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
492 version of ARM MRS instruction.
494 For older changes see ChangeLog-2017
496 Copyright (C) 2018 Free Software Foundation, Inc.
498 Copying and distribution of this file, with or without modification,
499 are permitted in any medium without royalty provided the copyright
500 notice and this notice are preserved.
506 version-control: never