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