1 2018-02-13 Max Filippov <jcmvbkbc@gmail.com>
3 * config/tc-xtensa.c (xg_find_best_trampoline): Skip trampoline
4 frag that contains source address.
6 2018-02-13 Nick Clifton <nickc@redhat.com>
9 * config/tc-arm.c (md_apply_fix): Test Rn field of Thumb ORR
10 instruction before assuming that it is a MOV instruction.
11 * testsuite/gas/arm/pr22773.s: New test.
12 * testsuite/gas/arm/pr22773.d: New test driver.
13 * testsuite/gas/arm/pr22773.l: New expected output.
15 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
18 * config/tc-i386.c (need_plt32_p): New function.
19 (output_jump): Generate BFD_RELOC_X86_64_PLT32 if possible.
20 (md_estimate_size_before_relax): Likewise.
21 * testsuite/gas/i386/reloc64.d: Updated.
22 * testsuite/gas/i386/x86-64-jump.d: Likewise.
23 * testsuite/gas/i386/x86-64-mpx-branch-1.d: Likewise.
24 * testsuite/gas/i386/x86-64-mpx-branch-2.d: Likewise.
25 * testsuite/gas/i386/x86-64-relax-2.d: Likewise.
26 * testsuite/gas/i386/x86-64-relax-3.d: Likewise.
27 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
28 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
30 2018-02-13 Maciej W. Rozycki <macro@mips.com>
32 * testsuite/gas/mips/loongson-3a-2.d: Rename test.
34 2018-02-13 Nick Clifton <nickc@redhat.com>
37 * config/obj-elf.c (elf_pseudo_table): Remove now redundant
39 (obj_elf_vtable_inherit): Rename to obj_elf_get_vtable_inherit.
40 (obj_elf_vtable_inherit): New stub function that calls
41 obj_elf_get_vtable_inherit.
42 (obj_elf_vtable_entry): Rename to obj_elf_get_vtable_entry.
43 (obj_elf_vtable_entry): New stub function that calls
44 obj_elf_get_vtable_entry.
45 * config/obj-elf.h (obj_elf_vtable_inherit): Update prototype.
46 (obj_elf_vtable_entry) Likewise.
47 (obj_elf_get_vtable_inherit) Likewise.
48 (obj_elf_get_vtable_entry) Likewise.
49 * config/tc-arm.c (md_pseudo_table): Remove now redundant cast.
50 * config/tc-i386c (md_pseudo_table): Likewise.
51 * config/tc-hppa.c (pa_vtable_entry): Call
52 obj_elf_get_vtable_entry.
53 (pa_vtable_inherit): Call obj_elf_get_vtable_inherit.
54 * config/tc-mips.c (s_mips_file): Replace call to dwarf2_get_file
55 with call to dwarf2_get_filename.
56 * dwarf2dbg.c (dwarf2_directive_file): Rename to
57 dwarf2_directive_filename.
58 (dwarf2_directive_file): New stub function that calls
59 dwarf2_directive_filename.
60 * dwarf2dbg.h: Prototype dwarf2_directive_filename.
62 2018-02-12 Maciej W. Rozycki <macro@mips.com>
64 * testsuite/gas/mips/reginfo-2-n32.d: Add `--no-pad-sections' to
67 2018-02-12 Henry Wong <henry@stuffedcow.net>
69 * testsuite/gas/mips/r6.d: Update for "sigrie" encoding fix.
70 * testsuite/gas/mips/r6-n32.d: Likewise.
71 * testsuite/gas/mips/r6-n64.d: Likewise.
73 2018-02-12 Nick Clifton <nickc@redhat.com>
75 * po/ru.po: Updated Russian translation.
77 2018-02-08 Alan Modra <amodra@gmail.com>
80 * config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
81 (ppc_frag_check): Likewise.
82 * testsuite/gas/ppc/misalign.d,
83 * testsuite/gas/ppc/misalign.l,
84 * testsuite/gas/ppc/misalign.s: New test.
85 * testsuite/gas/ppc/misalign2.d,
86 * testsuite/gas/ppc/misalign2.s: New test.
87 * testsuite/gas/ppc/ppc.exp: Run them.
89 2018-02-05 Maciej W. Rozycki <macro@mips.com>
91 * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
92 `expr' parameter to `ep'.
94 2018-02-05 Maciej W. Rozycki <macro@mips.com>
96 * testsuite/gas/mips/reginfo-2.d: New test.
97 * testsuite/gas/mips/reginfo-2-n32.d: New test.
98 * testsuite/gas/mips/reginfo-2.l: New test stderr output.
99 * testsuite/gas/mips/reginfo-2.s: New test source.
100 * testsuite/gas/mips/mips.exp: Run the new tests.
102 2018-02-05 Nick Clifton <nickc@redhat.com>
104 * po/ru.po: Updated Russian translation.
106 2018-01-31 Alan Modra <amodra@gmail.com>
109 * app.c (last_char): New static var.
110 (struct app_save): Add last_char field.
111 (app_push, app_pop): Handle it.
112 (do_scrub_chars): Use last_char in test for "\@". Set last_char.
114 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
117 * config/tc-sparc.h (sparc_mach): Declare.
118 (TARGET_MACH): Define to above.
119 * config/tc-sparc.c (sparc_mach): New function.
120 (sparc_md_end): Minor tweak.
122 2018-01-29 Nick Clifton <nickc@redhat.com>
124 * po/ru.po: Updated Russian translation.
126 2018-01-26 Maciej W. Rozycki <macro@mips.com>
128 * configure.tgt: Use generic emulation for `mips-*-windiss',
129 overriding the blanket choice made for `*-*-windiss'.
131 2018-01-26 Maciej W. Rozycki <macro@mips.com>
133 * configure.tgt: Use `mips-*-sysv4*' rather than
136 2018-01-24 Renlin Li <renlin.li@arm.com>
138 * config/tc-aarch64.c (reloc_table): add entries for
139 BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
140 BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
141 BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
142 BFD_RELOC_AARCH64_MOVW_PREL_G3.
143 (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
144 (md_apply_fix): Likewise
145 * testsuite/gas/aarch64/prel_g0.s: New.
146 * testsuite/gas/aarch64/prel_g0.d: New.
147 * testsuite/gas/aarch64/prel_g0_nc.s: New.
148 * testsuite/gas/aarch64/prel_g0_nc.d: New.
149 * testsuite/gas/aarch64/prel_g1.s: New.
150 * testsuite/gas/aarch64/prel_g1.d: New.
151 * testsuite/gas/aarch64/prel_g1_nc.s: New.
152 * testsuite/gas/aarch64/prel_g1_nc.d: New.
153 * testsuite/gas/aarch64/prel_g2.s: New.
154 * testsuite/gas/aarch64/prel_g2.d: New.
155 * testsuite/gas/aarch64/prel_g2_nc.s: New.
156 * testsuite/gas/aarch64/prel_g2_nc.d: New.
157 * testsuite/gas/aarch64/prel_g3.s: New.
158 * testsuite/gas/aarch64/prel_g3.d: New.
160 2018-01-23 Maciej W. Rozycki <macro@mips.com>
162 * configure.ac: Also set `mips_default_abi' to N32_ABI for
164 * configure: Regenerate.
166 2018-01-23 Maciej W. Rozycki <macro@mips.com>
168 * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
171 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
173 * config/tc-i386.c (cpu_arch): Add .pconfig.
174 * doc/c-i386.texi: Document .pconfig.
175 * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
176 * testsuite/gas/i386/pconfig-intel.d: New test.
177 * testsuite/gas/i386/pconfig.d: Likewise.
178 * testsuite/gas/i386/pconfig.s: Likewise.
179 * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
180 * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
181 * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
183 2018-01-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
185 * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
186 * doc/c-i386.texi: Document .wbnoinvd.
187 * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
188 * testsuite/gas/i386/wbnoinvd-intel.d: New test.
189 * testsuite/gas/i386/wbnoinvd.d: Likewise.
190 * testsuite/gas/i386/wbnoinvd.s: Likewise.
191 * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
192 * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
193 * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
195 2018-01-23 Maciej W. Rozycki <macro@mips.com>
197 * config/tc-mips.c (md_show_usage): Correctly indicate the
198 configuration-specific default ABI.
200 2018-01-23 Maciej W. Rozycki <macro@mips.com>
202 * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
203 `-mno-mips16e2' options.
205 2018-01-22 Maciej W. Rozycki <macro@mips.com>
207 * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
208 Correct syntax of the `.set nomips16e2' directive description.
210 2018-01-22 Oleg Endo <olegendo@gcc.gnu.org>
213 * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
214 * testsuite/gas/rx/pr22737.s: New test.
215 * testsuite/gas/rx/pr22737.d: Likewise.
216 * testsuite/gas/rx/rx.exp: Run the new test.
218 2018-01-19 Thomas Preud'homme <thomas.preudhomme@arm.com>
220 * config/tc-arm.c (ToC macro): Remove spurious comment.
221 (ToU macro): Likewise.
223 2018-01-17 Jim Wilson <jimw@sifive.com>
225 * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
226 (riscv_ip) <'z'>: New.
228 2018-01-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
230 * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
231 (cpu_noarch): Add noibt, noshstk.
232 (parse_insn): Change cpucet to cpuibt.
233 * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
234 * testsuite/gas/i386/cet-ibt-inval.l: New test.
235 * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
236 * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
237 * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
238 * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
239 * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
240 * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
241 * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
243 2018-01-16 Nick Clifton <nickc@redhat.com>
245 * po/fr.po: Updated French translation.
247 2018-01-15 Jim Wilson <jimw@sifive.com>
249 * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
250 * testsuite/gas/riscv/c-zero-imm.d: Likewise.
252 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
254 * config/tc-arm.c (ToC): Define macro.
256 (insns): Make use of above macros for new instructions introduced in
259 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
261 * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
262 and vlstm conditionally executable and reindent parameters.
263 * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
264 aforementionned instructions.
266 2018-01-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
268 * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
269 profile architecture or if in autodetection mode. Clarify that
270 deprecation is for performance reason and concerns Armv8-A and Armv8-R.
271 * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
273 * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
274 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
275 * testsuite/gas/arm/udf.l: Likewise.
276 * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
278 2018-01-15 Nick Clifton <nickc@redhat.com>
280 * po/uk.po: Updated Ukranian translation.
282 2018-01-13 Nick Clifton <nickc@redhat.com>
284 * po/gas.pot: Regenerated.
286 2018-01-13 Nick Clifton <nickc@redhat.com>
288 * configure: Regenerate.
290 2018-01-13 Nick Clifton <nickc@redhat.com>
293 * NEWS: Add marker for 2.30.
295 2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
297 * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
298 define to 0 and 1. Remove a dangling reference to "AMD 29000"
301 2018-01-11 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
303 * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
304 * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
305 * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
306 * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
307 * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
308 * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
309 * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
310 * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
312 * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
313 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
314 * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
315 * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
316 * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
317 * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
318 * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
319 * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
321 2018-01-11 Alan Modra <amodra@gmail.com>
323 * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
324 positive "‘profile’ may be used uninitialized".
326 2018-01-10 Jan Beulich <jbeulich@suse.com>
328 * testsuite/gas/i386/avx512_4fmaps.s,
329 testsuite/gas/i386/avx512_4fmaps_vl.s,
330 testsuite/gas/i386/x86-64-avx512_4fmaps.s,
331 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
332 Disp8 forms (and the transition happening at the right
334 * testsuite/gas/i386/avx512_4fmaps.d,
335 testsuite/gas/i386/avx512_4fmaps-intel.d,
336 testsuite/gas/i386/avx512_4fmaps_vl.d,
337 testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
338 testsuite/gas/i386/x86-64-avx512_4fmaps.d,
339 testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
340 testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
341 testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
344 2018-01-10 Jan Beulich <jbeulich@suse.com>
346 * testsuite/gas/i386/avx512bw.s,
347 testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
349 * testsuite/gas/i386/avx512bw-intel.d,
350 testsuite/gas/i386/avx512bw.d,
351 testsuite/gas/i386/avx512bw_vl-intel.d.
352 testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
354 2018-01-09 Jim Wilson <jimw@sifive.com>
356 * testsuite/gas/riscv/auipc-x0.d: New.
357 * testsuite/gas/riscv/auipc-x0.s: New.
359 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
361 * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
362 in Arm execution state, and Armv6T2 and above in Thumb execution
364 * testsuite/gas/arm/csdb.s: New.
365 * testsuite/gas/arm/csdb.d: New.
366 * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
367 * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
369 2018-01-09 James Greenhalgh <james.greenhalgh@arm.com>
371 * testsuite/gas/aarch64/system.d: Update expected results to expect
374 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
377 * testsuite/gas/i386/i386.exp: Run x86-64-movd and
379 * testsuite/gas/i386/x86-64-movd-intel.d: New file.
380 * testsuite/gas/i386/x86-64-movd.d: Likewise.
381 * testsuite/gas/i386/x86-64-movd.s: Likewise.
383 2018-01-08 Nick Clifton <nickc@redhat.com>
386 * doc/c-i386.texi (i386-Directives): Document the .largecomm
389 2018-01-04 Jim Wilson <jimw@sifive.com>
391 * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
392 * testsuite/gas/riscv/priv-reg.d: Likewise.
394 2018-01-03 Alan Modra <amodra@gmail.com>
396 Update year range in copyright notice of all files.
398 2018-01-02 Nick Clifton <nickc@redhat.com>
401 * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
402 version of ARM MRS instruction.
404 For older changes see ChangeLog-2017
406 Copyright (C) 2018 Free Software Foundation, Inc.
408 Copying and distribution of this file, with or without modification,
409 are permitted in any medium without royalty provided the copyright
410 notice and this notice are preserved.
416 version-control: never