1 2016-07-27 Graham Markall <graham.markall@embecosm.com>
3 * config/tc-arc.c: Add new global arc_addrtype_hash.
4 Define O_colon and O_addrtype.
5 (debug_exp): Add O_colon and O_addrtype.
6 (tokenize_arguments): Handle colon and address type
8 (declare_addrtype): New function.
9 (md_begin): Initialise arc_addrtype_hash.
10 (arc_parse_name): Add lookup of address types.
11 (assemble_insn): Handle colons and address types by
13 * testsuite/gas/arc/nps400-8.s: New file.
14 * testsuite/gas/arc/nps400-8.d: New file.
15 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
16 * testsuite/gas/arc/nps400-8.d: Add expected PMU
19 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
21 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
22 (RELAX_MICROMIPS_INSN32): New macro.
23 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
24 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
25 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
26 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
27 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
29 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
31 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
33 (md_convert_frag): Likewise.
34 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
36 * testsuite/gas/mips/micromips-branch-relax.l: Update line
38 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
39 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
40 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
42 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
44 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
46 * testsuite/gas/mips/mips.exp: Run the new tests.
48 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
50 * configure: Regenerated.
52 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
54 * testsuite/gas/arc/dsp.d: New file.
55 * testsuite/gas/arc/dsp.s: Likewise.
56 * testsuite/gas/arc/fpu.d: Likewise.
57 * testsuite/gas/arc/fpu.s: Likewise.
58 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
59 * testsuite/gas/arc/ext3op.d: Likewise.
60 * testsuite/gas/arc/tdpfp.d: Likewise.
61 * testsuite/gas/arc/tfpuda.d: Likewise.
63 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
65 * config/tc-mips.c (mips_force_relocation): Remove
66 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
68 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
70 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
71 Adjust comments for BAL to JALX linker conversion.
72 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
73 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
75 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
76 * testsuite/gas/mips/branch-local-4.d: New test.
77 * testsuite/gas/mips/branch-local-n32-4.d: New test.
78 * testsuite/gas/mips/branch-local-n64-4.d: New test.
79 * testsuite/gas/mips/branch-addend.d: New test.
80 * testsuite/gas/mips/branch-addend-n32.d: New test.
81 * testsuite/gas/mips/branch-addend-n64.d: New test.
82 * testsuite/gas/mips/branch-local-4.s: New test source.
83 * testsuite/gas/mips/branch-addend.s: New test source.
84 * testsuite/gas/mips/mips.exp: Run the new tests.
86 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
88 * config/tc-mips.c (mips_force_relocation): Also retain branch
89 relocations against MIPS16 and microMIPS symbols.
90 (fix_bad_cross_mode_jump_p): New function.
91 (fix_bad_same_mode_jalx_p): Likewise.
92 (fix_bad_misaligned_jump_p): Likewise.
93 (fix_bad_cross_mode_branch_p): Likewise.
94 (fix_bad_misaligned_branch_p): Likewise.
95 (fix_validate_branch): Likewise.
96 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
97 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
98 etc. Verify the ISA mode and alignment of the jump target.
99 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
100 with a call to `fix_validate_branch'.
101 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
102 <BFD_RELOC_16_PCREL_S2>: Likewise.
103 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
104 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
105 Verify the ISA mode and alignment of the branch target.
106 (md_convert_frag): Verify the ISA mode and alignment of resolved
107 MIPS16 branch targets.
108 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
109 branch targets with `.insn'.
110 * testsuite/gas/mips/branch-misc-5.s: Likewise.
111 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
113 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
114 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
115 non-instruction branch target with `.insn'.
116 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
117 with external symbols.
118 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
119 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
120 * testsuite/gas/mips/micromips-trap.d: Likewise.
121 * testsuite/gas/mips/micromips.d: Likewise.
122 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
123 targets with `.insn'.
124 * testsuite/gas/mips/mips16.d: Update accordingly.
125 * testsuite/gas/mips/mips16-64.d: Likewise.
126 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
127 branch target with `.insn'.
128 * testsuite/gas/mips/relax-swap3.s: Likewise.
129 * testsuite/gas/mips/branch-local-2.l: New list test.
130 * testsuite/gas/mips/branch-local-3.l: New list test.
131 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
132 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
133 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
134 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
135 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
136 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
137 * testsuite/gas/mips/unaligned-jump-3.d: New test.
138 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
139 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
140 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
141 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
143 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
145 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
146 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
147 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
148 * testsuite/gas/mips/unaligned-branch-3.d: New test.
149 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
150 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
151 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
152 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
153 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
154 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
155 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
156 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
157 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
158 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
160 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
162 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
163 * testsuite/gas/mips/branch-local-2.s: New test source.
164 * testsuite/gas/mips/branch-local-3.s: New test source.
165 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
166 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
167 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
168 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
169 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
170 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
171 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
172 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
173 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
175 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
177 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
178 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
179 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
180 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
181 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
182 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
183 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
185 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
187 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
189 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
191 * testsuite/gas/mips/mips.exp: Run the new tests.
193 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
195 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
197 (do_pseudo_b): Adjust.
198 (do_pseudo_bal): Likewise.
199 (do_pseudo_bge): Likewise.
200 (do_pseudo_bges): Likewise.
201 (do_pseudo_bgt): Likewise.
202 (do_pseudo_bgts): Likewise.
203 (do_pseudo_ble): Likewise.
204 (do_pseudo_bles): Likewise.
205 (do_pseudo_blt): Likewise.
206 (do_pseudo_blts): Likewise.
207 (do_pseudo_br): Likewise.
208 (do_pseudo_bral): Likewise.
209 (do_pseudo_la): Likewise.
210 (do_pseudo_li): Likewise.
211 (do_pseudo_ls_bhw): Likewise.
212 (do_pseudo_ls_bhwp): Likewise.
213 (do_pseudo_ls_bhwpc): Likewise.
214 (do_pseudo_ls_bhwi): Likewise.
215 (do_pseudo_move): Likewise.
216 (do_pseudo_neg): Likewise.
217 (do_pseudo_not): Likewise.
218 (do_pseudo_pushpopm): Likewise.
219 (do_pseudo_pushpop): Likewise.
220 (do_pseudo_v3push): Likewise.
221 (do_pseudo_v3pop): Likewise.
222 (do_pseudo_pushpop_stack): Likewise.
223 (do_pseudo_push_bhwd): Likewise.
224 (do_pseudo_pop_bhwd): Likewise.
225 (do_pseudo_pusha): Likewise.
226 (do_pseudo_pushi): Likewise.
228 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
230 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
231 bfd_reloc_code_real_type.
233 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
235 * config/tc-sparc.c (pop_table): Remove sentinel.
236 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
239 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
241 * config/tc-z8k.c (newfix): Make type of type argument
242 bfd_reloc_code_real_type.
243 (apply_fix): Likewise.
245 2016-07-16 Alan Modra <amodra@gmail.com>
247 * config/tc-epiphany.c: Don't include libbfd.h.
248 * config/tc-frv.c: Likewise.
249 * config/tc-ip2k.c: Likewise.
250 * config/tc-iq2000.c: Likewise.
251 * config/tc-m32c.c: Likewise.
252 * config/tc-mep.c: Likewise.
253 * config/tc-mt.c: Likewise.
254 * config/tc-nios2.c: Likewise.
256 2016-07-16 Alan Modra <amodra@gmail.com>
258 * config/bfin-parse.y: Don't include libbfd.h.
259 * config/tc-bfin.c: Likewise.
260 * config/tc-rl78.c: Likewise.
261 * config/tc-rx.c: Likewise.
262 * config/tc-metag.c: Likewise.
263 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
264 * Makefile.am: Update dependencies.
265 * Makefile.in: Regenerate.
267 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
269 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
270 (mips_force_relocation_abs): New prototype.
271 * config/tc-mips.c (mips_force_relocation_abs): New function.
272 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
273 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
274 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
275 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
276 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
278 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
280 * testsuite/gas/mips/branch-absolute-addend.d: New test.
281 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
282 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
284 * testsuite/gas/mips/mips.exp: Run the new tests.
286 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
288 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
289 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
290 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
292 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
293 in `bar', export `foo'.
294 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
296 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
297 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
298 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
300 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
303 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
305 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
306 * testsuite/gas/mips/branch-absolute.d: New test.
307 * testsuite/gas/mips/branch-absolute-n32.d: New test.
308 * testsuite/gas/mips/branch-absolute-n64.d: New test.
309 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
310 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
311 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
312 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
313 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
315 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
317 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
318 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
319 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
320 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
322 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
324 * testsuite/gas/mips/branch-absolute.s: New test source.
325 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
326 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
328 * testsuite/gas/mips/micromips-branch-absolute.s: New test
330 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
332 * testsuite/gas/mips/mips.exp: Run the new tests.
334 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
336 * testsuite/gas/mips/nal-1.d: New test.
337 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
338 * testsuite/gas/mips/nal-2.d: New test.
339 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
340 * testsuite/gas/mips/nal.s: New test source.
341 * testsuite/gas/mips/mips.exp: Run the new tests.
343 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
345 * testsuite/gas/sparc/ldtxa.s: New file.
346 * testsuite/gas/sparc/ldtxa.d: Likewise.
347 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
349 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
351 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
352 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
353 as it is no longer needed.
355 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
357 * config/tc-mips.c (append_insn): Remove extraneous
360 2016-07-04 Jan Beulich <jbeulich@suse.com>
362 * config/tc-i386.c (check_qword_reg): Correct register kind
364 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
365 16-bit register cases.
366 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
369 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
371 * testsuite/gas/mips/ecoff@ld.d: Remove test.
372 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
373 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
374 * testsuite/gas/mips/ecoff@sd.d: Remove test.
375 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
376 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
378 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
379 * testsuite/gas/mips/bge.d: Likewise.
380 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
381 * testsuite/gas/mips/bgeu.d: Likewise.
382 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
383 * testsuite/gas/mips/blt.d: Likewise.
384 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
385 * testsuite/gas/mips/bltu.d: Likewise.
386 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
387 * testsuite/gas/mips/branch-likely.d: Likewise.
388 * testsuite/gas/mips/la.d: Likewise.
389 * testsuite/gas/mips/lb.d: Likewise.
390 * testsuite/gas/mips/lifloat.d: Likewise.
391 * testsuite/gas/mips/sb.d: Likewise.
392 * testsuite/gas/mips/uld.d: Likewise.
393 * testsuite/gas/mips/ulh.d: Likewise.
394 * testsuite/gas/mips/ulw.d: Likewise.
395 * testsuite/gas/mips/usd.d: Likewise.
396 * testsuite/gas/mips/ush.d: Likewise.
397 * testsuite/gas/mips/usw.d: Likewise.
399 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
401 * testsuite/gas/mips/branch-misc-2.s: Move non
402 locally-defined-global symbol tests...
403 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
404 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
405 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
406 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
407 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
408 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
409 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
410 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
411 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
412 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
413 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
414 * testsuite/gas/mips/branch-misc-5.d: New test.
415 * testsuite/gas/mips/branch-misc-5pic.d: New test.
416 * testsuite/gas/mips/branch-misc-5-64.d: New test.
417 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
418 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
419 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
420 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
421 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
422 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
423 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
424 * testsuite/gas/mips/mips.exp: Run the new tests.
426 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
428 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
430 * testsuite/gas/mips/beq.d: Update accordingly.
431 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
432 * testsuite/gas/mips/micromips@beq.d: Likewise.
434 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
436 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
437 tests to NewABI targets.
439 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
441 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
444 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
446 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
448 (aarch64_features): Initialize require fields.
449 (aarch64_parse_features): Handle dependencies.
450 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
451 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
452 * testsuite/gas/aarch64/illegal-nofp16.s: New.
453 * testsuite/gas/aarch64/illegal-nofp16.l: New.
454 * testsuite/gas/aarch64/illegal-nofp16.d: New.
456 2016-07-01 Nick Clifton <nickc@redhat.com>
458 * macro.c (macro_expand_body): Use a buffer big enough to hold an
459 extremely large integer.
461 2016-07-01 Jan Beulich <jbeulich@suse.com>
463 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
465 2016-07-01 Tristan Gingold <gingold@adacore.com>
467 * NEWS: Add marker for 2.27.
469 2016-07-01 Jan Beulich <jbeulich@suse.com>
471 * tc-i386.c (i386_index_check): Add special checks for bndmk,
473 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
474 as well as scaling by other than 1 tests.
475 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
477 2016-07-01 Jan Beulich <jbeulich@suse.com>
479 * tc-i386.c (md_assemble): Alter address size checking for MPX
481 * testsuite/gas/i386/mpx-inval-2.s: New.
482 * testsuite/gas/i386/mpx-inval-2.l: New.
483 * testsuite/gas/i386/i386.exp: Run new test.
485 2016-07-01 Jan Beulich <jbeulich@suse.com>
488 * config/tc-i386.c (match_template): Add char parameter,
489 consumed in Intel mode for an extra suffix check.
490 (md_assemble): New local variable mnem_suffix.
491 * testsuite/gas/i386/suffix-bad.s: New.
492 * testsuite/gas/i386/suffix-bad.l: New.
493 * testsuite/gas/i386/i386.exp: Run new test (twice).
495 2016-07-01 Jan Beulich <jbeulich@suse.com>
497 * testsuite/gas/i386/movz.s: New.
498 * testsuite/gas/i386/movz32.d: New.
499 * testsuite/gas/i386/movz64.d: New.
500 * testsuite/gas/i386/i386.exp: Run new tests.
502 2016-07-01 Jan Beulich <jbeulich@suse.com>
504 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
505 (md_assemble): Free first memory operand string.
506 (i386_index_check): Use repprefixok to distingush xlat from
507 other (real) string ops.
508 (maybe_adjust_templates): New.
509 (i386_att_operand). Call it. Store first memory operand string.
510 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
511 * testsuite/gas/i386/intel-movs.s: New.
512 * testsuite/gas/i386/intel-movs32.d: New.
513 * testsuite/gas/i386/intel-movs64.d: New.
514 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
515 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
517 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
519 * config/tc-mips.c (get_append_method): Fix a comment typo.
521 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
522 Maciej W. Rozycki <macro@imgtec.com>
524 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
525 case MIPS16 handling.
526 * testsuite/gas/mips/branch-swap-3.d: New test.
527 * testsuite/gas/mips/branch-swap-4.d: New test.
528 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
529 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
530 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
531 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
532 * testsuite/gas/mips/branch-swap-3.s: New test source.
533 * testsuite/gas/mips/mips.exp: Run the new tests.
535 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
537 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
540 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
543 * write.c (subsegs_finish_section): Force no section padding to
544 alignment on failed assembly, always set last frag's alignment
546 * testsuite/gas/all/pr20312.l: New list test.
547 * testsuite/gas/all/pr20312.s: New test source.
548 * testsuite/gas/all/gas.exp: Run the new test
550 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
552 * config.in (TARGET_WITH_CPU): Undefine.
553 * configure.ac: Add --with-cpu support, and define in config.h.
554 * configure: Regenerate.
555 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
556 * NEWS: Mention new configure option.
558 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
560 * testsuite/gas/arm/armv8_2+rdma.d: New.
562 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
564 * NEWS: Mention --enable-compressed-debug-sections=gas is the
565 default for Linux/x86 targets.
566 * configure.tgt (ac_default_compressed_debug_sections): Default
567 to yes for Linux/x86 targets.
569 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
571 * write.c: Remove "libbfd.h" inclusion.
573 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
575 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
578 2016-06-28 Alan Modra <amodra@gmail.com>
581 * testsuite/gas/elf/section11.s: Don't start directives in first column.
583 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
585 * testsuite/gas/aarch64/diagnostic.s,
586 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
588 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
590 * config/tc-mips.c (mips16_reloc_p): Handle
591 BFD_RELOC_MIPS16_16_PCREL_S1.
592 (b_reloc_p): Likewise.
593 (limited_pcrel_reloc_p): Likewise.
594 (md_pcrel_from): Likewise.
595 (md_apply_fix): Likewise.
596 (tc_gen_reloc): Likewise.
597 (md_convert_frag): Likewise.
598 (mips_fix_adjustable): Update comment.
599 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
600 output, add dump patterns.
601 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
602 output, add dump patterns.
603 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
604 output, add dump patterns.
605 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
606 output, add dump patterns.
607 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
608 output, add dump patterns.
609 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
610 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
611 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
612 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
613 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
614 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
615 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
616 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
617 * testsuite/gas/mips/branch-weak-6.d: New test.
618 * testsuite/gas/mips/branch-weak-7.d: New test.
619 * testsuite/gas/mips/mips.exp: Run the new tests.
621 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
623 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
624 cfi_add_CFA_def_cfa to generate default CFA with offset
625 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
627 2016-06-27 Nick Clifton <nickc@redhat.com>
630 * as.h (do_not_pad_sections_to_alignment): New global variable.
631 * as.c (show_usage): Add --no-pad-sections.
632 (parse_args): Likewise.
633 * write.c (size_seg): Skip padding the end of the section if
634 requested from the command line.
635 (SUB_SEGMENT_ALIGN): Likewise.
636 * doc/as.texinfo: Document the new option.
637 * NEWS: Mention the new feature.
638 * testsuite/gas/elf/section11.s: New test.
639 * testsuite/gas/elf/section11.d: New test driver.
640 * testsuite/gas/elf/elf.exp: Run the new test.
642 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
644 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
645 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
647 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
649 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
651 (map_suffix_reloc_to_operator): Likewise.
652 (map_operator_to_reloc): Likewise.
654 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
656 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
657 element in relax_table.
659 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
661 * config/tc-aarch64.c: Make the type of reg_entry::type
664 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
666 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
667 (md_parse_option): Adjust.
668 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
669 with iteration from 0 to ARRAY_SIZE.
670 * config/tc-mcore.c (md_begin): Likewise.
671 * config/tc-visium.c (visium_parse_arch): Likewise.
673 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
675 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
676 and simplify accordingly.
677 (tic54x_include): Adjust.
678 (tic54x_mlib): Likewise.
680 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
682 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
684 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
686 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
687 unchanged with relaxed MIPS16 instructions.
688 (mips16_extended_frag): Adjust accordingly. Return 1 right
689 away if a relocation will be required for the symbol requested.
690 Remove dead first relaxation pass code.
691 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
692 (md_convert_frag): Adjust symbol value calculation. Raise an
693 error if a relocation is required for the symbol requested.
694 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
696 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
697 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
698 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
699 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
700 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
701 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
702 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
703 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
704 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
705 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
706 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
707 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
708 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
709 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
710 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
711 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
712 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
713 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
714 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
715 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
716 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
717 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
718 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
719 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
720 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
721 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
722 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
723 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
724 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
725 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
726 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
727 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
728 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
729 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
730 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
731 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
732 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
733 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
734 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
735 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
736 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
737 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
738 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
739 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
740 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
741 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
742 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
743 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
744 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
745 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
746 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
747 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
748 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
749 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
750 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
751 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
752 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
753 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
754 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
755 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
756 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
757 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
758 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
759 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
760 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
761 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
762 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
763 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
764 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
765 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
766 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
767 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
768 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
769 * testsuite/gas/mips/mips.exp: Run the new tests.
771 2016-06-24 Alan Modra <amodra@gmail.com>
773 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
775 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
777 * config/tc-mips.c (b_reloc_p): New function.
778 (mips_fix_adjustable): Also keep the original microMIPS symbol
779 referred from branch relocations.
780 * testsuite/gas/mips/branch-local-1.d: New test.
781 * testsuite/gas/mips/branch-local-n32-1.d: New test.
782 * testsuite/gas/mips/branch-local-n64-1.d: New test.
783 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
785 * testsuite/gas/mips/branch-local-1.s: New test source.
786 * testsuite/gas/mips/mips.exp: Run the new cases.
788 2016-06-23 Graham Markall <graham.markall@embecosm.com>
790 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
791 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
792 options. Correct erroneous enabling of SPFP instructions when
795 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
797 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
798 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
799 setbool, xor3>: New tests.
800 * testsuite/gas/ppc/power9.s: Likewise.
802 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
804 * config/tc-xtensa.c: Include elf/xtensa.h.
806 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
808 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
809 <BFD_RELOC_LO16_PCREL>: New switch cases.
810 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
811 Move switch cases along `BFD_RELOC_MIPS_JMP'.
812 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
813 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
815 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
816 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
817 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
818 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
819 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
820 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
821 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
822 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
823 * testsuite/gas/mips/mips.exp: Run the new tests.
825 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
827 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
828 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
829 via `fixP->fx_addsy'.
831 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
833 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
834 Calculate relocation from the containing aligned doubleword.
835 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
836 addend from the containing aligned doubleword.
838 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
840 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
841 rather than `mips_opts' for the R6 ISA check.
842 (mips_fix_adjustable): Likewise.
843 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
844 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
845 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
846 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
847 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
848 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
849 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
850 * testsuite/gas/mips/mips.exp: Run the new tests.
852 2016-06-21 Graham Markall <graham.markall@embecosm.com>
854 * config/tc-arc.c (check_cpu_feature, md_parse_option):
855 Add nps400 option and feature. Add check for nps400
856 feature. Refactor existing checks to check subclass before
858 (md_show_usage): Document flags for NPS-400 and add some other
860 (cpu_type): Remove nps400 CPU type entry
861 (check_zol): Remove bfd_mach_arc_nps400 case.
862 (md_show_usage): Add help on -mcpu=nps400.
863 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
865 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
866 -fpuda flags. Document -mcpu=nps400.
867 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
868 expected flags to match ARC700 instead of NPS400.
869 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
870 * testsuite/gas/arc/nps-400-2.d: Likewise.
871 * testsuite/gas/arc/nps-400-3.d: Likewise.
872 * testsuite/gas/arc/nps-400-4.d: Likewise.
873 * testsuite/gas/arc/nps-400-5.d: Likewise.
874 * testsuite/gas/arc/nps-400-6.d: Likewise.
875 * testsuite/gas/arc/nps-400-7.d: Likewise.
876 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
877 avoid clash with cbba instruction.
878 * testsuite/gas/arc/textinsn2op01.d: Likewise.
879 * testsuite/gas/arc/textinsn3op.d: Likewise.
880 * testsuite/gas/arc/textinsn3op.s: Likewise.
881 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
882 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
884 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
886 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
887 * testsuite/gas/mips/r6-64-n64.d: Likewise.
889 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
891 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
894 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
896 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
898 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
900 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
901 %hmcddfr and %hva_mask_nz.
902 (sparc_ip): New handling of asr/privileged/hyperprivileged
903 registers, adapted to the new form of the sparc opcodes table.
904 * testsuite/gas/sparc/rdasr.s: New file.
905 * testsuite/gas/sparc/rdasr.d: Likewise.
906 * testsuite/gas/sparc/wrasr.s: Likewise.
907 * testsuite/gas/sparc/wrasr.d: Likewise.
908 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
910 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
911 registers require it.
912 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
913 registers and write instruction modalities.
914 * testsuite/gas/sparc/wrpr.d: Likewise.
915 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
917 * testsuite/gas/sparc/rdhpr.d: Likewise.
918 * testsuite/gas/sparc/wrhpr.s: Likewise.
919 * testsuite/gas/sparc/wrhpr.d: Likewise.
921 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
923 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
924 architectures to use the right opcode architecture.
925 (sparc_md_end): Handle v9{c,d,e,v,m}.
926 (sparc_ip): Fix some comments.
927 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
928 instruction, which is v9d.
929 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
930 instruction from the test, as %mwait is not readable.
931 * testsuite/gas/sparc/mwait.d: Likewise.
932 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
933 mismatch architecture errors.
934 * testsuite/gas/sparc/mism-2.s: New file.
936 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
938 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
939 empty string to mark the end of the array.
940 (hpriv_reg_table): Likewise.
941 (v9a_asr_table): Likewise.
942 (cmp_reg_entry): Handle entries with NULL names.
944 (F_POP_PCREL): Likewise.
945 (F_POP_TLS_CALL): Likewise.
946 (F_POP_POSTFIX): Likewise.
947 (struct pop_entry): New type.
948 (pop_table): New variable.
949 (enum pop_entry_type): New type.
950 (struct perc_entry): Likewise.
951 (NUM_PERC_ENTRIES): Define.
952 (perc_table): New variable.
953 (cmp_perc_entry): New function.
954 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
956 (sparc_ip): Handle entries with NULL names in priv_reg_table,
957 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
960 2016-06-15 Nick Clifton <nickc@redhat.com>
962 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
964 * config/tc-mcore.c (md_assemble): Likewise.
965 * config/tc-mn10200.c (md_assemble): Likewise.
966 * config/tc-moxie.c (md_assemble): Likewise.
967 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
968 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
969 exception targets. Add alpha, hppa, microblaze and rl78 to list
971 (forward): Add microblaze to list of exceptions.
972 (fwdexp): Add alpha to list of exceptions.
973 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
974 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
975 (do_930509a): Alpha sort list of exception targets. Add h8300 and
976 mn10200 to list of exceptions.
977 (align2): Expect to fail for nds32.
978 (cond): Add alpha and rl78 to list of exceptions.
979 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
980 * testsuite/gas/all/string.d: Skip for tic4x.
981 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
982 target does not support ELF.
983 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
984 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
985 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
986 tests for sh-pe and sh-rtemscoff targets.
987 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
989 (type): Run the noifunc version for alpha-freebsd and visium.
990 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
991 mn10200 or moxie targets.
992 * testsuite/gas/ft32/insn.d: Update expected disassembly.
993 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
995 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
996 mcore and rx targets.
997 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
999 (purge): Expect to fail on the ns32k and vax.
1000 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1001 * testsuite/gas/nds32/ls.d: Likewise.
1002 * testsuite/gas/nds32/sys-reg.d: Likewise.
1003 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1004 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1005 * testsuite/gas/pe/section-align-3.d: Likewise.
1006 * testsuite/gas/pe/section-exclude.d: Likewise.
1007 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1009 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1010 for variations in whitespace.
1011 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1013 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1014 Installs a 32-bit value without generating warnings on 64-bit
1016 Use the new macro to replace the .word directives.
1018 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1020 * testsuite/gas/arc/add_s.d: New file.
1021 * testsuite/gas/arc/add_s.s: New file.
1023 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1025 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1026 * testsuite/gas/arc/nps400-6.d: Likewise.
1028 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1030 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1032 * testsuite/gas/arc/nps400-6.d: Likewise.
1034 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1036 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1037 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1038 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1039 * testsuite/gas/arc/nps400-6.d: Likewise.
1041 2016-06-14 Nick Clifton <nickc@redhat.com>
1043 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1046 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1048 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1049 JALR relocations on R6.
1050 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1051 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1052 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1053 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1054 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1055 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1057 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1058 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1060 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1061 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1063 * testsuite/gas/mips/mips.exp: Run the new tests.
1065 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1067 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1068 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1071 2016-06-13 Nick Clifton <nickc@redhat.com>
1073 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1074 that are not supported.
1076 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1078 * config/tc-cr16.c (check_range): Likewise.
1079 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1081 2016-06-08 Renlin Li <renlin.li@arm.com>
1083 * config/tc-aarch64.c (print_operands): Substitute size.
1084 (output_operand_error_record): Likewise.
1086 2016-06-07 Alan Modra <amodra@gmail.com>
1088 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1089 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1090 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1091 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1092 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1093 add vle_opcodes twice.
1094 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1096 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1098 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1099 (arm_ext_ras): Renamed from arm_ext_v8_2.
1100 (insns): Update for arm_ext_v8_2 renaming.
1101 (arm_extensions): Add "ras".
1102 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1103 * testsuite/gas/arm/armv8-a+ras.d: New.
1104 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1107 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1109 * itbl-parse.y (yyerror): Use modern argument declaration style.
1111 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1113 * config/tc-sh.c (parse_reg): Change type of mode argument to
1115 (get_operand): Adjust.
1116 (insert): Change type of how to bfd_reloc_code_real_type.
1117 (insert4): Likewise.
1118 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1119 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1121 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1123 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1126 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1129 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1130 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1131 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1132 * gas/testsuite/gas/ppc/power8.s: Likewise.
1133 * gas/testsuite/gas/ppc/power8.d: Likewise.
1134 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1136 * gas/testsuite/gas/ppc/power4.d: Likewise.
1138 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1141 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1142 * testsuite/gas/i386/x86-64-branch.d: Updated.
1143 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1144 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1145 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1147 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1149 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1150 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1152 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1154 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1155 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1157 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1159 * configure.tgt: Replace -uclibc with *.
1161 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1163 * config/tc-arc.c (parse_opcode_flags): New function.
1164 (find_opcode_match): Move flag parsing code out to new function.
1165 Ignore operands marked IGNORE.
1166 (build_fake_opcode_hash_entry): New function.
1167 (find_special_case_long_opcode): New function.
1168 (find_special_case): Lookup long opcodes.
1169 * testsuite/gas/arc/nps400-7.d: New file.
1170 * testsuite/gas/arc/nps400-7.s: New file.
1172 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1174 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1176 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1178 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1179 sentinal with iteration to array size.
1181 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1183 * config/xtensa-relax.h: Move typedefs of enums to the enums
1186 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1188 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1191 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1193 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1194 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1195 * testsuite/gas/arc/nps-400-1.d: Likewise.
1197 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1200 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1201 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1202 noavx512ifma and noavx512vbmi.
1203 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1204 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1206 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1207 * testsuite/gas/i386/noavx512-1.l: New file.
1208 * testsuite/gas/i386/noavx512-1.s: Likewise.
1209 * testsuite/gas/i386/noavx512-2.l: Likewise.
1210 * testsuite/gas/i386/noavx512-2.s: Likewise.
1212 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1215 * config/tc-i386.c (cpu_arch): Add 687.
1216 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1217 nosse4.1, nosse4.2, nosse4 and noavx2.
1218 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1219 register. Check cpuregxmm instead of cpusse for XMM register.
1220 Check cpuregymm instead of cpuavx for YMM register. Check
1221 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1222 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1223 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1224 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1225 * testsuite/gas/i386/arch-10.d (as): Likewise.
1226 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1227 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1228 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1230 * testsuite/gas/i386/no87-3.l: New file.
1231 * testsuite/gas/i386/no87-3.s: Likewise.
1232 * testsuite/gas/i386/noavx-3.l: Likewise.
1233 * testsuite/gas/i386/noavx-3.s: Likewise.
1234 * testsuite/gas/i386/noavx-4.d: Likewise.
1235 * testsuite/gas/i386/noavx-4.s: Likewise.
1236 * testsuite/gas/i386/nosse-4.l: Likewise.
1237 * testsuite/gas/i386/nosse-4.s: Likewise.
1238 * testsuite/gas/i386/nosse-5.d: Likewise.
1239 * testsuite/gas/i386/nosse-5.s: Likewise.
1241 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1244 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1246 (match_template): Check Intel64/AMD64 ISA.
1248 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1251 * config/tc-i386.c (intel64): New.
1252 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1253 (md_parse_option): Set intel64 instead of cpuamd64 and
1256 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1258 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1261 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1263 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1264 * testsuite/gas/ppc/altivec3.s: Likewise.
1265 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1266 * testsuite/gas/ppc/power9.s: Likewise.
1268 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1270 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1271 * testsuite/gas/i386/noavx-1.l: Likewise.
1272 * testsuite/gas/i386/nommx-1.l: Likewise.
1273 * testsuite/gas/i386/nosse-1.l: Likewise.
1274 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1275 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1276 * testsuite/gas/i386/noavx-1.s: Likewise.
1277 * testsuite/gas/i386/nommx-1.s: Likewise.
1278 * testsuite/gas/i386/nosse-1.s: Likewise.
1279 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1281 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1283 * config/tc-metag.c (metag_handle_align): Make the type of noop
1286 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1288 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1289 bfd_reloc_code_real_type.
1291 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1294 * config/tc-i386.c (cpu_flags_match): Require another match
1296 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1297 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1298 * testsuite/gas/i386/avx512vl-1.l: New file.
1299 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1300 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1301 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1302 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1303 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1304 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1305 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1307 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1310 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1311 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1312 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1314 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1316 * config/tc-i386.c (arch_entry): Remove negated.
1317 (noarch_entry): New struct.
1318 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1320 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1321 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1323 (output_message): New function.
1324 (show_arch): Use it. Handle cpu_noarch.
1325 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1326 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1327 * testsuite/gas/i386/noavx-1.l: New file.
1328 * testsuite/gas/i386/noavx-1.s: Likewise.
1329 * testsuite/gas/i386/noavx-2.s: Likewise.
1330 * testsuite/gas/i386/noavx-2.l: Likewise.
1331 * testsuite/gas/i386/nommx-1.s: Likewise.
1332 * testsuite/gas/i386/nommx-1.l: Likewise.
1333 * testsuite/gas/i386/nommx-2.s: Likewise.
1334 * testsuite/gas/i386/nommx-2.l: Likewise.
1335 * testsuite/gas/i386/nommx-3.s: Likewise.
1336 * testsuite/gas/i386/nommx-3.l: Likewise.
1337 * testsuite/gas/i386/nosse-1.s: Likewise.
1338 * testsuite/gas/i386/nosse-1.l: Likewise.
1339 * testsuite/gas/i386/nosse-2.s: Likewise.
1340 * testsuite/gas/i386/nosse-2.l: Likewise.
1341 * testsuite/gas/i386/nosse-3.s: Likewise.
1342 * testsuite/gas/i386/nosse-3.l: Likewise.
1344 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1347 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1348 instruction if supported by the currently selected fpu variant.
1349 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1350 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1352 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1354 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1355 jump relocations against MIPS16 or microMIPS symbols on RELA
1357 * testsuite/gas/mips/jalx-local.d: New test.
1358 * testsuite/gas/mips/jalx-local-n32.d: New test.
1359 * testsuite/gas/mips/jalx-local-n64.d: New test.
1360 * testsuite/gas/mips/jalx-local.s: New test source.
1361 * testsuite/gas/mips/mips.exp: Run the new tests.
1363 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1365 * config/tc-mips.c (md_apply_fix)
1366 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1369 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1371 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1372 operator to operatorT.
1373 (map_suffix_reloc_to_operator): Change return type to operatorT.
1375 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1377 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1379 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1381 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1382 handler_charp to const char *.
1384 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1386 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1387 (ft32_target_format): Likewise.
1388 (TARGET_FORMAT): Adjust.
1390 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1392 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1393 (ia64_frob_label): Likewise.
1395 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1397 * config/tc-cr16.c (check_range): Make type of retval op_err.
1398 * config/tc-crx.c: Likewise.
1400 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1402 * config/tc-arc.c (md_begin): Add XY registers.
1403 (cpu_types): Code density is default off for ARC EM.
1405 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1407 * config/tc-arc.c (attributes_t): Renamed attribute class to
1409 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1411 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1413 * configuse.tgt: Add entry for arm-phoenix.
1415 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1417 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1419 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1421 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1423 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1425 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1426 (md_begin): Likewise.
1427 (encode_condition): Likewise.
1428 (encode_cc3): Likewise.
1429 (encode_cc2): Likewise.
1430 (encode_operand): Likewise.
1431 (tic54x_undefined_symbol): Likewise.
1433 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1435 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1437 * doc/c-mips.texi: Document p6600 -march option.
1439 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1442 * config/tc-i386.c (md_apply_fix): Preserve addend for
1443 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1444 * testsuite/gas/i386/addend.d: New file.
1445 * testsuite/gas/i386/addend.s: Likewise.
1446 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1447 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1448 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1449 * testsuite/gas/i386/reloc32.d: Updated.
1451 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1453 * config/tc-mips.c (append_insn): Correct the encoding of a
1454 constant argument for microMIPS JALX.
1455 (tc_gen_reloc): Correct the encoding of an in-place addend for
1457 * testsuite/gas/mips/jalx-addend.d: New test.
1458 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1459 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1460 * testsuite/gas/mips/jalx-imm.d: New test.
1461 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1462 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1463 * testsuite/gas/mips/jalx-addend.s: New test source.
1464 * testsuite/gas/mips/jalx-imm.s: New test source.
1465 * testsuite/gas/mips/mips.exp: Run the new tests.
1467 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1469 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1472 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1474 * config/tc-arc.c (find_opcode_match): Remove casting away of
1476 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1478 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1480 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1482 (md_convert_frag): Likewise.
1484 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1486 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1487 cached opcode to NULL when we reach a non-matching opcode.
1488 * testsuite/gas/arc/asm-errors-2.d: New file.
1489 * testsuite/gas/arc/asm-errors-2.err: New file.
1490 * testsuite/gas/arc/asm-errors-2.s: New file.
1492 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1494 * config/tc-arc.c (tokenize_arguments): Add checks for array
1496 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1497 * testsuite/gas/arc/asm-errors.err: Update expected results.
1499 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1501 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1502 int to enum rx_cpu_types.
1504 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1506 * config/tc-dlx.c (struct machine_it): change the type of a field from
1507 int to bfd_reloc_code_real_type.
1508 * config/tc-tic4x.c: Likewise.
1510 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1512 * config/tc-v850.c (v850_target_arch): change type to enum
1514 * config/tc-v850.h (v850_target_arch): Likewise.
1516 2016-05-18 Alan Modra <amodra@gmail.com>
1518 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1519 allowed negative range.
1520 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1521 * testsuite/gas/ppc/power9.d: Update.
1523 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1525 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1526 disassembling and stop skipping targets.
1527 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1528 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1529 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1530 instruction for targets that have stronger alignment requirement.
1531 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1532 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1533 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1534 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1535 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1536 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1537 * testsuite/gas/arm/archv8m-main.d: Likewise.
1538 * testsuite/gas/arm/archv8m.s: Add label.
1539 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1540 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1541 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1543 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1545 * config/tc-m32r.c (mach_table): Make static and const.
1547 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1549 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1552 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1554 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1556 * config/tc-msp430.c (md_begin): Likewise.
1558 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1560 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1561 bfd_reloc_code_real_type where appropriate.
1562 (fixup16): Likewise.
1563 (fixup8_xg): Likewise.
1565 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1567 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1569 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1571 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1572 * testsuite/gas/ppc/power9.s: Likewise.
1574 2016-05-13 Alan Modra <amodra@gmail.com>
1576 * config/obj-coff.c (weak_uniquify): Delete unused var.
1578 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1580 * app.c (app_push): Use XNEW and related macros.
1581 * as.c (parse_args): Likewise.
1582 * cgen.c (make_right_shifted_expr): Likewise.
1583 (gas_cgen_tc_gen_reloc): Likewise.
1584 * config/bfin-defs.h: Likewise.
1585 * config/bfin-parse.y: Likewise.
1586 * config/obj-coff.c (stack_init): Likewise.
1587 (stack_push): Likewise.
1588 (coff_obj_symbol_new_hook): Likewise.
1589 (coff_obj_symbol_clone_hook): Likewise.
1590 (add_lineno): Likewise.
1591 (coff_frob_symbol): Likewise.
1592 * config/obj-elf.c (obj_elf_section_name): Likewise.
1593 (build_group_lists): Likewise.
1594 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1595 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1596 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1597 (find_or_make_literal_pool): Likewise.
1598 (add_to_lit_pool): Likewise.
1599 (fill_instruction_hash_table): Likewise.
1600 * config/tc-alpha.c (load_expression): Likewise.
1601 (emit_jsrjmp): Likewise.
1602 (s_alpha_ent): Likewise.
1603 (s_alpha_end): Likewise.
1604 (s_alpha_linkage): Likewise.
1605 (md_begin): Likewise.
1606 (tc_gen_reloc): Likewise.
1607 * config/tc-arc.c (arc_insert_opcode): Likewise.
1608 (arc_extcorereg): Likewise.
1609 * config/tc-bfin.c: Likewise.
1610 * config/tc-cr16.c: Likewise.
1611 * config/tc-cris.c: Likewise.
1612 * config/tc-crx.c (preprocess_reglist): Likewise.
1613 * config/tc-d10v.c: Likewise.
1614 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1615 (frv_tomcat_shuffle): Likewise.
1616 * config/tc-h8300.c: Likewise.
1617 * config/tc-i370.c (i370_macro): Likewise.
1618 * config/tc-i386.c (lex_got): Likewise.
1619 (md_parse_option): Likewise.
1620 * config/tc-ia64.c (alloc_record): Likewise.
1621 (set_imask): Likewise.
1622 (save_prologue_count): Likewise.
1623 (dot_proc): Likewise.
1624 (dot_endp): Likewise.
1625 (ia64_frob_label): Likewise.
1626 (add_qp_imply): Likewise.
1627 (add_qp_mutex): Likewise.
1628 (mark_resource): Likewise.
1629 (dot_alias): Likewise.
1630 * config/tc-m68hc11.c: Likewise.
1631 * config/tc-m68k.c (m68k_frob_label): Likewise.
1633 (mri_control_label): Likewise.
1634 (push_mri_control): Likewise.
1635 (build_mri_control_operand): Likewise.
1636 (s_mri_else): Likewise.
1637 (s_mri_break): Likewise.
1638 (s_mri_next): Likewise.
1639 (s_mri_for): Likewise.
1640 (s_mri_endw): Likewise.
1641 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1642 * config/tc-microblaze.c: Likewise.
1643 * config/tc-mmix.c (s_loc): Likewise.
1644 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1645 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1646 * config/tc-rl78.c: Likewise.
1647 * config/tc-rx.c (rx_include): Likewise.
1648 * config/tc-sh.c: Likewise.
1649 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1650 * config/tc-sparc.c: Likewise.
1651 * config/tc-spu.c: Likewise.
1652 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1653 (tic6x_start_unwind_section): Likewise.
1654 * config/tc-tilegx.c: Likewise.
1655 * config/tc-tilepro.c: Likewise.
1656 * config/tc-v850.c: Likewise.
1657 * config/tc-visium.c: Likewise.
1658 * config/tc-xgate.c: Likewise.
1659 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1660 (new_resource_table): Likewise.
1661 (resize_resource_table): Likewise.
1662 (xtensa_create_trampoline_frag): Likewise.
1663 (xtensa_maybe_create_literal_pool_frag): Likewise.
1664 (cache_literal_section): Likewise.
1665 * config/xtensa-relax.c (append_transition): Likewise.
1666 (append_condition): Likewise.
1667 (append_value_condition): Likewise.
1668 (append_constant_value_condition): Likewise.
1669 (append_literal_op): Likewise.
1670 (append_label_op): Likewise.
1671 (append_constant_op): Likewise.
1672 (append_field_op): Likewise.
1673 (append_user_fn_field_op): Likewise.
1674 (enter_opname_n): Likewise.
1675 (enter_opname): Likewise.
1676 (split_string): Likewise.
1677 (parse_insn_templ): Likewise.
1678 (clone_req_or_option_list): Likewise.
1679 (clone_req_option_list): Likewise.
1680 (parse_option_cond): Likewise.
1681 (parse_insn_pattern): Likewise.
1682 (parse_insn_repl): Likewise.
1683 (build_transition): Likewise.
1684 (build_transition_table): Likewise.
1685 * dw2gencfi.c (alloc_fde_entry): Likewise.
1686 (alloc_cfi_insn_data): Likewise.
1687 (cfi_add_CFA_remember_state): Likewise.
1688 (dot_cfi_escape): Likewise.
1689 (dot_cfi_fde_data): Likewise.
1690 (select_cie_for_fde): Likewise.
1691 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1692 * ecoff.c (ecoff_add_bytes): Likewise.
1693 (ecoff_build_debug): Likewise.
1694 * input-scrub.c (input_scrub_push): Likewise.
1695 (input_scrub_begin): Likewise.
1696 (input_scrub_next_buffer): Likewise.
1697 * itbl-ops.c (append_insns_as_macros): Likewise.
1698 (alloc_entry): Likewise.
1699 (alloc_field): Likewise.
1700 * listing.c (listing_newline): Likewise.
1701 (listing_listing): Likewise.
1702 * macro.c (get_any_string): Likewise.
1703 (delete_macro): Likewise.
1704 * stabs.c (generate_asm_file): Likewise.
1705 (stabs_generate_asm_lineno): Likewise.
1706 * subsegs.c (subseg_change): Likewise.
1707 (subseg_get): Likewise.
1708 * symbols.c (define_dollar_label): Likewise.
1709 (symbol_relc_make_sym): Likewise.
1710 * write.c (write_relocs): Likewise.
1712 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1714 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1715 (weak_name2altname): Likewise.
1716 (weak_uniquify): Likewise.
1717 (obj_coff_section): Likewise.
1718 (obj_coff_init_stab_section): Likewise.
1719 * config/obj-elf.c (obj_elf_section_name): Likewise.
1720 (obj_elf_init_stab_section): Likewise.
1721 * config/obj-evax.c (evax_shorten_name): Likewise.
1722 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1723 * config/tc-aarch64.c (create_register_alias): Likewise.
1724 * config/tc-alpha.c (load_expression): Likewise.
1725 (s_alpha_file): Likewise.
1726 (s_alpha_section_name): Likewise.
1727 (tc_gen_reloc): Likewise.
1728 * config/tc-arc.c (md_assemble): Likewise.
1729 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1730 (start_unwind_section): Likewise.
1731 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1732 (hppa_elf_mark_end_of_function): Likewise.
1733 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1734 (nios2_negate_arg): Likewise.
1735 * config/tc-rx.c (rx_section): Likewise.
1736 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1737 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1738 * config/tc-tic54x.c (tic54x_include): Likewise.
1739 (tic54x_macro_info): Likewise.
1740 (subsym_get_arg): Likewise.
1741 (subsym_substitute): Likewise.
1742 (tic54x_start_line_hook): Likewise.
1743 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1744 (xg_reverse_shift_count): Likewise.
1745 * config/xtensa-relax.c (enter_opname_n): Likewise.
1746 (split_string): Likewise.
1747 * dwarf2dbg.c (get_filenum): Likewise.
1748 (process_entries): Likewise.
1749 * expr.c (operand): Likewise.
1750 * itbl-ops.c (alloc_entry): Likewise.
1751 * listing.c (listing_message): Likewise.
1752 (listing_title): Likewise.
1753 * macro.c (check_macro): Likewise.
1754 * stabs.c (s_xstab): Likewise.
1755 * symbols.c (symbol_relc_make_expr): Likewise.
1756 * write.c (compress_debug): Likewise.
1758 2016-05-12 Nick Clifton <nickc@redhat.com>
1761 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1763 2016-05-11 Nick Clifton <nickc@redhat.com>
1766 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1767 big endian ARM configurations.
1769 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1770 Matthew Fortune <matthew.fortune@imgtec.com>
1772 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1774 (md_longopts): Likewise.
1775 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1776 (mips_ases): Define availability for DSPr3.
1777 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1778 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1779 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1781 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1782 .set nodspr3. Fix -mdspr2 formatting.
1783 * testsuite/gas/mips/mips32-dspr3.d: New file.
1784 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1785 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1787 2016-05-11 Nick Clifton <nickc@redhat.com>
1790 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1791 to the pool uses O_constant.
1792 * testsuite/gas/arm/pr20068.s: New test.
1793 * testsuite/gas/arm/pr20068.d: Test driver.
1795 2016-05-11 Nick Clifton <nickc@redhat.com>
1797 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1798 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1799 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1800 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1801 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1802 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1803 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1804 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1805 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1807 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1809 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1810 * testsuite/gas/i386/prefix.d: Adjust.
1811 * testsuite/gas/i386/rdpid.s: New test.
1812 * testsuite/gas/i386/rdpid.d: Ditto.
1813 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1814 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1815 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1816 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1818 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1820 * config/tc-i386.c (cpu_arch): Add RDPID.
1821 * doc/c-i386.texi: Document RDPID.
1823 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1825 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1826 set branch type of a symbol.
1828 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1830 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1831 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1833 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1834 (aeabi_set_public_attributes): Memorize the feature bits of the
1835 architecture selected for Tag_CPU_arch. Use it to set
1836 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1837 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1838 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1839 * testsuite/gas/arm/arch7em-bad-1.d: This.
1840 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1841 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1842 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1843 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1844 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1845 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1846 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1847 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1849 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1851 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1852 allowed_archs an array with 2 entries.
1853 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1854 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1855 (arm_extensions): Use separate entries in allowed_archs when several
1856 archs are allowed to use an extension and change ARCH_ANY in
1857 ARM_ARCH_NONE in allowed_archs.
1858 (arm_parse_extension): Check that, for each allowed_archs entry, all
1859 bits are set in the current architecture, ignoring ARM_ANY entries.
1860 (s_arm_arch_extension): Likewise.
1862 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1864 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1865 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1866 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1867 shared with a non M profile architecture.
1868 (do_rn): New function.
1869 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1871 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1872 (insns): Add ARMv8-M Security Extensions instructions.
1873 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1874 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1875 * testsuite/gas/arm/archv8m-cmse.s: New file.
1876 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1877 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1878 * testsuite/gas/arm/any-cmse.d: Likewise.
1879 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1880 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1881 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1882 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1883 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1884 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1886 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1888 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1889 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1891 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1893 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1894 (fpu_arch_vfp_v3): Likewise.
1895 (fpu_arch_neon_v1): Likewise.
1896 (arm_arch_full): Likewise.
1897 (parse_neon_el_struct_list): Initialize fields of firsttype.
1899 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1901 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1902 (arc_extinsn): Handle new introduced syntax.
1903 * testsuite/gas/arc/textinsn1op.d: New file.
1904 * testsuite/gas/arc/textinsn1op.s: Likewise.
1905 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1907 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1909 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1910 DW_LNS_fixed_advance_pc.
1912 2016-04-27 Alan Modra <amodra@gmail.com>
1914 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1915 (xmemdup0): New inline function.
1917 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1919 * config/tc-mips.c (code_option_type): New enum.
1920 (parse_code_option): Return status indicating option type.
1921 (s_mipsset): Update `parse_code_option' call site accordingly.
1922 Always set register sizes from the ISA with ISA overrides.
1923 (s_module): Update `parse_code_option' call site.
1924 * testsuite/gas/mips/isa-override-1.d: New test.
1925 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1926 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1927 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1928 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1929 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1930 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1931 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1932 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1933 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1934 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1935 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1936 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1937 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1938 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1939 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1940 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1941 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1942 * testsuite/gas/mips/isa-override-2.l: New list test.
1943 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1944 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1945 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1946 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1947 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1948 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1949 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1950 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1951 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1952 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1953 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1955 * testsuite/gas/mips/isa-override-1.s: New test source.
1956 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1957 * testsuite/gas/mips/isa-override-2.s: New test source.
1958 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1959 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1960 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1961 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1962 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1963 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1964 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1965 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1966 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1967 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1968 * testsuite/gas/mips/mips.exp: Run the new tests.
1970 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1973 * config/tc-bfin.c: Likewise.
1974 * config/tc-ia64.c: Likewise.
1975 * config/tc-mep.c: Likewise.
1976 * config/tc-metag.c: Likewise.
1977 * config/tc-nios2.c: Likewise.
1978 * config/tc-rl78.c: Likewise.
1980 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1982 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1983 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1984 (ARC Directives): Add NPS400 to .cpu directive list.
1986 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1988 * config/tc-aarch64.c (aarch64_features): Add "ras".
1989 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1990 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1991 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1992 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1993 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1995 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1997 * testsuite/gas/arc/nps400-6.d: New file.
1998 * testsuite/gas/arc/nps400-6.s: New file.
2000 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2002 * testsuite/gas/arc/nps400-4.d: New file.
2003 * testsuite/gas/arc/nps400-4.s: New file.
2004 * testsuite/gas/arc/nps400-5.d: New file.
2005 * testsuite/gas/arc/nps400-5.s: New file.
2007 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2009 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2012 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2014 Revert prevous change.
2015 * config/tc-arc.c (arc_option): Make .cpu directive
2016 case-sensitive again.
2018 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2020 * config/tc-arc.c (arc_option): Make .cpu directive
2023 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2025 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2027 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2029 * config/tc-mips.c (md_begin): Remove useless assignment.
2031 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2033 * Makefile.in: Regenerated with automake 1.11.6.
2034 * aclocal.m4: Likewise.
2035 * doc/Makefile.in: Likewise.
2037 2016-04-15 Alan Modra <amodra@gmail.com>
2039 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2041 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2043 * config/tc-nios2.c (nios2_as_options): Make file static.
2044 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2045 * config/tc-sparc.c (native_op_table): Likewise.
2047 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2049 * config/tc-m32c.c (M32C_Macros): Remove.
2050 * config/tc-msp430.c (option_numbers): Likewise.
2052 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2054 * testsuite/gas/arc/nps400-3.d: New file.
2055 * testsuite/gas/arc/nps400-3.s: New file.
2057 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2059 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2060 * testsuite/gas/arc/warn.s: Likewise.
2061 * testsuite/gas/elf/elf.exp: Run test for arc.
2063 2016-04-14 Nick Clifton <nickc@redhat.com>
2066 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2067 sections possibly having the SHF_STRINGS flag bit set.
2068 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2070 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2072 * config/tc-arc.c (mach_type_specified_p): Change type to
2074 (arc_option): Set private flags when parsing cpu pseudo-op.
2075 (md_parse_option): Set mach_type_specified_p to TRUE.
2077 2016-04-13 Nick Clifton <nickc@redhat.com>
2080 * testsuite/gas/v850/pr19937.s: New test.
2081 * testsuite/gas/v850/pr19937.d: New test control file.
2082 * testsuite/gas/v850/basic.exp: Run the new test.
2084 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2085 Andrew Bennett <andrew.bennett@imgtec.com>
2087 * config/tc-mips.c (relaxed_branch_length): Use the long
2088 sequence where the target is a weak symbol.
2089 (relaxed_micromips_32bit_branch_length): Likewise.
2090 (relaxed_micromips_16bit_branch_length): Likewise.
2091 * testsuite/gas/mips/branch-weak-1.d: New test.
2092 * testsuite/gas/mips/branch-weak-2.d: New test.
2093 * testsuite/gas/mips/branch-weak-3.d: New test.
2094 * testsuite/gas/mips/branch-weak-4.d: New test.
2095 * testsuite/gas/mips/branch-weak-5.d: New test.
2096 * testsuite/gas/mips/branch-weak.l: New stderr output.
2097 * testsuite/gas/mips/branch-weak.s: New test source.
2098 * testsuite/gas/mips/mips.exp: Run the new tests.
2100 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2102 * config/tc-mips.c (relaxed_branch_length): Use the long
2103 sequence where the distance cannot be determined.
2104 (relaxed_micromips_32bit_branch_length): Likewise.
2105 * testsuite/gas/mips/branch-extern-1.d: New test.
2106 * testsuite/gas/mips/branch-extern-2.d: New test.
2107 * testsuite/gas/mips/branch-extern-3.d: New test.
2108 * testsuite/gas/mips/branch-extern-4.d: New test.
2109 * testsuite/gas/mips/branch-extern.l: New stderr output.
2110 * testsuite/gas/mips/branch-extern.s: New test source.
2111 * testsuite/gas/mips/branch-section-1.d: New test.
2112 * testsuite/gas/mips/branch-section-2.d: New test.
2113 * testsuite/gas/mips/branch-section-3.d: New test.
2114 * testsuite/gas/mips/branch-section-4.d: New test.
2115 * testsuite/gas/mips/branch-section.l: New stderr output.
2116 * testsuite/gas/mips/branch-section.s: New test source.
2117 * testsuite/gas/mips/mips.exp: Run the new tests.
2119 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2121 * testsuite/gas/arc/textauxregister.d: New file.
2122 * testsuite/gas/arc/textauxregister.s: Likewise.
2123 * testsuite/gas/arc/textcondcode.d: Likewise.
2124 * testsuite/gas/arc/textcondcode.s: Likewise.
2125 * testsuite/gas/arc/textcoreregister.d: Likewise.
2126 * testsuite/gas/arc/textcoreregister.s: Likewise.
2127 * testsuite/gas/arc/textpseudoop.d: Likewise.
2128 * testsuite/gas/arc/textpseudoop.s: Likewise.
2129 * testsuite/gas/arc/ld2.d: Update test.
2130 * testsuite/gas/arc/st.d: Likewise.
2131 * testsuite/gas/arc/taux.d: Likewise.
2132 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2133 .extCoreRegister and .extAuxRegister documentation.
2134 * config/tc-arc.c (arc_extcorereg): New function.
2135 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2136 .extAuxRegister pseudo-ops.
2137 (extRegister_t): New type.
2138 (ext_condcode, arc_aux_hash): New global variable.
2139 (find_opcode_match): Check for extensions.
2140 (preprocess_operands): Likewise.
2141 (md_begin): Add aux registers in a hash.
2142 (assemble_insn): Update use arc_flags member.
2143 (tokenize_extregister): New function.
2144 (create_extcore_section): Likewise.
2145 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2147 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2149 * testsuite/gas/arc/noargs_a7.d: New file.
2150 * testsuite/gas/arc/noargs_a7.s: Likewise.
2151 * testsuite/gas/arc/noargs_hs.d: Likewise.
2152 * testsuite/gas/arc/noargs_hs.s: Likewise.
2154 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2156 * testsuite/gas/arc/textinsn-errors.d: New File.
2157 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2158 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2159 * testsuite/gas/arc/textinsn2op.d: Likewise.
2160 * testsuite/gas/arc/textinsn2op.s: Likewise.
2161 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2162 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2163 * testsuite/gas/arc/textinsn3op.d: Likewise.
2164 * testsuite/gas/arc/textinsn3op.s: Likewise.
2165 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2167 * config/tc-arc.c (arcext_section): New variable.
2168 (arc_extinsn): New function.
2169 (md_pseudo_table): Add .extInstruction pseudo op.
2170 (attributes_t): New type.
2171 (suffixclass, syntaxclass, syntaxclassmod): New constant
2173 (find_opcode_match): Remove arc_num_opcodes.
2174 (md_begin): Likewise.
2175 (tokenize_extinsn): New function.
2176 (arc_set_ext_seg): Likewise.
2177 (create_extinst_section): Likewise.
2179 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2181 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2182 (arc_adjust_symtab): New function.
2183 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2184 (obj_adjust_symtab): Likewise.
2185 * testsuite/gas/arc/taux.d: New file.
2186 * testsuite/gas/arc/taux.s: Likewise.
2188 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2190 * config/tc-mips.c (s_option): Sanitize `.option picX'
2192 * testsuite/gas/mips/option-pic-1.d: New test.
2193 * testsuite/gas/mips/option-pic-2.l: New list test.
2194 * testsuite/gas/mips/option-pic-1.s: New test source.
2195 * testsuite/gas/mips/option-pic-2.s: New test source.
2196 * testsuite/gas/mips/mips.exp: Run the new tests.
2198 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2200 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2202 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2203 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2204 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2205 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2206 * testsuite/gas/mips/mips.exp: Run the new tests.
2208 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2210 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2212 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2214 * messages.c (as_bad): Fix a typo in description.
2216 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2218 * config/tc-mips.c (mips_check_options): Unify messages.
2220 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2222 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2225 2016-04-08 Nick Clifton <nickc@redhat.com>
2228 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2229 COFF and AOUT sparc targets.
2231 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2233 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2234 * testsuite/gas/arc/nps400-2.d: New file.
2235 * testsuite/gas/arc/nps400-2.s: New file.
2237 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2239 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2241 (arc_opcode_hash_entry_iterator_init): New function.
2242 (arc_opcode_hash_entry_iterator_next): New function.
2243 (find_opcode_match): Iterate over all arc_opcode entries
2244 referenced by the arc_opcode_hash_entry passed in as a parameter.
2246 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2248 * config/tc-arc.c (arc_find_opcode): Now returns
2249 arc_opcode_hash_entry pointer.
2250 (find_opcode_match): Update argument type, extract arc_opcode from
2251 incoming arc_opcode_hash_entry.
2252 (find_special_case_pseudo): Update return type.
2253 (find_special_case_flag): Update return type.
2254 (find_special_case): Update return type.
2255 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2256 instruction mnemonic, then use find_opcode_match to identify
2257 specific arc_opcode.
2259 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2261 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2262 (arc_find_opcode): New function.
2263 (find_special_case_pseudo): Use arc_find_opcode.
2264 (find_special_case_flag): Likewise.
2265 (assemble_tokens): Likewise.
2266 (md_begin): Build hash using struct arc_opcode_hash_entry.
2268 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2270 * config/tc-arc.c (arc_option): Prepare string for automatic
2272 (declare_register): Likewise.
2274 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2276 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2277 Correct entry for RDMA. Alpha sort entries.
2279 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2281 * config/tc-arc.c (tokenize_flags): Allow greater range of
2282 characters into flag names.
2284 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2286 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2288 (preprocess_operands): Delete.
2289 (assemble_tokens): Remove call to preprocess_operands.
2291 2016-04-07 Nick Clifton <nickc@redhat.com>
2294 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2295 inside a %-macro could not be fully parsed.
2296 * expr.c (integer_constant): Accept and ignore U suffixes to
2298 (operand): When a missing closing parenthesis is encountered,
2299 report the character that was found instead.
2300 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2301 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2302 * testsuite/gas/sparc/pr19910-1.s: New test.
2303 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2304 * testsuite/gas/sparc/pr19910-2.s: New test.
2305 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2307 2016-04-06 Nick Clifton <nickc@redhat.com>
2309 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2310 an EINT instruction. Warn/fix as necessary.
2311 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2312 * testsuite/gas/msp430/bad.l: Update expected messages.
2314 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2316 * testsuite/gas/arc/nps400-1.d: Update expected results.
2317 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2319 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2321 * config/tc-arc.c (is_code_density_p): Compare directly the
2323 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2324 (check_cpu_feature): New function.
2325 (find_opcode_match): Use check_cpu_feature function.
2326 (preprocess_operands): Likewise.
2327 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2328 * testsuite/gas/arc/tdpfp.d: New file.
2329 * testsuite/gas/arc/tfpuda.d: Likewise.
2330 * testsuite/gas/arc/tfpx.s: Likewise.
2332 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2334 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2335 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2336 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2337 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2338 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2339 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2340 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2341 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2343 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2345 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2347 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2348 JUMP instructions type.
2349 * testsuite/gas/arc/relocs-errors.d: New file.
2350 * testsuite/gas/arc/relocs-errors.err: Likewise.
2351 * testsuite/gas/arc/relocs-errors.s: Likewise.
2353 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2356 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2357 only if i.disp_encoding != disp_encoding_32bit.
2358 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2359 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2360 * gas/testsuite/gas/i386/disp32.d: Updated.
2361 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2363 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2366 * testsuite/gas/i386/i386.exp: Run pr19498.
2367 * testsuite/gas/i386/pr19498.d: New file.
2368 * testsuite/gas/i386/pr19498.s: Likewise.
2370 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2372 * config/tc-arc.h: Include 'opcode/arc.h'.
2373 (MAX_INSN_ARGS): Delete.
2374 (MAX_INSN_FLGS): Delete.
2376 2016-04-04 Alan Modra <amodra@gmail.com>
2379 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2380 from function on all paths that set sy_resolving.
2382 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2384 * app.c (app_push): use XNEW macro.
2386 * config/obj-elf.c (obj_elf_change_section): Likewise.
2387 (elf_copy_symbol_attributes): Likewise.
2388 (obj_elf_size): Likewise.
2389 (build_group_lists): Likewise.
2390 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2391 (md_assemble): Likewise.
2392 (tc_gen_reloc): Likewise.
2393 (get_upper_str): Likewise.
2394 (aarch64_parse_features): Likewise.
2395 * config/tc-arm.c (insert_reg_alias): Likewise.
2396 (insert_neon_reg_alias): Likewise.
2397 (find_or_make_literal_pool): Likewise.
2398 (s_arm_elf_cons): Likewise.
2399 (add_unwind_opcode): Likewise.
2400 (arm_parse_extension): Likewise.
2401 * config/tc-avr.c (create_record_for_frag): Likewise.
2402 * config/tc-crx.c: Likewise.
2403 * config/tc-d30v.c: Likewise.
2404 * config/tc-dlx.c (s_proc): Likewise.
2405 * config/tc-ft32.c: Likewise.
2406 * config/tc-h8300.c: Likewise.
2407 * config/tc-hppa.c (pa_proc): Likewise.
2408 (create_new_space): Likewise.
2409 (create_new_subspace): Likewise.
2410 * config/tc-i860.c: Likewise.
2411 * config/tc-i960.c: Likewise.
2412 * config/tc-ia64.c: Likewise.
2413 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2414 (iq2000_record_hi16): Likewise.
2415 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2416 * config/tc-m32r.c (debug_sym): Likewise.
2417 (m32r_record_hi16): Likewise.
2418 * config/tc-m68k.c (m68k_ip): Likewise.
2419 (md_begin): Likewise.
2420 * config/tc-mcore.c: Likewise.
2421 * config/tc-microblaze.c (check_got): Likewise.
2422 * config/tc-mips.c (append_insn): Likewise.
2423 (s_mipsset): Likewise.
2424 (mips_record_label): Likewise.
2425 (s_mips_end): Likewise.
2426 * config/tc-mmix.c (mmix_frob_file): Likewise.
2427 * config/tc-mn10200.c: Likewise.
2428 * config/tc-mn10300.c: Likewise.
2429 * config/tc-moxie.c: Likewise.
2430 * config/tc-msp430.c: Likewise.
2431 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2432 * config/tc-ns32k.c: Likewise.
2433 * config/tc-or1k.c: Likewise.
2434 * config/tc-pdp11.c: Likewise.
2435 * config/tc-pj.c (fake_opcode): Likewise.
2436 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2437 (ppc_macro): Likewise.
2438 (ppc_dwsect): Likewise.
2439 (ppc_machine): Likewise.
2440 * config/tc-rl78.c (rl78_frag_init): Likewise.
2441 * config/tc-rx.c (rx_frag_init): Likewise.
2442 * config/tc-s390.c (s390_lit_suffix): Likewise.
2443 (s390_machine): Likewise.
2444 (s390_machinemode): Likewise.
2445 * config/tc-score.c (s3_insert_reg): Likewise.
2446 (s3_gen_reloc): Likewise.
2447 * config/tc-score7.c (s7_insert_reg): Likewise.
2448 (s7_gen_reloc): Likewise.
2449 * config/tc-tic30.c (tic30_operand): Likewise.
2450 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2451 * config/tc-tic54x.c (stag_add_field): Likewise.
2452 (tic54x_struct): Likewise.
2453 (tic54x_space): Likewise.
2454 (tic54x_field): Likewise.
2455 (tic54x_mlib): Likewise.
2456 (subsym_substitute): Likewise.
2457 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2458 * config/tc-vax.c: Likewise.
2459 * config/tc-xc16x.c: Likewise.
2460 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2461 (directive_push): Likewise.
2462 (xtensa_begin_directive): Likewise.
2463 (tokenize_arguments): Likewise.
2464 (xtensa_add_literal_sym): Likewise.
2465 (new_resource_table): Likewise.
2466 (resize_resource_table): Likewise.
2467 (emit_single_op): Likewise.
2468 (xtensa_create_trampoline_frag): Likewise.
2469 (xtensa_maybe_create_literal_pool_frag): Likewise.
2470 (xtensa_add_config_info): Likewise.
2471 (xtensa_realloc_fixup_cache): Likewise.
2472 (add_subseg_info): Likewise.
2473 (cache_literal_section): Likewise.
2474 (add_xt_block_frags): Likewise.
2475 (add_xt_prop_frags): Likewise.
2476 (init_op_placement_info_table): Likewise.
2477 (build_section_rename): Likewise.
2478 * config/tc-z80.c: Likewise.
2479 * config/tc-z8k.c: Likewise.
2480 * depend.c (register_dependency): Likewise.
2481 * dwarf2dbg.c (get_line_subseg): Likewise.
2482 (dwarf2_gen_line_info_1): Likewise.
2483 (get_filenum): Likewise.
2484 * ecoff.c (allocate_scope): Likewise.
2485 (allocate_vlinks): Likewise.
2486 (allocate_shash): Likewise.
2487 (allocate_thash): Likewise.
2488 (allocate_tag): Likewise.
2489 (allocate_forward): Likewise.
2490 (allocate_thead): Likewise.
2491 (allocate_lineno_list): Likewise.
2492 * expr.c (make_expr_symbol): Likewise.
2493 * hash.c (hash_new_sized): Likewise.
2494 * input-file.c (input_file_push): Likewise.
2495 * listing.c (file_info): Likewise.
2496 (listing_newline): Likewise.
2497 * macro.c (new_formal): Likewise.
2498 (define_macro): Likewise.
2499 * remap.c (add_debug_prefix_map): Likewise.
2500 * symbols.c (symbol_find_noref): Likewise.
2501 (define_dollar_label): Likewise.
2502 (fb_label_instance_inc): Likewise.
2503 (symbol_relc_make_value): Likewise.
2505 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2507 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2508 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2509 (ppc_znop): Likewise.
2510 (ppc_pe_section): Likewise.
2511 (ppc_frob_symbol): Likewise.
2512 * config/tc-tic30.c (tic30_operand): Likewise.
2513 * config/tc-tic4x.c (tic4x_sect): Likewise.
2514 (tic4x_usect): Likewise.
2516 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2518 * config/tc-alpha.c: Const qualify FLT_CHARS.
2519 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2520 * config/tc-cris.h: Likewise.
2522 * config/tc-mmix.c (md_atof): Adjust comment.
2523 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2524 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2526 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2528 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2529 * config/tc-score7.c (s7_gen_reloc): Likewise.
2531 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2533 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2534 bfd_reloc_code_real_type.
2536 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2538 * config/bfin-parse.y (current_inputline): Remove definition.
2539 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2541 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2543 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2546 2016-04-02 Alan Modra <amodra@gmail.com>
2549 * read.c (assign_symbol): Consume rest of line after an error
2550 rather than continuing to process the line.
2552 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2554 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2555 (MAX_FLAG_NAME_LENGTH): ...this.
2556 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2557 * config/tc-arc.c (tokenize_flags): Likewise.
2559 2016-04-01 Alan Modra <amodra@gmail.com>
2561 * cgen.c (weak_operand_overflow_check): Return const char*.
2562 * messages.c (as_internal_value_out_of_range): Formatting.
2563 (as_warn_value_out_of_range): Consify prefix param.
2564 (as_bad_value_out_of_range): Likewise.
2565 * read.c (s_errwarn): Constify msg..
2566 (s_float_space, float_cons): ..and err.
2567 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2568 ieee_md_atof, vax_md_atof): Update prototypes.
2569 * tc.h (md_atof): Update prototype.
2570 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2571 * config/atof-vax.c (vax_md_atof): Likewise.
2572 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2573 * config/tc-aarch64.c (md_atof): Return const char*.
2574 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2575 (s_alpha_comm): Constify sec_name.
2576 (section_name): Constify.
2577 (s_alpha_section): Consify name..
2578 (alpha_elf_section_letter): ..and ptr_msg param..
2579 (md_atof): ..and return.
2580 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2581 * config/tc-arc.c (md_atof): Return const char*.
2582 * config/tc-arm.c (md_atof): Likewise.
2583 * config/tc-avr.c (md_atof): Likewise.
2584 * config/tc-bfin.c (md_atof): Likewise.
2585 * config/tc-cr16.c (md_atof): Likewise.
2586 * config/tc-cris.c (md_atof): Likewise.
2587 * config/tc-crx.c (md_atof): Likewise.
2588 * config/tc-d10v.c (md_atof): Likewise.
2589 * config/tc-d30v.c (md_atof): Likewise.
2590 * config/tc-dlx.c (md_atof): Likewise.
2591 * config/tc-epiphany.c (md_atof): Likewise.
2592 * config/tc-fr30.c (md_atof): Likewise.
2593 * config/tc-frv.c (md_atof): Likewise.
2594 * config/tc-ft32.c (md_atof): Likewise.
2595 * config/tc-h8300.c (md_atof): Likewise.
2596 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2597 (struct default_space_dict): Likewise.
2598 (create_new_space): Constify name param.
2599 (create_new_subspace): Likewise.
2600 (is_defined_space, is_defined_subspace): Likewise.
2601 (pa_parse_space_stmt): Constify space_name param.
2602 (md_atof): Return const char*.
2603 (pa_spaces_begin): Constify name.
2604 * config/tc-i370.c (md_atof): Return const char*.
2605 * config/tc-i386.c (md_atof): Likewise.
2606 (x86_64_section_letter): Constify ptr_msg param.
2607 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2608 * config/tc-i860.c (struct i860_it): Constify error.
2609 (md_atof): Return const char*.
2610 * config/tc-i960.c (md_atof): Likewise.
2611 * config/tc-ia64.c (md_atof): Likewise.
2612 (ia64_elf_section_letter): Constify ptr_msg param.
2613 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2614 * config/tc-ip2k.c (md_atof): Return const char*.
2615 * config/tc-iq2000.c (md_atof): Likewise.
2616 * config/tc-lm32.c (md_atof): Likewise.
2617 * config/tc-m32c.c (md_atof): Likewise.
2618 * config/tc-m32r.c (md_atof): Likewise.
2619 * config/tc-m68hc11.c (md_atof): Likewise.
2620 * config/tc-m68k.c (md_atof): Likewise.
2621 * config/tc-mcore.c (md_atof): Likewise.
2622 * config/tc-mep.c (md_atof): Likewise.
2623 (mep_elf_section_letter): Constify ptr_msg param.
2624 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2625 * config/tc-metag.c (md_atof): Return const char*.
2626 * config/tc-microblaze.c (md_atof): Likewise.
2627 * config/tc-microblaze.h (md_atof): Delete prototype.
2628 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2629 (md_atof): Return const char*.
2630 * config/tc-mmix.c (md_atof): Likewise.
2631 * config/tc-mn10200.c (md_atof): Likewise.
2632 * config/tc-mn10300.c (md_atof): Likewise.
2633 * config/tc-moxie.c (md_atof): Likewise.
2634 * config/tc-msp430.c (md_atof): Likewise.
2635 * config/tc-mt.c (md_atof): Likewise.
2636 * config/tc-nds32.c (md_atof): Likewise.
2637 * config/tc-nios2.c (md_atof): Likewise.
2638 (nios2_elf_section_letter): Constify ptr_msg param.
2639 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2640 * config/tc-ns32k.c (md_atof): Return const char*.
2641 * config/tc-or1k.c (md_atof): Likewise.
2642 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2643 (md_atof): Return const char*.
2644 * config/tc-pj.c (md_atof): Likewise.
2645 * config/tc-ppc.c (md_atof): Likewise.
2646 * config/tc-rl78.c (md_atof): Likewise.
2647 * config/tc-rx.c (md_atof): Likewise.
2648 * config/tc-s390.c (md_atof): Likewise.
2649 * config/tc-score.c (s3_atof, md_atof): Likewise.
2650 * config/tc-sh.c (md_atof): Likewise.
2651 * config/tc-sparc.c (struct sparc_it): Constify error.
2652 (md_atof): Return const char*.
2653 * config/tc-spu.c (md_atof): Likewise.
2654 * config/tc-tic30.c (md_atof): Likewise.
2655 * config/tc-tic4x.c (md_atof): Likewise.
2656 * config/tc-tic54x.c (md_atof): Likewise.
2657 * config/tc-tic6x.c (md_atof): Likewise.
2658 * config/tc-tilegx.c (md_atof): Likewise.
2659 * config/tc-tilepro.c (md_atof): Likewise.
2660 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2661 * config/tc-vax.c (md_atof): Likewise.
2662 * config/tc-visium.c (md_atof): Likewise.
2663 * config/tc-xc16x.c (md_atof): Likewise.
2664 * config/tc-xgate.c (md_atof): Likewise.
2665 * config/tc-xstormy16.c (md_atof): Likewise.
2666 * config/tc-xtensa.c (md_atof): Likewise.
2667 * config/tc-z80.c (md_atof): Likewise.
2668 * config/tc-z8k.c (md_atof): Likewise.
2670 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2672 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2674 (xtensa_section_rename): Make argument type const char *.
2675 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2677 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2679 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2682 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2684 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2686 (m32c_indirect_operand): Likewise.
2687 * config/tc-nds32.c (do_pseudo_b): Likewise.
2688 (do_pseudo_bal): Likewise.
2689 (do_pseudo_ls_bhw): Likewise.
2691 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2693 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2695 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2697 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2699 * config/tc-sparc.c (s_register): Cast a literal to char * in
2702 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2704 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2706 * config/tc-m32r.c (expand_debug_syms): Likewise.
2707 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2708 * config/tc-z80.c (md_begin): Likewise.
2709 * stabs.c (stabs_generate_asm_func): Likewise.
2711 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2713 * cgen.c: Modernize the way functions declare arguments.
2714 * config/tc-bfin.c: Likewise.
2715 * config/tc-pdp11.c: Likewise.
2716 * literal.c: Likewise.
2718 * stabs.c: Likewise.
2720 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2722 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2723 variables unsigned char[].
2724 * config/tc-alpha.c (alpha_handle_align): Likewise.
2725 * config/tc-arm.c (arm_handle_align): Likewise.
2726 * config/tc-z80.c: Likewise.
2728 2016-03-30 Nick Clifton <nickc@redhat.com>
2731 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2734 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2736 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2737 * testsuite/gas/elf/elf.exp: Likewise.
2738 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2740 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2742 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2744 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2746 * testsuite/gas/arc/ext2op.d: New file.
2747 * testsuite/gas/arc/ext2op.s: Likewise.
2748 * testsuite/gas/arc/ext3op.d: Likewise.
2749 * testsuite/gas/arc/ext3op.s: Likewise.
2751 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2753 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2755 * config/tc-alpha.c (md_parse_option): Likewise.
2756 * config/tc-arc.c (md_parse_option): Likewise.
2757 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2758 (md_parse_option): Likewise.
2759 * config/tc-avr.c (md_parse_option): Likewise.
2760 * config/tc-bfin.c (md_parse_option): Likewise.
2761 * config/tc-cr16.c (md_parse_option): Likewise.
2762 * config/tc-cris.c (s_cris_arch): Likewise.
2763 (md_parse_option): Likewise.
2764 * config/tc-crx.c (md_parse_option): Likewise.
2765 * config/tc-d10v.c (md_parse_option): Likewise.
2766 * config/tc-d30v.c (md_parse_option): Likewise.
2767 * config/tc-dlx.c (md_parse_option): Likewise.
2768 * config/tc-epiphany.c (md_parse_option): Likewise.
2769 * config/tc-fr30.c (md_parse_option): Likewise.
2770 * config/tc-frv.c (md_parse_option): Likewise.
2771 * config/tc-ft32.c (md_parse_option): Likewise.
2772 * config/tc-h8300.c (md_parse_option): Likewise.
2773 * config/tc-hppa.c (md_parse_option): Likewise.
2774 * config/tc-i370.c (md_parse_option): Likewise.
2775 * config/tc-i386.c (md_parse_option): Likewise.
2776 * config/tc-i860.c (md_parse_option): Likewise.
2777 * config/tc-i960.c (md_parse_option): Likewise.
2778 * config/tc-ia64.c (md_parse_option): Likewise.
2779 * config/tc-ip2k.c (md_parse_option): Likewise.
2780 * config/tc-iq2000.c (md_parse_option): Likewise.
2781 * config/tc-lm32.c (md_parse_option): Likewise.
2782 * config/tc-m32c.c (md_parse_option): Likewise.
2783 * config/tc-m32r.c (md_parse_option): Likewise.
2784 * config/tc-m68hc11.c (md_parse_option): Likewise.
2785 * config/tc-m68k.c (md_parse_option): Likewise.
2786 * config/tc-mcore.c (md_parse_option): Likewise.
2787 * config/tc-mep.c (md_parse_option): Likewise.
2788 * config/tc-metag.c (struct metag_long_option): Likewise.
2789 (md_parse_option): Likewise.
2790 * config/tc-microblaze.c (md_parse_option): Likewise.
2791 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2792 * config/tc-mips.c (md_parse_option): Adjust.
2793 * config/tc-mmix.c (md_parse_option): Likewise.
2794 * config/tc-mn10200.c (md_parse_option): Likewise.
2795 * config/tc-mn10300.c (md_parse_option): Likewise.
2796 * config/tc-moxie.c (md_parse_option): Likewise.
2797 * config/tc-msp430.c (md_parse_option): Likewise.
2798 * config/tc-mt.c (md_parse_option): Likewise.
2799 * config/tc-nds32.c (md_parse_option): Likewise.
2800 * config/tc-nds32.h (nds32_parse_option): Likewise.
2801 * config/tc-nios2.c (md_parse_option): Likewise.
2802 * config/tc-ns32k.c (md_parse_option): Likewise.
2803 * config/tc-or1k.c (md_parse_option): Likewise.
2804 * config/tc-pdp11.c (md_parse_option): Likewise.
2805 * config/tc-pj.c (md_parse_option): Likewise.
2806 * config/tc-ppc.c (md_parse_option): Likewise.
2807 * config/tc-rl78.c (md_parse_option): Likewise.
2808 * config/tc-rx.c (md_parse_option): Likewise.
2809 * config/tc-s390.c (s390_parse_cpu): Likewise.
2810 * config/tc-score.c (md_parse_option): Likewise.
2811 * config/tc-sh.c (md_parse_option): Likewise.
2812 * config/tc-sparc.c (md_parse_option): Likewise.
2813 * config/tc-spu.c (md_parse_option): Likewise.
2814 * config/tc-tic30.c (md_parse_option): Likewise.
2815 * config/tc-tic4x.c (md_parse_option): Likewise.
2816 * config/tc-tic54x.c (md_parse_option): Likewise.
2817 * config/tc-tic6x.c (md_parse_option): Likewise.
2818 * config/tc-tilegx.c (md_parse_option): Likewise.
2819 * config/tc-tilepro.c (md_parse_option): Likewise.
2820 * config/tc-v850.c (md_parse_option): Likewise.
2821 * config/tc-vax.c (md_parse_option): Likewise.
2822 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2823 * config/tc-xc16x.c (md_parse_option): Likewise.
2824 * config/tc-xgate.c (md_parse_option): Likewise.
2825 * config/tc-xstormy16.c (md_parse_option): Likewise.
2826 * config/tc-xtensa.c (md_parse_option): Likewise.
2827 * config/tc-z80.c (md_parse_option): Likewise.
2828 * config/tc-z8k.c (md_parse_option): Likewise.
2829 * tc.h (md_parse_option): Likewise.
2831 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2833 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2834 * config/tc-hppa.c (fix_new_hppa): Likewise.
2835 (pa_vtable_entry): Likewise.
2836 (pa_vtable_inherit): Likewise.
2837 * config/tc-m68k.c (md_begin): Likewise.
2839 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2841 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2842 * config/obj-elf.h (obj_elf_section_name): Adjust.
2843 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2844 (aarch64_parse_cpu): Likewise.
2845 (aarch64_parse_arch): Likewise.
2846 * config/tc-arm.c (arm_parse_extension): Likewise.
2847 (arm_parse_cpu): Likewise.
2848 (arm_parse_arch): Likewise.
2849 * config/tc-nds32.c: Likewise.
2850 * config/xtensa-relax.c (parse_special_fn): Likewise.
2851 * stabs.c (generate_asm_file): Likewise.
2853 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2855 * config/tc-cr16.c (cr16_assemble): New function.
2856 (md_assemble): Call cr16_assemble.
2858 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2860 * as.c (parse_args): Adjust.
2861 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2862 * config/obj-elf.c (elf_frob_symbol): Adjust.
2864 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2866 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2867 registers to be in the 16..31 range.
2869 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2871 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2874 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2876 * config/tc-visium.c (md_atof): Localize the string returned on
2879 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2881 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2882 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2883 * config/tc-m68hc11.c (md_begin): Likewise.
2884 (print_opcode_list): Likewise.
2885 * config/tc-msp430.c (msp430_section): Likewise.
2886 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2887 (s3_build_dependency_insn_hsh): Likewise.
2888 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2889 (s7_build_dependency_insn_hsh): Likewise.
2890 * config/tc-tic4x.c: Likewise.
2891 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2892 (subsym_get_arg): Likewise.
2893 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2894 (get_directive): Likewise.
2895 (cache_literal_section): Likewise.
2896 * config/xtensa-relax.c: Likewise.
2897 * symbols.c (symbol_create): Likewise.
2898 (local_symbol_make): Likewise.
2899 (symbol_relc_make_expr): Likewise.
2901 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2903 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2906 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2908 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2911 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2913 * config/tc-ia64.c (ia64_do_align): Remove.
2914 (ia64_cons_align): Call do_align () directly.
2915 (dot_proc): Likewise.
2916 (stmt_float_cons): Likewise.
2918 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2920 * listing.c (listing_message): Use XNEW style allocation macros.
2921 * read.c (read_a_source_file): Likewise.
2922 (read_symbol_name): Likewise.
2923 (s_mri_common): Likewise.
2924 (assign_symbol): Likewise.
2925 (s_reloc): Likewise.
2926 (emit_expr_with_reloc): Likewise.
2927 (s_incbin): Likewise.
2928 (s_include): Likewise.
2929 * sb.c (sb_build): Likewise.
2930 (sb_check): Likewise.
2932 2016-03-22 Alan Modra <amodra@gmail.com>
2934 * write.c (record_alignment): Revert 2016-02-18 change.
2936 2016-03-22 Alan Modra <amodra@gmail.com>
2938 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2939 (emit_jsrjmp, tc_gen_reloc): Likewise.
2940 * config/tc-i370.c (i370_macro): Likewise.
2942 2016-03-22 Nick Clifton <nickc@redhat.com>
2944 * configure: Regenerate.
2946 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2948 * testsuite/gas/arc/nps400-0.d: New file.
2949 * testsuite/gas/arc/nps400-0.s: New file.
2950 * testsuite/gas/arc/nps400-1.d: New file.
2951 * testsuite/gas/arc/nps400-1.s: New file.
2953 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2955 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2956 declarations to start of block. Reset code on all flags before
2957 attempting to match them. Handle multiple hits on the same flag.
2959 * testsuite/gas/arc/asm-errors.d: New file.
2960 * testsuite/gas/arc/asm-errors.err: New file.
2961 * testsuite/gas/arc/asm-errors.s: New file.
2963 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2965 * config/tc-arc.c (cpu_types): Add nps400 entry.
2966 (check_zol): Handle nps400.
2968 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2970 * config/tc-arc.c (arc_select_cpu): Remove use of
2973 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2975 * config/tc-arc.c (arc_target): Delay initialisation until
2977 (arc_target_name): Likewise.
2978 (arc_features): Likewise.
2979 (arc_mach_type): Likewise.
2980 (cpu_types): Remove "all" entry.
2981 (arc_select_cpu): New function, most of the content is from...
2982 (md_parse_option): ... here. Call new arc_select_cpu.
2983 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2985 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2987 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2988 * testsuite/gas/arc/inline-data-2.d: New file.
2990 2016-03-21 Nick Clifton <nickc@redhat.com>
2992 * atof-generic.c: Replace use of alloca with call to xmalloc.
2994 * dwarf2dbg.c: Likewise.
2995 * macro.c: Likewise.
2996 * remap.c: Likewise.
2997 * stabs.c: Likewise.
2998 * symbols.c: Likewise.
2999 * config/obj-elf.c: Likewise.
3000 * config/tc-aarch64.c: Likewise.
3001 * config/tc-arc.c: Likewise.
3002 * config/tc-arm.c: Likewise.
3003 * config/tc-avr.c: Likewise.
3004 * config/tc-ia64.c: Likewise.
3005 * config/tc-mips.c: Likewise.
3006 * config/tc-msp430.c: Likewise.
3007 * config/tc-nds32.c: Likewise.
3008 * config/tc-ppc.c: Likewise.
3009 * config/tc-sh.c: Likewise.
3010 * config/tc-tic30.c: Likewise.
3011 * config/tc-tic54x.c: Likewise.
3012 * config/tc-xstormy16.c: Likewise.
3013 * config/te-vms.c: Likewise.
3014 * configure: Regenerate.
3016 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3018 * tc-i386.c (f32_1): Change type to unsigned char[].
3038 (jump_31): Likewise.
3039 (f32_patt): Likewise.
3040 (f16_patt): Likewise.
3049 (alt_patt): Likewise.
3051 2016-03-18 Nick Clifton <nickc@redhat.com>
3053 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3054 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3055 .tlsdescldr and .xword directives.
3058 * testsuite/gas/aarch64/pr19721.s: New test source file.
3059 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3061 * doc/as.texinfo: Place the target specific command line options
3062 into their own man page section.
3064 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3066 * config/tc-arm.c (N_S_32): New.
3067 (N_F_16_32): Likewise.
3068 (N_SUF_32): Support N_F16.
3069 (N_IF_32): Likewise.
3070 (neon_dyadic_misc): Likewise.
3071 (do_neon_cmp): Likewise.
3072 (do_neon_cmp_inv): Likewise.
3073 (do_neon_mul): Likewise.
3074 (do_neon_fcmp_absolute): Likewise.
3075 (do_neon_step): Likewise.
3076 (do_neon_abs_neg): Likewise.
3077 (CVT_FLAVOR_VAR): Likewise.
3078 (do_neon_cvt_1): Likewise.
3079 (do_neon_recip_est): Likewise.
3080 (do_vmaxnm): Likewise.
3081 (do_vrint_1): Likewise.
3082 (neon_check_type): Check architecture support for FP16 extension.
3083 (insns): Update comments.
3084 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3085 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3086 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3087 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3089 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3091 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3094 2016-03-16 Nick Clifton <nickc@redhat.com>
3096 * read.c (emit_expr_with_reloc): Add code check a bignum with
3098 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3100 * testsuite/gas/elf/bignum.s: New test source file.
3101 * testsuite/gas/elf/bignum.d: New test driver file.
3102 * testsuite/gas/elf/elf.exp: Run the new test.
3104 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3106 * doc/c-i386.texi (Register Naming): Update to details of the
3107 latest architecture version.
3109 2016-03-10 Mickael Guene <mickael.guene@st.com>
3112 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3114 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3115 (do_t_mov_cmp): Likewise.
3116 (do_t_add_sub): Protect against bad relocations usage.
3117 (do_t_mov_cmp): Likewise.
3118 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3119 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3120 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3121 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3123 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3125 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3127 (do_neon_ld_st_lane): Likewise.
3128 (do_neon_ld_dup): Likewise.
3130 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3132 * testsuite/gas/arc/inline-data-1.d: New file.
3133 * testsuite/gas/arc/inline-data-1.s: New file.
3135 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3137 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3138 * doc/c-arm.texi: Add cortex-r8.
3140 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3142 * config/tc-arc.c: Add const qualifiers.
3143 * config/tc-h8300.c (md_begin): Likewise.
3144 * config/tc-ia64.c (print_prmask): Likewise.
3145 * config/tc-msp430.c (msp430_operands): Likewise.
3146 * config/tc-nds32.c (struct suffix_name): Likewise.
3147 (struct nds32_parse_option_table): Likewise.
3148 (struct nds32_set_option_table): Likewise.
3149 (do_pseudo_pushpopm): Likewise.
3150 (do_pseudo_pushpop_stack): Likewise.
3151 (nds32_relax_relocs): Likewise.
3152 (nds32_flag): Likewise.
3153 (struct nds32_hint_map): Likewise.
3154 (nds32_find_reloc_table): Likewise.
3155 (nds32_match_hint_insn): Likewise.
3156 * config/tc-s390.c: Likewise.
3157 * config/tc-sh.c (get_specific): Likewise.
3158 * config/tc-tic30.c: Likewise.
3159 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3160 (tic4x_indirect_parse): Likewise.
3161 * config/tc-vax.c (vax_cons): Likewise.
3162 * config/tc-z80.c (struct reg_entry): Likewise.
3163 * config/tc-epiphany.c (md_assemble): Adjust.
3164 (epiphany_assemble): New function.
3165 (epiphany_elf_section_rtn): Call do_align directly.
3166 (epiphany_elf_section_text): Likewise.
3167 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3168 (ip2k_elf_section_text): Likewise.
3169 * read.c (do_align): Make it not static.
3170 * read.h (do_align): New prototype.
3172 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3174 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3175 for ARMv8.1 AdvSIMD use.
3176 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3177 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3179 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3181 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3183 (record_feature_use): New.
3184 (mark_feature_used): Use record_feature_use.
3185 (do_neon_qrdmlah): New.
3186 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3188 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3189 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3190 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3191 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3192 Make source file explicit.
3193 * testsuite/gas/arm/armv8-a+rdma.l: New.
3194 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3195 directives. Fix white-space.
3196 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3198 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3200 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3202 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3203 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3205 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3206 (tc_arc_fix_adjustable): Changed default return value to 1.
3207 * testsuite/gas/arc/j.d: Updated expected symbol
3208 * testsuite/gas/arc/jl.d: Likewise
3209 * testsuite/gas/arc/relax-avoid1.d: Likewise
3210 * testsuite/gas/arc/st.d: Likewise
3212 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3214 * config/tc-arc.c: Enable code density instructions for ARC EM.
3216 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3219 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3221 * as.c (flag_use_elf_stt_common): New.
3222 (show_usage): Add --elf-stt-common=.
3223 (option_values): Add OPTION_ELF_STT_COMMON.
3224 (std_longopts): Add --elf-stt-common=.
3225 (parse_args): Handle --elf-stt-common=.
3226 * as.h (flag_use_elf_stt_common): New.
3227 * config.in: Regenerated.
3228 * configure: Likewise.
3229 * configure.ac: Add --enable-elf-stt-common and define
3230 DEFAULT_GENERATE_ELF_STT_COMMON.
3231 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3232 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3233 * doc/as.texinfo: Document --elf-stt-common=.
3234 * testsuite/gas/elf/common3.s: New file.
3235 * testsuite/gas/elf/common3a.d: Likewise.
3236 * testsuite/gas/elf/common3b.d: Likewise.
3237 * testsuite/gas/elf/common4.s: Likewise.
3238 * testsuite/gas/elf/common4a.d: Likewise.
3239 * testsuite/gas/elf/common4b.d: Likewise.
3240 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3241 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3242 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3244 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3245 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3246 --elf-stt-common=no to as.
3247 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3248 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3249 --elf-stt-common=no to as.
3250 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3251 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3252 of dw2-compress-3 and dw2-compressed-3.
3254 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3256 * as.c (select_emulation_mode): Add const qualifiers.
3258 * config/bfin-defs.h: Likewise.
3259 * config/bfin-parse.y: Likewise.
3260 * config/rx-parse.y: Likewise.
3261 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3262 (struct aarch64_cpu_option_table): Likewise.
3263 (struct aarch64_arch_option_table): Likewise.
3264 (struct aarch64_option_cpu_value_table): Likewise.
3265 (struct aarch64_long_option_table): Likewise.
3266 (struct aarch64_option_abi_value_table): Likewise.
3267 * config/tc-arm.c (struct reloc_entry): Likewise.
3268 (tc_gen_reloc): Likewise.
3269 (struct arm_option_table): Likewise.
3270 (struct arm_legacy_option_table): Likewise.
3271 (struct arm_cpu_option_table): Likewise.
3272 (struct arm_arch_option_table): Likewise.
3273 (struct arm_option_extension_value_table): Likewise.
3274 (struct arm_option_fpu_value_table): Likewise.
3275 (struct arm_option_value_table): Likewise.
3276 (struct arm_long_option_table): Likewise.
3277 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3278 (struct mcu_type_s): Likewise.
3279 (struct exp_mod_s): Likewise.
3280 (avr_operand): Likewise.
3281 (avr_operands): Likewise.
3282 * config/tc-d10v.c (md_begin): Likewise.
3283 * config/tc-dlx.c: Likewise.
3284 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3285 * config/tc-ft32.c (parse_condition): Likewise.
3286 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3287 * config/tc-hppa.c (pa_ip): Likewise.
3288 (hppa_regname_to_dw2regnum): Likewise.
3289 * config/tc-i370.c (i370_elf_suffix): Likewise.
3290 * config/tc-i960.c (struct tabentry): Likewise.
3291 * config/tc-m32r.c: Likewise.
3292 * config/tc-m68k.c: Likewise.
3293 * config/tc-m68k.h: Likewise.
3294 * config/tc-mcore.c (parse_psrmod): Likewise.
3295 * config/tc-metag.c (struct metag_core_option): Likewise.
3296 (struct metag_long_option): Likewise.
3297 * config/tc-microblaze.c: Likewise.
3298 * config/tc-mips.c (macro): Likewise.
3299 * config/tc-mn10200.c: Likewise.
3300 * config/tc-mn10300.c: Likewise.
3301 * config/tc-msp430.c (struct rcodes_s): Likewise.
3302 (struct hcodes_s): Likewise.
3303 (md_parse_option): Likewise.
3304 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3305 (optlist): Likewise.
3306 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3307 (tc_ppc_regname_to_dw2regnum): Likewise.
3308 * config/tc-ppc.h: Likewise.
3309 * config/tc-rl78.c: Likewise.
3310 * config/tc-rx.c (struct cpu_type): Likewise.
3311 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3312 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3313 (sparc_ip): Likewise.
3314 * config/tc-spu.c (insn_fmt_string): Likewise.
3315 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3316 * config/tc-v850.c: Likewise.
3317 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3318 (struct visium_long_option_table): Likewise.
3319 * config/tc-xgate.c: Likewise.
3320 * config/tc-z8k.c: Likewise.
3321 * read.c (add_include_dir): Likewise.
3324 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3326 * testsuite/gas/all/gas.exp: Change target pattern to cover
3328 * testsuite/gas/all/redef3.d: Likewise.
3329 * testsuite/gas/elf/elf.exp: Likewise.
3331 2016-02-24 Renlin Li <renlin.li@arm.com>
3333 * config/tc-arm.c (BAD_FP16): New error message macro.
3334 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3335 fp16 scalar instructions.
3336 (neon_check_type): Allow different size from key.
3337 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3338 (try_vfp_nsyn): Likewise.
3339 (do_vfp_nsyn_mla_mls): Likewise.
3340 (do_vfp_nsyn_fma_fms): Likewise.
3341 (do_vfp_nsyn_ldm_stm): Likewise
3342 (do_vfp_nsyn_sqrt): Likewise
3343 (do_vfp_nsyn_div): Likewise
3344 (do_vfp_nsyn_nmul): Likewise.
3345 (do_vfp_nsyn_cmp): Likewise.
3346 (do_neon_shll): Likewise.
3347 (do_vfp_nsyn_cvt_fpv8): Likewise.
3348 (do_neon_cvttb_2): Likewise.
3349 (do_neon_mov): Likewise.
3350 (do_neon_rshift_round_imm): Likewise.
3351 (do_neon_ldr_str): Likewise.
3352 (do_vfp_nsyn_fpv8): Likewise.
3353 (do_vmaxnm): Likewise.
3354 (do_vrint_1): Likewise.
3355 (insns): New entry for vins, vmovx.
3356 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3357 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3358 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3359 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3360 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3361 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3362 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3364 2016-02-24 Renlin Li <renlin.li@arm.com>
3366 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3367 (neon_shape_class): New SC_HALF.
3368 (neon_shape_el): New SE_H.
3369 (neon_shape_el_size): New size for SE_H.
3370 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3371 (neon_select_shape): Add SE_H support code.
3372 (el_type_of_type_chk): Use N_F_ALL.
3373 (do_vfp_nsyn_cvt): Add SE_H shape support.
3374 (do_neon_cvtz): Likewise.
3375 (do_neon_cvt_1): Likewise.
3376 (do_neon_cvttb_1): Likewise.
3378 2016-02-24 Renlin Li <renlin.li@arm.com>
3380 * testsuite/gas/arm/copro.d: Adjust output.
3381 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3383 2016-02-24 Renlin Li <renlin.li@arm.com>
3385 * testsuite/gas/arm/mask_1.d: New.
3386 * testsuite/gas/arm/mask_1.s: New.
3388 2016-02-24 Renlin Li <renlin.li@arm.com>
3390 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3391 * testsuite/gas/arm/copro.d: Update.
3393 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3395 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3396 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3398 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3400 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3402 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3404 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3407 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3409 * output-file.c (output_file_create): Make file name argument const.
3410 (output_file_close): Likewise.
3411 * output-file.h (output_file_create): Adjust.
3412 (output_file_close): Likewise.
3413 * depend.c (quote_string_for_make): Make src argument const char *.
3414 (register_dependency): Likewise.
3415 (wrap_output): Likewise.
3416 * as.h (register_dependency): Adjust.
3417 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3419 * symbols.c (S_SET_EXTERNAL): Likewise.
3420 * input-scrub.c (as_where): Return the file name.
3421 * as.h (as_where): Adjust prototype.
3422 * app.c (do_scrub_chars): Adjust.
3423 * cond.c (s_elseif): Likewise.
3425 (initialize_cframe): Likewise.
3426 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3427 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3428 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3429 * config/tc-aarch64.c (output_info): Likewise.
3430 * config/tc-ia64.c (md_assemble): Likewise.
3431 (dot_alias): Likewise.
3432 * config/tc-m68k.c (m68k_frob_label): Likewise.
3433 * config/tc-mmix.c (s_bspec): Likewise.
3434 (mmix_handle_mmixal): Likewise.
3435 * config/tc-rx.c (rx_include): Likewise.
3436 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3437 (tic54x_adjust_symtab): Likewise.
3438 * config/tc-xtensa.c (directive_push): Likewise.
3439 (xtensa_sanity_check): Likewise.
3440 (xtensa_relax_frag): Likewise.
3441 (md_convert_frag): Likewise.
3442 (tinsn_to_slotbuf): Likewise.
3443 * dwarf2dbg.c (dwarf2_where): Likewise.
3444 * ecoff.c (add_file): Likewise.
3445 (ecoff_generate_asm_lineno): Likewise.
3446 * expr.c (make_expr_symbol): Likewise.
3447 * frags.c (frag_new): Likewise.
3448 (frag_var_init): Likewise.
3449 * listing.c (listing_newline): Likewise.
3450 * messages.c (identify): Likewise.
3451 (as_show_where): Likewise.
3452 (as_warn_internal): Likewise.
3453 (as_bad_internal): Likewise.
3454 * read.c (s_irp): Likewise.
3455 (s_macro): Likewise.
3456 (s_reloc): Likewise.
3457 * stabs.c (stabs_generate_asm_file): Likewise.
3458 (stabs_generate_asm_lineno): Likewise.
3459 (stabs_generate_asm_func): Likewise.
3460 * write.c (fix_new_internal): Likewise.
3461 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3462 (as_warn_value_out_of_range): Adjust prototype.
3463 (as_bad_value_out_of_range): Adjust prototype.
3464 * messages.c (identify): Make file name argument const char *.
3465 (as_warn_internal): Likewise.
3466 (as_warn_where): Likewise.
3467 (as_bad_internal): Likewise.
3468 (as_bad_where): Likewise.
3469 (as_internal_value_out_of_range): Likewise.
3470 (as_warn_value_out_of_range): Likewise.
3471 (as_bad_value_out_of_range): Likewise.
3472 * as.h (found_comment_file): Change type to const char *.
3473 * cond.c (file_line::file): Likewise.
3474 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3475 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3476 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3477 * config/tc-aarch64.c (output_info): Likewise.
3478 * config/tc-alpha.c (insert_operand): Likewise.
3479 * config/tc-arc.c (insert_operand): Likewise.
3480 * config/tc-d30v.c (check_size): Likewise.
3481 * config/tc-ia64.c (struct alias): Likewise.
3482 * config/tc-m68k.c (struct label_line): Likewise.
3483 * config/tc-mcore.c (md_apply_fix): Likewise.
3484 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3485 * config/tc-mips.c (mips16_immed): Likewise.
3486 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3487 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3488 * config/tc-rx.c (rx_include): Likewise.
3489 * config/tc-s390.c (s390_insert_operand): Likewise.
3490 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3491 (tic54x_adjust_symtab): Likewise.
3492 * config/tc-tilegx.c (insert_operand): Likewise.
3493 (apply_special_operator): Likewise.
3494 * config/tc-tilepro.c (insert_operand): Likewise.
3495 * config/tc-xtensa.c (directive_push): Likewise.
3496 * ecoff.c (add_file): Likewise.
3497 (ecoff_generate_asm_lineno): Likewise.
3498 * listing.c (listing_newline): Likewise.
3499 * read.c (s_irp): Likewise.
3500 * write.c (install_reloc): Likewise.
3501 * write.h (struct fix): Likewise.
3502 * input-file.c (file_name): Change type to const char *.
3503 (saved_file::file_name): Likewise.
3504 (input_file_open): Change type of argument to const char *.
3505 * input-file.h (input_file_open): Adjust.
3506 * input-scrub.c (logical_input_file): change type to const char *.
3507 (physical_input_file): Likewise.
3508 (struct input_save): Adjust.
3509 (input_scrub_push): Adjust.
3510 (input_scrub_begin): Adjust.
3512 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3513 (input_scrub_include_file): Likewise.
3514 (new_logical_line_flags): Likewise.
3515 (new_logical_line): Likewise.
3517 * frags.h (struct frag): Change type of fr_file to const char *.
3518 * expr.c (expr_symbol_where): Change type of file argument to
3520 * expr.h (expr_symbol_where): Likewise.
3521 * config/tc-i370.c (md_apply_fix): adjust.
3522 * config/tc-mmix.c (mmix_md_end): Likewise.
3523 * config/tc-ppc.c (md_apply_fix): Likewise.
3524 * config/tc-s390.c (md_apply_fix): Likewise.
3525 * symbols.c (report_op_error): Likewise.
3526 (resolve_symbol_value): Likewise.
3527 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3528 (rsrc::file): Likewise.
3529 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3531 (xtensa_relax_frag): Likewise.
3532 (md_convert_frag): Likewise.
3533 (tinsn_to_slotbuf): Likewise.
3534 * expr.c (expr_symbol_line): Likewise.
3535 * macro.c (define_macro): Likewise.
3536 * macro.h (macro_struct): Likewise.
3537 * messages.c (as_show_where): Likewise.
3538 * read.c (s_macro): Likewise.
3539 * stabs.c (stabs_generate_asm_file): Likewise.
3540 (generate_asm_file): Likewise.
3541 (stabs_generate_asm_lineno): Likewise.
3542 * write.h (struct reloc_list): Likewise.
3543 * input-scrub.c (as_where): Change return type to const char *.
3544 * as.h (as_wheree): Adjust.
3546 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3548 * write.c (compress_debug): Move BFD compression bits setting
3550 (write_object_file): Here.
3552 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3554 * config/tc-i386.c (register_number): Check RegVRex.
3555 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3556 with %zmm19 and %zmm3.
3557 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3558 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3560 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3561 Jiong Wang <jiong.wang@arm.com>
3563 * config/tc-arm.c (arm_ext_fp16): New.
3564 (arm_extensions): New entry for "fp16".
3566 2016-02-19 Nick Clifton <nickc@redhat.com>
3569 * read.c (read_a_source_file): Check for assemble_one returning
3570 with input_line_pointer set to NULL.
3572 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3574 * listing.c (rebuffer_line): Change return type to void.
3576 * symbols.c (decode_local_label_name): Make type a const char *.
3577 * listing.c (print_source): Make type of p const char *.
3578 (print_line): Make type of string const char *.
3579 (buffer_line): Return const char *.
3580 (title): Make type const char *.
3581 (subtitle): Likewise.
3582 (listing_listing): Make type of p const char *.
3583 * messages.c (as_internal_value_out_of_range): Make type of prefix
3585 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3586 and string const char *.
3587 * read.c (_bfd_rel): Make type of name const char *.
3588 * app.c (out_string): Change type to const char *.
3589 (struct app_save::out_string): Likewise.
3591 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3592 Nick Clifton <nickc@redhat.com>
3594 * read.c (finish_bundle): Avoid recording a negative alignment.
3595 (do_align): Use unsigned values for n, len and max. Only create
3596 a frag if the alignment requirement is greater than the minimum
3597 byte alignment. Avoid recording a negative alignment.
3598 (s_align): Use unsigned values where appropriate.
3599 (bss_alloc): Use an unsigned value for the alignment.
3600 (sizeof_sleb128): Add a comment noting that we encode one octet
3601 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3602 (emit_leb129_expr): Abort if the emitted encoding was longer than
3604 * read.h (output_leb128): Update prototype.
3605 (sizeof_leb128): Update prototype.
3606 (bss_alloc): Update prototype.
3607 * write.c (record_alignment): Use an unsigned value for the
3608 alignment. Do not record alignments less than the minimum
3609 alignment for a byte.
3610 * write.h (record_alignment): Update prototype.
3612 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3614 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3615 .init.literal/.fini.literal section name.
3616 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3617 list of xtensa tests.
3618 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3619 init-fini-literals test result patterns.
3620 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3621 init-fini-literals test.
3623 2016-02-17 Nick Clifton <nickc@redhat.com>
3625 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3626 devices.csv file as of March 2016.
3628 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3630 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3632 (tc_arc_regname_to_dw2regnum): Likewise.
3633 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3634 (tc_cfi_frame_initial_instructions): Likewise.
3635 (tc_regname_to_dw2regnum): Likewise.
3636 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3637 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3638 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3640 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3642 * doc/internals.texi (S_IS_EXTERN): Remove.
3644 2016-02-16 Nick Clifton <nickc@redhat.com>
3646 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3649 2016-02-16 Renlin Li <renlin.li@arm.com>
3652 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3653 * testsuite/gas/aarch64/movw_label.d: New.
3654 * testsuite/gas/aarch64/movw_label.s: New.
3656 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3659 * config/rx-parse.y (MOV): Opcode generation for index
3660 register addressing mode.
3661 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3662 * testsuite/gas/rx/pr19665.s: New file.
3663 * testsuite/gas/rx/pr19665.s: New file.
3664 * testsuite/gas/rx/mov.d: Update expected output.
3666 2016-02-15 Nick Clifton <nickc@redhat.com>
3668 * doc/as.texinfo (.section): Document that numeric values can now
3669 be used for the flags and type fields of the ELF target's .section
3670 directive. Add notes about the restrictions on setting flags and
3672 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3673 to be given processor specific section types. Allow processor and
3674 application specific flags of a section to be set after
3676 (obj_elf_parse_section_letters): Handle parsing numeric values.
3677 (obj_elf_section_type): Handle parsing numeric values.
3678 (obj_elf_section): Allow numeric type values.
3679 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3680 * testsuite/gas/elf/section10.d: New test.
3681 * testsuite/gas/elf/section10.s: Source file for new test.
3682 * testsuite/gas/elf/elf.exp: Run the new test.
3683 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3684 the description of the flags produced by readelf.
3685 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3686 * NEWS: Mention the new feature.
3688 2016-02-11 Nick Clifton <nickc@redhat.com>
3691 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3692 until it is actually used.
3693 (cfi_set_sections): Set cfi_sections_set to true.
3694 (dot_cfi_startproc): Likewise.
3695 (dot_cfi_endproc): Likewise.
3696 (dot_cfi_fde_data): Likewise.
3697 (cfi_finish): Likewise.
3698 (dot_cfi_sections): Do not set cfi_sections_set.
3699 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3700 their own cfi section name. Also note that the directive can be
3701 reissued provided that CFI generation has not started.
3702 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3703 .cfi_endproc directives so that the redefinition of .cfi_sections
3704 will trigger the generation of the error message.
3705 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3706 number of error message.
3708 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3709 Janek van Oirschot <jvanoirs@synopsys.com>
3711 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3712 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3714 (arc_flags, arc_relax_type): New structure.
3715 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3716 (RELAX_TABLE_ENTRY_MAX): New define.
3717 (relaxation_state, md_relax_table, arc_relaxable_insns)
3718 (arc_num_relaxable_ins): New variable.
3719 (rlx_operand_type, arc_rlx_types): New enums.
3720 (arc_relaxable_ins): New structure.
3721 (OPTION_RELAX): New option.
3722 (arc_insn): New relax member.
3723 (arc_flags): Remove.
3724 (relax_insn_p): New function.
3725 (apply_fixups): Likewise.
3726 (relaxable_operand): Likewise.
3727 (may_relax_expr): Likewise.
3728 (relaxable_flag): Likewise.
3729 (arc_pcrel_adjust): Likewise.
3730 (md_estimate_size_before_relax): Implement.
3731 (md_convert_frag): Likewise.
3732 (md_parse_option): Handle new mrelax option.
3733 (md_show_usage): Likewise.
3734 (assemble_insn): Set relax member.
3735 (emit_insn0): New function.
3736 (emit_insn1): Likewise.
3737 (emit_insn): Handle relaxation case.
3738 * NEWS: Mention the new relaxation option.
3739 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3740 * doc/as.texinfo (Target ARC Options): Likewise.
3741 * testsuite/gas/arc/relax-avoid1.d: New file.
3742 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3743 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3744 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3745 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3746 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3747 * testsuite/gas/arc/relax-b.d: Likewise.
3748 * testsuite/gas/arc/relax-b.s: Likewise.
3750 2016-02-08 Nick Clifton <nickc@redhat.com>
3752 * config/tc-ia64.c (dot_prologue): Fix formatting.
3754 2016-02-04 Nick Clifton <nickc@redhat.com>
3756 * config/obj-elf.c (obj_elf_change_section): Remove support for
3757 ARM NOREAD sections.
3758 * config/tc-arm.c (arm_elf_section_letter): Delete.
3759 * config/tc-arm.h (md_elf_section_letter): Delete.
3760 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3761 * testsuite/gas/arm/section-execute-only.d: Delete.
3762 * testsuite/gas/arm/section-execute-only.s: Delete.
3764 2016-02-04 Nick Clifton <nickc@redhat.com>
3767 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3768 to handle encoding of RRUX instruction.
3769 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3771 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3773 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3775 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3776 substitutions for BFD_RELOC_* as unsigned.
3777 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3778 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3779 * testsuite/gas/xtensa/loc.s: New file: loc test.
3781 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3783 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3785 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3788 * NEWS: Mention new command line option -mrelax-relocations and
3789 new configure option --enable-x86-relax-relocations for x86
3791 * config.in: Regenerated.
3792 * configure.ac: Add --enable-x86-relax-relocations.
3793 (ac_default_x86_relax_relocations): New. Default to 1 except
3794 for x86 Solaris targets older than Solaris 12.
3795 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3796 * configure: Likewise.
3797 * config/tc-i386.c (generate_relax_relocations): New.
3798 (OPTION_MRELAX_RELOCATIONS): Likewise.
3799 (output_disp): Don't generate relax relocations if
3800 generate_relax_relocations is 0.
3801 (md_longopts): Add -mrelax-relocations.
3802 (md_show_usage): Likewise.
3803 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3804 * doc/c-i386.texi: Document -mrelax-relocations=.
3805 * testsuite/gas/i386/got-no-relax.d: New file.
3806 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3807 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3808 * testsuite/gas/i386/localpic.d: Likewise.
3809 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3810 * testsuite/gas/i386/reloc32.d: Likewise.
3811 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3812 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3813 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3814 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3815 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3816 x86-64-gotpcrel-no-relax.
3818 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3820 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3823 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3825 * NEWS: Remove duplicated marker for 2.26.
3827 2016-02-02 Renlin Li <renlin.li@arm.com>
3829 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3831 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3833 * testsuite/gas/ip2k/allinsn.d: New file.
3834 * testsuite/gas/ip2k/allinsn.s: New file.
3835 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3837 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3839 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3840 some load instructions.
3841 * testsuite/gas/epiphany/allinsn.d: Likewise.
3842 * testsuite/gas/epiphany/regression.d: Likewise.
3844 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3846 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3847 suffixes from instruction mnemonics in expected output.
3848 * testsuite/gas/epiphany/allinsn.d: Likewise.
3849 * testsuite/gas/epiphany/regression.d: Likewise.
3850 * testsuite/gas/epiphany/sample.d: Likewise.
3852 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3854 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3856 * testsuite/gas/epiphany/allinsn.d: Likewise.
3857 * testsuite/gas/epiphany/sample.d: Likewise.
3859 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3861 * testsuite/gas/epiphany/sample.d: Update expected output.
3863 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3865 * config/tc-arc.c (md_apply_fix): Allow addendum.
3866 (arc_reloc_op): Allow complex expressions for tpoff.
3867 (md_apply_fix): Handle resolved TLS local symbol.
3868 * testsuite/gas/arc/tls-relocs1.d: New file.
3869 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3871 2016-02-01 Loria <Loria@phantasia.org>
3874 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3875 efficiency and avoid an LLVM loop optimization bug.
3877 2016-02-01 Nick Clifton <nickc@redhat.com>
3879 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3880 message extending a negative 32-bit value into a larger signed
3881 value on a 32-bit host.
3883 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3886 * configure.ac (compressed_debug_sections): Replace == with =.
3887 * configure: Regenerated.
3889 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3890 H.J. Lu <hongjiu.lu@intel.com>
3892 * config/tc-i386.c (avoid_fence): New.
3893 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3895 (OPTION_FENCE_AS_LOCK_ADD): New.
3896 (md_longopts): Add -mfence-as-lock-add.
3897 (md_parse_option): Handle -mfence-as-lock-add.
3898 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3899 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3900 * testsuite/gas/i386/i386.exp: Run new tests.
3901 * testsuite/gas/i386/fence-as-lock-add.s: New.
3902 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3903 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3904 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3905 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3907 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3909 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3910 * configure: Regenerated.
3912 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3914 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3915 (OPTION_MOMIT_LOCK_PREFIX): This.
3916 (md_longopts): Updated.
3917 (md_parse_option): Likewise.
3919 2016-01-25 Catherine Moore <clm@codesourcery.com>
3921 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3922 if abicalls are in effect.
3923 * testsuite/gas/mips/sdata-gp.s: New test.
3924 * testsuite/gas/mips/sdata-gp.d: New expected output
3925 * testsuite/gas/mips/mips.exp: Run new test.
3927 2016-01-25 Renlin Li <renlin.li@arm.com>
3929 * testsuite/gas/arm/thumb2_it_search.d: New.
3930 * testsuite/gas/arm/thumb2_it_search.s: New.
3932 2016-01-21 Nick Clifton <nickc@redhat.com>
3935 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3936 with arm-netbsdelf target.
3937 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3939 2016-01-20 Nick Clifton <nickc@redhat.com>
3942 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3943 * testsuite/gas/arm/blx-bl-convert.d
3944 * testsuite/gas/arm/plt-1.d: Likewise.
3945 * testsuite/gas/arm/reloc-bad.d: Likewise.
3946 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3947 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3948 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3949 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3952 * doc/as.texinfo (Errors): Correct documentation describing the
3953 interaction of .file and .line with warning and error messages.
3956 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3957 * testsuite/gas/arm/archv8m-main.d: Likewise.
3958 * testsuite/gas/arm/archv8m-base.d: Likewise.
3960 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3962 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3963 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3964 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3966 2016-01-20 Mickael Guene <mickael.guene@st.com>
3967 Terry Guo <terry.guo@arm.com>
3969 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3970 SHF_ARM_NOREAD section flag.
3971 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3973 (arm_elf_section_letter) : Declare it.
3974 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3975 SHF_ARM_NOREAD section flag.
3976 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3978 * testsuite/gas/arm/section-execute-only.s: New test case.
3979 * testsuite/gas/arm/section-execute-only.d: Expected output.
3981 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3983 * config/tc-mips.c (micromips_insn_length): Remove the mention
3984 of 48-bit microMIPS instructions.
3986 2016-01-18 Alan Modra <amodra@gmail.com>
3988 * configure: Regenerate.
3990 2016-01-17 Alan Modra <amodra@gmail.com>
3992 * configure: Regenerate.
3994 2016-01-17 Alan Modra <amodra@gmail.com>
3996 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3998 2016-01-14 Nick Clifton <nickc@redhat.com>
4000 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4001 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4002 * testsuite/gas/rl78/rl78.exp: Run the new test.
4004 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4006 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4007 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4009 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4011 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4013 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4015 * config/tc-h8300.c (get_operand): Remove spurious condition in
4016 test for closing parenthesis.
4018 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4020 * config/tc-arm.c (arm_ext_v8_2): New.
4022 * testsuite/gas/arm/armv8_2-a.d: New.
4023 * testsuite/gas/arm/armv8_2-a.s: New.
4025 2016-01-12 Alan Modra <amodra@gmail.com>
4027 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4029 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4031 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4032 xvcmpnesp, xvcmpnesp.>: Delete tests.
4033 * testsuite/gas/ppc/power9.s: Likewise.
4034 * testsuite/gas/ppc/vsx3.d: Likewise.
4035 * testsuite/gas/ppc/vsx3.s: Likewise.
4037 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4040 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4041 * testsuite/gas/m68k/p13050-1.s: New file.
4042 * testsuite/gas/m68k/p13050-2.d: New file.
4043 * testsuite/gas/m68k/p13050-2.s: New file.
4045 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4047 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4048 * testsuite/gas/arc/add.d: Likewise.
4049 * testsuite/gas/arc/and.d: Likewise.
4050 * testsuite/gas/arc/asl.d: Likewise.
4051 * testsuite/gas/arc/asr.d: Likewise.
4052 * testsuite/gas/arc/bic.d: Likewise.
4053 * testsuite/gas/arc/extb.d: Likewise.
4054 * testsuite/gas/arc/extw.d: Likewise.
4055 * testsuite/gas/arc/j.d: Likewise.
4056 * testsuite/gas/arc/jl.d: Likewise.
4057 * testsuite/gas/arc/ld2.d: Likewise.
4058 * testsuite/gas/arc/lsr.d: Likewise.
4059 * testsuite/gas/arc/mov.d: Likewise.
4060 * testsuite/gas/arc/or.d: Likewise.
4061 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4062 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4063 * testsuite/gas/arc/pic-relocs.d: Likewise.
4064 * testsuite/gas/arc/plt-relocs.d: Likewise.
4065 * testsuite/gas/arc/rlc.d: Likewise.
4066 * testsuite/gas/arc/ror.d: Likewise.
4067 * testsuite/gas/arc/rrc.d: Likewise.
4068 * testsuite/gas/arc/sbc.d: Likewise.
4069 * testsuite/gas/arc/sda-relocs.d: Likewise.
4070 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4071 * testsuite/gas/arc/sexb.d: Likewise.
4072 * testsuite/gas/arc/sexw.d: Likewise.
4073 * testsuite/gas/arc/st.d: Likewise.
4074 * testsuite/gas/arc/sub.d: Likewise.
4075 * testsuite/gas/arc/tls-relocs.d: Likewise.
4076 * testsuite/gas/arc/xor.d: Likewise.
4078 2016-01-01 Alan Modra <amodra@gmail.com>
4080 Update year range in copyright notice of all files.
4082 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4084 Copyright (C) 2016 Free Software Foundation, Inc.
4086 Copying and distribution of this file, with or without modification,
4087 are permitted in any medium without royalty provided the copyright
4088 notice and this notice are preserved.
4094 version-control: never