]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/ChangeLog
Enable support for the AArch64 dot-prod instruction in the Cortex A55 and A75 cpus.
[thirdparty/binutils-gdb.git] / gas / ChangeLog
1 2017-09-01 Tamar Christina <tamar.christina@arm.com>
2
3 * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for
4 cortex-a55 and cortx-a75.
5
6 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
7
8 * testsuite/gas/mips/branch-addend-micromips.d: New test.
9 * testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
10 * testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
11 * testsuite/gas/mips/branch-addend-micromips.s: New test source.
12 * testsuite/gas/mips/mips.exp: Run the new tests.
13
14 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
15
16 * config/tc-mips.c (md_convert_frag): Respect
17 `mips_ignore_branch_isa'.
18 * testsuite/gas/mips/branch-local-5.d: New test.
19 * testsuite/gas/mips/branch-local-n32-5.d: New test.
20 * testsuite/gas/mips/branch-local-n64-5.d: New test.
21 * testsuite/gas/mips/branch-local-6.d: New test.
22 * testsuite/gas/mips/branch-local-n32-6.d: New test.
23 * testsuite/gas/mips/branch-local-n64-6.d: New test.
24 * testsuite/gas/mips/branch-local-7.d: New test.
25 * testsuite/gas/mips/branch-local-n32-7.d: New test.
26 * testsuite/gas/mips/branch-local-n64-7.d: New test.
27 * testsuite/gas/mips/branch-local-ignore-5.d: New test.
28 * testsuite/gas/mips/branch-local-ignore-n32-5.d: New test.
29 * testsuite/gas/mips/branch-local-ignore-n64-5.d: New test.
30 * testsuite/gas/mips/branch-local-ignore-6.d: New test.
31 * testsuite/gas/mips/branch-local-ignore-n32-6.d: New test.
32 * testsuite/gas/mips/branch-local-ignore-n64-6.d: New test.
33 * testsuite/gas/mips/branch-local-5.l: New stderr output.
34 * testsuite/gas/mips/branch-local-6.l: New stderr output.
35 * testsuite/gas/mips/branch-local-5.s: New test source.
36 * testsuite/gas/mips/branch-local-6.s: New test source.
37 * testsuite/gas/mips/branch-local-7.s: New test source.
38 * testsuite/gas/mips/mips.exp: Run the new tests.
39
40 2017-08-30 Maciej W. Rozycki <macro@imgtec.com>
41
42 * testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
43 for `error-output'.
44 * testsuite/gas/mips/branch-local-n64-2.d: Likewise.
45 * testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
46 for `error-output'.
47 * testsuite/gas/mips/branch-local-n64-3.d: Likewise.
48 * testsuite/gas/mips/branch-local-n32-2.l: Remove file.
49 * testsuite/gas/mips/branch-local-n64-2.l: Remove file.
50 * testsuite/gas/mips/branch-local-n32-3.l: Remove file.
51 * testsuite/gas/mips/branch-local-n64-3.l: Remove file.
52
53 2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
54
55 * config/tc-msp430.c (md_parse_option): Define high data and high
56 bss symbols if -mdata-region is passed.
57 Define -mdata-region open.
58 * doc/c-msp430.texi: Document -mdata-region.
59 * testsuite/gas/msp430/high-data-bss-sym.d: New test.
60 * testsuite/gas/msp430/high-data-bss-sym.s: New.
61 * testsuite/gas/msp430/msp430.exp: Add -mdata-region tests.
62
63 2017-08-23 Alexander Fedotov <alexander.fedotov@nxp.com>
64 Edmar Wienskoski <edmar.wienskoski@nxp.com
65
66 * config/tc-ppc.c:
67 (md_parse_option): Add mspe2 switch.
68 (md_show_usage): Document -mspe2.
69 (ppc_setup_opcodes): Handle spe2_opcodes.
70 * doc/as.texinfo: Document -mspe2.
71 * doc/c-ppc.texi: Likewise.
72 * testsuite/gas/ppc/efs.d: New file.
73 * testsuite/gas/ppc/efs.s: Likewise.
74 * testsuite/gas/ppc/efs2.d: Likewise.
75 * testsuite/gas/ppc/efs2.s: Likewise.
76 * testsuite/gas/ppc/ppc.exp: Run new tests.
77 * testsuite/gas/ppc/spe.d: New file.
78 * testsuite/gas/ppc/spe.s: Likewise.
79 * testsuite/gas/ppc/spe2-checks.d: Likewise.
80 * testsuite/gas/ppc/spe2-checks.l: Likewise.
81 * testsuite/gas/ppc/spe2-checks.s: Likewise.
82 * testsuite/gas/ppc/spe2.d: Likewise.
83 * testsuite/gas/ppc/spe2.s: Likewise.
84 * testsuite/gas/ppc/spe_ambiguous.d: Likewise.
85 * testsuite/gas/ppc/spe_ambiguous.s: Likewise.
86
87 2017-08-23 James Clarke <jrtc27@jrtc27.com>
88
89 * config/tc-sparc.c (tc_gen_reloc): Convert BFD_RELOC_8/16/32/64
90 into the corresponding BFD_RELOC_8/16/32/64_PCREL relocation
91 when requested.
92 * config/tc-sparc.h (DIFF_EXPR_OK): Define to enable PC-relative
93 diff relocations.
94 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to ensure only supported
95 relocations are made PC-relative.
96 (CFI_DIFF_EXPR_OK): Define to 0 to force BFD_RELOC_32_PCREL to
97 be used directly, since otherwise BFD_RELOC_SPARC_UA32 will be
98 used for .eh_frame which cannot in general be converted to a
99 BFD_RELOC_32_PCREL due to alignment requirements.
100
101 2017-08-22 Alan Modra <amodra@gmail.com>
102
103 * testsuite/gas/ppc/lsp-checks.d: Assemble with -a32.
104 * testsuite/gas/ppc/lsp.d: Likewise.
105
106 2017-08-21 Alexander Fedotov <alexander.fedotov@nxp.com>
107 Edmar Wienskoski <edmar.wienskoski@nxp.com
108
109 * testsuite/gas/ppc/lsp-checks.d,
110 * testsuite/gas/ppc/lsp-checks.l,
111 * testsuite/gas/ppc/lsp-checks.s: New test.
112 * testsuite/gas/ppc/lsp.d,
113 * testsuite/gas/ppc/lsp.s: New test.
114 * testsuite/gas/ppc/ppc.exp: Run new tests.
115
116 2017-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
117
118 * config/tc-aarch64.c (REGDEF_ALIAS): Define
119 (reg_names): Update for ip0, ip1, fp, lr to use REGDEF_ALIAS
120 * doc/c-aarch64.texi: Update documentation on .req.
121 * testsuite/gas/diagnostic.s: Update
122 * testsuite/gas/diagnostic.l: Likewise
123 * testsuite/gas/register_aliases.s: New file.
124 * testsuite/gas/register_aliases.d: New file.
125
126 2017-08-11 H.J. Lu <hongjiu.lu@intel.com>
127
128 PR gas/21667
129 * read.c (pseudo_set): Update error message for alias of common
130 symbol.
131 * write.c (write_object_file): Disallow both local and global
132 aliases of common symbol.
133 * testsuite/gas/elf/common5a.d: New file.
134 * testsuite/gas/elf/common5a.l: Likewise.
135 * testsuite/gas/elf/common5a.s: Likewise.
136 * testsuite/gas/elf/common5b.d: Likewise.
137 * testsuite/gas/elf/common5b.l: Likewise.
138 * testsuite/gas/elf/common5b.s: Likewise.
139 * testsuite/gas/elf/common5c.d: Likewise.
140 * testsuite/gas/elf/common5c.s: Likewise.
141 * testsuite/gas/elf/common5d.d: Likewise.
142 * testsuite/gas/elf/common5d.s: Likewise.
143 * testsuite/gas/elf/elf.exp: Run common5a, common5b, common5c
144 and common5d.
145
146 2017-08-10 Nick Clifton <nickc@redhat.com>
147
148 PR gas/21939
149 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Increase
150 size of indirect_syms array so that it is large enough to hold
151 every symbol if necessary.
152
153 2017-08-09 Jiong Wang <jiong.wang@arm.com>
154
155 * config/tc-arm.c (do_crc32_1): Remove warning on REG_SP for thumb_mode.
156 * testsuite/gas/arm/crc32-armv8-a-bad.d: Update exepcted result.
157 * testsuite/gas/arm/crc32-armv8-r-bad.d: Likewise.
158 * testsuite/gas/arm/crc32-armv8-a.d: Likewise.
159 * testsuite/gas/arm/crc32-armv8-r.d: Likewise.
160 * testsuite/gas/arm/crc32-armv8-ar-bad.s: Update test case.
161 * testsuite/gas/arm/crc32-armv8-ar.s: Likewise.
162 * testsuite/gas/arm/crc32-bad.l: Update expected error message.
163
164 2017-08-02 Nick Clifton <nickc@redhat.com>
165
166 * testsuite/gas/all/gas.exp: Add am33 to the skip lists of tests
167 passed over by the mn10300 target.
168 * testsuite/gas/elf/elf.exp: Likewise.
169 * testsuite/gas/elf/dwarf2-11.d: Correct skip of am33 target.
170 * testsuite/gas/elf/dwarf2-12.d: Likewise.
171 * testsuite/gas/elf/dwarf2-13.d: Likewise.
172 * testsuite/gas/elf/dwarf2-14.d: Likewise.
173 * testsuite/gas/elf/dwarf2-15.d: Likewise.
174 * testsuite/gas/elf/dwarf2-16.d: Likewise.
175 * testsuite/gas/elf/dwarf2-17.d: Likewise.
176 * testsuite/gas/elf/dwarf2-18.d: Likewise.
177 * testsuite/gas/elf/dwarf2-5.d: Likewise.
178 * testsuite/gas/elf/dwarf2-6.d: Likewise.
179 * testsuite/gas/elf/dwarf2-7.d: Likewise.
180
181 2017-08-01 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR gas/21874
184 * config/tc-i386-intel.c (i386_intel_operand): Update segment
185 register check.
186 * testsuite/gas/i386/intelok.s: Replace "fs:gs:[eax]" with
187 "fs:[eax]".
188 * testsuite/gas/i386/inval-seg.s: Add tests for invalid segment
189 register.
190 * testsuite/gas/i386/x86-64-inval-seg.s: Likewise.
191 * testsuite/gas/i386/inval-seg.l: Updated.
192 * testsuite/gas/i386/x86-64-inval-seg.l: Likewise.
193
194 2017-07-31 John David Anglin <danglin@gcc.gnu.org>
195
196 * config/tc-hppa.c (pa_ip): Clear `d' bit in branch on bit instructions
197 with a double-word condition and a fixed bit position greater than 31.
198
199 2017-07-28 Andrew Waterman <andrew@sifive.com>
200
201 * config/tc-riscv.c (riscv_set_arch): Handle the Q subset like
202 all other subsets.
203 Obviate use-after-free.
204
205 2017-07-25 Nick Clifton <nickc@redhat.com>
206
207 PR 21739
208 * testsuite/gas/arc/add_s-err.s: Update expected error message.
209
210 2017-07-24 Nick Clifton <nickc@redhat.com>
211
212 PR 21809
213 * config/tc-aarch64.c (aarch64_init_frag): Do not set a mapping
214 state for frags in debug sections.
215 * config/tc-arm.c (arm_init_frag): Likewise.
216
217 2017-07-24 Hans-Peter Nilsson <hp@bitrange.com>
218
219 * dwarf2dbg.c (dwarf2dbg_final_check): Rename local variable exp
220 from expr.
221
222 2017-07-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
223
224 * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
225 name.
226 * doc/as.texinfo: Add z14 to CPU string list.
227 * doc/c-s390.texi: Likewise.
228
229 2017-07-21 Alexandre Oliva <aoliva@redhat.com>
230
231 * dwarf2dbg.c (unused): Check offset of next in struct line_entry.
232 (current): Initialize view.
233 (force_reset_view, view_assert_failed): New variables.
234 (reverse_line_entry_list): New function.
235 (set_or_check_view): Likewise.
236 (dwarf2_gen_line_info_1): Call it.
237 (dwarf2_where): Set view to NULL.
238 (dwarf2_emit_insn): Return early when called before first file.
239 (dwarf2_directive_loc): Add view support. Emit insn
240 immediately when view option is given.
241 (process_entries): Avoid set_address to reset view when a known
242 address change already implies the view reset.
243 (dwarf2dbg_final_check): New function.
244 * dwarf2dbg.h (struct dwarf2_line_info): Add view.
245 (dwarf2dbg_final_check): Declare.
246 * read.c (s_leb128): Parse expression as deferred.
247 * write.c (write_object_file): Check pending view asserts.
248 (cvt_frag_to_fill): Complain about undefined leb128 operand.
249 * doc/as.texinfo (.loc): Document view support.
250 * NEWS: Mention the new feature.
251 * testsuite/gas/all/gas.exp: Run sleb128-9.
252 * testsuite/gas/all/sleb128-9.d: New.
253 * testsuite/gas/all/sleb128-9.l: New.
254 * testsuite/gas/all/sleb128-9.s: New.
255 * testsuite/gas/elf/dwarf2-1.d: Add nonzero views.
256 * testsuite/gas/elf/dwarf2-2.d: Likewise.
257 * testsuite/gas/elf/dwarf2-5.d: New.
258 * testsuite/gas/elf/dwarf2-5.s: New.
259 * testsuite/gas/elf/dwarf2-6.d: New.
260 * testsuite/gas/elf/dwarf2-6.s: New.
261 * testsuite/gas/elf/dwarf2-7.d: New.
262 * testsuite/gas/elf/dwarf2-7.s: New.
263 * testsuite/gas/elf/dwarf2-8.d: New.
264 * testsuite/gas/elf/dwarf2-8.l: New.
265 * testsuite/gas/elf/dwarf2-8.s: New.
266 * testsuite/gas/elf/dwarf2-9.d: New.
267 * testsuite/gas/elf/dwarf2-9.l: New.
268 * testsuite/gas/elf/dwarf2-9.s: New.
269 * testsuite/gas/elf/dwarf2-10.d: New.
270 * testsuite/gas/elf/dwarf2-10.l: New.
271 * testsuite/gas/elf/dwarf2-10.s: New.
272 * testsuite/gas/elf/dwarf2-11.d: New.
273 * testsuite/gas/elf/dwarf2-11.s: New.
274 * testsuite/gas/elf/dwarf2-12.d: New.
275 * testsuite/gas/elf/dwarf2-12.s: New.
276 * testsuite/gas/elf/dwarf2-13.d: New.
277 * testsuite/gas/elf/dwarf2-13.s: New.
278 * testsuite/gas/elf/dwarf2-14.d: New.
279 * testsuite/gas/elf/dwarf2-14.s: New.
280 * testsuite/gas/elf/dwarf2-15.d: New.
281 * testsuite/gas/elf/dwarf2-15.s: New.
282 * testsuite/gas/elf/dwarf2-16.d: New.
283 * testsuite/gas/elf/dwarf2-16.s: New.
284 * testsuite/gas/elf/dwarf2-17.d: New.
285 * testsuite/gas/elf/dwarf2-17.s: New.
286 * testsuite/gas/elf/dwarf2-18.d: New.
287 * testsuite/gas/elf/dwarf2-18.s: New.
288 * testsuite/gas/elf/elf.exp: Run dwarf2-5..18 tests.
289 * testsuite/gas/i386/dw2-compress-1.d: Add nonzero views.
290 * testsuite/gas/i386/dw2-compressed-1.d: Likewise.
291 * testsuite/gas/i386/ilp32/lns/lns-duplicate.d: Likewise.
292 * testsuite/gas/lns/lns-big-delta.d: Likewise.
293 * testsuite/gas/lns/lns-duplicate.d: Likewise.
294 * testsuite/gas/mips/loc-swap-2.d: Likewise.
295 * testsuite/gas/mips/loc-swap-3.d: Likewise.
296 * testsuite/gas/mips/loc-swap.d: Likewise.
297 * testsuite/gas/mips/micromips@loc-swap-2.d: Likewise.
298 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
299 * testsuite/gas/mips/mips16@loc-swap-2.d: Likewise.
300 * testsuite/gas/mips/mips16@loc-swap.d: Likewise.
301 * testsuite/gas/mips/mips16e@loc-swap.d: Likewise.
302
303 2017-07-19 Claudiu Zissulescu <claziss@synopsys.com>
304
305 * testsuite/gas/arc/jli-1.d: New file.
306 * testsuite/gas/arc/jli-1.s: Likewise.
307 * testsuite/gas/arc/taux.d: Update for jli_base.
308
309 2017-07-19 Tristan Gingold <gingold@adacore.com>
310
311 * as.c (start_sbrk): Remove.
312 (main): Remove assignment.
313 (dump_statistics): Remove display of data size.
314
315 2017-07-19 Tristan Gingold <gingold@adacore.com>
316
317 * testsuite/gas/pe/seh-x64-err-2.s: New test.
318 * testsuite/gas/pe/seh-x64-err-2.l: New stderr output.
319 * testsuite/gas/pe/pe.exp: Add test.
320 * config/obj-coff-seh.c (obj_coff_seh_do_final): Don't try to end
321 seh part.
322
323 2017-07-18 Nick Clifton <nickc@redhat.com>
324
325 PR 21775
326 * config/tc-arm.c: Fix spelling typos.
327 * config/tc-mips.c: Likewise.
328 * config/tc-msp430.c: Likewise.
329 * config/tc-sh64.c: Likewise.
330 * config/tc-tic4x.c: Likewise.
331 * ecoff.c: Likewise.
332 * testsuite/gas/arm/ldr-bad.l: Likewise.
333 * testsuite/gas/arm/ldr-t-bad.l: Likewise.
334 * testsuite/gas/tic54x/opcodes.s: Likewise.
335 * testsuite/gas/msp340/errata_warns.l: Likewise.
336
337 2017-07-18 Nick Clifton <nickc@redhat.com>
338
339 * po/uk.po: Updated Ukranian translation.
340
341 2017-07-17 Georg-Johann Lay <avr@gjlay.de>
342
343 PR 21472
344 * config/tc-avr.c (mcu_types): Add entries for: attiny212,
345 attiny214, attiny412, attiny414, attiny814, attiny1614,
346 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
347 (md_show_usage): Adjust doc for "avrxmega3".
348 * doc/c-avr.texi (AVR options) [-mmcu=]: Adjust doc for avrxmega3.
349 Add MCUs: attiny212, attiny214, attiny412, attiny414, attiny416,
350 attiny417, attiny814, attiny816, attiny817, attiny1614,
351 attiny1616, attiny1617, attiny3214, attiny3216, attiny3217.
352
353 2017-07-13 Jim Wilson <jim.wilson@linaro.org>
354
355 * config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
356 falkor and qdf24xx entries.
357
358 2017-07-12 Alan Modra <amodra@gmail.com>
359
360 * po/es.po: Update from translationproject.org/latest/gas/.
361 * po/fi.po: Likewise.
362 * po/fr.po: Likewise.
363 * po/id.po: Likewise.
364 * po/ja.po: Likewise.
365 * po/ru.po: Likewise.
366 * po/sv.po: Likewise.
367 * po/tr.po: Likewise.
368 * po/uk.po: Likewise.
369 * po/zh_CN.po: Likewise.
370
371 2017-07-12 Nick Clifton <nickc@redhat.com>
372
373 Fix compile time warnings using gcc 7.1.1.
374 * config/tc-pru.c (md_assemble): Add continue statement after
375 handling 'E' operand character.
376 * config/tc-v850.c (md_assemble): Initialise the 'insn' variable.
377
378 2017-07-05 James Greenhalgh <james.greenhalgh@arm.com>
379
380 * config/tc-arm.c (arm_cpus): Add Cortex-A55 and Cortex-A75.
381 * doc/c-arm.texi (-mcpu): Document Cortex-A55 and Cortex-A75.
382
383 2017-07-05 Borislav Petkov <bp@suse.de>
384
385 * testsuite/gas/i386/opcode.s: Add tests for ModRM.reg == 6 variants.
386 * testsuite/gas/i386/opcode.d: ditto.
387 * testsuite/gas/i386/x86-64-opcode.s: Add x86_64 variants too.
388 * testsuite/gas/i386/x86-64-opcode.d: ditto.
389
390 2017-07-04 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
391
392 * config/tc-arm.c (arm_regs): Add MVFR2.
393 (do_vmrs): Constraint for MVFR2 and armv8.
394 (do_vmsr): Likewise.
395 * testsuite/gas/arm/armv8-a+fp.d: Update.
396 * testsuite/gas/arm/armv8-ar+fp.s: Likewise.
397 * testsuite/gas/arm/armv8-r+fp.d: Likewise.
398 * testsuite/gas/arm/vfp-bad.s: Likewise.
399 * testsuite/gas/arm/vfp-bad.l: Likewise.
400
401 2017-07-04 Tristan Gingold <gingold@adacore.com>
402
403 * configure: Regenerate.
404
405 2017-07-04 Tristan Gingold <gingold@adacore.com>
406
407 * NEWS: Add marker for 2.29.
408
409 2017-07-03 Alan Modra <amodra@gmail.com>
410
411 * testsuite/gas/elf/symver.d: Don't run on hppa64-hpux.
412
413 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
414
415 * config/tc-mips.c (md_convert_frag): Use a switch on the
416 microMIPS relaxation type rather than a chain of conditionals.
417
418 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
419
420 * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
421 calls in terms of `fix_new'.
422
423 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
424
425 * config/tc-mips.c (md_convert_frag): Don't make a helper
426 expression symbol for `fix_new_exp' called with a non-zero
427 offset.
428 * testsuite/gas/mips/relax-offset.d: New test.
429 * testsuite/gas/mips/mips1@relax-offset.d: New test.
430 * testsuite/gas/mips/r3000@relax-offset.d: New test.
431 * testsuite/gas/mips/r3900@relax-offset.d: New test.
432 * testsuite/gas/mips/micromips@relax-offset.d: New test.
433 * testsuite/gas/mips/relax-offset.l: New stderr output.
434 * testsuite/gas/mips/relax-offset.s: New test source.
435 * testsuite/gas/mips/mips.exp: Run the new tests.
436
437 2017-06-30 Georg-Johann Lay <avr@gjlay.de>
438
439 PR gas/21683
440 * doc/c-avr.texi (AVR Options) <-mgcc-isr>: Document it.
441 (AVR Pseudo Instructions): New node.
442 * config/tc-avr.h (md_pre_output_hook): Define to avr_pre_output_hook.
443 (md_undefined_symbol): Define to avr_undefined_symbol.
444 (avr_pre_output_hook, avr_undefined_symbol): New protos.
445 * config/tc-avr.c (struc-symbol.h): Include it.
446 (ISR_CHUNK_Done, ISR_CHUNK_Prologue, ISR_CHUNK_Epilogue): New enums.
447 (avr_isr, avr_gccisr_opcode)
448 (avr_no_sreg_hash, avr_no_sreg): New static variables.
449 (avr_opt_s) <have_gccisr>: Add field.
450 (avr_opt): Add initializer for have_gccisr.
451 (enum options) <OPTION_HAVE_GCCISR>: Add enum.
452 (md_longopts) <"mgcc-isr">: Add entry.
453 (md_show_usage): Document -mgcc-isr.
454 (md_parse_option) [OPTION_HAVE_GCCISR]: Handle it.
455 (md_undefined_symbol): Remove.
456 (avr_undefined_symbol, avr_pre_output_hook): New fuctions.
457 (md_begin) <avr_no_sreg_hash, avr_gccisr_opcode>: Initialize them.
458 (avr_operand) <pregno>: Add argument and set *pregno if function
459 is called for a register constraint.
460 [N]: Handle constraint.
461 (avr_operands) <avr_operand>: Pass 5th parameter to calls.
462 [avr_opt.have_gccisr]: Call avr_update_gccisr. Call
463 avr_gccisr_operands instead of avr_operands.
464 (avr_update_gccisr, avr_emit_insn, avr_patch_gccisr_frag)
465 (avr_gccisr_operands, avr_check_gccisr_done): New static functions.
466 * testsuite/gas/avr/gccisr-01.d: New test.
467 * testsuite/gas/avr/gccisr-01.s: New test.
468 * testsuite/gas/avr/gccisr-02.d: New test.
469 * testsuite/gas/avr/gccisr-02.s: New test.
470 * testsuite/gas/avr/gccisr-03.d: New test.
471 * testsuite/gas/avr/gccisr-03.s: New test.
472
473 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
474
475 * config/tc-mips.c (match_float_constant): Update description.
476 (match_operand): Likewise.
477
478 2017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
479 Maciej W. Rozycki <macro@imgtec.com>
480
481 * config/tc-mips.c (mips_ases): Add microMIPS XPA support.
482 * testsuite/gas/mips/micromips@xpa.d: New test.
483 * testsuite/gas/mips/mips.exp: Run the new test. Enable
484 `xpa-virt-err' test for `micromips'.
485
486 2017-06-30 Andrew Bennett <andrew.bennett@imgtec.com>
487 Maciej W. Rozycki <macro@imgtec.com>
488
489 * testsuite/gas/mips/micromips@r5.d: New test.
490 * testsuite/gas/mips/mips.exp: Run the new test.
491
492 2017-06-30 Maciej W. Rozycki <macro@imgtec.com>
493 Andrew Bennett <andrew.bennett@imgtec.com>
494
495 * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
496 * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
497 flags. Add `-mvirt' to `as' flags.
498 * testsuite/gas/mips/xpa-err.d: New test.
499 * testsuite/gas/mips/xpa-virt-err.d: New test.
500 * testsuite/gas/mips/xpa-err.l: New stderr output.
501 * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
502 * testsuite/gas/mips/xpa-err.s: New test source.
503 * testsuite/gas/mips/xpa-virt-err.s: New test source.
504 * testsuite/gas/mips/mips.exp: Run the new tests.
505
506 2017-06-29 Maciej W. Rozycki <macro@imgtec.com>
507
508 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
509 ASE_MIPS16E2_MT flag disassembler fix.
510 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
511 Likewise.
512
513 2017-06-29 Maciej W. Rozycki <macro@imgtec.com>
514
515 * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
516 flag before recalculating.
517 * testsuite/gas/mips/mips16e2-mt-err.d: New test.
518 * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
519 * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
520 * testsuite/gas/mips/mips.exp: Run the new test.
521
522 2017-06-28 Tamar Christina <tamar.christina@arm.com>
523
524 * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
525 (aarch64_features): Added dotprod.
526 * doc/c-aarch64.texi: Added dotprod.
527 * testsuite/gas/aarch64/dotproduct.d: New.
528 * testsuite/gas/aarch64/dotproduct.s: New.
529
530 2017-06-28 Jiong Wang <jiong.wang@arm.com>
531
532 * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
533 (neon_scalar_for_mul): Improve comments.
534 (do_neon_dotproduct): New function to encode Dot Product instructions.
535 (do_neon_dotproduct_s): Wrapper function for signed Dot Product
536 instructions.
537 (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
538 instructions.
539 (insns): New entries for vsdot and vudot.
540 (arm_extensions): New entry for "dotprod".
541 * doc/c-arm.texi: Document new "dotprod" extension.
542 * testsuite/gas/arm/dotprod.s: New test source.
543 * testsuite/gas/arm/dotprod-illegal.s: New test source.
544 * testsuite/gas/arm/dotprod.d: New test.
545 * testsuite/gas/arm/dotprod-thumb2.d: New test.
546 * testsuite/gas/arm/dotprod-illegal.d: New test.
547 * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
548 * testsuite/gas/arm/dotprod-illegal.l: New error file.
549 * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
550
551 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
552
553 * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
554 * testsuite/gas/mips/save-err.d: New test.
555 * testsuite/gas/mips/save-sub.d: New test.
556 * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
557 * testsuite/gas/mips/mips1@save-sub.d: New test.
558 * testsuite/gas/mips/mips2@save-sub.d: New test.
559 * testsuite/gas/mips/mips3@save-sub.d: New test.
560 * testsuite/gas/mips/mips4@save-sub.d: New test.
561 * testsuite/gas/mips/mips5@save-sub.d: New test.
562 * testsuite/gas/mips/mips32@save-sub.d: New test.
563 * testsuite/gas/mips/mips64@save-sub.d: New test.
564 * testsuite/gas/mips/mips16@save-sub.d: New test.
565 * testsuite/gas/mips/mips16e@save-sub.d: New test.
566 * testsuite/gas/mips/r3000@save-sub.d: New test.
567 * testsuite/gas/mips/r3900@save-sub.d: New test.
568 * testsuite/gas/mips/r4000@save-sub.d: New test.
569 * testsuite/gas/mips/vr5400@save-sub.d: New test.
570 * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
571 * testsuite/gas/mips/sb1@save-sub.d: New test.
572 * testsuite/gas/mips/octeon2@save-sub.d: New test.
573 * testsuite/gas/mips/octeon3@save-sub.d: New test.
574 * testsuite/gas/mips/xlr@save-sub.d: New test.
575 * testsuite/gas/mips/r5900@save-sub.d: New test.
576 * testsuite/gas/mips/mips16e2-copy.d: New test.
577 * testsuite/gas/mips/mips16e2-copy-err.d: New test.
578 * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
579 option. Adjust for trailing padding change.
580 * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
581 * testsuite/gas/mips/save-sub.s: New test source.
582 * testsuite/gas/mips/mips16e2-copy.s: New test source.
583 * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
584 * testsuite/gas/mips/save.s: Update description, change trailing
585 padding and remove trailing white space.
586 * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
587 tests across the regular MIPS interAptiv MR2 architecture. Run
588 the new tests.
589
590 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
591
592 * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
593 (mips16e2-interaptiv-mr2): Likewise.
594 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
595 test.
596 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
597 New test.
598 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
599 New test.
600 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
601 New test.
602 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
603 New test.
604 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
605 test.
606 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
607 test.
608 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
609 test.
610 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
611 New test.
612 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
613 New test.
614 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
615 New test.
616 * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
617 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
618 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
619 * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
620 flag lines present rather than just one.
621 * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
622 * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
623 * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
624 * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
625 * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
626 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
627 stderr output.
628 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
629 New stderr output.
630 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
631 New stderr output.
632 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
633 New stderr output.
634 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
635 New stderr output.
636 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
637 stderr output.
638 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
639 stderr output.
640 * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
641 New stderr output.
642 * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
643 output.
644 * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
645 output.
646
647 2017-06-28 Maciej W. Rozycki <macro@imgtec.com>
648 Matthew Fortune <matthew.fortune@imgtec.com>
649
650 * config/tc-mips.c (validate_mips_insn): Handle
651 OP_SAVE_RESTORE_LIST specially.
652 (mips_encode_save_restore, mips16_encode_save_restore): New
653 functions.
654 (match_save_restore_list_operand): Factor out SAVE/RESTORE
655 operand insertion into the instruction word or halfword to these
656 new functions.
657 (mips_cpu_info_table): Add "interaptiv-mr2" entry.
658
659 * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
660 `-march=' argument list.
661
662 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
663
664 * testsuite/gas/mips/mips16e-save.d: Rename to...
665 * testsuite/gas/mips/save.d: ... this.
666 * testsuite/gas/mips/mips16e-save-err.d: Update the
667 `error-output' option and rename to...
668 * testsuite/gas/mips/save-err.d: ... this.
669 * testsuite/gas/mips/mips16e-save-err.l: Rename to...
670 * testsuite/gas/mips/save-err.l: ... this.
671 * testsuite/gas/mips/mips16e-save.s: Rename to...
672 * testsuite/gas/mips/save.s: ... this.
673 * testsuite/gas/mips/mips16e-save-err.s: Rename to...
674 * testsuite/gas/mips/save-err.s: ... this.
675 * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
676 `mips16e-save-err' invocations to `save' and `save-err'
677 respectively and reorder these tests away from MIPS16 tests.
678
679 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
680
681 * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
682 -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
683 `as' flags.
684 * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
685 from `as' flags.
686 * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
687 pseudo-op.
688 * testsuite/gas/mips/mips16e-save-err.s: Likewise.
689 * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
690 MIPS16e architectures.
691
692 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
693
694 * testsuite/gas/mips/mips16e-save-err.d: New test.
695 * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
696 test into the new test.
697
698 2017-06-27 Maciej W. Rozycki <macro@imgtec.com>
699
700 * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
701 option.
702
703 2017-06-26 Kuan-Lin Chen <rufus@andestech.com>
704
705 * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
706 R_RISCV_32_PCREL relocation.
707
708 2017-06-26 H.J. Lu <hongjiu.lu@intel.com>
709
710 PR gas/21661
711 * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
712 common symbol.
713 (elf_frob_symbol): Likewise.
714 * testsuite/gas/elf/elf.exp: Run pr21661.
715 * testsuite/gas/elf/pr21661.d: New file.
716 * testsuite/gas/elf/pr21661.s: Likewise.
717
718 2017-06-26 Nick Clifton <nickc@redhat.com>
719
720 * config/tc-arm.c (fpu_any): Only define for ELF based targets.
721
722 2017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
723
724 * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
725 instructions to be accounted as jumps.
726 (assemble_insn): Check for limms into the delay slots. Emit an
727 error if so.
728 * testsuite/gas/arc/asm-errors-3.d: New file.
729 * testsuite/gas/arc/asm-errors-3.err: Likewise.
730 * testsuite/gas/arc/asm-errors-3.s: Likewise.
731
732 2017-06-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
733
734 * NEWS: Mention support of ARM Cortex-R52 processor.
735 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
736 * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
737
738 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
739
740 * NEWS: Mention support for ARMv8-R architecture.
741 * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
742 (arm_extensions): Restrict pan, ras and rdma extension to
743 ARMv8-A and make crypto, fp and simd extensions available to
744 ARMv8-R.
745 (cpu_arch_ver): Add entry for ARMv8-R.
746 (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
747 logic.
748 * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
749 * testsuite/gas/arm/armv8-ar+fp.s: This. Remove .arch directive.
750 * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
751 architecture to assemble for.
752 * testsuite/gas/arm/armv8-r+fp.d: New.
753 * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
754 * testsuite/gas/arm/armv8-ar+simd.s: This. Remove .arch directive.
755 * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
756 architecture to assemble for.
757 * testsuite/gas/arm/armv8-r+simd.d: New.
758 * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
759 * testsuite/gas/arm/armv8-ar-bad.s: This. Remove .arch directive.
760 * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
761 * testsuite/gas/arm/armv8-ar-bad.l: This. Decrement line number by 1.
762 * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
763 architecture to assemble for and adjust error output file.
764 * testsuite/gas/arm/armv8-r-bad.d: New.
765 * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
766 * testsuite/gas/arm/armv8-ar-barrier.s: This.
767 * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
768 * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
769 * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
770 * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
771 * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
772 * testsuite/gas/arm/armv8-ar-it-bad.s: This. Remove .arch directive.
773 * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
774 * testsuite/gas/arm/armv8-ar-it-bad.l: This. Decrement line number
775 by 1.
776 * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
777 architecture to assemble for and adjust error output file.
778 * testsuite/gas/arm/armv8-r-it-bad.d: New.
779 * testsuite/gas/arm/armv8-a.s: Rename into ...
780 * testsuite/gas/arm/armv8-ar.s: This. Remove .arch directive.
781 * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
782 architecture to assemble for.
783 * testsuite/gas/arm/armv8-r.d: New.
784 * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
785 * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
786 * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
787 * testsuite/gas/arm/attr-march-armv8-r.d: New.
788 * testsuite/gas/arm/crc32.s: Rename into ...
789 * testsuite/gas/arm/crc32-armv8-ar.s: This.
790 * testsuite/gas/arm/crc32.d: Rename into ...
791 * testsuite/gas/arm/crc32-armv8-a.d: This. Specify source to assemble.
792 * testsuite/gas/arm/crc32-armv8-r.d: New.
793 * testsuite/gas/arm/crc32-bad.s: Rename into ...
794 * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
795 * testsuite/gas/arm/crc32-bad.d: Rename into ...
796 * testsuite/gas/arm/crc32-armv8-a-bad.d: This. Specify source to
797 assemble.
798 * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
799 * testsuite/gas/arm/mask_1.s: Rename into ...
800 * testsuite/gas/arm/mask_1-armv8-ar.s: This.
801 * testsuite/gas/arm/mask_1.d: Rename into ...
802 * testsuite/gas/arm/mask_1-armv8-a.d: This. Specify source to
803 assemble.
804 * testsuite/gas/arm/mask_1-armv8-r.d: new.
805
806 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
807
808 * config/tc-arm.c (arm_ext_v6m): Delete.
809 (arm_ext_v7m): Delete.
810 (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
811 profile.
812 (arm_arch_v6m_only): Delete.
813 (do_t_swi): Remove special case for ARMv6S-M.
814 (md_assemble): Display error message previously in do_t_swi when
815 SVC is not available.
816 (insns): Guard swi and svc by arm_ext_os for Thumb mode.
817 (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
818
819 2017-05-11 Andrew Waterman <andrew@sifive.com>
820
821 * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
822 shift amounts.
823
824 2017-06-22 Nick Clifton <nickc@redhat.com>
825
826 * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
827
828 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
829
830 * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
831 (cpu_arch_ver): Add all architectures and sort by release date.
832 (have_ext_for_needed_feat_p): New.
833 (get_aeabi_cpu_arch_from_fset): New.
834 (aeabi_set_public_attributes): Call above function to determine
835 Tag_CPU_arch and Tag_CPU_arch_profile values. Adapt Tag_ARM_ISA_use
836 and Tag_THUMB_ISA_use selection logic to check absence of feature bit
837 accordingly.
838 * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
839 attribute value.
840 * testsuite/gas/arm/attr-march-armv2.d: Likewise.
841 * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
842 * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
843 * testsuite/gas/arm/attr-march-armv3.d: Likewise.
844 * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
845 * testsuite/gas/arm/pr12198-2.d: Likewise.
846
847 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
848
849 * testsuite/gas/i386/cet-intel.d: Updated.
850 * testsuite/gas/i386/cet.d: Likewise.
851 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
852 * testsuite/gas/i386/x86-64-cet.d: Likewise.
853 * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
854 * testsuite/gas/i386/x86-64-cet.s: Likewise.
855
856 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
857
858 * testsuite/gas/i386/cet-intel.d: Updated.
859 * testsuite/gas/i386/cet.d: Likewise.
860 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
861 * testsuite/gas/i386/x86-64-cet.d: Likewise.
862 * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
863 * testsuite/gas/i386/x86-64-cet.s: Likewise.
864
865 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
866
867 * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
868 * testsuite/gas/i386/notrack-intel.d: Updated.
869 * testsuite/gas/i386/notrack.d: Likewise.
870 * testsuite/gas/i386/notrackbad.l: Likewise.
871 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
872 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
873 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
874 * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
875 memory indirect branch.
876 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
877 * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
878 with NOTRACK prefix.
879 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
880
881 2017-06-20 Thomas Preud'homme <thomas.preudhomme@arm.com>
882
883 * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
884 Thumb division for ARMv7 architecture.
885 (arm_parse_extension): Document expected behavior for duplicate
886 entries.
887 (s_arm_arch_extension): Likewise.
888 * testsuite/gas/arm/forbid-armv7-idiv-ext.d: New test.
889 * testsuite/gas/arm/forbid-armv7-idiv-ext.l: New expected output for
890 above test.
891
892 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
893
894 * config/tc-arm.c (aeabi_set_public_attributes): Populate flags from
895 feature bits used or selected_cpu depending on whether a CPU was
896 selected by the user.
897
898 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
899
900 * config/tc-arm.c (aeabi_set_public_attributes): Test *mcpu_ext_opt to
901 decide whether to set Tag_DSP_extension build attribute value. Remove
902 now useless arm_arch variable.
903
904 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
905
906 * config/tc-arm.c (dyn_mcpu_ext_opt): New static variable.
907 (dyn_march_ext_opt): Likewise.
908 (md_begin): Copy extension feature bits alongside architecture ones.
909 Merge extensions feature bits in selected_cpu and cpu_variant if there
910 is some.
911 (arm_parse_extension): Pass architecture and extension feature bits in
912 separate parameters, with architecture bits being read only. Update
913 **opt_p directly rather than *ext_set and initialize it if needed.
914 (arm_parse_cpu): Stop merging architecture and extension feature bits
915 and instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
916 respectively. Adapt to change in parameters of arm_parse_extension.
917 (arm_parse_arch): Adapt to change in parameters of arm_parse_extension.
918 (aeabi_set_attribute_string): Make function static.
919 (arm_md_post_relax): New function.
920 (s_arm_cpu): Stop merging architecture and extension feature bits and
921 instead use mcpu_cpu_opt and dyn_mcpu_ext_opt to memorize them
922 respectively. Merge extension feature bits in cpu_variant
923 if there is any.
924 (s_arm_arch): Reset extension feature bit. Set selected_cpu from
925 *mcpu_cpu_opt and cpu_variant from selected_cpu and *mfpu_opt for
926 consistency with s_arm_cpu.
927 (s_arm_arch_extension): Update *dyn_mcpu_ext_opt rather than
928 selected_cpu, allocating it before hand if needed. Set selected_cpu
929 from it and then cpu_variant.
930 (s_arm_fpu): Merge *mcpu_ext_opt feature bits if any in cpu_variant.
931 * config/tc-arm.h (md_post_relax_hook): Set to arm_md_post_relax.
932 (aeabi_set_public_attributes): Delete external declaration.
933 (arm_md_post_relax): Declare externally.
934
935 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
936
937 * config/tc-arm.c (struct arm_cpu_option_table): New ext field.
938 (ARM_CPU_OPT): Add parameter to set new ext field and reorder canonical
939 name field just after the name field.
940 (arm_cpus): Move extension feature bit from value field to ext field,
941 reorder parameter according to changes in ARM_CPU_OPT and reindent.
942 (arm_parse_cpu): Point mcpu_cpu_opt to a bitfield merging the value and
943 ext field from the selected arm_cpus entry.
944 (s_arm_cpu): Likewise.
945
946 2017-06-21 James Greenhalgh <james.greenhalgh@arm.com>
947
948 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a55 and cortex-a75.
949 * doc/c-aarch64.texi (-mcpu): Document cortex-a55 and cortex-a75.
950
951 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
952
953 PR binutils/21594
954 * testsuite/gas/i386/mpx.s: Add 2 tests with invalid bnd
955 register.
956 * testsuite/gas/i386/x86-64-mpx.s: Likewise.
957 * testsuite/gas/i386/mpx.d: Updated.
958 * testsuite/gas/i386/x86-64-mpx.d: Likewise.
959
960 2017-06-14 Max Filippov <jcmvbkbc@gmail.com>
961
962 * config/tc-xtensa.c (density_supported, xtensa_fetch_width,
963 absolute_literals_supported): Leave definitions uninitialized.
964 (directive_state): Leave entries for directive_density and
965 directive_absolute_literals initialized to false.
966 (xg_init_global_config, xtensa_init): New functions.
967 * config/tc-xtensa.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
968 (HOST_SPECIAL_INIT): New definition.
969 (xtensa_init): New declaration.
970
971 2017-06-07 Michael Collison <michael.collison@arm.com>
972
973 * config/tc-aarch64.c (reg_entry_reg_names): Add IP0,
974 IP1, FP, and LR as register aliases of register 16, 17, 29
975 and 30 respectively.
976 * testsuite/gas/aarch64/diagnostic.l: Remove diagnostic
977 prohibiting register 'lr' which is now an alias.
978 * testsuite/gas/aarch64/diagnostic.s: Remove instruction
979 utilizing register 'lr' which is now an alias.
980
981 2017-06-06 Jiong Wang <jiong.wang@arm.com>
982
983 * config/tc-arm.c (reject_bad_reg): Allow REG_SP on ARMv8-A.
984 (parse_operands): Allow REG_SP for OP_oRRnpcsp and OP_RRnpcsp on
985 ARMv8-A.
986 (do_co_reg): Allow REG_SP for Rd on ARMv8-A.
987 (do_t_add_sub): Likewise.
988 (do_t_mov_cmp): Likewise.
989 (do_t_tb): Likewise.
990 * testsuite/gas/arm/ld-sp-warn.l: Delete the warning on REG_SP as Rt for
991 ldrsb.
992 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.d: New test.
993 * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: New test.
994 * testsuite/gas/arm/sp-pc-validations-bad-t.d: Specifies -march=armv7-a.
995 * testsuite/gas/arm/sp-pc-validations-bad-t.s: Remove ".arch armv7-a".
996 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.d: New test.
997 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v7.l: New test.
998 * testsuite/gas/arm/sp-usage-thumb2-relax-on-v8.d: New test.
999 * testsuite/gas/arm/sp-usage-thumb2-relax.s: New test.
1000 * testsuite/gas/arm/strex-bad-t.d: Specifies -march=armv7-a.
1001
1002 2017-06-05 Jim Wilson <jim.wilson@linaro.org>
1003
1004 * config/tc-arm.c (arm_cpus): Delete falkor and qdf24xx entries.
1005 * doc/c-arm.texi (-mcpu): Likewise.
1006
1007 2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
1008
1009 * config/tc-arc.c (cpu_types): Include arc-cpu.def
1010
1011 2017-05-23 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * gas/testsuite/gas/i386/notrackbad.l: Updated for non-ELF
1014 targets.
1015 * gas/testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1016
1017 2017-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1018
1019 * config/tc-arc.c (md_apply_fix): Use as_bad_where.
1020 (assemble_insn): Use as_bad.
1021
1022 2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * config/tc-i386.c (REX_PREFIX): Changed to 7.
1025 (NOTRACK_PREFIX): New.
1026 (MAX_PREFIXES): Changed to 8.
1027 (_i386_insn): Add notrack_prefix.
1028 (PREFIX_GROUP): Add PREFIX_DS.
1029 (add_prefix): Return PREFIX_DS for DS_PREFIX_OPCODE.
1030 (md_assemble): Check if NOTRACK prefix is supported.
1031 (parse_insn): Set notrack_prefix and issue an error for
1032 other prefixes after NOTRACK prefix.
1033 * testsuite/gas/i386/i386.exp: Run tests for NOTRACK prefix.
1034 * testsuite/gas/i386/notrack-intel.d: New file.
1035 * testsuite/gas/i386/notrack.d: Likewise.
1036 * testsuite/gas/i386/notrack.s: Likewise.
1037 * testsuite/gas/i386/notrackbad.l: Likewise.
1038 * testsuite/gas/i386/notrackbad.s: Likewise.
1039 * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
1040 * testsuite/gas/i386/x86-64-notrack.d: Likewise.
1041 * testsuite/gas/i386/x86-64-notrack.s: Likewise.
1042 * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
1043 * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
1044
1045 2017-05-22 Jiong Wang <jiong.wang@arm.com>
1046
1047 * configure.tgt: Set "arch" to "aarch64" if ${cpu} equals "aarch64".
1048 Recognize the new triplet name aarch64*-linux-gnu_ilp32.
1049 * configure.ac: Output DEFAULT_ARCH macro for AArch64.
1050 * configure: Regenerate.
1051 * config/tc-aarch64.h (aarch64_after_parse_args): New declaration.
1052 (md_after_parse_args): New define.
1053 * config/tc-aarch64.c (aarch64_abi_type): New enumeration
1054 AARCH64_ABI_NONE.
1055 (DEFAULT_ARCH): New define.
1056 (aarch64_abi): Set default value to AARCH64_ABI_NONE.
1057 (aarch64_after_parse_args): New function.
1058
1059 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1060
1061 * config/tc-sparc.c (sparc_arch_table): Entries for `sparc6',
1062 `v9m8' and `v8plusm8'.
1063 (sparc_md_end): Handle SPARC_OPCODE_ARCH_M8.
1064 (get_hwcap_name): Support the M8 hardware capabilities.
1065 (sparc_ip): Handle new operand types.
1066 * doc/c-sparc.texi (Sparc-Opts): Document -Av9m8, -Av8plusm8 and
1067 -Asparc6, and the corresponding -xarch aliases.
1068 * testsuite/gas/sparc/sparc6.s: New file.
1069 * testsuite/gas/sparc/sparc6.d: Likewise.
1070 * testsuite/gas/sparc/sparc6-diag.s: Likewise.
1071 * testsuite/gas/sparc/sparc6-diag.l: Likewise.
1072 * testsuite/gas/sparc/fpcmpshl.s: Likewise.
1073 * testsuite/gas/sparc/fpcmpshl.d: Likewise.
1074 * testsuite/gas/sparc/fpcmpshl-diag.s: Likewise.
1075 * testsuite/gas/sparc/fpcmpshl-diag.l: Likewise.
1076 * testsuite/gas/sparc/ldm-stm.s: Likewise.
1077 * testsuite/gas/sparc/ldm-stm.d: Likewise.
1078 * testsuite/gas/sparc/ldm-stm-diag.s: Likewise.
1079 * testsuite/gas/sparc/ldm-stm-diag.l: Likewise.
1080 * testsuite/gas/sparc/ldmf-stmf.s: Likewise.
1081 * testsuite/gas/sparc/ldmf-stmf.d: Likewise.
1082 * testsuite/gas/sparc/ldmf-stmf-diag.s: Likewise.
1083 * testsuite/gas/sparc/ldmf-stmf-diag.l: Likewise.
1084 * testsuite/gas/sparc/on.s: Likewise.
1085 * testsuite/gas/sparc/on.d: Likewise.
1086 * testsuite/gas/sparc/on-diag.s: Likewise.
1087 * testsuite/gas/sparc/on-diag.l: Likewise.
1088 * testsuite/gas/sparc/rle.s: Likewise.
1089 * testsuite/gas/sparc/rle.d: Likewise.
1090 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run new tests.
1091 * testsuite/gas/sparc/rdasr.s: Add test for RDENTROPY.
1092 * testsuite/gas/sparc/rdasr.d: Likewise.
1093
1094 2017-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
1095
1096 * testsuite/gas/sparc/call-relax.d: Support 32-bit targets.
1097 * testsuite/gas/sparc/sparc.exp (gas_64_check): Use -64 to
1098 run asi-bump-warn.
1099
1100 2017-05-19 Georg-Johann Lay <avr@gjlay.de>
1101
1102 PR ld/21472
1103 * config/tc-avr.c (mcu_types): Add entries for: attiny416,
1104 attiny417, attiny816, attiny817.
1105
1106 2017-05-18 Alan Modra <amodra@gmail.com>
1107
1108 * config/tc-aarch64.c: Don't compare booleans against TRUE or FALSE.
1109 * config/tc-hppa.c: Likewise.
1110 * config/tc-mips.c: Likewise.
1111 * config/tc-score7.c: Likewise.
1112
1113 2017-05-16 Alan Modra <amodra@gmail.com>
1114
1115 * write.c (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1116 (TC_FORCE_RELOCATION_LOCAL): Use it.
1117 (GENERIC_FORCE_RELOCATION_SUB_SAME): Define.
1118 (TC_FORCE_RELOCATION_SUB_SAME): Use it.
1119 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL,
1120 TC_FORCE_RELOCATION_SUB_SAME): Use GENERIC defines.
1121 * config/tc-aarch64.h: Similarly.
1122 * config/tc-avr.h: Similarly.
1123 * config/tc-cris.h: Similarly.
1124 * config/tc-i386.h: Similarly.
1125 * config/tc-i960.h: Similarly.
1126 * config/tc-ia64.h: Similarly.
1127 * config/tc-microblaze.h: Similarly.
1128 * config/tc-mips.h: Similarly.
1129 * config/tc-msp430.h: Similarly.
1130 * config/tc-nds32.h: Similarly.
1131 * config/tc-pru.h: Similarly.
1132 * config/tc-riscv.h: Similarly.
1133 * config/tc-rl78.h: Similarly.
1134 * config/tc-s390.h: Similarly.
1135 * config/tc-sh.h: Similarly.
1136 * config/tc-sh64.h: Similarly.
1137 * config/tc-sparc.h: Similarly.
1138 * config/tc-xtensa.h: Similarly.
1139 * config/tc-mn10300.h: Similarly.
1140 (GENERIC_FORCE_RELOCATION_LOCAL): Define.
1141 * config/tc-msp430.c (msp430_force_relocation_local): Modify to
1142 be addition to rather than replacement of standard
1143 TC_FORCE_RELOCATION_LOCAL.
1144
1145 2017-05-15 Nick Clifton <nickc@redhat.com>
1146
1147 PR gas/21458
1148 * config/tc-arm.c (do_adr): If the ADR involves a thumb function
1149 symbol, ensure that the T bit will be set.
1150 (do_adrl): Likewise.
1151 (do_t_adr): Likewise.
1152 * testsuite/gas/arm/pr21458.s: New test.
1153 * testsuite/gas/arm/pr21458.d: New test driver.
1154
1155 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1156
1157 * testsuite/gas/mips/mips16-pcrel-1.d: Remove `-mips3' from `as'
1158 flags.
1159 * testsuite/gas/mips/mips16-pcrel-pic-1.d: Likewise.
1160 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
1161 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
1162 * testsuite/gas/mips/mips16-pcrel-n64-0.d: Likewise.
1163 * testsuite/gas/mips/mips16-pcrel-n64-1.d: Likewise.
1164 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
1165 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
1166 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: Likewise.
1167 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: Likewise.
1168 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Likewise.
1169 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Likewise.
1170 * testsuite/gas/mips/mips16-pcrel-addend-4.d: Likewise.
1171 * testsuite/gas/mips/mips16-pcrel-addend-5.d: Likewise.
1172 * testsuite/gas/mips/mips16-pcrel-addend-6.d: Likewise.
1173 * testsuite/gas/mips/mips16-pcrel-addend-7.d: Likewise.
1174 * testsuite/gas/mips/mips16-pcrel-addend-9.d: Likewise.
1175 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: Likewise.
1176 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: Likewise.
1177 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: Likewise.
1178 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d:
1179 Likewise.
1180 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d:
1181 Likewise.
1182 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: Likewise.
1183 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: Likewise.
1184 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: Likewise.
1185 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: Likewise.
1186 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: Likewise.
1187 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: Likewise.
1188 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: Likewise.
1189 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: Likewise.
1190 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: Likewise.
1191 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: Likewise.
1192 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: Likewise.
1193 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d:
1194 Likewise.
1195 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d:
1196 Likewise.
1197 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d:
1198 Likewise.
1199 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d:
1200 Likewise.
1201 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d:
1202 Likewise.
1203 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d:
1204 Likewise.
1205 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1206 Likewise.
1207 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1208 Likewise.
1209 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: New test.
1210 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: New test.
1211 * testsuite/gas/mips/mips16e2@mips16-pcrel-2.d: New test.
1212 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: New test.
1213 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: New test.
1214 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d: New
1215 test.
1216 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d: New
1217 test.
1218 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: New test.
1219 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: New test.
1220 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-2.d: New test.
1221 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-3.d: New test.
1222 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-6.d: New test.
1223 * testsuite/gas/mips/mips16e2@mips16-pcrel-reloc-7.d: New test.
1224 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-2.d: New test.
1225 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-3.d: New test.
1226 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-6.d: New test.
1227 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-7.d: New test.
1228 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-8.d: New test.
1229 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-9.d: New test.
1230 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-8.d: New
1231 test.
1232 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n32-9.d: New
1233 test.
1234 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-8.d:
1235 New test.
1236 * testsuite/gas/mips/mips16e2@mips16-pcrel-addend-n64-sym32-9.d:
1237 New test.
1238 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute.d: New test.
1239 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-1.d: New
1240 test.
1241 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-2.d: New
1242 test.
1243 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-3.d: New
1244 test.
1245 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-4.d: New
1246 test.
1247 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-5.d: New
1248 test.
1249 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-6.d: New
1250 test.
1251 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-7.d: New
1252 test.
1253 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-4.d: New
1254 test.
1255 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-6.d: New
1256 test.
1257 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-4.d: New
1258 test.
1259 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n32-6.d: New
1260 test.
1261 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-4.d:
1262 New test.
1263 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-n64-sym32-6.d:
1264 New test.
1265 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-4.d:
1266 New test.
1267 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n32-6.d:
1268 New test.
1269 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-4.d:
1270 New test.
1271 * testsuite/gas/mips/mips16e2@mips16-pcrel-absolute-pic-n64-sym32-6.d:
1272 New test.
1273 * testsuite/gas/mips/mips16-pcrel-1.l: Adjust line numbers.
1274 * testsuite/gas/mips/mips16-pcrel-1.s: Adjust for alignment
1275 preservation between MIPS16 and MIPS16e2 code.
1276 * testsuite/gas/mips/mips.exp: Run MIPS16 relaxation tests over
1277 all MIPS16 architectures.
1278
1279 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1280
1281 * testsuite/gas/mips/mips16e2.d: New test.
1282 * testsuite/gas/mips/mips16e2-mt.d: New test.
1283 * testsuite/gas/mips/mips16e2-sub.d: New test.
1284 * testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
1285 * testsuite/gas/mips/mips16e2-mt-sub.d: New test.
1286 * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
1287 * testsuite/gas/mips/mips16e2-hilo.d: New test.
1288 * testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
1289 * testsuite/gas/mips/mips16e2-reloc-error.d: New test.
1290 * testsuite/gas/mips/mips16e2-imm-error.d: New test.
1291 * testsuite/gas/mips/elf_ase_mips16e2.d: New test.
1292 * testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
1293 * testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
1294 * testsuite/gas/mips/mips16e2-lui.d: New test.
1295 * testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
1296 * testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
1297 * testsuite/gas/mips/mips16e2@lui-2.d: New test.
1298 * testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
1299 * testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
1300 * testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
1301 * testsuite/gas/mips/mips16e2.s: New test source.
1302 * testsuite/gas/mips/mips16e2-mt.s: New test source.
1303 * testsuite/gas/mips/mips16e2-sub.s: New test source.
1304 * testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
1305 * testsuite/gas/mips/mips16e2-hilo.s: New test source.
1306 * testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
1307 * testsuite/gas/mips/mips16e2-imm-error.s: New test source.
1308 * testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
1309 * testsuite/gas/mips/mips16e2-lui.s: New test source.
1310 * testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
1311 `mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
1312 architectures. Run the new tests.
1313
1314 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1315
1316 * testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
1317 `mips16e2@' prefix.
1318 (run_list_test_arch): Likewise.
1319 (mips16e2-32, mips16e2-64): New architectures.
1320 * testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
1321 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
1322 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
1323 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
1324 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
1325 * testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
1326 * testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
1327 * testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
1328 * testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
1329 * testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
1330 tag. Add `-I$srcdir/$subdir' to `as' flags.
1331 * testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
1332 * testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
1333 output.
1334 * testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
1335 output.
1336 * testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
1337 output.
1338 * testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
1339 output.
1340 * testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
1341 output.
1342 * testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
1343 * testsuite/gas/mips/mips16e-sub.s: Likewise.
1344 * testsuite/gas/mips/mips16e-64-sub.s: Likewise.
1345 * testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
1346 * testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
1347 source.
1348 * testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
1349 source.
1350
1351 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1352 Matthew Fortune <matthew.fortune@imgtec.com>
1353 Andrew Bennett <andrew.bennett@imgtec.com>
1354
1355 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `e2' flag.
1356 (RELAX_MIPS16_E2): New macro.
1357 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO)
1358 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1359 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1360 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1361 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1362 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1363 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED, RELAX_MIPS16_MACRO)
1364 (RELAX_MIPS16_MARK_MACRO, RELAX_MIPS16_CLEAR_MACRO): Shift bits.
1365 (mips16_immed_extend): New prototype.
1366 (options): Add OPTION_MIPS16E2 and OPTION_NO_MIPS16E2 enum
1367 values.
1368 (md_longopts): Add "mmips16e2" and "mno-mips16e2" options.
1369 (mips_ases): Add "mips16e2" entry.
1370 (mips_set_ase): Handle MIPS16e2 ASE.
1371 (insn_insert_operand): Explicitly handle immediates with MIPS16
1372 instructions that require 32-bit encoding.
1373 (is_opcode_valid_16): Pass enabled ASE bitmask on to
1374 `opcode_is_member'.
1375 (validate_mips_insn): Explicitly handle immediates with MIPS16
1376 instructions that require 32-bit encoding.
1377 (operand_reg_mask) <OP_REG28>: Add handler.
1378 (match_reg28_operand): New function.
1379 (match_operand) <OP_REG28>: Add handler.
1380 (append_insn): Pass ASE_MIPS16E2 setting to RELAX_MIPS16_ENCODE.
1381 (match_mips16_insn): Handle MIPS16 instructions that require
1382 32-bit encoding and `V' and `u' operand codes.
1383 (mips16_ip): Allow any characters except from `.' in opcodes.
1384 (mips16_immed_extend): Handle 9-bit immediates. Do not shuffle
1385 immediates whose width is not one of these listed.
1386 (md_estimate_size_before_relax): Handle MIPS16e2 relaxation.
1387 (mips_relax_frag): Likewise.
1388 (md_convert_frag): Likewise.
1389 (mips_convert_ase_flags): Handle MIPS16e2 ASE.
1390
1391 * doc/as.texinfo (Target MIPS options): Add `-mmips16e2' and
1392 `-mno-mips16e2' options.
1393 (-mmips16e2, -mno-mips16e2): New options.
1394 * doc/c-mips.texi (MIPS Options): Add `-mmips16e2' and
1395 `-mno-mips16e2' options.
1396 (MIPS ASE Instruction Generation Overrides): Add `.set mips16e2'
1397 and `.set nomips16e2'.
1398
1399 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1400
1401 * config/tc-mips.c (match_int_operand): Call
1402 `match_out_of_range' before returning failure for 0x8000-0xffff
1403 values conditionally allowed.
1404
1405 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1406
1407 * config/tc-mips.c (match_int_operand): Call
1408 `match_not_constant' before returning failure for a non-constant
1409 16-bit immediate conditionally allowed.
1410
1411 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1412
1413 * config/tc-mips.c (match_const_int): Call `match_out_of_range'
1414 rather than `match_not_constant' for unrelocated operands
1415 retrieved as an `O_big' expression.
1416 (match_int_operand): Call `match_out_of_range' for relocatable
1417 operands retrieved as an `O_big' expression.
1418 (match_mips16_insn): Call `match_out_of_range' for relaxable
1419 operands retrieved as an `O_big' expression.
1420 * testsuite/gas/mips/addiu-error.d: New test.
1421 * testsuite/gas/mips/mips16@addiu-error.d: New test.
1422 * testsuite/gas/mips/micromips@addiu-error.d: New test.
1423 * testsuite/gas/mips/break-error.d: New test.
1424 * testsuite/gas/mips/lui-1.l: Adjust error message.
1425 * testsuite/gas/mips/addiu-error.l: New stderr output.
1426 * testsuite/gas/mips/mips16@addiu-error.l: New stderr output.
1427 * testsuite/gas/mips/micromips@addiu-error.l: New stderr output.
1428 * testsuite/gas/mips/break-error.l: New stderr output.
1429 * testsuite/gas/mips/addiu-error.s: New test source.
1430 * testsuite/gas/mips/break-error.s: New test source.
1431 * testsuite/gas/mips/mips.exp: Run the new tests.
1432
1433 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1434
1435 * config/tc-mips.c (match_mips16_insn): Remove the explicit
1436 OT_INTEGER check before the `match_expression' call.
1437 * testsuite/gas/mips/mips16-insn-e.l: Adjust messages.
1438 * testsuite/gas/mips/mips16-32@mips16-insn-e.l: Likewise.
1439 * testsuite/gas/mips/mips16-64@mips16-insn-e.l: Likewise.
1440 * testsuite/gas/mips/mips16e-32@mips16-insn-e.l: Likewise.
1441 * testsuite/gas/mips/mips16-reg-error.d: New test.
1442 * testsuite/gas/mips/mips16-reg-error.l: New stderr output.
1443 * testsuite/gas/mips/mips16-reg-error.s: New test source.
1444 * testsuite/gas/mips/mips.exp: Run the new test.
1445
1446 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1447
1448 * config/tc-mips.c (match_mips16_insn): Call
1449 `match_not_constant' for a disallowed relocation operation.
1450 * testsuite/gas/mips/mips16-reloc-error.d: New test.
1451 * testsuite/gas/mips/mips16-reloc-error.l: New stderr output.
1452 * testsuite/gas/mips/mips16-reloc-error.s: New test source.
1453 * testsuite/gas/mips/mips.exp: Run the new test.
1454
1455 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1456
1457 * testsuite/gas/mips/lui-1.d: New test.
1458 * testsuite/gas/mips/lui-2.d: New test.
1459 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1460 into the new tests.
1461
1462 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1463
1464 * config/tc-mips.c (match_const_int): Update description.
1465
1466 2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
1467
1468 * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
1469 mips16' rather than `.set mips16'.
1470 (-mmicromips, -mno-micromips): Refer to `.module micromips' and
1471 `.module nomicromips' rather than `.set micromips' and `.set
1472 nomicromips'.
1473 (-msmartmips, -mno-smartmips): Refer to `.module smartmips'
1474 rather than `.set smartmips'.
1475 * doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
1476 `.module micromips', `.module nomicromips' and `.module
1477 smartmips' rather than `.set mips16', `.set micromips', `.set
1478 nomicromips' and `.set smartmips' respectively.
1479
1480 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1481 Matthew Fortune <matthew.fortune@imgtec.com>
1482
1483 * config/tc-mips.c (mips_percent_op): Add "%gprel".
1484 (mips16_percent_op): Add "%gp_rel".
1485 * testsuite/gas/mips/elf-rel8.s:: Add `%gprel' forms.
1486 * testsuite/gas/mips/elf-rel8-mips16.s: Add `%gp_rel' forms.
1487 * testsuite/gas/mips/elf-rel8.d: Adjust accordingly.
1488 * testsuite/gas/mips/elf-rel8-mips16.d: Likewise.
1489
1490 2017-05-12 Maciej W. Rozycki <macro@imgtec.com>
1491
1492 * testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
1493 * testsuite/gas/mips/mips16-64@mips16.d: Likewise.
1494 * testsuite/gas/mips/mips16-64.d: Likewise.
1495 * testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
1496 * testsuite/gas/mips/mips16-macro.d: Likewise.
1497 * testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
1498 * testsuite/gas/mips/mips16-sub.d: Likewise.
1499 * testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
1500
1501 2017-05-11 Maciej W. Rozycki <macro@imgtec.com>
1502
1503 * testsuite/gas/mips/mips32r2-sync-1.d: New test.
1504 * testsuite/gas/mips/micromips@mips32r2-sync-1.d: New test.
1505 * testsuite/gas/mips/mips.exp: Run the new tests.
1506
1507 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1508
1509 * testsuite/gas/mips/isa-override-2.d: New test.
1510 * testsuite/gas/mips/mips1@isa-override-2.d: New test.
1511 * testsuite/gas/mips/r3000@isa-override-2.d: New test.
1512 * testsuite/gas/mips/r3900@isa-override-2.d: New test.
1513 * testsuite/gas/mips/mips2@isa-override-2.d: New test.
1514 * testsuite/gas/mips/mips32@isa-override-2.d: New test.
1515 * testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
1516 * testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
1517 * testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
1518 * testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
1519 * testsuite/gas/mips/octeon3@isa-override-2.d: New test.
1520 * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
1521 * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
1522 * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
1523 * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
1524 * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
1525 * testsuite/gas/mips/mips32@isa-override-2.s: Remove test
1526 source.
1527 * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
1528 source.
1529 * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
1530 source.
1531 * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
1532 source.
1533 * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
1534 source.
1535 * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
1536 source.
1537 * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
1538 into the new tests.
1539
1540 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1541
1542 * testsuite/gas/mips/mips16e-sub.d: Correct test name.
1543 * testsuite/gas/mips/mips16-32@mips16e-sub.d: Likewise.
1544 * testsuite/gas/mips/mips16-64@mips16e-sub.d: Likewise.
1545 * testsuite/gas/mips/mips16e-64-sub.d: Likewise.
1546 * testsuite/gas/mips/mips16-32@mips16e-64-sub.d: Likewise.
1547 * testsuite/gas/mips/mips16-64@mips16e-64-sub.d: Likewise.
1548 * testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: Likewise.
1549
1550 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1551
1552 * testsuite/gas/mips/mips16-macro.l: Remove list test.
1553
1554 2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
1555
1556 * testsuite/gas/mips/r3900@ecoff@ld.d: Remove test.
1557 * testsuite/gas/mips/mips2@ecoff@ld.d: Remove test.
1558 * testsuite/gas/mips/mips32@ecoff@ld.d: Remove test.
1559 * testsuite/gas/mips/mips32r2@ecoff@ld.d: Remove test.
1560 * testsuite/gas/mips/r3900@ecoff@ld-forward.d: Remove test.
1561 * testsuite/gas/mips/mips2@ecoff@ld-forward.d: Remove test.
1562 * testsuite/gas/mips/mips32@ecoff@ld-forward.d: Remove test.
1563 * testsuite/gas/mips/mips32r2@ecoff@ld-forward.d: Remove test.
1564 * testsuite/gas/mips/mips1@ecoff@sd.d: Remove test.
1565 * testsuite/gas/mips/r3000@ecoff@sd.d: Remove test.
1566 * testsuite/gas/mips/r3900@ecoff@sd.d: Remove test.
1567 * testsuite/gas/mips/mips2@ecoff@sd.d: Remove test.
1568 * testsuite/gas/mips/mips32@ecoff@sd.d: Remove test.
1569 * testsuite/gas/mips/mips32r2@ecoff@sd.d: Remove test.
1570 * testsuite/gas/mips/mips1@ecoff@sd-forward.d: Remove test.
1571 * testsuite/gas/mips/r3000@ecoff@sd-forward.d: Remove test.
1572 * testsuite/gas/mips/r3900@ecoff@sd-forward.d: Remove test.
1573 * testsuite/gas/mips/mips2@ecoff@sd-forward.d: Remove test.
1574 * testsuite/gas/mips/mips32@ecoff@sd-forward.d: Remove test.
1575 * testsuite/gas/mips/mips32r2@ecoff@sd-forward.d: Remove test.
1576
1577 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
1578
1579 * testsuite/gas/arc/attr-arc600.d: New file.
1580 * testsuite/gas/arc/attr-arc600_mul32x16.d: Likewise.
1581 * testsuite/gas/arc/attr-arc600_norm.d: Likewise.
1582 * testsuite/gas/arc/attr-arc601.d: Likewise.
1583 * testsuite/gas/arc/attr-arc601_mul32x16.d: Likewise.
1584 * testsuite/gas/arc/attr-arc601_mul64.d: Likewise.
1585 * testsuite/gas/arc/attr-arc601_norm.d: Likewise.
1586 * testsuite/gas/arc/attr-arc700.d: Likewise.
1587 * testsuite/gas/arc/attr-arcem.d: Likewise.
1588 * testsuite/gas/arc/attr-archs.d: Likewise.
1589 * testsuite/gas/arc/attr-autodetect-1.d: Likewise.
1590 * testsuite/gas/arc/attr-autodetect-1.s: Likewise.
1591 * testsuite/gas/arc/attr-cpu-a601.d: Likewise.
1592 * testsuite/gas/arc/attr-cpu-a601.s: Likewise.
1593 * testsuite/gas/arc/attr-cpu-a700.d: Likewise.
1594 * testsuite/gas/arc/attr-cpu-a700.s: Likewise.
1595 * testsuite/gas/arc/attr-cpu-em.d: Likewise.
1596 * testsuite/gas/arc/attr-cpu-em.s: Likewise.
1597 * testsuite/gas/arc/attr-cpu-hs.d: Likewise.
1598 * testsuite/gas/arc/attr-cpu-hs.s: Likewise.
1599 * testsuite/gas/arc/attr-em.d: Likewise.
1600 * testsuite/gas/arc/attr-em4.d: Likewise.
1601 * testsuite/gas/arc/attr-em4_dmips.d: Likewise.
1602 * testsuite/gas/arc/attr-em4_fpuda.d: Likewise.
1603 * testsuite/gas/arc/attr-em4_fpus.d: Likewise.
1604 * testsuite/gas/arc/attr-hs.d: Likewise.
1605 * testsuite/gas/arc/attr-hs34.d: Likewise.
1606 * testsuite/gas/arc/attr-hs38.d: Likewise.
1607 * testsuite/gas/arc/attr-hs38_linux.d: Likewise.
1608 * testsuite/gas/arc/attr-mul64.d: Likewise.
1609 * testsuite/gas/arc/attr-name.d: Likewise.
1610 * testsuite/gas/arc/attr-name.s: Likewise.
1611 * testsuite/gas/arc/attr-nps400.d: Likewise.
1612 * testsuite/gas/arc/attr-override-mcpu.d: Likewise.
1613 * testsuite/gas/arc/attr-override-mcpu.s
1614 * testsuite/gas/arc/attr-quarkse_em.d: Likewise.
1615 * testsuite/gas/arc/blank.s: Likewise.
1616 * testsuite/gas/elf/section2.e-arc: Likewise.
1617 * testsuite/gas/arc/cpu-pseudop-1.d: Update test.
1618 * testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
1619 * testsuite/gas/arc/nps400-0.d: Likewise.
1620 * testsuite/gas/elf/elf.exp: Set target_machine for ARC.
1621 * config/tc-arc.c (opcode/arc-attrs.h): Include.
1622 (ARC_GET_FLAG, ARC_SET_FLAG, streq): Define.
1623 (arc_attribute): Declare new function.
1624 (md_pseudo_table): Add arc_attribute.
1625 (cpu_types): Rename default cpu features.
1626 (selected_cpu): Set the default OSABI flag.
1627 (mpy_option): New variable.
1628 (pic_option): Likewise.
1629 (sda_option): Likewise.
1630 (tls_option): Likewise.
1631 (feature_type, feature_list): Remove.
1632 (arc_initial_eflag): Likewise.
1633 (attributes_set_explicitly): New variable.
1634 (arc_check_feature): Check also for the conflicting features.
1635 (arc_select_cpu): Refactor assignment of selected_cpu.eflags.
1636 (arc_option): Remove setting of private flags and architecture.
1637 (check_cpu_feature): Refactor feature names.
1638 (autodetect_attributes): New function.
1639 (assemble_tokens): Use above function.
1640 (md_parse_option): Refactor feature names.
1641 (arc_attribute): New function.
1642 (arc_set_attribute_int): Likewise.
1643 (arc_set_attribute_string): Likewise.
1644 (arc_stralloc): Likewise.
1645 (arc_set_public_attributes): Likewise.
1646 (arc_md_end): Likewise.
1647 (arc_copy_symbol_attributes): Likewise.
1648 (rc_convert_symbolic_attribute): Likewise.
1649 * config/tc-arc.h (md_end): Define.
1650 (CONVERT_SYMBOLIC_ATTRIBUTE): Likewise.
1651 (TC_COPY_SYMBOL_ATTRIBUTES): Likewise.
1652 * doc/c-arc.texi: Document ARC object attributes.
1653
1654 2017-05-03 Maciej W. Rozycki <macro@imgtec.com>
1655
1656 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add `pic', `sym32' and
1657 `nomacro' flags.
1658 (RELAX_MIPS16_PIC, RELAX_MIPS16_SYM32, RELAX_MIPS16_NOMACRO):
1659 New macros.
1660 (RELAX_MIPS16_USER_SMALL, RELAX_MIPS16_USER_EXT)
1661 (RELAX_MIPS16_DSLOT, RELAX_MIPS16_JAL_DSLOT)
1662 (RELAX_MIPS16_EXTENDED, RELAX_MIPS16_MARK_EXTENDED)
1663 (RELAX_MIPS16_CLEAR_EXTENDED, RELAX_MIPS16_ALWAYS_EXTENDED)
1664 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED)
1665 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): Shift bits.
1666 (RELAX_MIPS16_MACRO, RELAX_MIPS16_MARK_MACRO)
1667 (RELAX_MIPS16_CLEAR_MACRO): New macros.
1668 (append_insn): Pass `mips_pic', HAVE_32BIT_SYMBOLS and
1669 `mips_opts.warn_about_macros' settings to RELAX_MIPS16_ENCODE.
1670 (mips16_macro_frag): New function.
1671 (md_estimate_size_before_relax): Handle HI16/LO16 relaxation.
1672 (mips_relax_frag): Likewise.
1673 (md_convert_frag): Likewise.
1674
1675 * testsuite/gas/mips/mips16@relax-swap3.d: Remove error output,
1676 add dump patterns.
1677 * testsuite/gas/mips/mips16e@relax-swap3.d: New test
1678 subarchitecture.
1679 * testsuite/gas/mips/micromips@relax-swap3.d: Remove trailing
1680 NOP padding.
1681 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: Remove error
1682 output, add dump patterns.
1683 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: Remove error
1684 output, add dump patterns.
1685 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: Remove error
1686 output, add dump patterns.
1687 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: Remove error
1688 output, add dump patterns.
1689 * testsuite/gas/mips/mips16-pcrel-addend-2.d: Remove error
1690 output, add dump patterns.
1691 * testsuite/gas/mips/mips16-pcrel-addend-3.d: Remove error
1692 output, add dump patterns.
1693 * testsuite/gas/mips/mips16-pcrel-absolute.d: Remove error
1694 output, add dump patterns.
1695 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: Remove error
1696 output, add dump patterns.
1697 * testsuite/gas/mips/mips16@relax-swap3.l: Remove file.
1698 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: Remove file.
1699 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: Remove file.
1700 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: Remove file.
1701 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: Remove file.
1702 * testsuite/gas/mips/mips16-pcrel-addend-2.l: Remove file.
1703 * testsuite/gas/mips/mips16-pcrel-addend-3.l: Remove file.
1704 * testsuite/gas/mips/mips16-pcrel-absolute.l: Remove file.
1705 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: Remove file.
1706 * testsuite/gas/mips/relax-swap3.s: Adjust trailing padding.
1707
1708 * testsuite/gas/mips/mips16-pcrel-0.d: New test.
1709 * testsuite/gas/mips/mips16-pcrel-1.d: New test.
1710 * testsuite/gas/mips/mips16-pcrel-2.d: New test.
1711 * testsuite/gas/mips/mips16-pcrel-3.d: New test.
1712 * testsuite/gas/mips/mips16-pcrel-4.d: New test.
1713 * testsuite/gas/mips/mips16-pcrel-5.d: New test.
1714 * testsuite/gas/mips/mips16-pcrel-pic-0.d: New test.
1715 * testsuite/gas/mips/mips16-pcrel-pic-1.d: New test.
1716 * testsuite/gas/mips/mips16-pcrel-n32-0.d: New test.
1717 * testsuite/gas/mips/mips16-pcrel-n32-1.d: New test.
1718 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: New test.
1719 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: New test.
1720 * testsuite/gas/mips/mips16-pcrel-n64-0.d: New test.
1721 * testsuite/gas/mips/mips16-pcrel-n64-1.d: New test.
1722 * testsuite/gas/mips/mips16-pcrel-delay-0.d: New test.
1723 * testsuite/gas/mips/mips16-pcrel-delay-1.d: New test.
1724 * testsuite/gas/mips/mips16-pcrel-addend-4.d: New test.
1725 * testsuite/gas/mips/mips16-pcrel-addend-5.d: New test.
1726 * testsuite/gas/mips/mips16-pcrel-addend-6.d: New test.
1727 * testsuite/gas/mips/mips16-pcrel-addend-7.d: New test.
1728 * testsuite/gas/mips/mips16-pcrel-addend-8.d: New test.
1729 * testsuite/gas/mips/mips16-pcrel-addend-9.d: New test.
1730 * testsuite/gas/mips/mips16-pcrel-addend-pic-8.d: New test.
1731 * testsuite/gas/mips/mips16-pcrel-addend-pic-9.d: New test.
1732 * testsuite/gas/mips/mips16-pcrel-addend-n32-8.d: New test.
1733 * testsuite/gas/mips/mips16-pcrel-addend-n32-9.d: New test.
1734 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-8.d: New test.
1735 * testsuite/gas/mips/mips16-pcrel-addend-n64-sym32-9.d: New test.
1736 * testsuite/gas/mips/mips16-pcrel-addend-n64-8.d: New test.
1737 * testsuite/gas/mips/mips16-pcrel-addend-n64-9.d: New test.
1738 * testsuite/gas/mips/mips16-pcrel-absolute-2.d: New test.
1739 * testsuite/gas/mips/mips16-pcrel-absolute-3.d: New test.
1740 * testsuite/gas/mips/mips16-pcrel-absolute-4.d: New test.
1741 * testsuite/gas/mips/mips16-pcrel-absolute-5.d: New test.
1742 * testsuite/gas/mips/mips16-pcrel-absolute-6.d: New test.
1743 * testsuite/gas/mips/mips16-pcrel-absolute-7.d: New test.
1744 * testsuite/gas/mips/mips16-pcrel-absolute-pic-4.d: New test.
1745 * testsuite/gas/mips/mips16-pcrel-absolute-pic-6.d: New test.
1746 * testsuite/gas/mips/mips16-pcrel-absolute-n32-4.d: New test.
1747 * testsuite/gas/mips/mips16-pcrel-absolute-n32-6.d: New test.
1748 * testsuite/gas/mips/mips16-pcrel-absolute-n64-4.d: New test.
1749 * testsuite/gas/mips/mips16-pcrel-absolute-n64-6.d: New test.
1750 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-4.d: New
1751 test.
1752 * testsuite/gas/mips/mips16-pcrel-absolute-n64-sym32-6.d: New
1753 test.
1754 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-4.d: New
1755 test.
1756 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n32-6.d: New
1757 test.
1758 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-4.d: New
1759 test.
1760 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-6.d: New
1761 test.
1762 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-4.d:
1763 New test.
1764 * testsuite/gas/mips/mips16-pcrel-absolute-pic-n64-sym32-6.d:
1765 New test.
1766 * testsuite/gas/mips/mips16-pcrel-0.l: New stderr output.
1767 * testsuite/gas/mips/mips16-pcrel-1.l: New stderr output.
1768 * testsuite/gas/mips/mips16-pcrel-2.l: New stderr output.
1769 * testsuite/gas/mips/mips16-pcrel-3.l: New stderr output.
1770 * testsuite/gas/mips/mips16-pcrel-4.l: New stderr output.
1771 * testsuite/gas/mips/mips16-pcrel-5.l: New stderr output.
1772 * testsuite/gas/mips/mips16-pcrel-delay-0.l: New stderr output.
1773 * testsuite/gas/mips/mips16-pcrel-delay-1.l: New stderr output.
1774 * testsuite/gas/mips/mips16-pcrel-addend-8.l: New stderr output.
1775 * testsuite/gas/mips/mips16-pcrel-addend-9.l: New stderr output.
1776 * testsuite/gas/mips/mips16-pcrel-absolute-4.l: New stderr
1777 output.
1778 * testsuite/gas/mips/mips16-pcrel-absolute-6.l: New stderr
1779 output.
1780 * testsuite/gas/mips/mips16-pcrel-0.s: New test source.
1781 * testsuite/gas/mips/mips16-pcrel-1.s: New test source.
1782 * testsuite/gas/mips/mips16-pcrel-2.s: New test source.
1783 * testsuite/gas/mips/mips16-pcrel-3.s: New test source.
1784 * testsuite/gas/mips/mips16-pcrel-4.s: New test source.
1785 * testsuite/gas/mips/mips16-pcrel-5.s: New test source.
1786 * testsuite/gas/mips/mips16-pcrel-delay-0.s: New test source.
1787 * testsuite/gas/mips/mips16-pcrel-delay-1.s: New test source.
1788 * testsuite/gas/mips/mips16-pcrel-addend-4.s: New test source.
1789 * testsuite/gas/mips/mips16-pcrel-addend-5.s: New test source.
1790 * testsuite/gas/mips/mips16-pcrel-addend-6.s: New test source.
1791 * testsuite/gas/mips/mips16-pcrel-addend-7.s: New test source.
1792 * testsuite/gas/mips/mips16-pcrel-addend-8.s: New test source.
1793 * testsuite/gas/mips/mips16-pcrel-addend-9.s: New test source.
1794 * testsuite/gas/mips/mips16-pcrel-absolute-2.s: New test.
1795 * testsuite/gas/mips/mips16-pcrel-absolute-3.s: New test.
1796 * testsuite/gas/mips/mips16-pcrel-absolute-4.s: New test.
1797 * testsuite/gas/mips/mips16-pcrel-absolute-5.s: New test.
1798 * testsuite/gas/mips/mips16-pcrel-absolute-6.s: New test.
1799 * testsuite/gas/mips/mips16-pcrel-absolute-7.s: New test.
1800 * testsuite/gas/mips/mips.exp: Run the new tests.
1801
1802 2017-05-03 Nick Clifton <nickc@redhat.com>
1803
1804 PR gas/20941
1805 * symbols.c (snapshot_symbol): Handle the case where
1806 resolve_expression returns a local symbol.
1807
1808 2017-05-02 Maciej W. Rozycki <macro@imgtec.com>
1809
1810 * config/tc-mips.c (append_insn): Call `symbol_append' for any
1811 expression symbol created for MIPS16 relaxation.
1812 (match_mips16_insn): Don't encode a constant value as an
1813 immediate with a PC-relative operand.
1814
1815 * testsuite/gas/mips/mips16-pcrel-absolute-1.d: New test.
1816 * testsuite/gas/mips/mips16-branch-absolute-1.d: New test.
1817 * testsuite/gas/mips/mips16-branch-absolute-2.d: New test.
1818 * testsuite/gas/mips/mips16-branch-absolute-addend-1.d: New
1819 test.
1820 * testsuite/gas/mips/mips16-branch-absolute-n32-1.d: New test.
1821 * testsuite/gas/mips/mips16-branch-absolute-n32-2.d: New test.
1822 * testsuite/gas/mips/mips16-branch-absolute-addend-n32-1.d: New
1823 test.
1824 * testsuite/gas/mips/mips16-branch-absolute-n64-1.d: New test.
1825 * testsuite/gas/mips/mips16-branch-absolute-n64-2.d: New test.
1826 * testsuite/gas/mips/mips16-branch-absolute-addend-n64-1.d: New
1827 test.
1828 * testsuite/gas/mips/mips16-pcrel-absolute-1.l: New stderr
1829 output.
1830 * testsuite/gas/mips/mips16-pcrel-absolute-1.s: New test source.
1831 * testsuite/gas/mips/mips16-branch-absolute-1.s: New test
1832 source.
1833 * testsuite/gas/mips/mips16-branch-absolute-2.s: New test
1834 source.
1835 * testsuite/gas/mips/mips16-branch-absolute-addend-1.s: New test
1836 source.
1837 * testsuite/gas/mips/mips.exp: Run the new tests.
1838
1839 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1840
1841 * config/tc-mips.c (mips16_pcrel_val): New function, factored
1842 out from...
1843 (mips16_extended_frag): ... here.
1844 (md_convert_frag): Use `mips16_pcrel_val' rather than repeated
1845 code in MIPS16 relaxation, with `stretch' hardcoded to 0.
1846
1847 2017-04-27 Maciej W. Rozycki <macro@imgtec.com>
1848
1849 * config/tc-mips.c (RELAX_MIPS16_LONG_BRANCH): Rename to...
1850 (RELAX_MIPS16_ALWAYS_EXTENDED): ... this.
1851 (RELAX_MIPS16_MARK_LONG_BRANCH): Rename to...
1852 (RELAX_MIPS16_MARK_ALWAYS_EXTENDED): ... this.
1853 (RELAX_MIPS16_CLEAR_LONG_BRANCH): Rename to...
1854 (RELAX_MIPS16_CLEAR_ALWAYS_EXTENDED): ... this.
1855 (mips16_extended_frag): Adjust accordingly.
1856
1857 2017-04-27 Alan Modra <amodra@gmail.com>
1858
1859 * symbols.c (S_FORCE_RELOC): Separate section and symbol tests.
1860
1861 2017-04-26 Maciej W. Rozycki <macro@imgtec.com>
1862
1863 * config/tc-mips.c (RELAX_ENCODE): Add `PIC' flag.
1864 (RELAX_PIC): New macro.
1865 (RELAX_USE_SECOND, RELAX_SECOND_LONGER, RELAX_NOMACRO)
1866 (RELAX_DELAY_SLOT, RELAX_DELAY_SLOT_16BIT)
1867 (RELAX_DELAY_SLOT_SIZE_FIRST, RELAX_DELAY_SLOT_SIZE_SECOND):
1868 Shift bits.
1869 (RELAX_BRANCH_ENCODE): Add `pic' flag.
1870 (RELAX_BRANCH_UNCOND, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK)
1871 (RELAX_BRANCH_TOOFAR): Shift bits.
1872 (RELAX_BRANCH_PIC): New macro.
1873 (RELAX_MICROMIPS_ENCODE): Add `pic' flag.
1874 (RELAX_MICROMIPS_PIC): New macro.
1875 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
1876 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_NODS)
1877 (RELAX_MICROMIPS_RELAX32): Shift bits.
1878 (relax_close_frag): Pass `mips_pic' setting to RELAX_ENCODE.
1879 (append_insn): Pass `mips_pic' setting to RELAX_BRANCH_ENCODE
1880 and RELAX_MICROMIPS_ENCODE, and record it in `fx_tcbit2' of the
1881 first fixup created.
1882 (md_apply_fix) <BFD_RELOC_16_PCREL_S2>: Use `fx_tcbit2' of the
1883 fixup processed rather than `mips_pic' in choosing to relax an
1884 out of range branch to a jump.
1885 (relaxed_branch_length): Use the `pic' flag of the relaxed frag
1886 rather than `mips_pic'.
1887 (relaxed_micromips_32bit_branch_length): Likewise.
1888 (md_estimate_size_before_relax): Likewise.
1889 (md_convert_frag): Likewise.
1890
1891 * testsuite/gas/mips/option-pic-relax-0.d: New test.
1892 * testsuite/gas/mips/option-pic-relax-1.d: New test.
1893 * testsuite/gas/mips/option-pic-relax-2.d: New test.
1894 * testsuite/gas/mips/option-pic-relax-3.d: New test.
1895 * testsuite/gas/mips/option-pic-relax-3a.d: New test.
1896 * testsuite/gas/mips/option-pic-relax-4.d: New test.
1897 * testsuite/gas/mips/option-pic-relax-5.d: New test.
1898 * testsuite/gas/mips/option-pic-relax-2.l: New stderr output.
1899 * testsuite/gas/mips/option-pic-relax-3.l: New stderr output.
1900 * testsuite/gas/mips/option-pic-relax-4.l: New stderr output.
1901 * testsuite/gas/mips/option-pic-relax-5.l: New stderr output.
1902 * testsuite/gas/mips/option-pic-relax-0.s: New test source.
1903 * testsuite/gas/mips/option-pic-relax-1.s: New test source.
1904 * testsuite/gas/mips/option-pic-relax-2.s: New test source.
1905 * testsuite/gas/mips/option-pic-relax-3.s: New test source.
1906 * testsuite/gas/mips/option-pic-relax-4.s: New test source.
1907 * testsuite/gas/mips/option-pic-relax-5.s: New test source.
1908 * testsuite/gas/mips/mips.exp: Run the new tests.
1909
1910 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1911
1912 * testsuite/gas/arc/leave_enter.d: Update test.
1913 * testsuite/gas/arc/leave_enter.s: Likewise.
1914
1915 2017-04-25 Claudiu Zissulescu <claziss@synopsys.com>
1916
1917 * testsuite/gas/arc/b.d: Update test.
1918 * testsuite/gas/arc/noargs_hs.d: Likewise.
1919
1920 2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
1921
1922 * config/tc-mips.c (md_convert_frag): Correct
1923 BFD_RELOC_MIPS16_16_PCREL_S1 fixup size.
1924 * testsuite/gas/mips/mips16-branch-addend-4.d: New test.
1925 * testsuite/gas/mips/mips16-branch-addend-5.d: New test.
1926 * testsuite/gas/mips/mips16-branch-addend-5.l: New stderr
1927 output.
1928 * testsuite/gas/mips/mips16-branch-addend-4.s: New test source.
1929 * testsuite/gas/mips/mips16-branch-addend-5.s: New test source.
1930 * testsuite/gas/mips/mips.exp: Run the new tests.
1931
1932 2017-04-25 Jose E. Marchesi <jose.marchesi@oracle.com>
1933
1934 PR gas/21407
1935 * config/tc-sparc.c (md_apply_fix): Do not transform `call'
1936 instructions into branch instructions in fixups generating
1937 additional relocations.
1938 * testsuite/gas/sparc/call-relax.s: New file.
1939 * testsuite/gas/sparc/call-relax.d: Likewise.
1940 * testsuite/gas/sparc/call-relax-aout.d: Likewise.
1941 * testsuite/gas/sparc/sparc.exp: Test call-relax and call-relax-aout.
1942
1943 2017-04-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
1944
1945 * config/tc-arm.c (move_or_literal_pool): Remove code generating MOVS.
1946 Forbid MOV.W and MOVW if destination is SP or PC.
1947 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.s: Explain
1948 expectation of LDR not generating a MOVS for low registers and small
1949 constants. Add tests of MOVW generation.
1950 * testsuite/gas/arm/thumb2_ldr_immediate_highregs_armv6t2.d: Update
1951 expected disassembly.
1952
1953 2017-04-22 Alan Modra <amodra@gmail.com>
1954
1955 * testsuite/gas/ppc/vle.s: Format. Add se_rfgi and e_sc.
1956 * testsuite/gas/ppc/vle.d: Update.
1957
1958 2017-04-21 Nick Clifton <nickc@redhat.com>
1959
1960 PR binutils/21380
1961 * testsuite/gas/aarch64/illegal-3.s: New file.
1962 * testsuite/gas/aarch64/illegal-3.d: New file.
1963
1964 2017-04-11 Alan Modra <amodra@gmail.com>
1965
1966 * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm.
1967 * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8.
1968
1969 2017-04-10 Max Filippov <jcmvbkbc@gmail.com>
1970
1971 * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag):
1972 Initialize lps->frag_count with auto_litpool_limit.
1973 (xg_promote_candidate_litpool): New function.
1974 (xtensa_move_literals): Extract candidate litpool promotion code
1975 into separate function. Call it for all possible found
1976 candidates.
1977 (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and
1978 call to xtensa_mark_literal_pool_location that it guards.
1979 Replace it with call to xtensa_maybe_create_literal_pool_frag.
1980 Initialize pool_location with created literal pool candidate.
1981 * testsuite/gas/xtensa/all.exp: Add new tests.
1982 * testsuite/gas/xtensa/auto-litpools-first1.d: New test results.
1983 * testsuite/gas/xtensa/auto-litpools-first1.s: New test.
1984 * testsuite/gas/xtensa/auto-litpools-first2.d: New test results.
1985 * testsuite/gas/xtensa/auto-litpools-first2.s: New test.
1986 * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due
1987 to additional jump instruction.
1988
1989 2017-04-07 Alan Modra <amodra@gmail.com>
1990
1991 * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns.
1992 * testsuite/gas/ppc/altivec2.d: Adjust to suit.
1993
1994 2017-04-07 Alan Modra <amodra@gmail.com>
1995
1996 * testsuite/gas/elf/section12a.d: Don't expect alignment of 1
1997 for .mbind.text.
1998
1999 2017-04-06 Pip Cet <pipcet@gmail.com>
2000
2001 * testsuite/gas/wasm32/allinsn.d: Adjust test for disassembler
2002 changes.
2003 * testsuite/gas/wasm32/disass.d: New test.
2004 * testsuite/gas/wasm32/disass.s: New test.
2005 * testsuite/gas/wasm32/disass-2.d: New test.
2006 * testsuite/gas/wasm32/disass-2.s: New test.
2007 * testsuite/gas/wasm32/reloc.d: Adjust test for changed reloc
2008 names.
2009 * testsuite/gas/wasm32/reloc.s: Update test for changed assembler
2010 syntax.
2011 * testsuite/gas/wasm32/wasm32.exp: Run new tests. Expect allinsn
2012 test to succeed.
2013
2014 2017-04-04 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 * NEWS: Mention support for ELF SHF_GNU_MBIND.
2017 * config/obj-elf.c (section_match): New.
2018 (get_section): Match both sh_info and group name.
2019 (obj_elf_change_section): Add argument for sh_info. Pass both
2020 sh_info and group name to get_section. Issue an error for
2021 SHF_GNU_MBIND section without SHF_ALLOC. Set sh_info.
2022 (obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
2023 (obj_elf_section): Support SHF_GNU_MBIND section info.
2024 * config/obj-elf.h (obj_elf_change_section): Add argument for
2025 sh_info.
2026 * config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
2027 obj_elf_change_section.
2028 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2029 * config/tc-microblaze.c (microblaze_s_data): Likewise.
2030 (microblaze_s_sdata): Likewise.
2031 (microblaze_s_rdata): Likewise.
2032 (microblaze_s_bss): Likewise.
2033 * config/tc-mips.c (s_change_section): Likewise.
2034 * config/tc-msp430.c (msp430_profiler): Likewise.
2035 * config/tc-rx.c (parse_rx_section): Likewise.
2036 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
2037 * doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
2038 * testsuite/gas/elf/elf.exp: Run section12a, section12b and
2039 section13.
2040 * testsuite/gas/elf/section10.d: Updated.
2041 * testsuite/gas/elf/section10.s: Likewise.
2042 * testsuite/gas/elf/section12.s: New file.
2043 * testsuite/gas/elf/section12a.d: Likewise.
2044 * testsuite/gas/elf/section12b.d: Likewise.
2045 * testsuite/gas/elf/section13.l: Likewise.
2046 * testsuite/gas/elf/section13.d: Likewise.
2047 * testsuite/gas/elf/section13.s: Likewise.
2048
2049 2017-04-03 Palmer Dabbelt <palmer@dabbelt.com>
2050
2051 * config/tc-riscv.c (riscv_clear_subsets): Cast argument to free to
2052 avoid const warnings.
2053
2054 2017-03-30 Palmer Dabbelt <palmer@dabbelt.com>
2055
2056 * config/tc-riscv.c (riscv_clear_subsets): New function.
2057 (riscv_add_subset): Call riscv_clear_subsets and riscv_set_rvc to
2058 clear RVC when it's been previously set.
2059
2060 2017-03-31 Nick Clifton <nickc@redhat.com>
2061
2062 PR gas/21333
2063 * config/tc-s390.c (tc_s390_fix_adjustable): Allow non pc-relative
2064 fixups in mergeable sections to be adjusted.
2065
2066 2017-03-30 Pip Cet <pipcet@gmail.com>
2067
2068 * config/tc-wasm32.h: New file: Add WebAssembly assembler target.
2069 * config/tc-wasm32.c: New file: Add WebAssembly assembler target.
2070 * Makefile.am: Add WebAssembly assembler target.
2071 * configure.tgt: Add WebAssembly assembler target.
2072 * doc/c-wasm32.texi: New file: Start documenting WebAssembly
2073 assembler.
2074 * doc/all.texi: Define WASM32.
2075 * doc/as.texinfo: Add WebAssembly entries.
2076 * NEWS: Mention the new support.
2077 * Makefile.in: Regenerate.
2078 * po/gas.pot: Regenerate.
2079 * po/POTFILES.in: Regenerate.
2080 * testsuite/gas/wasm32: New directory.
2081 * testsuite/gas/wasm32/allinsn.d: New file.
2082 * testsuite/gas/wasm32/allinsn.s: New file.
2083 * testsuite/gas/wasm32/illegal.l: New file.
2084 * testsuite/gas/wasm32/illegal.s: New file.
2085 * testsuite/gas/wasm32/illegal-2.l: New file.
2086 * testsuite/gas/wasm32/illegal-2.s: New file.
2087 * testsuite/gas/wasm32/illegal-3.l: New file.
2088 * testsuite/gas/wasm32/illegal-3.s: New file.
2089 * testsuite/gas/wasm32/illegal-4.l: New file.
2090 * testsuite/gas/wasm32/illegal-4.s: New file.
2091 * testsuite/gas/wasm32/illegal-5.l: New file.
2092 * testsuite/gas/wasm32/illegal-5.s: New file.
2093 * testsuite/gas/wasm32/illegal-6.l: New file.
2094 * testsuite/gas/wasm32/illegal-6.s: New file.
2095 * testsuite/gas/wasm32/illegal-7.l: New file.
2096 * testsuite/gas/wasm32/illegal-7.s: New file.
2097 * testsuite/gas/wasm32/illegal-8.l: New file.
2098 * testsuite/gas/wasm32/illegal-8.s: New file.
2099 * testsuite/gas/wasm32/illegal-9.l: New file.
2100 * testsuite/gas/wasm32/illegal-9.s: New file.
2101 * testsuite/gas/wasm32/illegal-10.l: New file.
2102 * testsuite/gas/wasm32/illegal-10.s: New file.
2103 * testsuite/gas/wasm32/illegal-11.l: New file.
2104 * testsuite/gas/wasm32/illegal-11.s: New file.
2105 * testsuite/gas/wasm32/illegal-12.l: New file.
2106 * testsuite/gas/wasm32/illegal-12.s: New file.
2107 * testsuite/gas/wasm32/illegal-13.l: New file.
2108 * testsuite/gas/wasm32/illegal-13.s: New file.
2109 * testsuite/gas/wasm32/illegal-14.l: New file.
2110 * testsuite/gas/wasm32/illegal-14.s: New file.
2111 * testsuite/gas/wasm32/illegal-15.l: New file.
2112 * testsuite/gas/wasm32/illegal-15.s: New file.
2113 * testsuite/gas/wasm32/illegal-16.l: New file.
2114 * testsuite/gas/wasm32/illegal-16.s: New file.
2115 * testsuite/gas/wasm32/illegal-17.l: New file.
2116 * testsuite/gas/wasm32/illegal-17.s: New file.
2117 * testsuite/gas/wasm32/illegal-18.l: New file.
2118 * testsuite/gas/wasm32/illegal-18.s: New file.
2119 * testsuite/gas/wasm32/illegal-19.l: New file.
2120 * testsuite/gas/wasm32/illegal-19.s: New file.
2121 * testsuite/gas/wasm32/illegal-20.l: New file.
2122 * testsuite/gas/wasm32/illegal-20.s: New file.
2123 * testsuite/gas/wasm32/illegal-21.l: New file.
2124 * testsuite/gas/wasm32/illegal-21.s: New file.
2125 * testsuite/gas/wasm32/illegal-22.l: New file.
2126 * testsuite/gas/wasm32/illegal-22.s: New file.
2127 * testsuite/gas/wasm32/illegal-24.l: New file.
2128 * testsuite/gas/wasm32/illegal-24.s: New file.
2129 * testsuite/gas/wasm32/illegal-25.l: New file.
2130 * testsuite/gas/wasm32/illegal-25.s: New file.
2131 * testsuite/gas/wasm32/reloc.d: New file.
2132 * testsuite/gas/wasm32/reloc.s: New file.
2133 * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
2134 architecture.
2135
2136 2017-03-29 Alan Modra <amodra@gmail.com>
2137
2138 * config/tc-ppc.c (md_parse_option): Reject -mraw.
2139
2140 2017-03-27 Alan Modra <amodra@gmail.com>
2141
2142 PR 21303
2143 * testsuite/gas/ppc/pr21303.d,
2144 * testsuite/gas/ppc/pr21303.s: New test
2145 * testsuite/gas/ppc/ppc.exp: Run it.
2146
2147 2017-03-27 Rinat Zelig <rinat@mellanox.com>
2148
2149 * testsuite/gas/arc/nps400-12.s: New file.
2150 * testsuite/gas/arc/nps400-12.d: New file.
2151
2152 2017-03-24 Thomas preud'homme <thomas.preudhomme@arm.com>
2153
2154 * config/tc-arm.: (md_begin): Set selected_cpu from *mcpu_cpu_opt when
2155 CPU_DEFAULT is defined.
2156
2157 2017-03-21 Palmer Dabbbelt <palmer@dabbelt.com>
2158
2159 * config/tc-riscv.c (md_show_usage): Remode defuct -m32, -m64,
2160 -msoft-float, -mhard-float, -mno-rvc, and -mrvc options; and don't
2161 print an invalid default ISA string.
2162 * doc/c-riscv.texi (OPTIONS): Add -fpic and -fno-pic options.
2163
2164 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
2165
2166 * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
2167 reassigned fixup to size of jump instruction (3) and fx_r_type
2168 to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
2169 (add_jump_to_trampoline): Search
2170 origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
2171 symbol and use that slot instead of slot 0.
2172
2173 2017-03-21 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2174
2175 * config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
2176 from cpu_table. Remove vx2, and novx2 from cpu_flags.
2177
2178 2017-03-21 Rinat Zelig <rinat@mellanox.com>
2179
2180 * testsuite/gas/arc/nps400-11.s: New file.
2181 * testsuite/gas/arc/nps400-11.d: New file.
2182
2183 2017-03-20 Nick Clifton <nickc@redhat.com>
2184
2185 * doc/as.texinfo (2byte): Note that if no expressions are present
2186 the directive does nothing. Emphasize that the output is
2187 unaligned, and that this can have an effect on the relocations
2188 generated.
2189 (4byte): Simplify description. Refer back to the 2byte
2190 description.
2191 (8byte): Likewise.
2192
2193 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
2194
2195 * config/tc-arm.c (arm_fpus): Note entires that should not be
2196 documented.
2197 * doc/c-arm.texi (-mfpu): Add missing FPU entries for neon-vfpv3 and
2198 neon-fp16. Fix spelling error.
2199
2200 2017-03-20 Richard Earnshaw <rearnsha@arm.com>
2201
2202 * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
2203
2204 2017-03-16 Rinat Zelig <rinat@mellanox.com>
2205
2206 * config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
2207 specially for ARCv2.
2208
2209 2017-03-14 Kito Cheng <kito.cheng@gmail.com>
2210
2211 * config/tc-riscv.c (validate_riscv_insn): Add 'o' RVC immediate
2212 encoding format, which can accept 0-valued immediates.
2213 (riscv_ip): Likewise.
2214
2215 2017-03-15 Nick Clifton <nickc@redhat.com>
2216
2217 * config/tc-riscv.c (riscv_pre_output_hook): Fix compile time
2218 warning about discarding a const qualifier.
2219
2220 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2221
2222 * config/tc-riscv.h (HWARD2_USE_FIXED_ADVANCE_PC): New define.
2223
2224 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2225
2226 * config/tc-riscv.c (md_apply_fix): Set fx_frag and
2227 fx_next->fx_frag for CFA_advance_loc relocations.
2228
2229 2017-03-02 Kuan-Lin Chen <rufus@andestech.com>
2230
2231 * config/tc-riscv.c (md_apply_fix): Compute the correct offsets
2232 for CFA relocations.
2233
2234 2017-03-13 Nick Clifton <nickc@redhat.com>
2235
2236 PR binutils/21202
2237 * config/tc-aarch64.c (reloc_table): Rename
2238 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
2239 BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. Rname
2240 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
2241 BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
2242 (md_apply_fix): Likewise.
2243 (aarch64_force_relocation): Likewise.
2244 * testsuite/gas/aarch64/tls.d: Update regexp.
2245
2246 2017-03-10 Tobin C. Harding <me@tobin.cc>
2247 Nick Clifton <nickc@redhat.com>
2248
2249 * doc/as.texinfo (2byte): Tidy up wording. Add note that
2250 overlarge values will produce a warning message and be trunacted.
2251 (4byte): Likewise.
2252
2253 2017-03-09 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 * config/tc-i386.c (_i386_insn): Add dir_encoding and
2256 vec_encoding. Remove swap_operand and need_vrex.
2257 (extra_symbol_chars): Add '}'.
2258 (md_begin): Mark '}' with LEX_BEGIN_NAME. Allow '}' in
2259 mnemonic.
2260 (build_vex_prefix): Don't use 2-byte VEX encoding with
2261 {vex3}. Check dir_encoding and load.
2262 (parse_insn): Check pseudo prefixes. Set dir_encoding.
2263 (VEX_check_operands): Likewise.
2264 (match_template): Check dir_encoding and load.
2265 (parse_real_register): Set vec_encoding instead of need_vrex.
2266 (parse_register): Likewise.
2267 * doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
2268 {vex2}, {vex3} and {evex}. Remove ".s", ".d8" and ".d32"
2269 * testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
2270 * testsuite/gas/i386/pseudos.d: New file.
2271 * testsuite/gas/i386/pseudos.s: Likewise.
2272 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
2273 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
2274
2275 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2276
2277 * testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
2278 (objdump): Use the -Mpower8 option.
2279
2280 2017-03-08 Peter Bergner <bergner@vnet.ibm.com>
2281
2282 * testsuite/gas/ppc/power9.d <lnia> New test.
2283 * testsuite/gas/ppc/power9.s: Likewise.
2284
2285 2017-03-07 Alan Modra <amodra@gmail.com>
2286
2287 * doc/as.texinfo (2byte, 4byte, 8byte): Correct @section placement.
2288
2289 2017-03-07 Tobin C. Harding <me@tobin.cc>
2290 Alan Modra <amodra@gmail.com>
2291
2292 * doc/as.texinfo (2byte, 4byte, 8byte): Document.
2293 * doc/c-arm.texi (2byte, 4byte, 8byte): Omit if ELF.
2294
2295 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 * config/tc-i386.c (cpu_arch): Add .cet.
2298 * doc/c-i386.texi: Document cet.
2299 * testsuite/gas/i386/cet-intel.d: New file.
2300 * testsuite/gas/i386/cet.d: Likewise.
2301 * testsuite/gas/i386/cet.s: Likewise.
2302 * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
2303 * testsuite/gas/i386/x86-64-cet.d: Likewise.
2304 * testsuite/gas/i386/x86-64-cet.s: Likewise.
2305 * testsuite/gas/i386/i386.exp: Run Intel CET tests.
2306
2307 2017-03-06 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * testsuite/gas/i386/x86-64-mpx-inval-2.s: Force a good alignment.
2310 * testsuite/gas/i386/x86-64-mpx-inval-2.l: Expect [0-9A-F]+.
2311
2312 2017-03-06 Alan Modra <amodra@gmail.com>
2313
2314 * dw2gencfi.c (encoding_size): Return unsigned int.
2315 (emit_expr_encoded): Assert size matches reloc bitsize.
2316 (output_fde): Use unsigned for offset_size and addr_size. Set
2317 addr_size earlier and use in place of constant 4 and uses of
2318 DWARF2_FDE_RELOC_SIZE. Assert it matches reloc bitsize.
2319
2320 2017-03-06 Alan Modra <amodra@gmail.com>
2321
2322 * dw2gencfi.c: Wrap overlong lines. Add parens for emacs
2323 auto reformat. Formatting and whitespace fixes.
2324
2325 2017-03-05 Mark Wielaard <mark@klomp.org>
2326
2327 * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_strp instead of
2328 DW_FORM_string for DW_AT_name, DW_AT_comp_dir and DW_AT_producer.
2329 (out_debug_info): Accept symbols to name, comp_dir and producer in
2330 the .debug_str section and emit those offsets not full strings.
2331 (out_debug_str): New function that outputs the strings for name,
2332 comp_dir and producer in .debug_str and generates symbols to those
2333 strings.
2334 (out_debug_line): Create a .debug_str section if necessary and call
2335 out_debug_str before calling out_debug_info.
2336 * testsuite/gas/aarch64/dwarf.d: Add extra section symbol to expected
2337 output.
2338
2339 2017-03-02 Maciej W. Rozycki <macro@imgtec.com>
2340
2341 * write.c (relax_segment) <rs_org>: Only bail out if the fixed
2342 part of the frag has overrun the location requested.
2343
2344 * testsuite/gas/all/org-1.d: New test.
2345 * testsuite/gas/all/org-2.d: New test.
2346 * testsuite/gas/all/org-3.d: New test.
2347 * testsuite/gas/all/org-4.d: New test.
2348 * testsuite/gas/all/org-5.d: New test.
2349 * testsuite/gas/all/org-6.d: New test.
2350 * testsuite/gas/all/org-1.l: New stderr output.
2351 * testsuite/gas/all/org-2.l: New stderr output.
2352 * testsuite/gas/all/org-3.l: New stderr output.
2353 * testsuite/gas/all/org-1.s: New test source.
2354 * testsuite/gas/all/org-2.s: New test source.
2355 * testsuite/gas/all/org-3.s: New test source.
2356 * testsuite/gas/all/org-4.s: New test source.
2357 * testsuite/gas/all/org-5.s: New test source.
2358 * testsuite/gas/all/org-6.s: New test source.
2359 * testsuite/gas/all/gas.exp: Run the new tests.
2360
2361 * testsuite/gas/mips/org-1.d: New test.
2362 * testsuite/gas/mips/org-2.d: New test.
2363 * testsuite/gas/mips/org-3.d: New test.
2364 * testsuite/gas/mips/org-4.d: New test.
2365 * testsuite/gas/mips/org-5.d: New test.
2366 * testsuite/gas/mips/org-6.d: New test.
2367 * testsuite/gas/mips/org-7.d: New test.
2368 * testsuite/gas/mips/org-8.d: New test.
2369 * testsuite/gas/mips/org-9.d: New test.
2370 * testsuite/gas/mips/org-10.d: New test.
2371 * testsuite/gas/mips/org-11.d: New test.
2372 * testsuite/gas/mips/org-12.d: New test.
2373 * testsuite/gas/mips/org-1.l: New stderr output.
2374 * testsuite/gas/mips/org-4.l: New stderr output.
2375 * testsuite/gas/mips/org-5.l: New stderr output.
2376 * testsuite/gas/mips/org-6.l: New stderr output.
2377 * testsuite/gas/mips/org-10.l: New stderr output.
2378 * testsuite/gas/mips/org-1.s: New test source.
2379 * testsuite/gas/mips/org-2.s: New test source.
2380 * testsuite/gas/mips/org-3.s: New test source.
2381 * testsuite/gas/mips/org-4.s: New test source.
2382 * testsuite/gas/mips/org-5.s: New test source.
2383 * testsuite/gas/mips/org-6.s: New test source.
2384 * testsuite/gas/mips/org-7.s: New test source.
2385 * testsuite/gas/mips/org-8.s: New test source.
2386 * testsuite/gas/mips/org-9.s: New test source.
2387 * testsuite/gas/mips/org-10.s: New test source.
2388 * testsuite/gas/mips/org-11.s: New test source.
2389 * testsuite/gas/mips/org-12.s: New test source.
2390 * testsuite/gas/mips/mips.exp: Run the new tests.
2391
2392 2017-03-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2393
2394 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2395
2396 2017-02-28 Jan Beulich <jbeulich@suse.com>
2397
2398 * testsuite/gas/i386/x86-64-avx.s: Add suffixed variants of
2399 VPCMPESTR{I,M}.
2400 * testsuite/gas/i386/x86-64-sse2avx.s: Likewise.
2401 * testsuite/gas/i386/x86-64-sse4_2.s: Add suffixed variants
2402 of PCMPESTR{I,M}.
2403 * testsuite/gas/i386/ilp32/x86-64-avx-intel.d: Likewise.
2404 * testsuite/gas/i386/ilp32/x86-64-avx.d: Likewise.
2405 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Likewise.
2406 * testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d: Likewise.
2407 * testsuite/gas/i386/ilp32/x86-64-sse4_2.d: Likewise.
2408 * testsuite/gas/i386/x86-64-avx-intel.d: Likewise.
2409 * testsuite/gas/i386/x86-64-avx.d: Likewise.
2410 * testsuite/gas/i386/x86-64-sse2avx.d: Likewise.
2411 * testsuite/gas/i386/x86-64-sse4_2-intel.d: Likewise.
2412 * testsuite/gas/i386/x86-64-sse4_2.d: Likewise.
2413
2414 2017-02-28 Alan Modra <amodra@gmail.com>
2415
2416 * config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2417
2418 2017-02-28 Alan Modra <amodra@gmail.com>
2419
2420 * config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
2421 (md_apply_fix): Remove fx_subsy check. Move code converting to
2422 pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA. Remove code
2423 emiiting errors on seeing fx_pcrel set on unexpected relocs, as
2424 that is done now by the generic code via..
2425 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
2426 (TC_VALIDATE_FIX_SUB): Define.
2427
2428 2017-02-28 Maciej W. Rozycki <macro@imgtec.com>
2429
2430 * testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
2431 * testsuite/gas/mips/jalr4.d: Adjust accordingly. Remove MIPSr6
2432 encoding patterns.
2433 * testsuite/gas/mips/jalr4-n64.d: Likewise.
2434 * testsuite/gas/mips/mipsr6@jalr4.d: New test.
2435 * testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
2436 * testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.
2437
2438 2017-02-25 Alan Modra <amodra@gmail.com>
2439
2440 * testsuite/gas/elf/strtab.s: Don't put directives on first
2441 column or continuation with labels not in first column.
2442
2443 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
2444
2445 * doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
2446 * config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
2447 to be used with SVE registers.
2448 (parse_operands): Handle new SVE operands.
2449 (aarch64_features): Make "sve" require F16 rather than FP. Also
2450 require COMPNUM.
2451 * testsuite/gas/aarch64/sve.s: Add tests for new instructions.
2452 Include compnum tests.
2453 * testsuite/gas/aarch64/sve.d: Update accordingly.
2454 * testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
2455 * testsuite/gas/aarch64/sve-invalid.l: Update accordingly. Also
2456 update expected output for new FMOV and MOV alternatives.
2457
2458 2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
2459
2460 * doc/c-aarch64.texi: Add a "compnum" entry.
2461 * config/tc-aarch64.c (aarch64_features): Likewise,
2462 * testsuite/gas/aarch64/advsimd-compnum.s: New test.
2463 * testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
2464
2465 2017-02-24 Jan Beulich <jbeulich@suse.com>
2466
2467 * testsuite/gas/i386/opcode.s: Add alternative TEST forms.
2468 * testsuite/gas/i386/x86-64-opcode.s: Likewise.
2469 * testsuite/gas/i386/opcode.d: Adjust accordingly.
2470 * testsuite/gas/i386/opcode-intel.d: Likewise.
2471 * testsuite/gas/i386/x86-64-opcode.d: Likewise.
2472 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Likewise.
2473
2474 2017-02-24 Sheldon Lobo <sheldon.lobo@oracle.com>
2475
2476 Test cases for the architecture level aware SPARC ASI work.
2477 * gas/testsuite/gas/sparc/sparc.exp: 2 new tests
2478 * gas/testsuite/gas/sparc/asi-bump-warn.s: New test
2479 * gas/testsuite/gas/sparc/asi-bump-warn.l: Likewise
2480 * gas/testsuite/gas/sparc/asi-arch-error.s: Likewise
2481 * gas/testsuite/gas/sparc/asi-arch-error.l: Likewise
2482
2483 2017-02-23 Maciej W. Rozycki <macro@imgtec.com>
2484
2485 * testsuite/gas/mips/jalr4.d: New test.
2486 * testsuite/gas/mips/jalr4-n32.d: New test.
2487 * testsuite/gas/mips/jalr4-n64.d: New test.
2488 * testsuite/gas/mips/jalr4.s: New test source.
2489 * testsuite/gas/mips/mips.exp: Run the new tests.
2490
2491 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
2492
2493 Add support for associating SPARC ASIs with an architecture level.
2494 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
2495
2496 2017-02-23 Jan Beulich <jbeulich@suse.com>
2497
2498 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
2499 of symbols as expression.
2500
2501 2017-02-23 Jan Beulich <jbeulich@suse.com>
2502
2503 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
2504 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
2505 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
2506 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
2507
2508 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
2509
2510 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
2511 `md_flush_pending_output'.
2512 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
2513 `md_flush_pending_output' unconditionally.
2514 * testsuite/gas/mips/debug-label-end-1.d: New test.
2515 * testsuite/gas/mips/debug-label-end-2.d: New test.
2516 * testsuite/gas/mips/debug-label-end-3.d: New test.
2517 * testsuite/gas/mips/debug-label-end.s: New test source.
2518 * testsuite/gas/mips/mips.exp: Run the new tests.
2519
2520 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
2521
2522 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
2523 targets yielding an error message matching "too complex".
2524
2525 2017-02-22 Nick Clifton <nickc@redhat.com>
2526
2527 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
2528
2529 2017-02-21 Jan Beulich <jbeulich@suse.com>
2530
2531 * expr.c (operand): Handle missing operand to .startof.() and
2532 .sizeof.().
2533 * testsuite/gas/all/err-sizeof.s: New.
2534
2535 2017-02-20 Alan Modra <amodra@gmail.com>
2536
2537 PR 21118
2538 * NEWS: Revise powerpc register check.
2539 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
2540 register expression" a warning.
2541
2542 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
2543
2544 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
2545 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
2546 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
2547 * testsuite/gas/mips/aent-2.d: New test.
2548 * testsuite/gas/mips/aent-mdebug.d: New test.
2549 * testsuite/gas/mips/aent-mdebug-2.d: New test.
2550 * testsuite/gas/mips/mips.exp: Run the new tests.
2551
2552 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2553
2554 * testsuite/gas/aarch64/sve-sysreg.s,
2555 testsuite/gas/aarch64/sve-sysreg.d,
2556 testsuite/gas/aarch64/sve-sysreg-invalid.d,
2557 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
2558
2559 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
2560
2561 * doc/c-aarch64.texi: Fix sve entry.
2562
2563 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
2564
2565 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
2566 information from input expression.
2567 (assemble_insn): Make sure pcrel is correctly set.
2568 (arc_pcrel_adjust): Compensate for PCL rounding.
2569 * testsuite/gas/arc/relax-add01.d: New file.
2570 * testsuite/gas/arc/relax-add01.s: Likewise.
2571 * testsuite/gas/arc/relax-add02.d: Likewise.
2572 * testsuite/gas/arc/relax-add02.s: Likewise.
2573 * testsuite/gas/arc/relax-add03.d: Likewise.
2574 * testsuite/gas/arc/relax-add03.s: Likewise.
2575 * testsuite/gas/arc/relax-add04.d: Likewise.
2576 * testsuite/gas/arc/relax-add04.s: Likewise.
2577 * testsuite/gas/arc/relax-ld01.d: Likewise.
2578 * testsuite/gas/arc/relax-ld01.s: Likewise.
2579 * testsuite/gas/arc/relax-ld02.d: Likewise.
2580 * testsuite/gas/arc/relax-ld02.s: Likewise.
2581 * testsuite/gas/arc/relax-mov01.d: Likewise.
2582 * testsuite/gas/arc/relax-mov01.s: Likewise.
2583 * testsuite/gas/arc/relax-mov02.d: Likewise.
2584 * testsuite/gas/arc/relax-mov02.s: Likewise.
2585 * testsuite/gas/arc/relax-mpy01.d: Likewise.
2586 * testsuite/gas/arc/relax-mpy01.s: Likewise.
2587 * testsuite/gas/arc/relax-sub01.d: Likewise.
2588 * testsuite/gas/arc/relax-sub01.s: Likewise.
2589 * testsuite/gas/arc/relax-sub02.d: Likewise.
2590 * testsuite/gas/arc/relax-sub02.s: Likewise.
2591 * testsuite/gas/arc/relax-sub03.d: Likewise.
2592 * testsuite/gas/arc/relax-sub03.s: Likewise.
2593 * testsuite/gas/arc/relax-sub04.d: Likewise.
2594 * testsuite/gas/arc/relax-sub04.s: Likewise.
2595
2596 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
2597
2598 * testsuite/gas/arc/st.d: Update for 0xe having a name now
2599
2600 2017-02-14 Alan Modra <amodra@gmail.com>
2601
2602 PR 21118
2603 * NEWS: Mention powerpc register checks.
2604 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
2605 (pre_defined_registers): Delete fpscr and pmr entries. Set
2606 register type in flags.
2607 (cr_names): Set type in flags.
2608 (reg_name_search): Return pointer to struct pd_reg rather than value.
2609 (register_name): Adjust to suit. Set X_md from flags.
2610 (ppc_parse_name): Likewise.
2611 (ppc_optimize_expr): New function.
2612 (md_assemble): Verify expresion reg flags match operand.
2613 * config/tc-ppc.h (md_optimize_expr): Define.
2614 (ppc_optimize_expr): Declare.
2615
2616 2017-02-14 Alan Modra <amodra@gmail.com>
2617
2618 * testsuite/gas/ppc/cell.s: Correct invalid registers.
2619 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
2620 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
2621
2622 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2623
2624 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
2625 syntax.
2626 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
2627 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
2628
2629 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
2630
2631 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
2632
2633 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
2634
2635 * doc/as.texinfo (Overview): Select MIPS options for man page
2636 inclusion.
2637
2638 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2639
2640 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
2641 (options): Add OPTION_IGNORE_BRANCH_ISA and
2642 OPTION_NO_IGNORE_BRANCH_ISA enum values.
2643 (md_longopts): Add "mignore-branch-isa" and
2644 "mno-ignore-branch-isa" options.
2645 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
2646 OPTION_NO_IGNORE_BRANCH_ISA.
2647 (fix_bad_cross_mode_branch_p): Return FALSE if
2648 `mips_ignore_branch_isa' has been set.
2649 (md_show_usage): Add `-mignore-branch-isa' and
2650 `-mno-ignore-branch-isa'.
2651
2652 * doc/as.texinfo (Target MIPS options): Add
2653 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
2654 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
2655 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
2656 `-mno-ignore-branch-isa' options.
2657
2658 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
2659 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
2660 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
2661 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
2662 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
2663 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
2664 * testsuite/gas/mips/mips.exp: Run the new tests.
2665
2666 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
2667
2668 * testsuite/gas/mips/branch-local-2.d: New test.
2669 * testsuite/gas/mips/branch-local-3.d: New test.
2670 * testsuite/gas/mips/branch-local-n32-2.d: New test.
2671 * testsuite/gas/mips/branch-local-n32-3.d: New test.
2672 * testsuite/gas/mips/branch-local-n64-2.d: New test.
2673 * testsuite/gas/mips/branch-local-n64-3.d: New test.
2674 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
2675 into the new tests.
2676
2677 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
2678
2679 PR 21056
2680 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
2681 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
2682
2683 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2684
2685 * configure.tgt (aarch64*-*-rtems*): Remove.
2686 (bfin-*-rtems*): Likewise.
2687 (h8300-*-rtems*): Likewise.
2688 (i386-*-rtems*): Likewise.
2689 (m32c-*-rtems*): Likewise.
2690 (m32r-*-rtems*): Likewise.
2691 (m68k-*-rtems*): Likewise.
2692 (mips-*-rtems*): Likewise.
2693 (nios2-*-rtems*): Likewise.
2694 (ppc-*-rtems*): Likewise.
2695 (sh-*-rtems*): Likewise.
2696 (sparc64-*-rtems*): Likewise.
2697 (sparc-*-rtems*): Likewise.
2698 (*-*-rtems*) Use ELF format.
2699
2700 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2701
2702 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
2703
2704 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2705
2706 * configure.tgt (sh-*-rtemscoff*): Remove.
2707
2708 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
2709
2710 * configure.tgt (riscv*-*-*): Remove em=linux.
2711
2712 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
2713
2714 PR gas/21072
2715 * asintl.h: Fix spelling mistakes and typos.
2716 * atof-generic.c: Likewise.
2717 * bit_fix.h: Likewise.
2718 * config/atof-ieee.c: Likewise.
2719 * config/bfin-defs.h: Likewise.
2720 * config/bfin-parse.y: Likewise.
2721 * config/obj-coff-seh.h: Likewise.
2722 * config/obj-coff.c: Likewise.
2723 * config/obj-evax.c: Likewise.
2724 * config/obj-macho.c: Likewise.
2725 * config/rx-parse.y: Likewise.
2726 * config/tc-aarch64.c: Likewise.
2727 * config/tc-alpha.c: Likewise.
2728 * config/tc-arc.c: Likewise.
2729 * config/tc-arm.c: Likewise.
2730 * config/tc-avr.c: Likewise.
2731 * config/tc-bfin.c: Likewise.
2732 * config/tc-cr16.c: Likewise.
2733 * config/tc-cris.c: Likewise.
2734 * config/tc-crx.c: Likewise.
2735 * config/tc-d10v.c: Likewise.
2736 * config/tc-d30v.c: Likewise.
2737 * config/tc-dlx.c: Likewise.
2738 * config/tc-epiphany.c: Likewise.
2739 * config/tc-frv.c: Likewise.
2740 * config/tc-hppa.c: Likewise.
2741 * config/tc-i370.c: Likewise.
2742 * config/tc-i386-intel.c: Likewise.
2743 * config/tc-i386.c: Likewise.
2744 * config/tc-i960.c: Likewise.
2745 * config/tc-ia64.c: Likewise.
2746 * config/tc-m32r.c: Likewise.
2747 * config/tc-m68hc11.c: Likewise.
2748 * config/tc-m68k.c: Likewise.
2749 * config/tc-mcore.c: Likewise.
2750 * config/tc-mep.c: Likewise.
2751 * config/tc-mep.h: Likewise.
2752 * config/tc-metag.c: Likewise.
2753 * config/tc-microblaze.c: Likewise.
2754 * config/tc-mips.c: Likewise.
2755 * config/tc-mmix.c: Likewise.
2756 * config/tc-mn10200.c: Likewise.
2757 * config/tc-mn10300.c: Likewise.
2758 * config/tc-msp430.c: Likewise.
2759 * config/tc-msp430.h: Likewise.
2760 * config/tc-nds32.c: Likewise.
2761 * config/tc-nds32.h: Likewise.
2762 * config/tc-nios2.c: Likewise.
2763 * config/tc-nios2.h: Likewise.
2764 * config/tc-ns32k.c: Likewise.
2765 * config/tc-pdp11.c: Likewise.
2766 * config/tc-ppc.c: Likewise.
2767 * config/tc-pru.c: Likewise.
2768 * config/tc-rx.c: Likewise.
2769 * config/tc-s390.c: Likewise.
2770 * config/tc-score.c: Likewise.
2771 * config/tc-score7.c: Likewise.
2772 * config/tc-sh.c: Likewise.
2773 * config/tc-sh64.c: Likewise.
2774 * config/tc-sparc.c: Likewise.
2775 * config/tc-tic4x.c: Likewise.
2776 * config/tc-tic54x.c: Likewise.
2777 * config/tc-v850.c: Likewise.
2778 * config/tc-vax.c: Likewise.
2779 * config/tc-visium.c: Likewise.
2780 * config/tc-xgate.c: Likewise.
2781 * config/tc-xtensa.c: Likewise.
2782 * config/tc-z80.c: Likewise.
2783 * config/tc-z8k.c: Likewise.
2784 * config/te-vms.c: Likewise.
2785 * config/xtensa-relax.c: Likewise.
2786 * doc/as.texinfo: Likewise.
2787 * doc/c-arm.texi: Likewise.
2788 * doc/c-hppa.texi: Likewise.
2789 * doc/c-i370.texi: Likewise.
2790 * doc/c-i386.texi: Likewise.
2791 * doc/c-m32r.texi: Likewise.
2792 * doc/c-m68k.texi: Likewise.
2793 * doc/c-mmix.texi: Likewise.
2794 * doc/c-msp430.texi: Likewise.
2795 * doc/c-nds32.texi: Likewise.
2796 * doc/c-ns32k.texi: Likewise.
2797 * doc/c-riscv.texi: Likewise.
2798 * doc/c-rx.texi: Likewise.
2799 * doc/c-s390.texi: Likewise.
2800 * doc/c-tic6x.texi: Likewise.
2801 * doc/c-tilegx.texi: Likewise.
2802 * doc/c-tilepro.texi: Likewise.
2803 * doc/c-v850.texi: Likewise.
2804 * doc/c-xgate.texi: Likewise.
2805 * doc/c-xtensa.texi: Likewise.
2806 * dwarf2dbg.c: Likewise.
2807 * ecoff.c: Likewise.
2808 * itbl-ops.c: Likewise.
2809 * listing.c: Likewise.
2810 * macro.c: Likewise.
2811 * po/gas.pot: Likewise.
2812 * read.c: Likewise.
2813 * struc-symbol.h: Likewise.
2814 * symbols.h: Likewise.
2815 * testsuite/gas/arc/relocs-errors.err: Likewise.
2816 * write.c: Likewise.
2817
2818 2017-01-23 Nick Clifton <nickc@redhat.com>
2819
2820 * po/sv.po: Updated Swedish translation.
2821
2822 2017-01-20 Nick Clifton <nickc@redhat.com>
2823
2824 * config/tc-i386.c (parse_operands): Check for operand overflow
2825 before setting the unspecified bit.
2826
2827 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
2828
2829 PR gas/20649
2830 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
2831 symbols, remove the `segtype' parameter.
2832 (mips_frob_file, md_estimate_size_before_relax): Adjust
2833 accordingly.
2834 (s_is_linkonce): Add an explanatory comment.
2835 * testsuite/gas/mips/comdat-reloc.d: New test.
2836 * testsuite/gas/mips/comdat-reloc.s: New test source.
2837 * testsuite/gas/mips/mips.exp: Run the new test.
2838
2839 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2840
2841 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
2842 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
2843
2844 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
2845
2846 PR 21059
2847 * config/bfin-lex.l: Support processing with flex 2.6.3.
2848 * itbl-lex.l: Likewise.
2849
2850 2017-01-18 Nathan Sidwell <nathan@acm.org>
2851
2852 * as.h (gas_assert): Use abort.
2853 (as_assert): Remove.
2854 (signal_init): Declare.
2855 * as.c (main): Call signal_init.
2856 * messages.c: #include <signal.h>
2857 (as_assert): Delete.
2858 (as_abort): Allow NULL FILE.
2859 (signal_crash): New.
2860 (signal_init): Register fatal signal handlers.
2861 * configure.ac: Check for strsignal.
2862 * config.in: Rebuilt.
2863 * configure: Rebuilt.
2864
2865 2017-01-17 Nick Clifton <nickc@redhat.com>
2866
2867 * po/sv.po: Updated Swedish translation.
2868
2869 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2870
2871 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
2872 (cpu_noarch): Add noavx512_vpopcntdq.
2873 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
2874 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
2875 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
2876 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
2877 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
2878 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
2879 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
2880 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
2881
2882 2017-01-12 Nick Clifton <nickc@redhat.com>
2883
2884 * read.c (temp_ilp): New function. Installs a temporary input
2885 line pointer.
2886 (restore_ilp): New function. Restores the original input line
2887 pointer.
2888 * read.h (temp_ilp): Prototype.
2889 (restore_ilp): Prototype.
2890 * stabs.c (dot_func_p): Use bfd_boolean type.
2891 (generate_asm_file): Use temp_ilp and restore_ilp.
2892 (stabs_generate_asm_lineno): Likewise.
2893 (stabs_generate_asm_endfunc): Likewise.
2894
2895 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
2896
2897 * configure.tgt: Add entry for i386-redox.
2898
2899 2017-01-10 Nick Clifton <nickc@redhat.com>
2900
2901 * po/sv.po: Updated Swedish translation.
2902
2903 2017-01-10 Tristan Gingold <gingold@adacore.com>
2904
2905 * testsuite/gas/all/sleb128-8.d: Adjust test.
2906 * testsuite/gas/all/gas.exp (test_cond): Likewise.
2907
2908 2017-01-10 Tristan Gingold <gingold@adacore.com>
2909
2910 * read.c (emit_leb128_expr): Extended unsigned big number for
2911 sleb128.
2912 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
2913 * testsuite/gas/all/sleb128.d: New test.
2914 * testsuite/gas/all/sleb128.s: New test source.
2915
2916 2017-01-09 Andrew Waterman <andrew@sifive.com>
2917
2918 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2919 against constants.
2920 (md_apply_fix): Mark relocations against constants as "done."
2921
2922 2017-01-09 Andrew Waterman <andrew@sifive.com>
2923
2924 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
2925 against constants.
2926 (md_apply_fix): Mark relocations against constants as "done."
2927
2928 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
2929 Kito Cheng <kito.cheng@gmail.com>
2930
2931 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
2932 Removed.
2933 (SDATA_START_SYMBOLS): Likewise.
2934
2935 2017-01-09 Nick Clifton <nickc@redhat.com>
2936
2937 * po/sv.po: New Swedish translation.
2938 * configure.ac (ALL_LINGUAS): Add sv.
2939 * configure: Regenerate.
2940
2941 2017-01-09 Andrew Waterman <andrew@sifive.com>
2942
2943 * config/tc-riscv.c (relaxed_branch_length): Use the long
2944 sequence when the target is a weak symbol.
2945
2946 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2947
2948 * config/tc-aarch64.c (aarch64_features): Add rcpc.
2949 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
2950 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
2951 * testsuite/gas/aarch64/ldst-rcpc.d: This.
2952 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
2953 * testsuite/gas/aarch64/ldst-rcpc.s: This.
2954 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
2955
2956 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
2957
2958 PR gas/20992
2959 * configure.tgt: Treat sparcv9 as sparc64.
2960
2961 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
2962
2963 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
2964 extension.
2965 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
2966 enabled and no other ABI is specified.
2967
2968 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
2969
2970 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
2971 valueT, as declared in tc.h.
2972 (md_apply_fix): Fix to work on 32-bit hosts.
2973
2974 2017-01-02 Alan Modra <amodra@gmail.com>
2975
2976 Update year range in copyright notice of all files.
2977
2978 For older changes see ChangeLog-2016
2979 \f
2980 Copyright (C) 2017 Free Software Foundation, Inc.
2981
2982 Copying and distribution of this file, with or without modification,
2983 are permitted in any medium without royalty provided the copyright
2984 notice and this notice are preserved.
2985
2986 Local Variables:
2987 mode: change-log
2988 left-margin: 8
2989 fill-column: 74
2990 version-control: never
2991 End: