1 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
3 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
4 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
5 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
6 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
7 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
8 (get_append_method): Also return APPEND_ADD_COMPACT for
9 microMIPS instructions.
10 (find_altered_mips16_opcode): Exclude macros from matching.
12 (find_altered_opcode): ... to this new function.
13 (find_altered_micromips_opcode): New function.
14 (frag_branch_delay_slot_size): Likewise.
15 (append_insn): Handle microMIPS branch/jump compaction.
16 (macro_start): Likewise.
17 (relaxed_micromips_32bit_branch_length): Likewise.
18 (md_convert_frag): Likewise.
19 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
20 for delay slot filling.
21 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
23 * testsuite/gas/mips/micromips-size-1.s: Likewise.
24 * testsuite/gas/mips/micromips.l: Adjust line numbers.
25 * testsuite/gas/mips/micromips-warn.l: Likewise.
26 * testsuite/gas/mips/micromips-size-1.l: Likewise.
27 * testsuite/gas/mips/micromips.d: Adjust padding.
28 * testsuite/gas/mips/micromips-trap.d: Likewise.
29 * testsuite/gas/mips/micromips-insn32.d: Likewise.
30 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
31 * testsuite/gas/mips/micromips@beq.d: Update patterns for
32 branch/jump compaction.
33 * testsuite/gas/mips/micromips@bge.d: Likewise.
34 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
35 * testsuite/gas/mips/micromips@blt.d: Likewise.
36 * testsuite/gas/mips/micromips@bltu.d: Likewise.
37 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
38 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
39 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
40 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
41 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
42 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
43 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
44 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
46 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
48 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
49 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
50 * testsuite/gas/mips/micromips@relax.d: Likewise.
51 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
52 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
53 * testsuite/gas/mips/branch-extern-2.d: Likewise.
54 * testsuite/gas/mips/branch-extern-4.d: Likewise.
55 * testsuite/gas/mips/branch-section-2.d: Likewise.
56 * testsuite/gas/mips/branch-section-4.d: Likewise.
57 * testsuite/gas/mips/branch-weak-2.d: Likewise.
58 * testsuite/gas/mips/branch-weak-5.d: Likewise.
59 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
60 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
61 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
62 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
64 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
66 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
68 * testsuite/gas/mips/micromips-compact.d: New test.
69 * testsuite/gas/mips/mips.exp: Run the new test.
71 2016-07-27 Graham Markall <graham.markall@embecosm.com>
73 * config/tc-arc.c: Add new global arc_addrtype_hash.
74 Define O_colon and O_addrtype.
75 (debug_exp): Add O_colon and O_addrtype.
76 (tokenize_arguments): Handle colon and address type
78 (declare_addrtype): New function.
79 (md_begin): Initialise arc_addrtype_hash.
80 (arc_parse_name): Add lookup of address types.
81 (assemble_insn): Handle colons and address types by
83 * testsuite/gas/arc/nps400-8.s: New file.
84 * testsuite/gas/arc/nps400-8.d: New file.
85 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
86 * testsuite/gas/arc/nps400-8.d: Add expected PMU
89 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
91 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
92 (RELAX_MICROMIPS_INSN32): New macro.
93 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
94 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
95 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
96 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
97 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
99 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
101 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
103 (md_convert_frag): Likewise.
104 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
106 * testsuite/gas/mips/micromips-branch-relax.l: Update line
108 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
109 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
110 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
112 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
114 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
116 * testsuite/gas/mips/mips.exp: Run the new tests.
118 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
120 * configure: Regenerated.
122 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
124 * testsuite/gas/arc/dsp.d: New file.
125 * testsuite/gas/arc/dsp.s: Likewise.
126 * testsuite/gas/arc/fpu.d: Likewise.
127 * testsuite/gas/arc/fpu.s: Likewise.
128 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
129 * testsuite/gas/arc/ext3op.d: Likewise.
130 * testsuite/gas/arc/tdpfp.d: Likewise.
131 * testsuite/gas/arc/tfpuda.d: Likewise.
133 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
135 * config/tc-mips.c (mips_force_relocation): Remove
136 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
138 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
140 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
141 Adjust comments for BAL to JALX linker conversion.
142 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
143 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
145 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
146 * testsuite/gas/mips/branch-local-4.d: New test.
147 * testsuite/gas/mips/branch-local-n32-4.d: New test.
148 * testsuite/gas/mips/branch-local-n64-4.d: New test.
149 * testsuite/gas/mips/branch-addend.d: New test.
150 * testsuite/gas/mips/branch-addend-n32.d: New test.
151 * testsuite/gas/mips/branch-addend-n64.d: New test.
152 * testsuite/gas/mips/branch-local-4.s: New test source.
153 * testsuite/gas/mips/branch-addend.s: New test source.
154 * testsuite/gas/mips/mips.exp: Run the new tests.
156 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
158 * config/tc-mips.c (mips_force_relocation): Also retain branch
159 relocations against MIPS16 and microMIPS symbols.
160 (fix_bad_cross_mode_jump_p): New function.
161 (fix_bad_same_mode_jalx_p): Likewise.
162 (fix_bad_misaligned_jump_p): Likewise.
163 (fix_bad_cross_mode_branch_p): Likewise.
164 (fix_bad_misaligned_branch_p): Likewise.
165 (fix_validate_branch): Likewise.
166 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
167 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
168 etc. Verify the ISA mode and alignment of the jump target.
169 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
170 with a call to `fix_validate_branch'.
171 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
172 <BFD_RELOC_16_PCREL_S2>: Likewise.
173 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
174 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
175 Verify the ISA mode and alignment of the branch target.
176 (md_convert_frag): Verify the ISA mode and alignment of resolved
177 MIPS16 branch targets.
178 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
179 branch targets with `.insn'.
180 * testsuite/gas/mips/branch-misc-5.s: Likewise.
181 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
183 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
184 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
185 non-instruction branch target with `.insn'.
186 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
187 with external symbols.
188 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
189 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
190 * testsuite/gas/mips/micromips-trap.d: Likewise.
191 * testsuite/gas/mips/micromips.d: Likewise.
192 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
193 targets with `.insn'.
194 * testsuite/gas/mips/mips16.d: Update accordingly.
195 * testsuite/gas/mips/mips16-64.d: Likewise.
196 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
197 branch target with `.insn'.
198 * testsuite/gas/mips/relax-swap3.s: Likewise.
199 * testsuite/gas/mips/branch-local-2.l: New list test.
200 * testsuite/gas/mips/branch-local-3.l: New list test.
201 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
202 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
203 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
204 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
205 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
206 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
207 * testsuite/gas/mips/unaligned-jump-3.d: New test.
208 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
209 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
210 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
211 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
213 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
215 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
216 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
217 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
218 * testsuite/gas/mips/unaligned-branch-3.d: New test.
219 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
220 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
221 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
222 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
223 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
224 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
225 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
226 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
227 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
228 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
230 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
232 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
233 * testsuite/gas/mips/branch-local-2.s: New test source.
234 * testsuite/gas/mips/branch-local-3.s: New test source.
235 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
236 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
237 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
238 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
239 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
240 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
241 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
242 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
243 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
245 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
247 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
248 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
249 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
250 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
251 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
252 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
253 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
255 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
257 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
259 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
261 * testsuite/gas/mips/mips.exp: Run the new tests.
263 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
265 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
267 (do_pseudo_b): Adjust.
268 (do_pseudo_bal): Likewise.
269 (do_pseudo_bge): Likewise.
270 (do_pseudo_bges): Likewise.
271 (do_pseudo_bgt): Likewise.
272 (do_pseudo_bgts): Likewise.
273 (do_pseudo_ble): Likewise.
274 (do_pseudo_bles): Likewise.
275 (do_pseudo_blt): Likewise.
276 (do_pseudo_blts): Likewise.
277 (do_pseudo_br): Likewise.
278 (do_pseudo_bral): Likewise.
279 (do_pseudo_la): Likewise.
280 (do_pseudo_li): Likewise.
281 (do_pseudo_ls_bhw): Likewise.
282 (do_pseudo_ls_bhwp): Likewise.
283 (do_pseudo_ls_bhwpc): Likewise.
284 (do_pseudo_ls_bhwi): Likewise.
285 (do_pseudo_move): Likewise.
286 (do_pseudo_neg): Likewise.
287 (do_pseudo_not): Likewise.
288 (do_pseudo_pushpopm): Likewise.
289 (do_pseudo_pushpop): Likewise.
290 (do_pseudo_v3push): Likewise.
291 (do_pseudo_v3pop): Likewise.
292 (do_pseudo_pushpop_stack): Likewise.
293 (do_pseudo_push_bhwd): Likewise.
294 (do_pseudo_pop_bhwd): Likewise.
295 (do_pseudo_pusha): Likewise.
296 (do_pseudo_pushi): Likewise.
298 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
300 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
301 bfd_reloc_code_real_type.
303 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
305 * config/tc-sparc.c (pop_table): Remove sentinel.
306 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
309 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
311 * config/tc-z8k.c (newfix): Make type of type argument
312 bfd_reloc_code_real_type.
313 (apply_fix): Likewise.
315 2016-07-16 Alan Modra <amodra@gmail.com>
317 * config/tc-epiphany.c: Don't include libbfd.h.
318 * config/tc-frv.c: Likewise.
319 * config/tc-ip2k.c: Likewise.
320 * config/tc-iq2000.c: Likewise.
321 * config/tc-m32c.c: Likewise.
322 * config/tc-mep.c: Likewise.
323 * config/tc-mt.c: Likewise.
324 * config/tc-nios2.c: Likewise.
326 2016-07-16 Alan Modra <amodra@gmail.com>
328 * config/bfin-parse.y: Don't include libbfd.h.
329 * config/tc-bfin.c: Likewise.
330 * config/tc-rl78.c: Likewise.
331 * config/tc-rx.c: Likewise.
332 * config/tc-metag.c: Likewise.
333 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
334 * Makefile.am: Update dependencies.
335 * Makefile.in: Regenerate.
337 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
339 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
340 (mips_force_relocation_abs): New prototype.
341 * config/tc-mips.c (mips_force_relocation_abs): New function.
342 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
343 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
344 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
345 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
346 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
348 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
350 * testsuite/gas/mips/branch-absolute-addend.d: New test.
351 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
352 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
354 * testsuite/gas/mips/mips.exp: Run the new tests.
356 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
358 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
359 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
360 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
362 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
363 in `bar', export `foo'.
364 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
366 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
367 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
368 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
370 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
373 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
375 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
376 * testsuite/gas/mips/branch-absolute.d: New test.
377 * testsuite/gas/mips/branch-absolute-n32.d: New test.
378 * testsuite/gas/mips/branch-absolute-n64.d: New test.
379 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
380 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
381 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
382 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
383 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
385 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
387 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
388 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
389 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
390 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
392 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
394 * testsuite/gas/mips/branch-absolute.s: New test source.
395 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
396 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
398 * testsuite/gas/mips/micromips-branch-absolute.s: New test
400 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
402 * testsuite/gas/mips/mips.exp: Run the new tests.
404 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
406 * testsuite/gas/mips/nal-1.d: New test.
407 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
408 * testsuite/gas/mips/nal-2.d: New test.
409 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
410 * testsuite/gas/mips/nal.s: New test source.
411 * testsuite/gas/mips/mips.exp: Run the new tests.
413 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
415 * testsuite/gas/sparc/ldtxa.s: New file.
416 * testsuite/gas/sparc/ldtxa.d: Likewise.
417 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
419 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
421 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
422 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
423 as it is no longer needed.
425 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
427 * config/tc-mips.c (append_insn): Remove extraneous
430 2016-07-04 Jan Beulich <jbeulich@suse.com>
432 * config/tc-i386.c (check_qword_reg): Correct register kind
434 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
435 16-bit register cases.
436 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
439 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
441 * testsuite/gas/mips/ecoff@ld.d: Remove test.
442 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
443 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
444 * testsuite/gas/mips/ecoff@sd.d: Remove test.
445 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
446 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
448 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
449 * testsuite/gas/mips/bge.d: Likewise.
450 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
451 * testsuite/gas/mips/bgeu.d: Likewise.
452 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
453 * testsuite/gas/mips/blt.d: Likewise.
454 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
455 * testsuite/gas/mips/bltu.d: Likewise.
456 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
457 * testsuite/gas/mips/branch-likely.d: Likewise.
458 * testsuite/gas/mips/la.d: Likewise.
459 * testsuite/gas/mips/lb.d: Likewise.
460 * testsuite/gas/mips/lifloat.d: Likewise.
461 * testsuite/gas/mips/sb.d: Likewise.
462 * testsuite/gas/mips/uld.d: Likewise.
463 * testsuite/gas/mips/ulh.d: Likewise.
464 * testsuite/gas/mips/ulw.d: Likewise.
465 * testsuite/gas/mips/usd.d: Likewise.
466 * testsuite/gas/mips/ush.d: Likewise.
467 * testsuite/gas/mips/usw.d: Likewise.
469 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
471 * testsuite/gas/mips/branch-misc-2.s: Move non
472 locally-defined-global symbol tests...
473 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
474 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
475 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
476 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
477 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
478 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
479 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
480 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
481 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
482 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
483 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
484 * testsuite/gas/mips/branch-misc-5.d: New test.
485 * testsuite/gas/mips/branch-misc-5pic.d: New test.
486 * testsuite/gas/mips/branch-misc-5-64.d: New test.
487 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
488 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
489 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
490 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
491 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
492 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
493 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
494 * testsuite/gas/mips/mips.exp: Run the new tests.
496 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
498 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
500 * testsuite/gas/mips/beq.d: Update accordingly.
501 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
502 * testsuite/gas/mips/micromips@beq.d: Likewise.
504 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
506 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
507 tests to NewABI targets.
509 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
511 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
514 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
516 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
518 (aarch64_features): Initialize require fields.
519 (aarch64_parse_features): Handle dependencies.
520 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
521 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
522 * testsuite/gas/aarch64/illegal-nofp16.s: New.
523 * testsuite/gas/aarch64/illegal-nofp16.l: New.
524 * testsuite/gas/aarch64/illegal-nofp16.d: New.
526 2016-07-01 Nick Clifton <nickc@redhat.com>
528 * macro.c (macro_expand_body): Use a buffer big enough to hold an
529 extremely large integer.
531 2016-07-01 Jan Beulich <jbeulich@suse.com>
533 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
535 2016-07-01 Tristan Gingold <gingold@adacore.com>
537 * NEWS: Add marker for 2.27.
539 2016-07-01 Jan Beulich <jbeulich@suse.com>
541 * tc-i386.c (i386_index_check): Add special checks for bndmk,
543 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
544 as well as scaling by other than 1 tests.
545 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
547 2016-07-01 Jan Beulich <jbeulich@suse.com>
549 * tc-i386.c (md_assemble): Alter address size checking for MPX
551 * testsuite/gas/i386/mpx-inval-2.s: New.
552 * testsuite/gas/i386/mpx-inval-2.l: New.
553 * testsuite/gas/i386/i386.exp: Run new test.
555 2016-07-01 Jan Beulich <jbeulich@suse.com>
558 * config/tc-i386.c (match_template): Add char parameter,
559 consumed in Intel mode for an extra suffix check.
560 (md_assemble): New local variable mnem_suffix.
561 * testsuite/gas/i386/suffix-bad.s: New.
562 * testsuite/gas/i386/suffix-bad.l: New.
563 * testsuite/gas/i386/i386.exp: Run new test (twice).
565 2016-07-01 Jan Beulich <jbeulich@suse.com>
567 * testsuite/gas/i386/movz.s: New.
568 * testsuite/gas/i386/movz32.d: New.
569 * testsuite/gas/i386/movz64.d: New.
570 * testsuite/gas/i386/i386.exp: Run new tests.
572 2016-07-01 Jan Beulich <jbeulich@suse.com>
574 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
575 (md_assemble): Free first memory operand string.
576 (i386_index_check): Use repprefixok to distingush xlat from
577 other (real) string ops.
578 (maybe_adjust_templates): New.
579 (i386_att_operand). Call it. Store first memory operand string.
580 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
581 * testsuite/gas/i386/intel-movs.s: New.
582 * testsuite/gas/i386/intel-movs32.d: New.
583 * testsuite/gas/i386/intel-movs64.d: New.
584 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
585 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
587 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
589 * config/tc-mips.c (get_append_method): Fix a comment typo.
591 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
592 Maciej W. Rozycki <macro@imgtec.com>
594 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
595 case MIPS16 handling.
596 * testsuite/gas/mips/branch-swap-3.d: New test.
597 * testsuite/gas/mips/branch-swap-4.d: New test.
598 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
599 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
600 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
601 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
602 * testsuite/gas/mips/branch-swap-3.s: New test source.
603 * testsuite/gas/mips/mips.exp: Run the new tests.
605 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
607 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
610 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
613 * write.c (subsegs_finish_section): Force no section padding to
614 alignment on failed assembly, always set last frag's alignment
616 * testsuite/gas/all/pr20312.l: New list test.
617 * testsuite/gas/all/pr20312.s: New test source.
618 * testsuite/gas/all/gas.exp: Run the new test
620 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
622 * config.in (TARGET_WITH_CPU): Undefine.
623 * configure.ac: Add --with-cpu support, and define in config.h.
624 * configure: Regenerate.
625 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
626 * NEWS: Mention new configure option.
628 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
630 * testsuite/gas/arm/armv8_2+rdma.d: New.
632 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
634 * NEWS: Mention --enable-compressed-debug-sections=gas is the
635 default for Linux/x86 targets.
636 * configure.tgt (ac_default_compressed_debug_sections): Default
637 to yes for Linux/x86 targets.
639 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
641 * write.c: Remove "libbfd.h" inclusion.
643 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
645 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
648 2016-06-28 Alan Modra <amodra@gmail.com>
651 * testsuite/gas/elf/section11.s: Don't start directives in first column.
653 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
655 * testsuite/gas/aarch64/diagnostic.s,
656 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
658 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
660 * config/tc-mips.c (mips16_reloc_p): Handle
661 BFD_RELOC_MIPS16_16_PCREL_S1.
662 (b_reloc_p): Likewise.
663 (limited_pcrel_reloc_p): Likewise.
664 (md_pcrel_from): Likewise.
665 (md_apply_fix): Likewise.
666 (tc_gen_reloc): Likewise.
667 (md_convert_frag): Likewise.
668 (mips_fix_adjustable): Update comment.
669 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
670 output, add dump patterns.
671 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
672 output, add dump patterns.
673 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
674 output, add dump patterns.
675 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
676 output, add dump patterns.
677 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
678 output, add dump patterns.
679 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
680 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
681 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
682 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
683 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
684 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
685 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
686 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
687 * testsuite/gas/mips/branch-weak-6.d: New test.
688 * testsuite/gas/mips/branch-weak-7.d: New test.
689 * testsuite/gas/mips/mips.exp: Run the new tests.
691 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
693 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
694 cfi_add_CFA_def_cfa to generate default CFA with offset
695 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
697 2016-06-27 Nick Clifton <nickc@redhat.com>
700 * as.h (do_not_pad_sections_to_alignment): New global variable.
701 * as.c (show_usage): Add --no-pad-sections.
702 (parse_args): Likewise.
703 * write.c (size_seg): Skip padding the end of the section if
704 requested from the command line.
705 (SUB_SEGMENT_ALIGN): Likewise.
706 * doc/as.texinfo: Document the new option.
707 * NEWS: Mention the new feature.
708 * testsuite/gas/elf/section11.s: New test.
709 * testsuite/gas/elf/section11.d: New test driver.
710 * testsuite/gas/elf/elf.exp: Run the new test.
712 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
714 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
715 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
717 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
719 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
721 (map_suffix_reloc_to_operator): Likewise.
722 (map_operator_to_reloc): Likewise.
724 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
726 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
727 element in relax_table.
729 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
731 * config/tc-aarch64.c: Make the type of reg_entry::type
734 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
736 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
737 (md_parse_option): Adjust.
738 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
739 with iteration from 0 to ARRAY_SIZE.
740 * config/tc-mcore.c (md_begin): Likewise.
741 * config/tc-visium.c (visium_parse_arch): Likewise.
743 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
745 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
746 and simplify accordingly.
747 (tic54x_include): Adjust.
748 (tic54x_mlib): Likewise.
750 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
752 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
754 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
756 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
757 unchanged with relaxed MIPS16 instructions.
758 (mips16_extended_frag): Adjust accordingly. Return 1 right
759 away if a relocation will be required for the symbol requested.
760 Remove dead first relaxation pass code.
761 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
762 (md_convert_frag): Adjust symbol value calculation. Raise an
763 error if a relocation is required for the symbol requested.
764 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
766 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
767 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
768 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
769 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
770 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
771 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
772 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
773 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
774 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
775 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
776 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
777 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
778 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
779 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
780 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
781 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
782 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
783 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
784 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
785 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
786 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
787 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
788 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
789 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
790 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
791 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
792 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
793 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
794 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
795 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
796 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
797 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
798 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
799 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
800 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
801 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
802 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
803 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
804 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
805 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
806 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
807 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
808 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
809 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
810 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
811 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
812 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
813 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
814 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
815 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
816 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
817 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
818 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
819 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
820 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
821 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
822 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
823 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
824 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
825 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
826 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
827 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
828 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
829 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
830 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
831 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
832 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
833 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
834 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
835 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
836 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
837 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
838 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
839 * testsuite/gas/mips/mips.exp: Run the new tests.
841 2016-06-24 Alan Modra <amodra@gmail.com>
843 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
845 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
847 * config/tc-mips.c (b_reloc_p): New function.
848 (mips_fix_adjustable): Also keep the original microMIPS symbol
849 referred from branch relocations.
850 * testsuite/gas/mips/branch-local-1.d: New test.
851 * testsuite/gas/mips/branch-local-n32-1.d: New test.
852 * testsuite/gas/mips/branch-local-n64-1.d: New test.
853 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
855 * testsuite/gas/mips/branch-local-1.s: New test source.
856 * testsuite/gas/mips/mips.exp: Run the new cases.
858 2016-06-23 Graham Markall <graham.markall@embecosm.com>
860 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
861 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
862 options. Correct erroneous enabling of SPFP instructions when
865 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
867 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
868 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
869 setbool, xor3>: New tests.
870 * testsuite/gas/ppc/power9.s: Likewise.
872 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
874 * config/tc-xtensa.c: Include elf/xtensa.h.
876 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
878 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
879 <BFD_RELOC_LO16_PCREL>: New switch cases.
880 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
881 Move switch cases along `BFD_RELOC_MIPS_JMP'.
882 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
883 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
885 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
886 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
887 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
888 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
889 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
890 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
891 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
892 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
893 * testsuite/gas/mips/mips.exp: Run the new tests.
895 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
897 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
898 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
899 via `fixP->fx_addsy'.
901 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
903 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
904 Calculate relocation from the containing aligned doubleword.
905 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
906 addend from the containing aligned doubleword.
908 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
910 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
911 rather than `mips_opts' for the R6 ISA check.
912 (mips_fix_adjustable): Likewise.
913 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
914 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
915 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
916 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
917 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
918 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
919 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
920 * testsuite/gas/mips/mips.exp: Run the new tests.
922 2016-06-21 Graham Markall <graham.markall@embecosm.com>
924 * config/tc-arc.c (check_cpu_feature, md_parse_option):
925 Add nps400 option and feature. Add check for nps400
926 feature. Refactor existing checks to check subclass before
928 (md_show_usage): Document flags for NPS-400 and add some other
930 (cpu_type): Remove nps400 CPU type entry
931 (check_zol): Remove bfd_mach_arc_nps400 case.
932 (md_show_usage): Add help on -mcpu=nps400.
933 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
935 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
936 -fpuda flags. Document -mcpu=nps400.
937 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
938 expected flags to match ARC700 instead of NPS400.
939 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
940 * testsuite/gas/arc/nps-400-2.d: Likewise.
941 * testsuite/gas/arc/nps-400-3.d: Likewise.
942 * testsuite/gas/arc/nps-400-4.d: Likewise.
943 * testsuite/gas/arc/nps-400-5.d: Likewise.
944 * testsuite/gas/arc/nps-400-6.d: Likewise.
945 * testsuite/gas/arc/nps-400-7.d: Likewise.
946 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
947 avoid clash with cbba instruction.
948 * testsuite/gas/arc/textinsn2op01.d: Likewise.
949 * testsuite/gas/arc/textinsn3op.d: Likewise.
950 * testsuite/gas/arc/textinsn3op.s: Likewise.
951 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
952 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
954 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
956 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
957 * testsuite/gas/mips/r6-64-n64.d: Likewise.
959 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
961 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
964 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
966 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
968 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
970 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
971 %hmcddfr and %hva_mask_nz.
972 (sparc_ip): New handling of asr/privileged/hyperprivileged
973 registers, adapted to the new form of the sparc opcodes table.
974 * testsuite/gas/sparc/rdasr.s: New file.
975 * testsuite/gas/sparc/rdasr.d: Likewise.
976 * testsuite/gas/sparc/wrasr.s: Likewise.
977 * testsuite/gas/sparc/wrasr.d: Likewise.
978 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
980 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
981 registers require it.
982 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
983 registers and write instruction modalities.
984 * testsuite/gas/sparc/wrpr.d: Likewise.
985 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
987 * testsuite/gas/sparc/rdhpr.d: Likewise.
988 * testsuite/gas/sparc/wrhpr.s: Likewise.
989 * testsuite/gas/sparc/wrhpr.d: Likewise.
991 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
993 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
994 architectures to use the right opcode architecture.
995 (sparc_md_end): Handle v9{c,d,e,v,m}.
996 (sparc_ip): Fix some comments.
997 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
998 instruction, which is v9d.
999 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1000 instruction from the test, as %mwait is not readable.
1001 * testsuite/gas/sparc/mwait.d: Likewise.
1002 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1003 mismatch architecture errors.
1004 * testsuite/gas/sparc/mism-2.s: New file.
1006 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1008 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1009 empty string to mark the end of the array.
1010 (hpriv_reg_table): Likewise.
1011 (v9a_asr_table): Likewise.
1012 (cmp_reg_entry): Handle entries with NULL names.
1014 (F_POP_PCREL): Likewise.
1015 (F_POP_TLS_CALL): Likewise.
1016 (F_POP_POSTFIX): Likewise.
1017 (struct pop_entry): New type.
1018 (pop_table): New variable.
1019 (enum pop_entry_type): New type.
1020 (struct perc_entry): Likewise.
1021 (NUM_PERC_ENTRIES): Define.
1022 (perc_table): New variable.
1023 (cmp_perc_entry): New function.
1024 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1026 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1027 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1030 2016-06-15 Nick Clifton <nickc@redhat.com>
1032 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1034 * config/tc-mcore.c (md_assemble): Likewise.
1035 * config/tc-mn10200.c (md_assemble): Likewise.
1036 * config/tc-moxie.c (md_assemble): Likewise.
1037 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1038 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1039 exception targets. Add alpha, hppa, microblaze and rl78 to list
1041 (forward): Add microblaze to list of exceptions.
1042 (fwdexp): Add alpha to list of exceptions.
1043 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1044 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1045 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1046 mn10200 to list of exceptions.
1047 (align2): Expect to fail for nds32.
1048 (cond): Add alpha and rl78 to list of exceptions.
1049 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1050 * testsuite/gas/all/string.d: Skip for tic4x.
1051 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1052 target does not support ELF.
1053 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1054 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1055 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1056 tests for sh-pe and sh-rtemscoff targets.
1057 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1059 (type): Run the noifunc version for alpha-freebsd and visium.
1060 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1061 mn10200 or moxie targets.
1062 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1063 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1065 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1066 mcore and rx targets.
1067 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1069 (purge): Expect to fail on the ns32k and vax.
1070 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1071 * testsuite/gas/nds32/ls.d: Likewise.
1072 * testsuite/gas/nds32/sys-reg.d: Likewise.
1073 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1074 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1075 * testsuite/gas/pe/section-align-3.d: Likewise.
1076 * testsuite/gas/pe/section-exclude.d: Likewise.
1077 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1079 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1080 for variations in whitespace.
1081 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1083 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1084 Installs a 32-bit value without generating warnings on 64-bit
1086 Use the new macro to replace the .word directives.
1088 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1090 * testsuite/gas/arc/add_s.d: New file.
1091 * testsuite/gas/arc/add_s.s: New file.
1093 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1095 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1096 * testsuite/gas/arc/nps400-6.d: Likewise.
1098 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1100 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1102 * testsuite/gas/arc/nps400-6.d: Likewise.
1104 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1106 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1107 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1108 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1109 * testsuite/gas/arc/nps400-6.d: Likewise.
1111 2016-06-14 Nick Clifton <nickc@redhat.com>
1113 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1116 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1118 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1119 JALR relocations on R6.
1120 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1121 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1122 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1123 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1124 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1125 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1127 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1128 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1130 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1131 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1133 * testsuite/gas/mips/mips.exp: Run the new tests.
1135 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1137 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1138 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1141 2016-06-13 Nick Clifton <nickc@redhat.com>
1143 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1144 that are not supported.
1146 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1148 * config/tc-cr16.c (check_range): Likewise.
1149 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1151 2016-06-08 Renlin Li <renlin.li@arm.com>
1153 * config/tc-aarch64.c (print_operands): Substitute size.
1154 (output_operand_error_record): Likewise.
1156 2016-06-07 Alan Modra <amodra@gmail.com>
1158 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1159 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1160 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1161 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1162 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1163 add vle_opcodes twice.
1164 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1166 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1168 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1169 (arm_ext_ras): Renamed from arm_ext_v8_2.
1170 (insns): Update for arm_ext_v8_2 renaming.
1171 (arm_extensions): Add "ras".
1172 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1173 * testsuite/gas/arm/armv8-a+ras.d: New.
1174 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1177 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1179 * itbl-parse.y (yyerror): Use modern argument declaration style.
1181 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1183 * config/tc-sh.c (parse_reg): Change type of mode argument to
1185 (get_operand): Adjust.
1186 (insert): Change type of how to bfd_reloc_code_real_type.
1187 (insert4): Likewise.
1188 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1189 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1191 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1193 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1196 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1199 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1200 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1201 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1202 * gas/testsuite/gas/ppc/power8.s: Likewise.
1203 * gas/testsuite/gas/ppc/power8.d: Likewise.
1204 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1206 * gas/testsuite/gas/ppc/power4.d: Likewise.
1208 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1211 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1212 * testsuite/gas/i386/x86-64-branch.d: Updated.
1213 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1214 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1215 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1217 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1219 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1220 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1222 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1224 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1225 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1227 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1229 * configure.tgt: Replace -uclibc with *.
1231 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1233 * config/tc-arc.c (parse_opcode_flags): New function.
1234 (find_opcode_match): Move flag parsing code out to new function.
1235 Ignore operands marked IGNORE.
1236 (build_fake_opcode_hash_entry): New function.
1237 (find_special_case_long_opcode): New function.
1238 (find_special_case): Lookup long opcodes.
1239 * testsuite/gas/arc/nps400-7.d: New file.
1240 * testsuite/gas/arc/nps400-7.s: New file.
1242 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1244 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1246 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1248 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1249 sentinal with iteration to array size.
1251 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1253 * config/xtensa-relax.h: Move typedefs of enums to the enums
1256 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1258 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1261 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1263 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1264 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1265 * testsuite/gas/arc/nps-400-1.d: Likewise.
1267 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1270 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1271 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1272 noavx512ifma and noavx512vbmi.
1273 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1274 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1276 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1277 * testsuite/gas/i386/noavx512-1.l: New file.
1278 * testsuite/gas/i386/noavx512-1.s: Likewise.
1279 * testsuite/gas/i386/noavx512-2.l: Likewise.
1280 * testsuite/gas/i386/noavx512-2.s: Likewise.
1282 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1285 * config/tc-i386.c (cpu_arch): Add 687.
1286 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1287 nosse4.1, nosse4.2, nosse4 and noavx2.
1288 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1289 register. Check cpuregxmm instead of cpusse for XMM register.
1290 Check cpuregymm instead of cpuavx for YMM register. Check
1291 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1292 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1293 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1294 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1295 * testsuite/gas/i386/arch-10.d (as): Likewise.
1296 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1297 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1298 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1300 * testsuite/gas/i386/no87-3.l: New file.
1301 * testsuite/gas/i386/no87-3.s: Likewise.
1302 * testsuite/gas/i386/noavx-3.l: Likewise.
1303 * testsuite/gas/i386/noavx-3.s: Likewise.
1304 * testsuite/gas/i386/noavx-4.d: Likewise.
1305 * testsuite/gas/i386/noavx-4.s: Likewise.
1306 * testsuite/gas/i386/nosse-4.l: Likewise.
1307 * testsuite/gas/i386/nosse-4.s: Likewise.
1308 * testsuite/gas/i386/nosse-5.d: Likewise.
1309 * testsuite/gas/i386/nosse-5.s: Likewise.
1311 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1314 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1316 (match_template): Check Intel64/AMD64 ISA.
1318 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1321 * config/tc-i386.c (intel64): New.
1322 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1323 (md_parse_option): Set intel64 instead of cpuamd64 and
1326 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1328 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1331 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1333 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1334 * testsuite/gas/ppc/altivec3.s: Likewise.
1335 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1336 * testsuite/gas/ppc/power9.s: Likewise.
1338 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1340 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1341 * testsuite/gas/i386/noavx-1.l: Likewise.
1342 * testsuite/gas/i386/nommx-1.l: Likewise.
1343 * testsuite/gas/i386/nosse-1.l: Likewise.
1344 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1345 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1346 * testsuite/gas/i386/noavx-1.s: Likewise.
1347 * testsuite/gas/i386/nommx-1.s: Likewise.
1348 * testsuite/gas/i386/nosse-1.s: Likewise.
1349 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1351 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1353 * config/tc-metag.c (metag_handle_align): Make the type of noop
1356 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1358 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1359 bfd_reloc_code_real_type.
1361 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1364 * config/tc-i386.c (cpu_flags_match): Require another match
1366 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1367 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1368 * testsuite/gas/i386/avx512vl-1.l: New file.
1369 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1370 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1371 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1372 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1373 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1374 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1375 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1377 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1380 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1381 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1382 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1384 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1386 * config/tc-i386.c (arch_entry): Remove negated.
1387 (noarch_entry): New struct.
1388 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1390 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1391 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1393 (output_message): New function.
1394 (show_arch): Use it. Handle cpu_noarch.
1395 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1396 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1397 * testsuite/gas/i386/noavx-1.l: New file.
1398 * testsuite/gas/i386/noavx-1.s: Likewise.
1399 * testsuite/gas/i386/noavx-2.s: Likewise.
1400 * testsuite/gas/i386/noavx-2.l: Likewise.
1401 * testsuite/gas/i386/nommx-1.s: Likewise.
1402 * testsuite/gas/i386/nommx-1.l: Likewise.
1403 * testsuite/gas/i386/nommx-2.s: Likewise.
1404 * testsuite/gas/i386/nommx-2.l: Likewise.
1405 * testsuite/gas/i386/nommx-3.s: Likewise.
1406 * testsuite/gas/i386/nommx-3.l: Likewise.
1407 * testsuite/gas/i386/nosse-1.s: Likewise.
1408 * testsuite/gas/i386/nosse-1.l: Likewise.
1409 * testsuite/gas/i386/nosse-2.s: Likewise.
1410 * testsuite/gas/i386/nosse-2.l: Likewise.
1411 * testsuite/gas/i386/nosse-3.s: Likewise.
1412 * testsuite/gas/i386/nosse-3.l: Likewise.
1414 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1417 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1418 instruction if supported by the currently selected fpu variant.
1419 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1420 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1422 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1424 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1425 jump relocations against MIPS16 or microMIPS symbols on RELA
1427 * testsuite/gas/mips/jalx-local.d: New test.
1428 * testsuite/gas/mips/jalx-local-n32.d: New test.
1429 * testsuite/gas/mips/jalx-local-n64.d: New test.
1430 * testsuite/gas/mips/jalx-local.s: New test source.
1431 * testsuite/gas/mips/mips.exp: Run the new tests.
1433 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1435 * config/tc-mips.c (md_apply_fix)
1436 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1439 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1441 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1442 operator to operatorT.
1443 (map_suffix_reloc_to_operator): Change return type to operatorT.
1445 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1447 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1449 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1451 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1452 handler_charp to const char *.
1454 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1456 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1457 (ft32_target_format): Likewise.
1458 (TARGET_FORMAT): Adjust.
1460 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1462 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1463 (ia64_frob_label): Likewise.
1465 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1467 * config/tc-cr16.c (check_range): Make type of retval op_err.
1468 * config/tc-crx.c: Likewise.
1470 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1472 * config/tc-arc.c (md_begin): Add XY registers.
1473 (cpu_types): Code density is default off for ARC EM.
1475 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1477 * config/tc-arc.c (attributes_t): Renamed attribute class to
1479 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1481 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1483 * configuse.tgt: Add entry for arm-phoenix.
1485 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1487 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1489 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1491 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1493 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1495 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1496 (md_begin): Likewise.
1497 (encode_condition): Likewise.
1498 (encode_cc3): Likewise.
1499 (encode_cc2): Likewise.
1500 (encode_operand): Likewise.
1501 (tic54x_undefined_symbol): Likewise.
1503 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1505 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1507 * doc/c-mips.texi: Document p6600 -march option.
1509 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1512 * config/tc-i386.c (md_apply_fix): Preserve addend for
1513 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1514 * testsuite/gas/i386/addend.d: New file.
1515 * testsuite/gas/i386/addend.s: Likewise.
1516 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1517 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1518 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1519 * testsuite/gas/i386/reloc32.d: Updated.
1521 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1523 * config/tc-mips.c (append_insn): Correct the encoding of a
1524 constant argument for microMIPS JALX.
1525 (tc_gen_reloc): Correct the encoding of an in-place addend for
1527 * testsuite/gas/mips/jalx-addend.d: New test.
1528 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1529 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1530 * testsuite/gas/mips/jalx-imm.d: New test.
1531 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1532 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1533 * testsuite/gas/mips/jalx-addend.s: New test source.
1534 * testsuite/gas/mips/jalx-imm.s: New test source.
1535 * testsuite/gas/mips/mips.exp: Run the new tests.
1537 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1539 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1542 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1544 * config/tc-arc.c (find_opcode_match): Remove casting away of
1546 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1548 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1550 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1552 (md_convert_frag): Likewise.
1554 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1556 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1557 cached opcode to NULL when we reach a non-matching opcode.
1558 * testsuite/gas/arc/asm-errors-2.d: New file.
1559 * testsuite/gas/arc/asm-errors-2.err: New file.
1560 * testsuite/gas/arc/asm-errors-2.s: New file.
1562 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1564 * config/tc-arc.c (tokenize_arguments): Add checks for array
1566 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1567 * testsuite/gas/arc/asm-errors.err: Update expected results.
1569 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1571 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1572 int to enum rx_cpu_types.
1574 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1576 * config/tc-dlx.c (struct machine_it): change the type of a field from
1577 int to bfd_reloc_code_real_type.
1578 * config/tc-tic4x.c: Likewise.
1580 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1582 * config/tc-v850.c (v850_target_arch): change type to enum
1584 * config/tc-v850.h (v850_target_arch): Likewise.
1586 2016-05-18 Alan Modra <amodra@gmail.com>
1588 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1589 allowed negative range.
1590 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1591 * testsuite/gas/ppc/power9.d: Update.
1593 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1595 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1596 disassembling and stop skipping targets.
1597 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1598 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1599 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1600 instruction for targets that have stronger alignment requirement.
1601 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1602 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1603 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1604 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1605 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1606 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1607 * testsuite/gas/arm/archv8m-main.d: Likewise.
1608 * testsuite/gas/arm/archv8m.s: Add label.
1609 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1610 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1611 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1613 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1615 * config/tc-m32r.c (mach_table): Make static and const.
1617 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1619 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1622 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1624 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1626 * config/tc-msp430.c (md_begin): Likewise.
1628 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1630 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1631 bfd_reloc_code_real_type where appropriate.
1632 (fixup16): Likewise.
1633 (fixup8_xg): Likewise.
1635 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1637 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1639 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1641 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1642 * testsuite/gas/ppc/power9.s: Likewise.
1644 2016-05-13 Alan Modra <amodra@gmail.com>
1646 * config/obj-coff.c (weak_uniquify): Delete unused var.
1648 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1650 * app.c (app_push): Use XNEW and related macros.
1651 * as.c (parse_args): Likewise.
1652 * cgen.c (make_right_shifted_expr): Likewise.
1653 (gas_cgen_tc_gen_reloc): Likewise.
1654 * config/bfin-defs.h: Likewise.
1655 * config/bfin-parse.y: Likewise.
1656 * config/obj-coff.c (stack_init): Likewise.
1657 (stack_push): Likewise.
1658 (coff_obj_symbol_new_hook): Likewise.
1659 (coff_obj_symbol_clone_hook): Likewise.
1660 (add_lineno): Likewise.
1661 (coff_frob_symbol): Likewise.
1662 * config/obj-elf.c (obj_elf_section_name): Likewise.
1663 (build_group_lists): Likewise.
1664 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1665 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1666 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1667 (find_or_make_literal_pool): Likewise.
1668 (add_to_lit_pool): Likewise.
1669 (fill_instruction_hash_table): Likewise.
1670 * config/tc-alpha.c (load_expression): Likewise.
1671 (emit_jsrjmp): Likewise.
1672 (s_alpha_ent): Likewise.
1673 (s_alpha_end): Likewise.
1674 (s_alpha_linkage): Likewise.
1675 (md_begin): Likewise.
1676 (tc_gen_reloc): Likewise.
1677 * config/tc-arc.c (arc_insert_opcode): Likewise.
1678 (arc_extcorereg): Likewise.
1679 * config/tc-bfin.c: Likewise.
1680 * config/tc-cr16.c: Likewise.
1681 * config/tc-cris.c: Likewise.
1682 * config/tc-crx.c (preprocess_reglist): Likewise.
1683 * config/tc-d10v.c: Likewise.
1684 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1685 (frv_tomcat_shuffle): Likewise.
1686 * config/tc-h8300.c: Likewise.
1687 * config/tc-i370.c (i370_macro): Likewise.
1688 * config/tc-i386.c (lex_got): Likewise.
1689 (md_parse_option): Likewise.
1690 * config/tc-ia64.c (alloc_record): Likewise.
1691 (set_imask): Likewise.
1692 (save_prologue_count): Likewise.
1693 (dot_proc): Likewise.
1694 (dot_endp): Likewise.
1695 (ia64_frob_label): Likewise.
1696 (add_qp_imply): Likewise.
1697 (add_qp_mutex): Likewise.
1698 (mark_resource): Likewise.
1699 (dot_alias): Likewise.
1700 * config/tc-m68hc11.c: Likewise.
1701 * config/tc-m68k.c (m68k_frob_label): Likewise.
1703 (mri_control_label): Likewise.
1704 (push_mri_control): Likewise.
1705 (build_mri_control_operand): Likewise.
1706 (s_mri_else): Likewise.
1707 (s_mri_break): Likewise.
1708 (s_mri_next): Likewise.
1709 (s_mri_for): Likewise.
1710 (s_mri_endw): Likewise.
1711 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1712 * config/tc-microblaze.c: Likewise.
1713 * config/tc-mmix.c (s_loc): Likewise.
1714 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1715 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1716 * config/tc-rl78.c: Likewise.
1717 * config/tc-rx.c (rx_include): Likewise.
1718 * config/tc-sh.c: Likewise.
1719 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1720 * config/tc-sparc.c: Likewise.
1721 * config/tc-spu.c: Likewise.
1722 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1723 (tic6x_start_unwind_section): Likewise.
1724 * config/tc-tilegx.c: Likewise.
1725 * config/tc-tilepro.c: Likewise.
1726 * config/tc-v850.c: Likewise.
1727 * config/tc-visium.c: Likewise.
1728 * config/tc-xgate.c: Likewise.
1729 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1730 (new_resource_table): Likewise.
1731 (resize_resource_table): Likewise.
1732 (xtensa_create_trampoline_frag): Likewise.
1733 (xtensa_maybe_create_literal_pool_frag): Likewise.
1734 (cache_literal_section): Likewise.
1735 * config/xtensa-relax.c (append_transition): Likewise.
1736 (append_condition): Likewise.
1737 (append_value_condition): Likewise.
1738 (append_constant_value_condition): Likewise.
1739 (append_literal_op): Likewise.
1740 (append_label_op): Likewise.
1741 (append_constant_op): Likewise.
1742 (append_field_op): Likewise.
1743 (append_user_fn_field_op): Likewise.
1744 (enter_opname_n): Likewise.
1745 (enter_opname): Likewise.
1746 (split_string): Likewise.
1747 (parse_insn_templ): Likewise.
1748 (clone_req_or_option_list): Likewise.
1749 (clone_req_option_list): Likewise.
1750 (parse_option_cond): Likewise.
1751 (parse_insn_pattern): Likewise.
1752 (parse_insn_repl): Likewise.
1753 (build_transition): Likewise.
1754 (build_transition_table): Likewise.
1755 * dw2gencfi.c (alloc_fde_entry): Likewise.
1756 (alloc_cfi_insn_data): Likewise.
1757 (cfi_add_CFA_remember_state): Likewise.
1758 (dot_cfi_escape): Likewise.
1759 (dot_cfi_fde_data): Likewise.
1760 (select_cie_for_fde): Likewise.
1761 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1762 * ecoff.c (ecoff_add_bytes): Likewise.
1763 (ecoff_build_debug): Likewise.
1764 * input-scrub.c (input_scrub_push): Likewise.
1765 (input_scrub_begin): Likewise.
1766 (input_scrub_next_buffer): Likewise.
1767 * itbl-ops.c (append_insns_as_macros): Likewise.
1768 (alloc_entry): Likewise.
1769 (alloc_field): Likewise.
1770 * listing.c (listing_newline): Likewise.
1771 (listing_listing): Likewise.
1772 * macro.c (get_any_string): Likewise.
1773 (delete_macro): Likewise.
1774 * stabs.c (generate_asm_file): Likewise.
1775 (stabs_generate_asm_lineno): Likewise.
1776 * subsegs.c (subseg_change): Likewise.
1777 (subseg_get): Likewise.
1778 * symbols.c (define_dollar_label): Likewise.
1779 (symbol_relc_make_sym): Likewise.
1780 * write.c (write_relocs): Likewise.
1782 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1784 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1785 (weak_name2altname): Likewise.
1786 (weak_uniquify): Likewise.
1787 (obj_coff_section): Likewise.
1788 (obj_coff_init_stab_section): Likewise.
1789 * config/obj-elf.c (obj_elf_section_name): Likewise.
1790 (obj_elf_init_stab_section): Likewise.
1791 * config/obj-evax.c (evax_shorten_name): Likewise.
1792 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1793 * config/tc-aarch64.c (create_register_alias): Likewise.
1794 * config/tc-alpha.c (load_expression): Likewise.
1795 (s_alpha_file): Likewise.
1796 (s_alpha_section_name): Likewise.
1797 (tc_gen_reloc): Likewise.
1798 * config/tc-arc.c (md_assemble): Likewise.
1799 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1800 (start_unwind_section): Likewise.
1801 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1802 (hppa_elf_mark_end_of_function): Likewise.
1803 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1804 (nios2_negate_arg): Likewise.
1805 * config/tc-rx.c (rx_section): Likewise.
1806 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1807 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1808 * config/tc-tic54x.c (tic54x_include): Likewise.
1809 (tic54x_macro_info): Likewise.
1810 (subsym_get_arg): Likewise.
1811 (subsym_substitute): Likewise.
1812 (tic54x_start_line_hook): Likewise.
1813 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1814 (xg_reverse_shift_count): Likewise.
1815 * config/xtensa-relax.c (enter_opname_n): Likewise.
1816 (split_string): Likewise.
1817 * dwarf2dbg.c (get_filenum): Likewise.
1818 (process_entries): Likewise.
1819 * expr.c (operand): Likewise.
1820 * itbl-ops.c (alloc_entry): Likewise.
1821 * listing.c (listing_message): Likewise.
1822 (listing_title): Likewise.
1823 * macro.c (check_macro): Likewise.
1824 * stabs.c (s_xstab): Likewise.
1825 * symbols.c (symbol_relc_make_expr): Likewise.
1826 * write.c (compress_debug): Likewise.
1828 2016-05-12 Nick Clifton <nickc@redhat.com>
1831 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1833 2016-05-11 Nick Clifton <nickc@redhat.com>
1836 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1837 big endian ARM configurations.
1839 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1840 Matthew Fortune <matthew.fortune@imgtec.com>
1842 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1844 (md_longopts): Likewise.
1845 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1846 (mips_ases): Define availability for DSPr3.
1847 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1848 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1849 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1851 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1852 .set nodspr3. Fix -mdspr2 formatting.
1853 * testsuite/gas/mips/mips32-dspr3.d: New file.
1854 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1855 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1857 2016-05-11 Nick Clifton <nickc@redhat.com>
1860 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1861 to the pool uses O_constant.
1862 * testsuite/gas/arm/pr20068.s: New test.
1863 * testsuite/gas/arm/pr20068.d: Test driver.
1865 2016-05-11 Nick Clifton <nickc@redhat.com>
1867 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1868 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1869 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1870 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1871 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1872 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1873 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1874 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1875 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1877 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1879 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1880 * testsuite/gas/i386/prefix.d: Adjust.
1881 * testsuite/gas/i386/rdpid.s: New test.
1882 * testsuite/gas/i386/rdpid.d: Ditto.
1883 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1884 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1885 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1886 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1888 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1890 * config/tc-i386.c (cpu_arch): Add RDPID.
1891 * doc/c-i386.texi: Document RDPID.
1893 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1895 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1896 set branch type of a symbol.
1898 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1900 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1901 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1903 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1904 (aeabi_set_public_attributes): Memorize the feature bits of the
1905 architecture selected for Tag_CPU_arch. Use it to set
1906 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1907 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1908 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1909 * testsuite/gas/arm/arch7em-bad-1.d: This.
1910 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1911 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1912 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1913 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1914 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1915 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1916 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1917 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1919 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1921 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1922 allowed_archs an array with 2 entries.
1923 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1924 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1925 (arm_extensions): Use separate entries in allowed_archs when several
1926 archs are allowed to use an extension and change ARCH_ANY in
1927 ARM_ARCH_NONE in allowed_archs.
1928 (arm_parse_extension): Check that, for each allowed_archs entry, all
1929 bits are set in the current architecture, ignoring ARM_ANY entries.
1930 (s_arm_arch_extension): Likewise.
1932 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1934 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1935 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1936 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1937 shared with a non M profile architecture.
1938 (do_rn): New function.
1939 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1941 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1942 (insns): Add ARMv8-M Security Extensions instructions.
1943 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1944 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1945 * testsuite/gas/arm/archv8m-cmse.s: New file.
1946 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1947 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1948 * testsuite/gas/arm/any-cmse.d: Likewise.
1949 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1950 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1951 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1952 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1953 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1954 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1956 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1958 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1959 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1961 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1963 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1964 (fpu_arch_vfp_v3): Likewise.
1965 (fpu_arch_neon_v1): Likewise.
1966 (arm_arch_full): Likewise.
1967 (parse_neon_el_struct_list): Initialize fields of firsttype.
1969 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1971 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1972 (arc_extinsn): Handle new introduced syntax.
1973 * testsuite/gas/arc/textinsn1op.d: New file.
1974 * testsuite/gas/arc/textinsn1op.s: Likewise.
1975 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1977 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1979 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1980 DW_LNS_fixed_advance_pc.
1982 2016-04-27 Alan Modra <amodra@gmail.com>
1984 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1985 (xmemdup0): New inline function.
1987 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1989 * config/tc-mips.c (code_option_type): New enum.
1990 (parse_code_option): Return status indicating option type.
1991 (s_mipsset): Update `parse_code_option' call site accordingly.
1992 Always set register sizes from the ISA with ISA overrides.
1993 (s_module): Update `parse_code_option' call site.
1994 * testsuite/gas/mips/isa-override-1.d: New test.
1995 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1996 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1997 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1998 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1999 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2000 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2001 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2002 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2003 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2004 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2005 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2006 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2007 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2008 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2009 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2010 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2011 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2012 * testsuite/gas/mips/isa-override-2.l: New list test.
2013 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2014 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2015 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2016 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2017 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2018 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2019 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2020 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2021 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2022 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2023 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2025 * testsuite/gas/mips/isa-override-1.s: New test source.
2026 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2027 * testsuite/gas/mips/isa-override-2.s: New test source.
2028 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2029 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2030 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2031 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2032 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2033 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2034 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2035 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2036 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2037 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2038 * testsuite/gas/mips/mips.exp: Run the new tests.
2040 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2043 * config/tc-bfin.c: Likewise.
2044 * config/tc-ia64.c: Likewise.
2045 * config/tc-mep.c: Likewise.
2046 * config/tc-metag.c: Likewise.
2047 * config/tc-nios2.c: Likewise.
2048 * config/tc-rl78.c: Likewise.
2050 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2052 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2053 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2054 (ARC Directives): Add NPS400 to .cpu directive list.
2056 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2058 * config/tc-aarch64.c (aarch64_features): Add "ras".
2059 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2060 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2061 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2062 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2063 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2065 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2067 * testsuite/gas/arc/nps400-6.d: New file.
2068 * testsuite/gas/arc/nps400-6.s: New file.
2070 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2072 * testsuite/gas/arc/nps400-4.d: New file.
2073 * testsuite/gas/arc/nps400-4.s: New file.
2074 * testsuite/gas/arc/nps400-5.d: New file.
2075 * testsuite/gas/arc/nps400-5.s: New file.
2077 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2079 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2082 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2084 Revert prevous change.
2085 * config/tc-arc.c (arc_option): Make .cpu directive
2086 case-sensitive again.
2088 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2090 * config/tc-arc.c (arc_option): Make .cpu directive
2093 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2095 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2097 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2099 * config/tc-mips.c (md_begin): Remove useless assignment.
2101 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2103 * Makefile.in: Regenerated with automake 1.11.6.
2104 * aclocal.m4: Likewise.
2105 * doc/Makefile.in: Likewise.
2107 2016-04-15 Alan Modra <amodra@gmail.com>
2109 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2111 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2113 * config/tc-nios2.c (nios2_as_options): Make file static.
2114 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2115 * config/tc-sparc.c (native_op_table): Likewise.
2117 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2119 * config/tc-m32c.c (M32C_Macros): Remove.
2120 * config/tc-msp430.c (option_numbers): Likewise.
2122 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2124 * testsuite/gas/arc/nps400-3.d: New file.
2125 * testsuite/gas/arc/nps400-3.s: New file.
2127 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2129 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2130 * testsuite/gas/arc/warn.s: Likewise.
2131 * testsuite/gas/elf/elf.exp: Run test for arc.
2133 2016-04-14 Nick Clifton <nickc@redhat.com>
2136 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2137 sections possibly having the SHF_STRINGS flag bit set.
2138 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2140 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2142 * config/tc-arc.c (mach_type_specified_p): Change type to
2144 (arc_option): Set private flags when parsing cpu pseudo-op.
2145 (md_parse_option): Set mach_type_specified_p to TRUE.
2147 2016-04-13 Nick Clifton <nickc@redhat.com>
2150 * testsuite/gas/v850/pr19937.s: New test.
2151 * testsuite/gas/v850/pr19937.d: New test control file.
2152 * testsuite/gas/v850/basic.exp: Run the new test.
2154 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2155 Andrew Bennett <andrew.bennett@imgtec.com>
2157 * config/tc-mips.c (relaxed_branch_length): Use the long
2158 sequence where the target is a weak symbol.
2159 (relaxed_micromips_32bit_branch_length): Likewise.
2160 (relaxed_micromips_16bit_branch_length): Likewise.
2161 * testsuite/gas/mips/branch-weak-1.d: New test.
2162 * testsuite/gas/mips/branch-weak-2.d: New test.
2163 * testsuite/gas/mips/branch-weak-3.d: New test.
2164 * testsuite/gas/mips/branch-weak-4.d: New test.
2165 * testsuite/gas/mips/branch-weak-5.d: New test.
2166 * testsuite/gas/mips/branch-weak.l: New stderr output.
2167 * testsuite/gas/mips/branch-weak.s: New test source.
2168 * testsuite/gas/mips/mips.exp: Run the new tests.
2170 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2172 * config/tc-mips.c (relaxed_branch_length): Use the long
2173 sequence where the distance cannot be determined.
2174 (relaxed_micromips_32bit_branch_length): Likewise.
2175 * testsuite/gas/mips/branch-extern-1.d: New test.
2176 * testsuite/gas/mips/branch-extern-2.d: New test.
2177 * testsuite/gas/mips/branch-extern-3.d: New test.
2178 * testsuite/gas/mips/branch-extern-4.d: New test.
2179 * testsuite/gas/mips/branch-extern.l: New stderr output.
2180 * testsuite/gas/mips/branch-extern.s: New test source.
2181 * testsuite/gas/mips/branch-section-1.d: New test.
2182 * testsuite/gas/mips/branch-section-2.d: New test.
2183 * testsuite/gas/mips/branch-section-3.d: New test.
2184 * testsuite/gas/mips/branch-section-4.d: New test.
2185 * testsuite/gas/mips/branch-section.l: New stderr output.
2186 * testsuite/gas/mips/branch-section.s: New test source.
2187 * testsuite/gas/mips/mips.exp: Run the new tests.
2189 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2191 * testsuite/gas/arc/textauxregister.d: New file.
2192 * testsuite/gas/arc/textauxregister.s: Likewise.
2193 * testsuite/gas/arc/textcondcode.d: Likewise.
2194 * testsuite/gas/arc/textcondcode.s: Likewise.
2195 * testsuite/gas/arc/textcoreregister.d: Likewise.
2196 * testsuite/gas/arc/textcoreregister.s: Likewise.
2197 * testsuite/gas/arc/textpseudoop.d: Likewise.
2198 * testsuite/gas/arc/textpseudoop.s: Likewise.
2199 * testsuite/gas/arc/ld2.d: Update test.
2200 * testsuite/gas/arc/st.d: Likewise.
2201 * testsuite/gas/arc/taux.d: Likewise.
2202 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2203 .extCoreRegister and .extAuxRegister documentation.
2204 * config/tc-arc.c (arc_extcorereg): New function.
2205 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2206 .extAuxRegister pseudo-ops.
2207 (extRegister_t): New type.
2208 (ext_condcode, arc_aux_hash): New global variable.
2209 (find_opcode_match): Check for extensions.
2210 (preprocess_operands): Likewise.
2211 (md_begin): Add aux registers in a hash.
2212 (assemble_insn): Update use arc_flags member.
2213 (tokenize_extregister): New function.
2214 (create_extcore_section): Likewise.
2215 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2217 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2219 * testsuite/gas/arc/noargs_a7.d: New file.
2220 * testsuite/gas/arc/noargs_a7.s: Likewise.
2221 * testsuite/gas/arc/noargs_hs.d: Likewise.
2222 * testsuite/gas/arc/noargs_hs.s: Likewise.
2224 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2226 * testsuite/gas/arc/textinsn-errors.d: New File.
2227 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2228 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2229 * testsuite/gas/arc/textinsn2op.d: Likewise.
2230 * testsuite/gas/arc/textinsn2op.s: Likewise.
2231 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2232 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2233 * testsuite/gas/arc/textinsn3op.d: Likewise.
2234 * testsuite/gas/arc/textinsn3op.s: Likewise.
2235 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2237 * config/tc-arc.c (arcext_section): New variable.
2238 (arc_extinsn): New function.
2239 (md_pseudo_table): Add .extInstruction pseudo op.
2240 (attributes_t): New type.
2241 (suffixclass, syntaxclass, syntaxclassmod): New constant
2243 (find_opcode_match): Remove arc_num_opcodes.
2244 (md_begin): Likewise.
2245 (tokenize_extinsn): New function.
2246 (arc_set_ext_seg): Likewise.
2247 (create_extinst_section): Likewise.
2249 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2251 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2252 (arc_adjust_symtab): New function.
2253 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2254 (obj_adjust_symtab): Likewise.
2255 * testsuite/gas/arc/taux.d: New file.
2256 * testsuite/gas/arc/taux.s: Likewise.
2258 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2260 * config/tc-mips.c (s_option): Sanitize `.option picX'
2262 * testsuite/gas/mips/option-pic-1.d: New test.
2263 * testsuite/gas/mips/option-pic-2.l: New list test.
2264 * testsuite/gas/mips/option-pic-1.s: New test source.
2265 * testsuite/gas/mips/option-pic-2.s: New test source.
2266 * testsuite/gas/mips/mips.exp: Run the new tests.
2268 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2270 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2272 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2273 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2274 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2275 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2276 * testsuite/gas/mips/mips.exp: Run the new tests.
2278 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2280 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2282 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2284 * messages.c (as_bad): Fix a typo in description.
2286 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2288 * config/tc-mips.c (mips_check_options): Unify messages.
2290 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2292 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2295 2016-04-08 Nick Clifton <nickc@redhat.com>
2298 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2299 COFF and AOUT sparc targets.
2301 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2303 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2304 * testsuite/gas/arc/nps400-2.d: New file.
2305 * testsuite/gas/arc/nps400-2.s: New file.
2307 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2309 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2311 (arc_opcode_hash_entry_iterator_init): New function.
2312 (arc_opcode_hash_entry_iterator_next): New function.
2313 (find_opcode_match): Iterate over all arc_opcode entries
2314 referenced by the arc_opcode_hash_entry passed in as a parameter.
2316 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2318 * config/tc-arc.c (arc_find_opcode): Now returns
2319 arc_opcode_hash_entry pointer.
2320 (find_opcode_match): Update argument type, extract arc_opcode from
2321 incoming arc_opcode_hash_entry.
2322 (find_special_case_pseudo): Update return type.
2323 (find_special_case_flag): Update return type.
2324 (find_special_case): Update return type.
2325 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2326 instruction mnemonic, then use find_opcode_match to identify
2327 specific arc_opcode.
2329 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2331 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2332 (arc_find_opcode): New function.
2333 (find_special_case_pseudo): Use arc_find_opcode.
2334 (find_special_case_flag): Likewise.
2335 (assemble_tokens): Likewise.
2336 (md_begin): Build hash using struct arc_opcode_hash_entry.
2338 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2340 * config/tc-arc.c (arc_option): Prepare string for automatic
2342 (declare_register): Likewise.
2344 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2346 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2347 Correct entry for RDMA. Alpha sort entries.
2349 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2351 * config/tc-arc.c (tokenize_flags): Allow greater range of
2352 characters into flag names.
2354 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2356 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2358 (preprocess_operands): Delete.
2359 (assemble_tokens): Remove call to preprocess_operands.
2361 2016-04-07 Nick Clifton <nickc@redhat.com>
2364 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2365 inside a %-macro could not be fully parsed.
2366 * expr.c (integer_constant): Accept and ignore U suffixes to
2368 (operand): When a missing closing parenthesis is encountered,
2369 report the character that was found instead.
2370 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2371 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2372 * testsuite/gas/sparc/pr19910-1.s: New test.
2373 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2374 * testsuite/gas/sparc/pr19910-2.s: New test.
2375 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2377 2016-04-06 Nick Clifton <nickc@redhat.com>
2379 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2380 an EINT instruction. Warn/fix as necessary.
2381 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2382 * testsuite/gas/msp430/bad.l: Update expected messages.
2384 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2386 * testsuite/gas/arc/nps400-1.d: Update expected results.
2387 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2389 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2391 * config/tc-arc.c (is_code_density_p): Compare directly the
2393 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2394 (check_cpu_feature): New function.
2395 (find_opcode_match): Use check_cpu_feature function.
2396 (preprocess_operands): Likewise.
2397 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2398 * testsuite/gas/arc/tdpfp.d: New file.
2399 * testsuite/gas/arc/tfpuda.d: Likewise.
2400 * testsuite/gas/arc/tfpx.s: Likewise.
2402 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2404 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2405 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2406 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2407 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2408 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2409 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2410 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2411 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2413 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2415 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2417 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2418 JUMP instructions type.
2419 * testsuite/gas/arc/relocs-errors.d: New file.
2420 * testsuite/gas/arc/relocs-errors.err: Likewise.
2421 * testsuite/gas/arc/relocs-errors.s: Likewise.
2423 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2426 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2427 only if i.disp_encoding != disp_encoding_32bit.
2428 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2429 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2430 * gas/testsuite/gas/i386/disp32.d: Updated.
2431 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2433 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2436 * testsuite/gas/i386/i386.exp: Run pr19498.
2437 * testsuite/gas/i386/pr19498.d: New file.
2438 * testsuite/gas/i386/pr19498.s: Likewise.
2440 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2442 * config/tc-arc.h: Include 'opcode/arc.h'.
2443 (MAX_INSN_ARGS): Delete.
2444 (MAX_INSN_FLGS): Delete.
2446 2016-04-04 Alan Modra <amodra@gmail.com>
2449 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2450 from function on all paths that set sy_resolving.
2452 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2454 * app.c (app_push): use XNEW macro.
2456 * config/obj-elf.c (obj_elf_change_section): Likewise.
2457 (elf_copy_symbol_attributes): Likewise.
2458 (obj_elf_size): Likewise.
2459 (build_group_lists): Likewise.
2460 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2461 (md_assemble): Likewise.
2462 (tc_gen_reloc): Likewise.
2463 (get_upper_str): Likewise.
2464 (aarch64_parse_features): Likewise.
2465 * config/tc-arm.c (insert_reg_alias): Likewise.
2466 (insert_neon_reg_alias): Likewise.
2467 (find_or_make_literal_pool): Likewise.
2468 (s_arm_elf_cons): Likewise.
2469 (add_unwind_opcode): Likewise.
2470 (arm_parse_extension): Likewise.
2471 * config/tc-avr.c (create_record_for_frag): Likewise.
2472 * config/tc-crx.c: Likewise.
2473 * config/tc-d30v.c: Likewise.
2474 * config/tc-dlx.c (s_proc): Likewise.
2475 * config/tc-ft32.c: Likewise.
2476 * config/tc-h8300.c: Likewise.
2477 * config/tc-hppa.c (pa_proc): Likewise.
2478 (create_new_space): Likewise.
2479 (create_new_subspace): Likewise.
2480 * config/tc-i860.c: Likewise.
2481 * config/tc-i960.c: Likewise.
2482 * config/tc-ia64.c: Likewise.
2483 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2484 (iq2000_record_hi16): Likewise.
2485 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2486 * config/tc-m32r.c (debug_sym): Likewise.
2487 (m32r_record_hi16): Likewise.
2488 * config/tc-m68k.c (m68k_ip): Likewise.
2489 (md_begin): Likewise.
2490 * config/tc-mcore.c: Likewise.
2491 * config/tc-microblaze.c (check_got): Likewise.
2492 * config/tc-mips.c (append_insn): Likewise.
2493 (s_mipsset): Likewise.
2494 (mips_record_label): Likewise.
2495 (s_mips_end): Likewise.
2496 * config/tc-mmix.c (mmix_frob_file): Likewise.
2497 * config/tc-mn10200.c: Likewise.
2498 * config/tc-mn10300.c: Likewise.
2499 * config/tc-moxie.c: Likewise.
2500 * config/tc-msp430.c: Likewise.
2501 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2502 * config/tc-ns32k.c: Likewise.
2503 * config/tc-or1k.c: Likewise.
2504 * config/tc-pdp11.c: Likewise.
2505 * config/tc-pj.c (fake_opcode): Likewise.
2506 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2507 (ppc_macro): Likewise.
2508 (ppc_dwsect): Likewise.
2509 (ppc_machine): Likewise.
2510 * config/tc-rl78.c (rl78_frag_init): Likewise.
2511 * config/tc-rx.c (rx_frag_init): Likewise.
2512 * config/tc-s390.c (s390_lit_suffix): Likewise.
2513 (s390_machine): Likewise.
2514 (s390_machinemode): Likewise.
2515 * config/tc-score.c (s3_insert_reg): Likewise.
2516 (s3_gen_reloc): Likewise.
2517 * config/tc-score7.c (s7_insert_reg): Likewise.
2518 (s7_gen_reloc): Likewise.
2519 * config/tc-tic30.c (tic30_operand): Likewise.
2520 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2521 * config/tc-tic54x.c (stag_add_field): Likewise.
2522 (tic54x_struct): Likewise.
2523 (tic54x_space): Likewise.
2524 (tic54x_field): Likewise.
2525 (tic54x_mlib): Likewise.
2526 (subsym_substitute): Likewise.
2527 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2528 * config/tc-vax.c: Likewise.
2529 * config/tc-xc16x.c: Likewise.
2530 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2531 (directive_push): Likewise.
2532 (xtensa_begin_directive): Likewise.
2533 (tokenize_arguments): Likewise.
2534 (xtensa_add_literal_sym): Likewise.
2535 (new_resource_table): Likewise.
2536 (resize_resource_table): Likewise.
2537 (emit_single_op): Likewise.
2538 (xtensa_create_trampoline_frag): Likewise.
2539 (xtensa_maybe_create_literal_pool_frag): Likewise.
2540 (xtensa_add_config_info): Likewise.
2541 (xtensa_realloc_fixup_cache): Likewise.
2542 (add_subseg_info): Likewise.
2543 (cache_literal_section): Likewise.
2544 (add_xt_block_frags): Likewise.
2545 (add_xt_prop_frags): Likewise.
2546 (init_op_placement_info_table): Likewise.
2547 (build_section_rename): Likewise.
2548 * config/tc-z80.c: Likewise.
2549 * config/tc-z8k.c: Likewise.
2550 * depend.c (register_dependency): Likewise.
2551 * dwarf2dbg.c (get_line_subseg): Likewise.
2552 (dwarf2_gen_line_info_1): Likewise.
2553 (get_filenum): Likewise.
2554 * ecoff.c (allocate_scope): Likewise.
2555 (allocate_vlinks): Likewise.
2556 (allocate_shash): Likewise.
2557 (allocate_thash): Likewise.
2558 (allocate_tag): Likewise.
2559 (allocate_forward): Likewise.
2560 (allocate_thead): Likewise.
2561 (allocate_lineno_list): Likewise.
2562 * expr.c (make_expr_symbol): Likewise.
2563 * hash.c (hash_new_sized): Likewise.
2564 * input-file.c (input_file_push): Likewise.
2565 * listing.c (file_info): Likewise.
2566 (listing_newline): Likewise.
2567 * macro.c (new_formal): Likewise.
2568 (define_macro): Likewise.
2569 * remap.c (add_debug_prefix_map): Likewise.
2570 * symbols.c (symbol_find_noref): Likewise.
2571 (define_dollar_label): Likewise.
2572 (fb_label_instance_inc): Likewise.
2573 (symbol_relc_make_value): Likewise.
2575 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2577 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2578 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2579 (ppc_znop): Likewise.
2580 (ppc_pe_section): Likewise.
2581 (ppc_frob_symbol): Likewise.
2582 * config/tc-tic30.c (tic30_operand): Likewise.
2583 * config/tc-tic4x.c (tic4x_sect): Likewise.
2584 (tic4x_usect): Likewise.
2586 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2588 * config/tc-alpha.c: Const qualify FLT_CHARS.
2589 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2590 * config/tc-cris.h: Likewise.
2592 * config/tc-mmix.c (md_atof): Adjust comment.
2593 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2594 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2596 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2598 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2599 * config/tc-score7.c (s7_gen_reloc): Likewise.
2601 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2603 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2604 bfd_reloc_code_real_type.
2606 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2608 * config/bfin-parse.y (current_inputline): Remove definition.
2609 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2611 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2613 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2616 2016-04-02 Alan Modra <amodra@gmail.com>
2619 * read.c (assign_symbol): Consume rest of line after an error
2620 rather than continuing to process the line.
2622 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2624 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2625 (MAX_FLAG_NAME_LENGTH): ...this.
2626 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2627 * config/tc-arc.c (tokenize_flags): Likewise.
2629 2016-04-01 Alan Modra <amodra@gmail.com>
2631 * cgen.c (weak_operand_overflow_check): Return const char*.
2632 * messages.c (as_internal_value_out_of_range): Formatting.
2633 (as_warn_value_out_of_range): Consify prefix param.
2634 (as_bad_value_out_of_range): Likewise.
2635 * read.c (s_errwarn): Constify msg..
2636 (s_float_space, float_cons): ..and err.
2637 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2638 ieee_md_atof, vax_md_atof): Update prototypes.
2639 * tc.h (md_atof): Update prototype.
2640 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2641 * config/atof-vax.c (vax_md_atof): Likewise.
2642 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2643 * config/tc-aarch64.c (md_atof): Return const char*.
2644 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2645 (s_alpha_comm): Constify sec_name.
2646 (section_name): Constify.
2647 (s_alpha_section): Consify name..
2648 (alpha_elf_section_letter): ..and ptr_msg param..
2649 (md_atof): ..and return.
2650 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2651 * config/tc-arc.c (md_atof): Return const char*.
2652 * config/tc-arm.c (md_atof): Likewise.
2653 * config/tc-avr.c (md_atof): Likewise.
2654 * config/tc-bfin.c (md_atof): Likewise.
2655 * config/tc-cr16.c (md_atof): Likewise.
2656 * config/tc-cris.c (md_atof): Likewise.
2657 * config/tc-crx.c (md_atof): Likewise.
2658 * config/tc-d10v.c (md_atof): Likewise.
2659 * config/tc-d30v.c (md_atof): Likewise.
2660 * config/tc-dlx.c (md_atof): Likewise.
2661 * config/tc-epiphany.c (md_atof): Likewise.
2662 * config/tc-fr30.c (md_atof): Likewise.
2663 * config/tc-frv.c (md_atof): Likewise.
2664 * config/tc-ft32.c (md_atof): Likewise.
2665 * config/tc-h8300.c (md_atof): Likewise.
2666 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2667 (struct default_space_dict): Likewise.
2668 (create_new_space): Constify name param.
2669 (create_new_subspace): Likewise.
2670 (is_defined_space, is_defined_subspace): Likewise.
2671 (pa_parse_space_stmt): Constify space_name param.
2672 (md_atof): Return const char*.
2673 (pa_spaces_begin): Constify name.
2674 * config/tc-i370.c (md_atof): Return const char*.
2675 * config/tc-i386.c (md_atof): Likewise.
2676 (x86_64_section_letter): Constify ptr_msg param.
2677 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2678 * config/tc-i860.c (struct i860_it): Constify error.
2679 (md_atof): Return const char*.
2680 * config/tc-i960.c (md_atof): Likewise.
2681 * config/tc-ia64.c (md_atof): Likewise.
2682 (ia64_elf_section_letter): Constify ptr_msg param.
2683 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2684 * config/tc-ip2k.c (md_atof): Return const char*.
2685 * config/tc-iq2000.c (md_atof): Likewise.
2686 * config/tc-lm32.c (md_atof): Likewise.
2687 * config/tc-m32c.c (md_atof): Likewise.
2688 * config/tc-m32r.c (md_atof): Likewise.
2689 * config/tc-m68hc11.c (md_atof): Likewise.
2690 * config/tc-m68k.c (md_atof): Likewise.
2691 * config/tc-mcore.c (md_atof): Likewise.
2692 * config/tc-mep.c (md_atof): Likewise.
2693 (mep_elf_section_letter): Constify ptr_msg param.
2694 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2695 * config/tc-metag.c (md_atof): Return const char*.
2696 * config/tc-microblaze.c (md_atof): Likewise.
2697 * config/tc-microblaze.h (md_atof): Delete prototype.
2698 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2699 (md_atof): Return const char*.
2700 * config/tc-mmix.c (md_atof): Likewise.
2701 * config/tc-mn10200.c (md_atof): Likewise.
2702 * config/tc-mn10300.c (md_atof): Likewise.
2703 * config/tc-moxie.c (md_atof): Likewise.
2704 * config/tc-msp430.c (md_atof): Likewise.
2705 * config/tc-mt.c (md_atof): Likewise.
2706 * config/tc-nds32.c (md_atof): Likewise.
2707 * config/tc-nios2.c (md_atof): Likewise.
2708 (nios2_elf_section_letter): Constify ptr_msg param.
2709 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2710 * config/tc-ns32k.c (md_atof): Return const char*.
2711 * config/tc-or1k.c (md_atof): Likewise.
2712 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2713 (md_atof): Return const char*.
2714 * config/tc-pj.c (md_atof): Likewise.
2715 * config/tc-ppc.c (md_atof): Likewise.
2716 * config/tc-rl78.c (md_atof): Likewise.
2717 * config/tc-rx.c (md_atof): Likewise.
2718 * config/tc-s390.c (md_atof): Likewise.
2719 * config/tc-score.c (s3_atof, md_atof): Likewise.
2720 * config/tc-sh.c (md_atof): Likewise.
2721 * config/tc-sparc.c (struct sparc_it): Constify error.
2722 (md_atof): Return const char*.
2723 * config/tc-spu.c (md_atof): Likewise.
2724 * config/tc-tic30.c (md_atof): Likewise.
2725 * config/tc-tic4x.c (md_atof): Likewise.
2726 * config/tc-tic54x.c (md_atof): Likewise.
2727 * config/tc-tic6x.c (md_atof): Likewise.
2728 * config/tc-tilegx.c (md_atof): Likewise.
2729 * config/tc-tilepro.c (md_atof): Likewise.
2730 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2731 * config/tc-vax.c (md_atof): Likewise.
2732 * config/tc-visium.c (md_atof): Likewise.
2733 * config/tc-xc16x.c (md_atof): Likewise.
2734 * config/tc-xgate.c (md_atof): Likewise.
2735 * config/tc-xstormy16.c (md_atof): Likewise.
2736 * config/tc-xtensa.c (md_atof): Likewise.
2737 * config/tc-z80.c (md_atof): Likewise.
2738 * config/tc-z8k.c (md_atof): Likewise.
2740 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2742 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2744 (xtensa_section_rename): Make argument type const char *.
2745 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2747 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2749 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2752 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2754 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2756 (m32c_indirect_operand): Likewise.
2757 * config/tc-nds32.c (do_pseudo_b): Likewise.
2758 (do_pseudo_bal): Likewise.
2759 (do_pseudo_ls_bhw): Likewise.
2761 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2763 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2765 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2767 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2769 * config/tc-sparc.c (s_register): Cast a literal to char * in
2772 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2774 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2776 * config/tc-m32r.c (expand_debug_syms): Likewise.
2777 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2778 * config/tc-z80.c (md_begin): Likewise.
2779 * stabs.c (stabs_generate_asm_func): Likewise.
2781 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2783 * cgen.c: Modernize the way functions declare arguments.
2784 * config/tc-bfin.c: Likewise.
2785 * config/tc-pdp11.c: Likewise.
2786 * literal.c: Likewise.
2788 * stabs.c: Likewise.
2790 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2792 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2793 variables unsigned char[].
2794 * config/tc-alpha.c (alpha_handle_align): Likewise.
2795 * config/tc-arm.c (arm_handle_align): Likewise.
2796 * config/tc-z80.c: Likewise.
2798 2016-03-30 Nick Clifton <nickc@redhat.com>
2801 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2804 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2806 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2807 * testsuite/gas/elf/elf.exp: Likewise.
2808 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2810 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2812 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2814 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2816 * testsuite/gas/arc/ext2op.d: New file.
2817 * testsuite/gas/arc/ext2op.s: Likewise.
2818 * testsuite/gas/arc/ext3op.d: Likewise.
2819 * testsuite/gas/arc/ext3op.s: Likewise.
2821 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2823 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2825 * config/tc-alpha.c (md_parse_option): Likewise.
2826 * config/tc-arc.c (md_parse_option): Likewise.
2827 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2828 (md_parse_option): Likewise.
2829 * config/tc-avr.c (md_parse_option): Likewise.
2830 * config/tc-bfin.c (md_parse_option): Likewise.
2831 * config/tc-cr16.c (md_parse_option): Likewise.
2832 * config/tc-cris.c (s_cris_arch): Likewise.
2833 (md_parse_option): Likewise.
2834 * config/tc-crx.c (md_parse_option): Likewise.
2835 * config/tc-d10v.c (md_parse_option): Likewise.
2836 * config/tc-d30v.c (md_parse_option): Likewise.
2837 * config/tc-dlx.c (md_parse_option): Likewise.
2838 * config/tc-epiphany.c (md_parse_option): Likewise.
2839 * config/tc-fr30.c (md_parse_option): Likewise.
2840 * config/tc-frv.c (md_parse_option): Likewise.
2841 * config/tc-ft32.c (md_parse_option): Likewise.
2842 * config/tc-h8300.c (md_parse_option): Likewise.
2843 * config/tc-hppa.c (md_parse_option): Likewise.
2844 * config/tc-i370.c (md_parse_option): Likewise.
2845 * config/tc-i386.c (md_parse_option): Likewise.
2846 * config/tc-i860.c (md_parse_option): Likewise.
2847 * config/tc-i960.c (md_parse_option): Likewise.
2848 * config/tc-ia64.c (md_parse_option): Likewise.
2849 * config/tc-ip2k.c (md_parse_option): Likewise.
2850 * config/tc-iq2000.c (md_parse_option): Likewise.
2851 * config/tc-lm32.c (md_parse_option): Likewise.
2852 * config/tc-m32c.c (md_parse_option): Likewise.
2853 * config/tc-m32r.c (md_parse_option): Likewise.
2854 * config/tc-m68hc11.c (md_parse_option): Likewise.
2855 * config/tc-m68k.c (md_parse_option): Likewise.
2856 * config/tc-mcore.c (md_parse_option): Likewise.
2857 * config/tc-mep.c (md_parse_option): Likewise.
2858 * config/tc-metag.c (struct metag_long_option): Likewise.
2859 (md_parse_option): Likewise.
2860 * config/tc-microblaze.c (md_parse_option): Likewise.
2861 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2862 * config/tc-mips.c (md_parse_option): Adjust.
2863 * config/tc-mmix.c (md_parse_option): Likewise.
2864 * config/tc-mn10200.c (md_parse_option): Likewise.
2865 * config/tc-mn10300.c (md_parse_option): Likewise.
2866 * config/tc-moxie.c (md_parse_option): Likewise.
2867 * config/tc-msp430.c (md_parse_option): Likewise.
2868 * config/tc-mt.c (md_parse_option): Likewise.
2869 * config/tc-nds32.c (md_parse_option): Likewise.
2870 * config/tc-nds32.h (nds32_parse_option): Likewise.
2871 * config/tc-nios2.c (md_parse_option): Likewise.
2872 * config/tc-ns32k.c (md_parse_option): Likewise.
2873 * config/tc-or1k.c (md_parse_option): Likewise.
2874 * config/tc-pdp11.c (md_parse_option): Likewise.
2875 * config/tc-pj.c (md_parse_option): Likewise.
2876 * config/tc-ppc.c (md_parse_option): Likewise.
2877 * config/tc-rl78.c (md_parse_option): Likewise.
2878 * config/tc-rx.c (md_parse_option): Likewise.
2879 * config/tc-s390.c (s390_parse_cpu): Likewise.
2880 * config/tc-score.c (md_parse_option): Likewise.
2881 * config/tc-sh.c (md_parse_option): Likewise.
2882 * config/tc-sparc.c (md_parse_option): Likewise.
2883 * config/tc-spu.c (md_parse_option): Likewise.
2884 * config/tc-tic30.c (md_parse_option): Likewise.
2885 * config/tc-tic4x.c (md_parse_option): Likewise.
2886 * config/tc-tic54x.c (md_parse_option): Likewise.
2887 * config/tc-tic6x.c (md_parse_option): Likewise.
2888 * config/tc-tilegx.c (md_parse_option): Likewise.
2889 * config/tc-tilepro.c (md_parse_option): Likewise.
2890 * config/tc-v850.c (md_parse_option): Likewise.
2891 * config/tc-vax.c (md_parse_option): Likewise.
2892 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2893 * config/tc-xc16x.c (md_parse_option): Likewise.
2894 * config/tc-xgate.c (md_parse_option): Likewise.
2895 * config/tc-xstormy16.c (md_parse_option): Likewise.
2896 * config/tc-xtensa.c (md_parse_option): Likewise.
2897 * config/tc-z80.c (md_parse_option): Likewise.
2898 * config/tc-z8k.c (md_parse_option): Likewise.
2899 * tc.h (md_parse_option): Likewise.
2901 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2903 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2904 * config/tc-hppa.c (fix_new_hppa): Likewise.
2905 (pa_vtable_entry): Likewise.
2906 (pa_vtable_inherit): Likewise.
2907 * config/tc-m68k.c (md_begin): Likewise.
2909 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2911 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2912 * config/obj-elf.h (obj_elf_section_name): Adjust.
2913 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2914 (aarch64_parse_cpu): Likewise.
2915 (aarch64_parse_arch): Likewise.
2916 * config/tc-arm.c (arm_parse_extension): Likewise.
2917 (arm_parse_cpu): Likewise.
2918 (arm_parse_arch): Likewise.
2919 * config/tc-nds32.c: Likewise.
2920 * config/xtensa-relax.c (parse_special_fn): Likewise.
2921 * stabs.c (generate_asm_file): Likewise.
2923 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2925 * config/tc-cr16.c (cr16_assemble): New function.
2926 (md_assemble): Call cr16_assemble.
2928 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2930 * as.c (parse_args): Adjust.
2931 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2932 * config/obj-elf.c (elf_frob_symbol): Adjust.
2934 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2936 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2937 registers to be in the 16..31 range.
2939 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2941 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2944 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2946 * config/tc-visium.c (md_atof): Localize the string returned on
2949 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2951 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2952 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2953 * config/tc-m68hc11.c (md_begin): Likewise.
2954 (print_opcode_list): Likewise.
2955 * config/tc-msp430.c (msp430_section): Likewise.
2956 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2957 (s3_build_dependency_insn_hsh): Likewise.
2958 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2959 (s7_build_dependency_insn_hsh): Likewise.
2960 * config/tc-tic4x.c: Likewise.
2961 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2962 (subsym_get_arg): Likewise.
2963 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2964 (get_directive): Likewise.
2965 (cache_literal_section): Likewise.
2966 * config/xtensa-relax.c: Likewise.
2967 * symbols.c (symbol_create): Likewise.
2968 (local_symbol_make): Likewise.
2969 (symbol_relc_make_expr): Likewise.
2971 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2973 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2976 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2978 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2981 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2983 * config/tc-ia64.c (ia64_do_align): Remove.
2984 (ia64_cons_align): Call do_align () directly.
2985 (dot_proc): Likewise.
2986 (stmt_float_cons): Likewise.
2988 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2990 * listing.c (listing_message): Use XNEW style allocation macros.
2991 * read.c (read_a_source_file): Likewise.
2992 (read_symbol_name): Likewise.
2993 (s_mri_common): Likewise.
2994 (assign_symbol): Likewise.
2995 (s_reloc): Likewise.
2996 (emit_expr_with_reloc): Likewise.
2997 (s_incbin): Likewise.
2998 (s_include): Likewise.
2999 * sb.c (sb_build): Likewise.
3000 (sb_check): Likewise.
3002 2016-03-22 Alan Modra <amodra@gmail.com>
3004 * write.c (record_alignment): Revert 2016-02-18 change.
3006 2016-03-22 Alan Modra <amodra@gmail.com>
3008 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3009 (emit_jsrjmp, tc_gen_reloc): Likewise.
3010 * config/tc-i370.c (i370_macro): Likewise.
3012 2016-03-22 Nick Clifton <nickc@redhat.com>
3014 * configure: Regenerate.
3016 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3018 * testsuite/gas/arc/nps400-0.d: New file.
3019 * testsuite/gas/arc/nps400-0.s: New file.
3020 * testsuite/gas/arc/nps400-1.d: New file.
3021 * testsuite/gas/arc/nps400-1.s: New file.
3023 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3025 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3026 declarations to start of block. Reset code on all flags before
3027 attempting to match them. Handle multiple hits on the same flag.
3029 * testsuite/gas/arc/asm-errors.d: New file.
3030 * testsuite/gas/arc/asm-errors.err: New file.
3031 * testsuite/gas/arc/asm-errors.s: New file.
3033 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3035 * config/tc-arc.c (cpu_types): Add nps400 entry.
3036 (check_zol): Handle nps400.
3038 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3040 * config/tc-arc.c (arc_select_cpu): Remove use of
3043 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3045 * config/tc-arc.c (arc_target): Delay initialisation until
3047 (arc_target_name): Likewise.
3048 (arc_features): Likewise.
3049 (arc_mach_type): Likewise.
3050 (cpu_types): Remove "all" entry.
3051 (arc_select_cpu): New function, most of the content is from...
3052 (md_parse_option): ... here. Call new arc_select_cpu.
3053 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3055 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3057 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3058 * testsuite/gas/arc/inline-data-2.d: New file.
3060 2016-03-21 Nick Clifton <nickc@redhat.com>
3062 * atof-generic.c: Replace use of alloca with call to xmalloc.
3064 * dwarf2dbg.c: Likewise.
3065 * macro.c: Likewise.
3066 * remap.c: Likewise.
3067 * stabs.c: Likewise.
3068 * symbols.c: Likewise.
3069 * config/obj-elf.c: Likewise.
3070 * config/tc-aarch64.c: Likewise.
3071 * config/tc-arc.c: Likewise.
3072 * config/tc-arm.c: Likewise.
3073 * config/tc-avr.c: Likewise.
3074 * config/tc-ia64.c: Likewise.
3075 * config/tc-mips.c: Likewise.
3076 * config/tc-msp430.c: Likewise.
3077 * config/tc-nds32.c: Likewise.
3078 * config/tc-ppc.c: Likewise.
3079 * config/tc-sh.c: Likewise.
3080 * config/tc-tic30.c: Likewise.
3081 * config/tc-tic54x.c: Likewise.
3082 * config/tc-xstormy16.c: Likewise.
3083 * config/te-vms.c: Likewise.
3084 * configure: Regenerate.
3086 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3088 * tc-i386.c (f32_1): Change type to unsigned char[].
3108 (jump_31): Likewise.
3109 (f32_patt): Likewise.
3110 (f16_patt): Likewise.
3119 (alt_patt): Likewise.
3121 2016-03-18 Nick Clifton <nickc@redhat.com>
3123 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3124 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3125 .tlsdescldr and .xword directives.
3128 * testsuite/gas/aarch64/pr19721.s: New test source file.
3129 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3131 * doc/as.texinfo: Place the target specific command line options
3132 into their own man page section.
3134 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3136 * config/tc-arm.c (N_S_32): New.
3137 (N_F_16_32): Likewise.
3138 (N_SUF_32): Support N_F16.
3139 (N_IF_32): Likewise.
3140 (neon_dyadic_misc): Likewise.
3141 (do_neon_cmp): Likewise.
3142 (do_neon_cmp_inv): Likewise.
3143 (do_neon_mul): Likewise.
3144 (do_neon_fcmp_absolute): Likewise.
3145 (do_neon_step): Likewise.
3146 (do_neon_abs_neg): Likewise.
3147 (CVT_FLAVOR_VAR): Likewise.
3148 (do_neon_cvt_1): Likewise.
3149 (do_neon_recip_est): Likewise.
3150 (do_vmaxnm): Likewise.
3151 (do_vrint_1): Likewise.
3152 (neon_check_type): Check architecture support for FP16 extension.
3153 (insns): Update comments.
3154 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3155 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3156 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3157 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3159 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3161 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3164 2016-03-16 Nick Clifton <nickc@redhat.com>
3166 * read.c (emit_expr_with_reloc): Add code check a bignum with
3168 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3170 * testsuite/gas/elf/bignum.s: New test source file.
3171 * testsuite/gas/elf/bignum.d: New test driver file.
3172 * testsuite/gas/elf/elf.exp: Run the new test.
3174 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3176 * doc/c-i386.texi (Register Naming): Update to details of the
3177 latest architecture version.
3179 2016-03-10 Mickael Guene <mickael.guene@st.com>
3182 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3184 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3185 (do_t_mov_cmp): Likewise.
3186 (do_t_add_sub): Protect against bad relocations usage.
3187 (do_t_mov_cmp): Likewise.
3188 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3189 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3190 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3191 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3193 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3195 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3197 (do_neon_ld_st_lane): Likewise.
3198 (do_neon_ld_dup): Likewise.
3200 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3202 * testsuite/gas/arc/inline-data-1.d: New file.
3203 * testsuite/gas/arc/inline-data-1.s: New file.
3205 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3207 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3208 * doc/c-arm.texi: Add cortex-r8.
3210 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3212 * config/tc-arc.c: Add const qualifiers.
3213 * config/tc-h8300.c (md_begin): Likewise.
3214 * config/tc-ia64.c (print_prmask): Likewise.
3215 * config/tc-msp430.c (msp430_operands): Likewise.
3216 * config/tc-nds32.c (struct suffix_name): Likewise.
3217 (struct nds32_parse_option_table): Likewise.
3218 (struct nds32_set_option_table): Likewise.
3219 (do_pseudo_pushpopm): Likewise.
3220 (do_pseudo_pushpop_stack): Likewise.
3221 (nds32_relax_relocs): Likewise.
3222 (nds32_flag): Likewise.
3223 (struct nds32_hint_map): Likewise.
3224 (nds32_find_reloc_table): Likewise.
3225 (nds32_match_hint_insn): Likewise.
3226 * config/tc-s390.c: Likewise.
3227 * config/tc-sh.c (get_specific): Likewise.
3228 * config/tc-tic30.c: Likewise.
3229 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3230 (tic4x_indirect_parse): Likewise.
3231 * config/tc-vax.c (vax_cons): Likewise.
3232 * config/tc-z80.c (struct reg_entry): Likewise.
3233 * config/tc-epiphany.c (md_assemble): Adjust.
3234 (epiphany_assemble): New function.
3235 (epiphany_elf_section_rtn): Call do_align directly.
3236 (epiphany_elf_section_text): Likewise.
3237 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3238 (ip2k_elf_section_text): Likewise.
3239 * read.c (do_align): Make it not static.
3240 * read.h (do_align): New prototype.
3242 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3244 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3245 for ARMv8.1 AdvSIMD use.
3246 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3247 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3249 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3251 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3253 (record_feature_use): New.
3254 (mark_feature_used): Use record_feature_use.
3255 (do_neon_qrdmlah): New.
3256 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3258 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3259 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3260 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3261 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3262 Make source file explicit.
3263 * testsuite/gas/arm/armv8-a+rdma.l: New.
3264 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3265 directives. Fix white-space.
3266 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3268 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3270 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3272 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3273 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3275 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3276 (tc_arc_fix_adjustable): Changed default return value to 1.
3277 * testsuite/gas/arc/j.d: Updated expected symbol
3278 * testsuite/gas/arc/jl.d: Likewise
3279 * testsuite/gas/arc/relax-avoid1.d: Likewise
3280 * testsuite/gas/arc/st.d: Likewise
3282 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3284 * config/tc-arc.c: Enable code density instructions for ARC EM.
3286 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3289 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3291 * as.c (flag_use_elf_stt_common): New.
3292 (show_usage): Add --elf-stt-common=.
3293 (option_values): Add OPTION_ELF_STT_COMMON.
3294 (std_longopts): Add --elf-stt-common=.
3295 (parse_args): Handle --elf-stt-common=.
3296 * as.h (flag_use_elf_stt_common): New.
3297 * config.in: Regenerated.
3298 * configure: Likewise.
3299 * configure.ac: Add --enable-elf-stt-common and define
3300 DEFAULT_GENERATE_ELF_STT_COMMON.
3301 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3302 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3303 * doc/as.texinfo: Document --elf-stt-common=.
3304 * testsuite/gas/elf/common3.s: New file.
3305 * testsuite/gas/elf/common3a.d: Likewise.
3306 * testsuite/gas/elf/common3b.d: Likewise.
3307 * testsuite/gas/elf/common4.s: Likewise.
3308 * testsuite/gas/elf/common4a.d: Likewise.
3309 * testsuite/gas/elf/common4b.d: Likewise.
3310 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3311 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3312 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3314 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3315 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3316 --elf-stt-common=no to as.
3317 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3318 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3319 --elf-stt-common=no to as.
3320 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3321 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3322 of dw2-compress-3 and dw2-compressed-3.
3324 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3326 * as.c (select_emulation_mode): Add const qualifiers.
3328 * config/bfin-defs.h: Likewise.
3329 * config/bfin-parse.y: Likewise.
3330 * config/rx-parse.y: Likewise.
3331 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3332 (struct aarch64_cpu_option_table): Likewise.
3333 (struct aarch64_arch_option_table): Likewise.
3334 (struct aarch64_option_cpu_value_table): Likewise.
3335 (struct aarch64_long_option_table): Likewise.
3336 (struct aarch64_option_abi_value_table): Likewise.
3337 * config/tc-arm.c (struct reloc_entry): Likewise.
3338 (tc_gen_reloc): Likewise.
3339 (struct arm_option_table): Likewise.
3340 (struct arm_legacy_option_table): Likewise.
3341 (struct arm_cpu_option_table): Likewise.
3342 (struct arm_arch_option_table): Likewise.
3343 (struct arm_option_extension_value_table): Likewise.
3344 (struct arm_option_fpu_value_table): Likewise.
3345 (struct arm_option_value_table): Likewise.
3346 (struct arm_long_option_table): Likewise.
3347 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3348 (struct mcu_type_s): Likewise.
3349 (struct exp_mod_s): Likewise.
3350 (avr_operand): Likewise.
3351 (avr_operands): Likewise.
3352 * config/tc-d10v.c (md_begin): Likewise.
3353 * config/tc-dlx.c: Likewise.
3354 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3355 * config/tc-ft32.c (parse_condition): Likewise.
3356 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3357 * config/tc-hppa.c (pa_ip): Likewise.
3358 (hppa_regname_to_dw2regnum): Likewise.
3359 * config/tc-i370.c (i370_elf_suffix): Likewise.
3360 * config/tc-i960.c (struct tabentry): Likewise.
3361 * config/tc-m32r.c: Likewise.
3362 * config/tc-m68k.c: Likewise.
3363 * config/tc-m68k.h: Likewise.
3364 * config/tc-mcore.c (parse_psrmod): Likewise.
3365 * config/tc-metag.c (struct metag_core_option): Likewise.
3366 (struct metag_long_option): Likewise.
3367 * config/tc-microblaze.c: Likewise.
3368 * config/tc-mips.c (macro): Likewise.
3369 * config/tc-mn10200.c: Likewise.
3370 * config/tc-mn10300.c: Likewise.
3371 * config/tc-msp430.c (struct rcodes_s): Likewise.
3372 (struct hcodes_s): Likewise.
3373 (md_parse_option): Likewise.
3374 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3375 (optlist): Likewise.
3376 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3377 (tc_ppc_regname_to_dw2regnum): Likewise.
3378 * config/tc-ppc.h: Likewise.
3379 * config/tc-rl78.c: Likewise.
3380 * config/tc-rx.c (struct cpu_type): Likewise.
3381 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3382 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3383 (sparc_ip): Likewise.
3384 * config/tc-spu.c (insn_fmt_string): Likewise.
3385 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3386 * config/tc-v850.c: Likewise.
3387 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3388 (struct visium_long_option_table): Likewise.
3389 * config/tc-xgate.c: Likewise.
3390 * config/tc-z8k.c: Likewise.
3391 * read.c (add_include_dir): Likewise.
3394 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3396 * testsuite/gas/all/gas.exp: Change target pattern to cover
3398 * testsuite/gas/all/redef3.d: Likewise.
3399 * testsuite/gas/elf/elf.exp: Likewise.
3401 2016-02-24 Renlin Li <renlin.li@arm.com>
3403 * config/tc-arm.c (BAD_FP16): New error message macro.
3404 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3405 fp16 scalar instructions.
3406 (neon_check_type): Allow different size from key.
3407 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3408 (try_vfp_nsyn): Likewise.
3409 (do_vfp_nsyn_mla_mls): Likewise.
3410 (do_vfp_nsyn_fma_fms): Likewise.
3411 (do_vfp_nsyn_ldm_stm): Likewise
3412 (do_vfp_nsyn_sqrt): Likewise
3413 (do_vfp_nsyn_div): Likewise
3414 (do_vfp_nsyn_nmul): Likewise.
3415 (do_vfp_nsyn_cmp): Likewise.
3416 (do_neon_shll): Likewise.
3417 (do_vfp_nsyn_cvt_fpv8): Likewise.
3418 (do_neon_cvttb_2): Likewise.
3419 (do_neon_mov): Likewise.
3420 (do_neon_rshift_round_imm): Likewise.
3421 (do_neon_ldr_str): Likewise.
3422 (do_vfp_nsyn_fpv8): Likewise.
3423 (do_vmaxnm): Likewise.
3424 (do_vrint_1): Likewise.
3425 (insns): New entry for vins, vmovx.
3426 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3427 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3428 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3429 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3430 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3431 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3432 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3434 2016-02-24 Renlin Li <renlin.li@arm.com>
3436 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3437 (neon_shape_class): New SC_HALF.
3438 (neon_shape_el): New SE_H.
3439 (neon_shape_el_size): New size for SE_H.
3440 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3441 (neon_select_shape): Add SE_H support code.
3442 (el_type_of_type_chk): Use N_F_ALL.
3443 (do_vfp_nsyn_cvt): Add SE_H shape support.
3444 (do_neon_cvtz): Likewise.
3445 (do_neon_cvt_1): Likewise.
3446 (do_neon_cvttb_1): Likewise.
3448 2016-02-24 Renlin Li <renlin.li@arm.com>
3450 * testsuite/gas/arm/copro.d: Adjust output.
3451 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3453 2016-02-24 Renlin Li <renlin.li@arm.com>
3455 * testsuite/gas/arm/mask_1.d: New.
3456 * testsuite/gas/arm/mask_1.s: New.
3458 2016-02-24 Renlin Li <renlin.li@arm.com>
3460 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3461 * testsuite/gas/arm/copro.d: Update.
3463 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3465 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3466 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3468 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3470 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3472 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3474 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3477 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3479 * output-file.c (output_file_create): Make file name argument const.
3480 (output_file_close): Likewise.
3481 * output-file.h (output_file_create): Adjust.
3482 (output_file_close): Likewise.
3483 * depend.c (quote_string_for_make): Make src argument const char *.
3484 (register_dependency): Likewise.
3485 (wrap_output): Likewise.
3486 * as.h (register_dependency): Adjust.
3487 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3489 * symbols.c (S_SET_EXTERNAL): Likewise.
3490 * input-scrub.c (as_where): Return the file name.
3491 * as.h (as_where): Adjust prototype.
3492 * app.c (do_scrub_chars): Adjust.
3493 * cond.c (s_elseif): Likewise.
3495 (initialize_cframe): Likewise.
3496 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3497 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3498 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3499 * config/tc-aarch64.c (output_info): Likewise.
3500 * config/tc-ia64.c (md_assemble): Likewise.
3501 (dot_alias): Likewise.
3502 * config/tc-m68k.c (m68k_frob_label): Likewise.
3503 * config/tc-mmix.c (s_bspec): Likewise.
3504 (mmix_handle_mmixal): Likewise.
3505 * config/tc-rx.c (rx_include): Likewise.
3506 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3507 (tic54x_adjust_symtab): Likewise.
3508 * config/tc-xtensa.c (directive_push): Likewise.
3509 (xtensa_sanity_check): Likewise.
3510 (xtensa_relax_frag): Likewise.
3511 (md_convert_frag): Likewise.
3512 (tinsn_to_slotbuf): Likewise.
3513 * dwarf2dbg.c (dwarf2_where): Likewise.
3514 * ecoff.c (add_file): Likewise.
3515 (ecoff_generate_asm_lineno): Likewise.
3516 * expr.c (make_expr_symbol): Likewise.
3517 * frags.c (frag_new): Likewise.
3518 (frag_var_init): Likewise.
3519 * listing.c (listing_newline): Likewise.
3520 * messages.c (identify): Likewise.
3521 (as_show_where): Likewise.
3522 (as_warn_internal): Likewise.
3523 (as_bad_internal): Likewise.
3524 * read.c (s_irp): Likewise.
3525 (s_macro): Likewise.
3526 (s_reloc): Likewise.
3527 * stabs.c (stabs_generate_asm_file): Likewise.
3528 (stabs_generate_asm_lineno): Likewise.
3529 (stabs_generate_asm_func): Likewise.
3530 * write.c (fix_new_internal): Likewise.
3531 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3532 (as_warn_value_out_of_range): Adjust prototype.
3533 (as_bad_value_out_of_range): Adjust prototype.
3534 * messages.c (identify): Make file name argument const char *.
3535 (as_warn_internal): Likewise.
3536 (as_warn_where): Likewise.
3537 (as_bad_internal): Likewise.
3538 (as_bad_where): Likewise.
3539 (as_internal_value_out_of_range): Likewise.
3540 (as_warn_value_out_of_range): Likewise.
3541 (as_bad_value_out_of_range): Likewise.
3542 * as.h (found_comment_file): Change type to const char *.
3543 * cond.c (file_line::file): Likewise.
3544 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3545 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3546 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3547 * config/tc-aarch64.c (output_info): Likewise.
3548 * config/tc-alpha.c (insert_operand): Likewise.
3549 * config/tc-arc.c (insert_operand): Likewise.
3550 * config/tc-d30v.c (check_size): Likewise.
3551 * config/tc-ia64.c (struct alias): Likewise.
3552 * config/tc-m68k.c (struct label_line): Likewise.
3553 * config/tc-mcore.c (md_apply_fix): Likewise.
3554 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3555 * config/tc-mips.c (mips16_immed): Likewise.
3556 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3557 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3558 * config/tc-rx.c (rx_include): Likewise.
3559 * config/tc-s390.c (s390_insert_operand): Likewise.
3560 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3561 (tic54x_adjust_symtab): Likewise.
3562 * config/tc-tilegx.c (insert_operand): Likewise.
3563 (apply_special_operator): Likewise.
3564 * config/tc-tilepro.c (insert_operand): Likewise.
3565 * config/tc-xtensa.c (directive_push): Likewise.
3566 * ecoff.c (add_file): Likewise.
3567 (ecoff_generate_asm_lineno): Likewise.
3568 * listing.c (listing_newline): Likewise.
3569 * read.c (s_irp): Likewise.
3570 * write.c (install_reloc): Likewise.
3571 * write.h (struct fix): Likewise.
3572 * input-file.c (file_name): Change type to const char *.
3573 (saved_file::file_name): Likewise.
3574 (input_file_open): Change type of argument to const char *.
3575 * input-file.h (input_file_open): Adjust.
3576 * input-scrub.c (logical_input_file): change type to const char *.
3577 (physical_input_file): Likewise.
3578 (struct input_save): Adjust.
3579 (input_scrub_push): Adjust.
3580 (input_scrub_begin): Adjust.
3582 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3583 (input_scrub_include_file): Likewise.
3584 (new_logical_line_flags): Likewise.
3585 (new_logical_line): Likewise.
3587 * frags.h (struct frag): Change type of fr_file to const char *.
3588 * expr.c (expr_symbol_where): Change type of file argument to
3590 * expr.h (expr_symbol_where): Likewise.
3591 * config/tc-i370.c (md_apply_fix): adjust.
3592 * config/tc-mmix.c (mmix_md_end): Likewise.
3593 * config/tc-ppc.c (md_apply_fix): Likewise.
3594 * config/tc-s390.c (md_apply_fix): Likewise.
3595 * symbols.c (report_op_error): Likewise.
3596 (resolve_symbol_value): Likewise.
3597 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3598 (rsrc::file): Likewise.
3599 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3601 (xtensa_relax_frag): Likewise.
3602 (md_convert_frag): Likewise.
3603 (tinsn_to_slotbuf): Likewise.
3604 * expr.c (expr_symbol_line): Likewise.
3605 * macro.c (define_macro): Likewise.
3606 * macro.h (macro_struct): Likewise.
3607 * messages.c (as_show_where): Likewise.
3608 * read.c (s_macro): Likewise.
3609 * stabs.c (stabs_generate_asm_file): Likewise.
3610 (generate_asm_file): Likewise.
3611 (stabs_generate_asm_lineno): Likewise.
3612 * write.h (struct reloc_list): Likewise.
3613 * input-scrub.c (as_where): Change return type to const char *.
3614 * as.h (as_wheree): Adjust.
3616 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3618 * write.c (compress_debug): Move BFD compression bits setting
3620 (write_object_file): Here.
3622 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3624 * config/tc-i386.c (register_number): Check RegVRex.
3625 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3626 with %zmm19 and %zmm3.
3627 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3628 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3630 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3631 Jiong Wang <jiong.wang@arm.com>
3633 * config/tc-arm.c (arm_ext_fp16): New.
3634 (arm_extensions): New entry for "fp16".
3636 2016-02-19 Nick Clifton <nickc@redhat.com>
3639 * read.c (read_a_source_file): Check for assemble_one returning
3640 with input_line_pointer set to NULL.
3642 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3644 * listing.c (rebuffer_line): Change return type to void.
3646 * symbols.c (decode_local_label_name): Make type a const char *.
3647 * listing.c (print_source): Make type of p const char *.
3648 (print_line): Make type of string const char *.
3649 (buffer_line): Return const char *.
3650 (title): Make type const char *.
3651 (subtitle): Likewise.
3652 (listing_listing): Make type of p const char *.
3653 * messages.c (as_internal_value_out_of_range): Make type of prefix
3655 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3656 and string const char *.
3657 * read.c (_bfd_rel): Make type of name const char *.
3658 * app.c (out_string): Change type to const char *.
3659 (struct app_save::out_string): Likewise.
3661 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3662 Nick Clifton <nickc@redhat.com>
3664 * read.c (finish_bundle): Avoid recording a negative alignment.
3665 (do_align): Use unsigned values for n, len and max. Only create
3666 a frag if the alignment requirement is greater than the minimum
3667 byte alignment. Avoid recording a negative alignment.
3668 (s_align): Use unsigned values where appropriate.
3669 (bss_alloc): Use an unsigned value for the alignment.
3670 (sizeof_sleb128): Add a comment noting that we encode one octet
3671 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3672 (emit_leb129_expr): Abort if the emitted encoding was longer than
3674 * read.h (output_leb128): Update prototype.
3675 (sizeof_leb128): Update prototype.
3676 (bss_alloc): Update prototype.
3677 * write.c (record_alignment): Use an unsigned value for the
3678 alignment. Do not record alignments less than the minimum
3679 alignment for a byte.
3680 * write.h (record_alignment): Update prototype.
3682 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3684 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3685 .init.literal/.fini.literal section name.
3686 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3687 list of xtensa tests.
3688 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3689 init-fini-literals test result patterns.
3690 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3691 init-fini-literals test.
3693 2016-02-17 Nick Clifton <nickc@redhat.com>
3695 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3696 devices.csv file as of March 2016.
3698 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3700 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3702 (tc_arc_regname_to_dw2regnum): Likewise.
3703 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3704 (tc_cfi_frame_initial_instructions): Likewise.
3705 (tc_regname_to_dw2regnum): Likewise.
3706 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3707 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3708 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3710 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3712 * doc/internals.texi (S_IS_EXTERN): Remove.
3714 2016-02-16 Nick Clifton <nickc@redhat.com>
3716 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3719 2016-02-16 Renlin Li <renlin.li@arm.com>
3722 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3723 * testsuite/gas/aarch64/movw_label.d: New.
3724 * testsuite/gas/aarch64/movw_label.s: New.
3726 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3729 * config/rx-parse.y (MOV): Opcode generation for index
3730 register addressing mode.
3731 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3732 * testsuite/gas/rx/pr19665.s: New file.
3733 * testsuite/gas/rx/pr19665.s: New file.
3734 * testsuite/gas/rx/mov.d: Update expected output.
3736 2016-02-15 Nick Clifton <nickc@redhat.com>
3738 * doc/as.texinfo (.section): Document that numeric values can now
3739 be used for the flags and type fields of the ELF target's .section
3740 directive. Add notes about the restrictions on setting flags and
3742 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3743 to be given processor specific section types. Allow processor and
3744 application specific flags of a section to be set after
3746 (obj_elf_parse_section_letters): Handle parsing numeric values.
3747 (obj_elf_section_type): Handle parsing numeric values.
3748 (obj_elf_section): Allow numeric type values.
3749 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3750 * testsuite/gas/elf/section10.d: New test.
3751 * testsuite/gas/elf/section10.s: Source file for new test.
3752 * testsuite/gas/elf/elf.exp: Run the new test.
3753 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3754 the description of the flags produced by readelf.
3755 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3756 * NEWS: Mention the new feature.
3758 2016-02-11 Nick Clifton <nickc@redhat.com>
3761 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3762 until it is actually used.
3763 (cfi_set_sections): Set cfi_sections_set to true.
3764 (dot_cfi_startproc): Likewise.
3765 (dot_cfi_endproc): Likewise.
3766 (dot_cfi_fde_data): Likewise.
3767 (cfi_finish): Likewise.
3768 (dot_cfi_sections): Do not set cfi_sections_set.
3769 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3770 their own cfi section name. Also note that the directive can be
3771 reissued provided that CFI generation has not started.
3772 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3773 .cfi_endproc directives so that the redefinition of .cfi_sections
3774 will trigger the generation of the error message.
3775 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3776 number of error message.
3778 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3779 Janek van Oirschot <jvanoirs@synopsys.com>
3781 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3782 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3784 (arc_flags, arc_relax_type): New structure.
3785 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3786 (RELAX_TABLE_ENTRY_MAX): New define.
3787 (relaxation_state, md_relax_table, arc_relaxable_insns)
3788 (arc_num_relaxable_ins): New variable.
3789 (rlx_operand_type, arc_rlx_types): New enums.
3790 (arc_relaxable_ins): New structure.
3791 (OPTION_RELAX): New option.
3792 (arc_insn): New relax member.
3793 (arc_flags): Remove.
3794 (relax_insn_p): New function.
3795 (apply_fixups): Likewise.
3796 (relaxable_operand): Likewise.
3797 (may_relax_expr): Likewise.
3798 (relaxable_flag): Likewise.
3799 (arc_pcrel_adjust): Likewise.
3800 (md_estimate_size_before_relax): Implement.
3801 (md_convert_frag): Likewise.
3802 (md_parse_option): Handle new mrelax option.
3803 (md_show_usage): Likewise.
3804 (assemble_insn): Set relax member.
3805 (emit_insn0): New function.
3806 (emit_insn1): Likewise.
3807 (emit_insn): Handle relaxation case.
3808 * NEWS: Mention the new relaxation option.
3809 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3810 * doc/as.texinfo (Target ARC Options): Likewise.
3811 * testsuite/gas/arc/relax-avoid1.d: New file.
3812 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3813 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3814 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3815 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3816 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3817 * testsuite/gas/arc/relax-b.d: Likewise.
3818 * testsuite/gas/arc/relax-b.s: Likewise.
3820 2016-02-08 Nick Clifton <nickc@redhat.com>
3822 * config/tc-ia64.c (dot_prologue): Fix formatting.
3824 2016-02-04 Nick Clifton <nickc@redhat.com>
3826 * config/obj-elf.c (obj_elf_change_section): Remove support for
3827 ARM NOREAD sections.
3828 * config/tc-arm.c (arm_elf_section_letter): Delete.
3829 * config/tc-arm.h (md_elf_section_letter): Delete.
3830 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3831 * testsuite/gas/arm/section-execute-only.d: Delete.
3832 * testsuite/gas/arm/section-execute-only.s: Delete.
3834 2016-02-04 Nick Clifton <nickc@redhat.com>
3837 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3838 to handle encoding of RRUX instruction.
3839 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3841 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3843 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3845 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3846 substitutions for BFD_RELOC_* as unsigned.
3847 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3848 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3849 * testsuite/gas/xtensa/loc.s: New file: loc test.
3851 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3853 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3855 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3858 * NEWS: Mention new command line option -mrelax-relocations and
3859 new configure option --enable-x86-relax-relocations for x86
3861 * config.in: Regenerated.
3862 * configure.ac: Add --enable-x86-relax-relocations.
3863 (ac_default_x86_relax_relocations): New. Default to 1 except
3864 for x86 Solaris targets older than Solaris 12.
3865 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3866 * configure: Likewise.
3867 * config/tc-i386.c (generate_relax_relocations): New.
3868 (OPTION_MRELAX_RELOCATIONS): Likewise.
3869 (output_disp): Don't generate relax relocations if
3870 generate_relax_relocations is 0.
3871 (md_longopts): Add -mrelax-relocations.
3872 (md_show_usage): Likewise.
3873 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3874 * doc/c-i386.texi: Document -mrelax-relocations=.
3875 * testsuite/gas/i386/got-no-relax.d: New file.
3876 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3877 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3878 * testsuite/gas/i386/localpic.d: Likewise.
3879 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3880 * testsuite/gas/i386/reloc32.d: Likewise.
3881 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3882 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3883 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3884 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3885 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3886 x86-64-gotpcrel-no-relax.
3888 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3890 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3893 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3895 * NEWS: Remove duplicated marker for 2.26.
3897 2016-02-02 Renlin Li <renlin.li@arm.com>
3899 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3901 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3903 * testsuite/gas/ip2k/allinsn.d: New file.
3904 * testsuite/gas/ip2k/allinsn.s: New file.
3905 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3907 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3909 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3910 some load instructions.
3911 * testsuite/gas/epiphany/allinsn.d: Likewise.
3912 * testsuite/gas/epiphany/regression.d: Likewise.
3914 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3916 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3917 suffixes from instruction mnemonics in expected output.
3918 * testsuite/gas/epiphany/allinsn.d: Likewise.
3919 * testsuite/gas/epiphany/regression.d: Likewise.
3920 * testsuite/gas/epiphany/sample.d: Likewise.
3922 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3924 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3926 * testsuite/gas/epiphany/allinsn.d: Likewise.
3927 * testsuite/gas/epiphany/sample.d: Likewise.
3929 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3931 * testsuite/gas/epiphany/sample.d: Update expected output.
3933 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3935 * config/tc-arc.c (md_apply_fix): Allow addendum.
3936 (arc_reloc_op): Allow complex expressions for tpoff.
3937 (md_apply_fix): Handle resolved TLS local symbol.
3938 * testsuite/gas/arc/tls-relocs1.d: New file.
3939 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3941 2016-02-01 Loria <Loria@phantasia.org>
3944 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3945 efficiency and avoid an LLVM loop optimization bug.
3947 2016-02-01 Nick Clifton <nickc@redhat.com>
3949 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3950 message extending a negative 32-bit value into a larger signed
3951 value on a 32-bit host.
3953 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3956 * configure.ac (compressed_debug_sections): Replace == with =.
3957 * configure: Regenerated.
3959 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3960 H.J. Lu <hongjiu.lu@intel.com>
3962 * config/tc-i386.c (avoid_fence): New.
3963 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3965 (OPTION_FENCE_AS_LOCK_ADD): New.
3966 (md_longopts): Add -mfence-as-lock-add.
3967 (md_parse_option): Handle -mfence-as-lock-add.
3968 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3969 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3970 * testsuite/gas/i386/i386.exp: Run new tests.
3971 * testsuite/gas/i386/fence-as-lock-add.s: New.
3972 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3973 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3974 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3975 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3977 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3979 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3980 * configure: Regenerated.
3982 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3984 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3985 (OPTION_MOMIT_LOCK_PREFIX): This.
3986 (md_longopts): Updated.
3987 (md_parse_option): Likewise.
3989 2016-01-25 Catherine Moore <clm@codesourcery.com>
3991 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3992 if abicalls are in effect.
3993 * testsuite/gas/mips/sdata-gp.s: New test.
3994 * testsuite/gas/mips/sdata-gp.d: New expected output
3995 * testsuite/gas/mips/mips.exp: Run new test.
3997 2016-01-25 Renlin Li <renlin.li@arm.com>
3999 * testsuite/gas/arm/thumb2_it_search.d: New.
4000 * testsuite/gas/arm/thumb2_it_search.s: New.
4002 2016-01-21 Nick Clifton <nickc@redhat.com>
4005 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4006 with arm-netbsdelf target.
4007 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4009 2016-01-20 Nick Clifton <nickc@redhat.com>
4012 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4013 * testsuite/gas/arm/blx-bl-convert.d
4014 * testsuite/gas/arm/plt-1.d: Likewise.
4015 * testsuite/gas/arm/reloc-bad.d: Likewise.
4016 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4017 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4018 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4019 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4022 * doc/as.texinfo (Errors): Correct documentation describing the
4023 interaction of .file and .line with warning and error messages.
4026 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4027 * testsuite/gas/arm/archv8m-main.d: Likewise.
4028 * testsuite/gas/arm/archv8m-base.d: Likewise.
4030 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4032 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4033 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4034 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4036 2016-01-20 Mickael Guene <mickael.guene@st.com>
4037 Terry Guo <terry.guo@arm.com>
4039 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4040 SHF_ARM_NOREAD section flag.
4041 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4043 (arm_elf_section_letter) : Declare it.
4044 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4045 SHF_ARM_NOREAD section flag.
4046 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4048 * testsuite/gas/arm/section-execute-only.s: New test case.
4049 * testsuite/gas/arm/section-execute-only.d: Expected output.
4051 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4053 * config/tc-mips.c (micromips_insn_length): Remove the mention
4054 of 48-bit microMIPS instructions.
4056 2016-01-18 Alan Modra <amodra@gmail.com>
4058 * configure: Regenerate.
4060 2016-01-17 Alan Modra <amodra@gmail.com>
4062 * configure: Regenerate.
4064 2016-01-17 Alan Modra <amodra@gmail.com>
4066 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4068 2016-01-14 Nick Clifton <nickc@redhat.com>
4070 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4071 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4072 * testsuite/gas/rl78/rl78.exp: Run the new test.
4074 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4076 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4077 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4079 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4081 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4083 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4085 * config/tc-h8300.c (get_operand): Remove spurious condition in
4086 test for closing parenthesis.
4088 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4090 * config/tc-arm.c (arm_ext_v8_2): New.
4092 * testsuite/gas/arm/armv8_2-a.d: New.
4093 * testsuite/gas/arm/armv8_2-a.s: New.
4095 2016-01-12 Alan Modra <amodra@gmail.com>
4097 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4099 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4101 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4102 xvcmpnesp, xvcmpnesp.>: Delete tests.
4103 * testsuite/gas/ppc/power9.s: Likewise.
4104 * testsuite/gas/ppc/vsx3.d: Likewise.
4105 * testsuite/gas/ppc/vsx3.s: Likewise.
4107 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4110 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4111 * testsuite/gas/m68k/p13050-1.s: New file.
4112 * testsuite/gas/m68k/p13050-2.d: New file.
4113 * testsuite/gas/m68k/p13050-2.s: New file.
4115 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4117 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4118 * testsuite/gas/arc/add.d: Likewise.
4119 * testsuite/gas/arc/and.d: Likewise.
4120 * testsuite/gas/arc/asl.d: Likewise.
4121 * testsuite/gas/arc/asr.d: Likewise.
4122 * testsuite/gas/arc/bic.d: Likewise.
4123 * testsuite/gas/arc/extb.d: Likewise.
4124 * testsuite/gas/arc/extw.d: Likewise.
4125 * testsuite/gas/arc/j.d: Likewise.
4126 * testsuite/gas/arc/jl.d: Likewise.
4127 * testsuite/gas/arc/ld2.d: Likewise.
4128 * testsuite/gas/arc/lsr.d: Likewise.
4129 * testsuite/gas/arc/mov.d: Likewise.
4130 * testsuite/gas/arc/or.d: Likewise.
4131 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4132 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4133 * testsuite/gas/arc/pic-relocs.d: Likewise.
4134 * testsuite/gas/arc/plt-relocs.d: Likewise.
4135 * testsuite/gas/arc/rlc.d: Likewise.
4136 * testsuite/gas/arc/ror.d: Likewise.
4137 * testsuite/gas/arc/rrc.d: Likewise.
4138 * testsuite/gas/arc/sbc.d: Likewise.
4139 * testsuite/gas/arc/sda-relocs.d: Likewise.
4140 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4141 * testsuite/gas/arc/sexb.d: Likewise.
4142 * testsuite/gas/arc/sexw.d: Likewise.
4143 * testsuite/gas/arc/st.d: Likewise.
4144 * testsuite/gas/arc/sub.d: Likewise.
4145 * testsuite/gas/arc/tls-relocs.d: Likewise.
4146 * testsuite/gas/arc/xor.d: Likewise.
4148 2016-01-01 Alan Modra <amodra@gmail.com>
4150 Update year range in copyright notice of all files.
4152 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4154 Copyright (C) 2016 Free Software Foundation, Inc.
4156 Copying and distribution of this file, with or without modification,
4157 are permitted in any medium without royalty provided the copyright
4158 notice and this notice are preserved.
4164 version-control: never