1 2018-02-20 Maciej W. Rozycki <macro@mips.com>
3 * testsuite/gas/mips/mips16-branch-reloc-4.d: New test.
4 * testsuite/gas/mips/mips16-branch-reloc-5.d: New test.
5 * testsuite/gas/mips/mips16-branch-reloc-4.s: New test source.
6 * testsuite/gas/mips/mips16-branch-reloc-5.s: New test source.
7 * testsuite/gas/mips/mips.exp: Run the new tests.
9 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
11 * config/tc-xtensa.c (struct litpool_frag): Add new field
13 (MAX_AUTO_POOL_LITERALS, MAX_EXPLICIT_POOL_LITERALS)
14 (MAX_POOL_LITERALS): New macro definitions.
15 (auto_litpool_limit): Initialize to 0.
16 (md_parse_option): Set auto_litpool_limit in the presence of
17 --auto-litpools option.
18 (xtensa_maybe_create_literal_pool_frag): Zero-initialize
20 (xg_find_litpool): New function. Make sure that found literal
21 pool size is within the limit.
22 (xtensa_move_literals): Extract literal pool search code into
24 * testsuite/gas/xtensa/all.exp: Add auto-litpools-2 test.
25 * testsuite/gas/xtensa/auto-litpools-2.d: New file.
26 * testsuite/gas/xtensa/auto-litpools-2.s: New file.
27 * testsuite/gas/xtensa/auto-litpools.d: Fix up changed
29 * testsuite/gas/xtensa/auto-litpools.s: Change literal value so
30 that objdump doesn't get out of sync.
32 2018-02-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
34 * doc/c-arm.texi (.arch_extension): Mention extensions it accepts are
35 also the same as -march.
37 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
39 * NEWS: Mention .nop directive.
40 * as.h (_relax_state): Add rs_space_nop and rs_fill_nop.
41 * read.c (potable): Add .nop.
42 (s_nop): New function.
43 * read.h (s_nop): New prototype.
44 * write.c (cvt_frag_to_fill): Handle rs_space_nop and
46 (md_generate_nops): New function.
47 (relax_segment): Likewise.
48 (write_contents): Use md_generate_nops for rs_fill_nop.
49 * config/tc-i386.c (alt64_11): New.
50 (alt64_patt): Likewise.
51 (md_convert_frag): Handle rs_space_nop.
52 (i386_output_nops): New function.
53 (i386_generate_nops): Likewise.
54 (i386_align_code): Call i386_output_nops.
55 * config/tc-i386.h (i386_generate_nops): New.
56 (md_generate_nops): Likewise.
57 * doc/as.texinfo: Document .nop directive.
58 * testsuite/gas/i386/i386.exp: Run .nop directive tests.
59 * testsuite/gas/i386/nop-1.d: New file.
60 * testsuite/gas/i386/nop-1.s: Likewise.
61 * testsuite/gas/i386/nop-2.d: Likewise.
62 * testsuite/gas/i386/nop-2.s: Likewise.
63 * testsuite/gas/i386/nop-3.d: Likewise.
64 * testsuite/gas/i386/nop-3.s: Likewise.
65 * testsuite/gas/i386/nop-4.d: Likewise.
66 * testsuite/gas/i386/nop-4.s: Likewise.
67 * testsuite/gas/i386/nop-5.d: Likewise.
68 * testsuite/gas/i386/nop-5.s: Likewise.
69 * testsuite/gas/i386/nop-6.d: Likewise.
70 * testsuite/gas/i386/nop-6.s: Likewise.
71 * testsuite/gas/i386/nop-bad-1.l: Likewise.
72 * testsuite/gas/i386/nop-bad-1.s: Likewise.
73 * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
74 * testsuite/gas/i386/x86-64-nop-2.d: Likewise.
75 * testsuite/gas/i386/x86-64-nop-3.d: Likewise.
76 * testsuite/gas/i386/x86-64-nop-4.d: Likewise.
77 * testsuite/gas/i386/x86-64-nop-5.d: Likewise.
78 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
80 2018-02-15 Tamar Christina <tamar.christina@arm.com>
82 * config/tc-arm.c (cpu_arch_ver): Renumber ARM_ARCH_V8_4A.
83 * testsuite/gas/arm/attr-march-armv8_4-a.d: New.
85 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
87 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
88 frag that contains source address.
90 2018-02-13 Nick Clifton <nickc@redhat.com>
93 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
94 instruction before assuming that it is a MOV instruction.
95 * testsuite/gas/arm/pr22773.s: New test.
96 * testsuite/gas/arm/pr22773.d: New test driver.
97 * testsuite/gas/arm/pr22773.l: New expected output.
99 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
102 * config/tc-i386.c (need_plt32_p): New function.
103 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
104 (md_estimate_size_before_relax): Likewise.
105 * testsuite/gas/i386/reloc64.d: Updated.
106 * testsuite/gas/i386/x86-64-jump.d: Likewise.
107 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
108 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
109 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
110 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
111 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
112 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
114 2018-02-13 Maciej W. Rozycki <macro@mips.com>
116 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
118 2018-02-13 Nick Clifton <nickc@redhat.com>
121 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
123 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
124 (obj_elf_vtable_inherit): New stub function that calls
125 obj_elf_get_vtable_inherit.
126 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
127 (obj_elf_vtable_entry): New stub function that calls
128 obj_elf_get_vtable_entry.
129 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
130 (obj_elf_vtable_entry) Likewise.
131 (obj_elf_get_vtable_inherit) Likewise.
132 (obj_elf_get_vtable_entry) Likewise.
133 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
134 * config/tc-i386c (md_pseudo_table): Likewise.
135 * config/tc-hppa.c (pa_vtable_entry): Call
136 obj_elf_get_vtable_entry.
137 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
138 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
139 with call to dwarf2_get_filename.
140 * dwarf2dbg.c (dwarf2_directive_file): Rename to
141 dwarf2_directive_filename.
142 (dwarf2_directive_file): New stub function that calls
143 dwarf2_directive_filename.
144 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
146 2018-02-12 Maciej W. Rozycki <macro@mips.com>
148 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
151 2018-02-12 Henry Wong <henry@stuffedcow.net>
153 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
154 * testsuite/gas/mips/r6-n32.d: Likewise.
155 * testsuite/gas/mips/r6-n64.d: Likewise.
157 2018-02-12 Nick Clifton <nickc@redhat.com>
159 * po/ru.po: Updated Russian translation.
161 2018-02-08 Alan Modra <amodra@gmail.com>
164 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
165 (ppc_frag_check): Likewise.
166 * testsuite/gas/ppc/misalign.d,
167 * testsuite/gas/ppc/misalign.l,
168 * testsuite/gas/ppc/misalign.s: New test.
169 * testsuite/gas/ppc/misalign2.d,
170 * testsuite/gas/ppc/misalign2.s: New test.
171 * testsuite/gas/ppc/ppc.exp: Run them.
173 2018-02-05 Maciej W. Rozycki <macro@mips.com>
175 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
176 `expr' parameter to `ep'.
178 2018-02-05 Maciej W. Rozycki <macro@mips.com>
180 * testsuite/gas/mips/reginfo-2.d: New test.
181 * testsuite/gas/mips/reginfo-2-n32.d: New test.
182 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
183 * testsuite/gas/mips/reginfo-2.s: New test source.
184 * testsuite/gas/mips/mips.exp: Run the new tests.
186 2018-02-05 Nick Clifton <nickc@redhat.com>
188 * po/ru.po: Updated Russian translation.
190 2018-01-31 Alan Modra <amodra@gmail.com>
193 * app.c (last_char): New static var.
194 (struct app_save): Add last_char field.
195 (app_push, app_pop): Handle it.
196 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
198 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
201 * config/tc-sparc.h (sparc_mach): Declare.
202 (TARGET_MACH): Define to above.
203 * config/tc-sparc.c (sparc_mach): New function.
204 (sparc_md_end): Minor tweak.
206 2018-01-29 Nick Clifton <nickc@redhat.com>
208 * po/ru.po: Updated Russian translation.
210 2018-01-26 Maciej W. Rozycki <macro@mips.com>
212 * configure.tgt: Use generic emulation for `mips-*-windiss',
213 overriding the blanket choice made for `*-*-windiss'.
215 2018-01-26 Maciej W. Rozycki <macro@mips.com>
217 * configure.tgt: Use `mips-*-sysv4*' rather than
220 2018-01-24 Renlin Li <renlin.li@arm.com>
222 * config/tc-aarch64.c (reloc_table): add entries for
223 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
224 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
225 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
226 BFD_RELOC_AARCH64_MOVW_PREL_G3.
227 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
228 (md_apply_fix): Likewise
229 * testsuite/gas/aarch64/prel_g0.s: New.
230 * testsuite/gas/aarch64/prel_g0.d: New.
231 * testsuite/gas/aarch64/prel_g0_nc.s: New.
232 * testsuite/gas/aarch64/prel_g0_nc.d: New.
233 * testsuite/gas/aarch64/prel_g1.s: New.
234 * testsuite/gas/aarch64/prel_g1.d: New.
235 * testsuite/gas/aarch64/prel_g1_nc.s: New.
236 * testsuite/gas/aarch64/prel_g1_nc.d: New.
237 * testsuite/gas/aarch64/prel_g2.s: New.
238 * testsuite/gas/aarch64/prel_g2.d: New.
239 * testsuite/gas/aarch64/prel_g2_nc.s: New.
240 * testsuite/gas/aarch64/prel_g2_nc.d: New.
241 * testsuite/gas/aarch64/prel_g3.s: New.
242 * testsuite/gas/aarch64/prel_g3.d: New.
244 2018-01-23 Maciej W. Rozycki <macro@mips.com>
246 * configure.ac: Also set `mips_default_abi' to N32_ABI for
248 * configure: Regenerate.
250 2018-01-23 Maciej W. Rozycki <macro@mips.com>
252 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
255 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
257 * config/tc-i386.c (cpu_arch): Add .pconfig.
258 * doc/c-i386.texi: Document .pconfig.
259 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
260 * testsuite/gas/i386/pconfig-intel.d: New test.
261 * testsuite/gas/i386/pconfig.d: Likewise.
262 * testsuite/gas/i386/pconfig.s: Likewise.
263 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
264 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
265 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
267 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
269 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
270 * doc/c-i386.texi: Document .wbnoinvd.
271 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
272 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
273 * testsuite/gas/i386/wbnoinvd.d: Likewise.
274 * testsuite/gas/i386/wbnoinvd.s: Likewise.
275 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
276 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
277 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
279 2018-01-23 Maciej W. Rozycki <macro@mips.com>
281 * config/tc-mips.c (md_show_usage): Correctly indicate the
282 configuration-specific default ABI.
284 2018-01-23 Maciej W. Rozycki <macro@mips.com>
286 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
287 `-mno-mips16e2' options.
289 2018-01-22 Maciej W. Rozycki <macro@mips.com>
291 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
292 Correct syntax of the `.set nomips16e2' directive description.
294 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
297 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
298 * testsuite/gas/rx/pr22737.s: New test.
299 * testsuite/gas/rx/pr22737.d: Likewise.
300 * testsuite/gas/rx/rx.exp: Run the new test.
302 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
304 * config/tc-arm.c (ToC macro): Remove spurious comment.
305 (ToU macro): Likewise.
307 2018-01-17 Jim Wilson <jimw@sifive.com>
309 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
310 (riscv_ip) <'z'>: New.
312 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
314 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
315 (cpu_noarch): Add noibt, noshstk.
316 (parse_insn): Change cpucet to cpuibt.
317 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
318 * testsuite/gas/i386/cet-ibt-inval.l: New test.
319 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
320 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
321 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
322 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
323 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
324 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
325 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
327 2018-01-16 Nick Clifton <nickc@redhat.com>
329 * po/fr.po: Updated French translation.
331 2018-01-15 Jim Wilson <jimw@sifive.com>
333 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
334 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
336 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
338 * config/tc-arm.c (ToC): Define macro.
340 (insns): Make use of above macros for new instructions introduced in
343 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
345 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
346 and vlstm conditionally executable and reindent parameters.
347 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
348 aforementionned instructions.
350 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
352 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
353 profile architecture or if in autodetection mode. Clarify that
354 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
355 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
357 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
358 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
359 * testsuite/gas/arm/udf.l: Likewise.
360 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
362 2018-01-15 Nick Clifton <nickc@redhat.com>
364 * po/uk.po: Updated Ukranian translation.
366 2018-01-13 Nick Clifton <nickc@redhat.com>
368 * po/gas.pot: Regenerated.
370 2018-01-13 Nick Clifton <nickc@redhat.com>
372 * configure: Regenerate.
374 2018-01-13 Nick Clifton <nickc@redhat.com>
377 * NEWS: Add marker for 2.30.
379 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
381 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
382 define to 0 and 1. Remove a dangling reference to "AMD 29000"
385 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
387 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
388 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
389 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
390 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
391 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
392 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
393 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
394 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
396 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
397 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
398 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
399 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
400 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
401 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
402 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
403 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
405 2018-01-11 Alan Modra <amodra@gmail.com>
407 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
408 positive "‘profile’ may be used uninitialized".
410 2018-01-10 Jan Beulich <jbeulich@suse.com>
412 * testsuite/gas/i386/avx512_4fmaps.s,
413 testsuite/gas/i386/avx512_4fmaps_vl.s,
414 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
415 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
416 Disp8 forms (and the transition happening at the right
418 * testsuite/gas/i386/avx512_4fmaps.d,
419 testsuite/gas/i386/avx512_4fmaps-intel.d,
420 testsuite/gas/i386/avx512_4fmaps_vl.d,
421 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
422 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
423 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
424 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
425 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
428 2018-01-10 Jan Beulich <jbeulich@suse.com>
430 * testsuite/gas/i386/avx512bw.s,
431 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
433 * testsuite/gas/i386/avx512bw-intel.d,
434 testsuite/gas/i386/avx512bw.d,
435 testsuite/gas/i386/avx512bw_vl-intel.d.
436 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
438 2018-01-09 Jim Wilson <jimw@sifive.com>
440 * testsuite/gas/riscv/auipc-x0.d: New.
441 * testsuite/gas/riscv/auipc-x0.s: New.
443 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
445 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
446 in Arm execution state, and Armv6T2 and above in Thumb execution
448 * testsuite/gas/arm/csdb.s: New.
449 * testsuite/gas/arm/csdb.d: New.
450 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
451 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
453 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
455 * testsuite/gas/aarch64/system.d: Update expected results to expect
458 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
461 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
463 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
464 * testsuite/gas/i386/x86-64-movd.d: Likewise.
465 * testsuite/gas/i386/x86-64-movd.s: Likewise.
467 2018-01-08 Nick Clifton <nickc@redhat.com>
470 * doc/c-i386.texi (i386-Directives): Document the .largecomm
473 2018-01-04 Jim Wilson <jimw@sifive.com>
475 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
476 * testsuite/gas/riscv/priv-reg.d: Likewise.
478 2018-01-03 Alan Modra <amodra@gmail.com>
480 Update year range in copyright notice of all files.
482 2018-01-02 Nick Clifton <nickc@redhat.com>
485 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
486 version of ARM MRS instruction.
488 For older changes see ChangeLog-2017
490 Copyright (C) 2018 Free Software Foundation, Inc.
492 Copying and distribution of this file, with or without modification,
493 are permitted in any medium without royalty provided the copyright
494 notice and this notice are preserved.
500 version-control: never