1 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
3 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
4 (RELAX_MICROMIPS_INSN32): New macro.
5 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
6 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
7 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
8 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
9 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
11 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
13 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
15 (md_convert_frag): Likewise.
16 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
18 * testsuite/gas/mips/micromips-branch-relax.l: Update line
20 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
21 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
22 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
24 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
26 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
28 * testsuite/gas/mips/mips.exp: Run the new tests.
30 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
32 * configure: Regenerated.
34 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
36 * testsuite/gas/arc/dsp.d: New file.
37 * testsuite/gas/arc/dsp.s: Likewise.
38 * testsuite/gas/arc/fpu.d: Likewise.
39 * testsuite/gas/arc/fpu.s: Likewise.
40 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
41 * testsuite/gas/arc/ext3op.d: Likewise.
42 * testsuite/gas/arc/tdpfp.d: Likewise.
43 * testsuite/gas/arc/tfpuda.d: Likewise.
45 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
47 * config/tc-mips.c (mips_force_relocation): Remove
48 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
50 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
52 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
53 Adjust comments for BAL to JALX linker conversion.
54 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
55 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
57 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
58 * testsuite/gas/mips/branch-local-4.d: New test.
59 * testsuite/gas/mips/branch-local-n32-4.d: New test.
60 * testsuite/gas/mips/branch-local-n64-4.d: New test.
61 * testsuite/gas/mips/branch-addend.d: New test.
62 * testsuite/gas/mips/branch-addend-n32.d: New test.
63 * testsuite/gas/mips/branch-addend-n64.d: New test.
64 * testsuite/gas/mips/branch-local-4.s: New test source.
65 * testsuite/gas/mips/branch-addend.s: New test source.
66 * testsuite/gas/mips/mips.exp: Run the new tests.
68 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
70 * config/tc-mips.c (mips_force_relocation): Also retain branch
71 relocations against MIPS16 and microMIPS symbols.
72 (fix_bad_cross_mode_jump_p): New function.
73 (fix_bad_same_mode_jalx_p): Likewise.
74 (fix_bad_misaligned_jump_p): Likewise.
75 (fix_bad_cross_mode_branch_p): Likewise.
76 (fix_bad_misaligned_branch_p): Likewise.
77 (fix_validate_branch): Likewise.
78 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
79 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
80 etc. Verify the ISA mode and alignment of the jump target.
81 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
82 with a call to `fix_validate_branch'.
83 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
84 <BFD_RELOC_16_PCREL_S2>: Likewise.
85 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
86 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
87 Verify the ISA mode and alignment of the branch target.
88 (md_convert_frag): Verify the ISA mode and alignment of resolved
89 MIPS16 branch targets.
90 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
91 branch targets with `.insn'.
92 * testsuite/gas/mips/branch-misc-5.s: Likewise.
93 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
95 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
96 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
97 non-instruction branch target with `.insn'.
98 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
99 with external symbols.
100 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
101 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
102 * testsuite/gas/mips/micromips-trap.d: Likewise.
103 * testsuite/gas/mips/micromips.d: Likewise.
104 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
105 targets with `.insn'.
106 * testsuite/gas/mips/mips16.d: Update accordingly.
107 * testsuite/gas/mips/mips16-64.d: Likewise.
108 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
109 branch target with `.insn'.
110 * testsuite/gas/mips/relax-swap3.s: Likewise.
111 * testsuite/gas/mips/branch-local-2.l: New list test.
112 * testsuite/gas/mips/branch-local-3.l: New list test.
113 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
114 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
115 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
116 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
117 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
118 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
119 * testsuite/gas/mips/unaligned-jump-3.d: New test.
120 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
121 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
122 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
123 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
125 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
127 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
128 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
129 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
130 * testsuite/gas/mips/unaligned-branch-3.d: New test.
131 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
132 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
133 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
134 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
135 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
136 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
137 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
138 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
139 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
140 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
142 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
144 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
145 * testsuite/gas/mips/branch-local-2.s: New test source.
146 * testsuite/gas/mips/branch-local-3.s: New test source.
147 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
148 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
149 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
150 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
151 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
152 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
153 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
154 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
155 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
157 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
159 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
160 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
161 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
162 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
163 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
164 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
165 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
167 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
169 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
171 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
173 * testsuite/gas/mips/mips.exp: Run the new tests.
175 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
177 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
179 (do_pseudo_b): Adjust.
180 (do_pseudo_bal): Likewise.
181 (do_pseudo_bge): Likewise.
182 (do_pseudo_bges): Likewise.
183 (do_pseudo_bgt): Likewise.
184 (do_pseudo_bgts): Likewise.
185 (do_pseudo_ble): Likewise.
186 (do_pseudo_bles): Likewise.
187 (do_pseudo_blt): Likewise.
188 (do_pseudo_blts): Likewise.
189 (do_pseudo_br): Likewise.
190 (do_pseudo_bral): Likewise.
191 (do_pseudo_la): Likewise.
192 (do_pseudo_li): Likewise.
193 (do_pseudo_ls_bhw): Likewise.
194 (do_pseudo_ls_bhwp): Likewise.
195 (do_pseudo_ls_bhwpc): Likewise.
196 (do_pseudo_ls_bhwi): Likewise.
197 (do_pseudo_move): Likewise.
198 (do_pseudo_neg): Likewise.
199 (do_pseudo_not): Likewise.
200 (do_pseudo_pushpopm): Likewise.
201 (do_pseudo_pushpop): Likewise.
202 (do_pseudo_v3push): Likewise.
203 (do_pseudo_v3pop): Likewise.
204 (do_pseudo_pushpop_stack): Likewise.
205 (do_pseudo_push_bhwd): Likewise.
206 (do_pseudo_pop_bhwd): Likewise.
207 (do_pseudo_pusha): Likewise.
208 (do_pseudo_pushi): Likewise.
210 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
212 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
213 bfd_reloc_code_real_type.
215 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
217 * config/tc-sparc.c (pop_table): Remove sentinel.
218 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
221 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
223 * config/tc-z8k.c (newfix): Make type of type argument
224 bfd_reloc_code_real_type.
225 (apply_fix): Likewise.
227 2016-07-16 Alan Modra <amodra@gmail.com>
229 * config/tc-epiphany.c: Don't include libbfd.h.
230 * config/tc-frv.c: Likewise.
231 * config/tc-ip2k.c: Likewise.
232 * config/tc-iq2000.c: Likewise.
233 * config/tc-m32c.c: Likewise.
234 * config/tc-mep.c: Likewise.
235 * config/tc-mt.c: Likewise.
236 * config/tc-nios2.c: Likewise.
238 2016-07-16 Alan Modra <amodra@gmail.com>
240 * config/bfin-parse.y: Don't include libbfd.h.
241 * config/tc-bfin.c: Likewise.
242 * config/tc-rl78.c: Likewise.
243 * config/tc-rx.c: Likewise.
244 * config/tc-metag.c: Likewise.
245 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
246 * Makefile.am: Update dependencies.
247 * Makefile.in: Regenerate.
249 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
251 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
252 (mips_force_relocation_abs): New prototype.
253 * config/tc-mips.c (mips_force_relocation_abs): New function.
254 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
255 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
256 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
257 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
258 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
260 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
262 * testsuite/gas/mips/branch-absolute-addend.d: New test.
263 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
264 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
266 * testsuite/gas/mips/mips.exp: Run the new tests.
268 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
270 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
271 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
272 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
274 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
275 in `bar', export `foo'.
276 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
278 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
279 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
280 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
282 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
285 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
287 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
288 * testsuite/gas/mips/branch-absolute.d: New test.
289 * testsuite/gas/mips/branch-absolute-n32.d: New test.
290 * testsuite/gas/mips/branch-absolute-n64.d: New test.
291 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
292 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
293 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
294 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
295 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
297 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
299 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
300 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
301 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
302 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
304 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
306 * testsuite/gas/mips/branch-absolute.s: New test source.
307 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
308 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
310 * testsuite/gas/mips/micromips-branch-absolute.s: New test
312 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
314 * testsuite/gas/mips/mips.exp: Run the new tests.
316 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
318 * testsuite/gas/mips/nal-1.d: New test.
319 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
320 * testsuite/gas/mips/nal-2.d: New test.
321 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
322 * testsuite/gas/mips/nal.s: New test source.
323 * testsuite/gas/mips/mips.exp: Run the new tests.
325 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
327 * testsuite/gas/sparc/ldtxa.s: New file.
328 * testsuite/gas/sparc/ldtxa.d: Likewise.
329 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
331 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
333 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
334 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
335 as it is no longer needed.
337 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
339 * config/tc-mips.c (append_insn): Remove extraneous
342 2016-07-04 Jan Beulich <jbeulich@suse.com>
344 * config/tc-i386.c (check_qword_reg): Correct register kind
346 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
347 16-bit register cases.
348 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
351 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
353 * testsuite/gas/mips/ecoff@ld.d: Remove test.
354 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
355 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
356 * testsuite/gas/mips/ecoff@sd.d: Remove test.
357 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
358 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
360 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
361 * testsuite/gas/mips/bge.d: Likewise.
362 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
363 * testsuite/gas/mips/bgeu.d: Likewise.
364 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
365 * testsuite/gas/mips/blt.d: Likewise.
366 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
367 * testsuite/gas/mips/bltu.d: Likewise.
368 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
369 * testsuite/gas/mips/branch-likely.d: Likewise.
370 * testsuite/gas/mips/la.d: Likewise.
371 * testsuite/gas/mips/lb.d: Likewise.
372 * testsuite/gas/mips/lifloat.d: Likewise.
373 * testsuite/gas/mips/sb.d: Likewise.
374 * testsuite/gas/mips/uld.d: Likewise.
375 * testsuite/gas/mips/ulh.d: Likewise.
376 * testsuite/gas/mips/ulw.d: Likewise.
377 * testsuite/gas/mips/usd.d: Likewise.
378 * testsuite/gas/mips/ush.d: Likewise.
379 * testsuite/gas/mips/usw.d: Likewise.
381 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
383 * testsuite/gas/mips/branch-misc-2.s: Move non
384 locally-defined-global symbol tests...
385 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
386 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
387 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
388 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
389 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
390 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
391 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
392 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
393 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
394 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
395 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
396 * testsuite/gas/mips/branch-misc-5.d: New test.
397 * testsuite/gas/mips/branch-misc-5pic.d: New test.
398 * testsuite/gas/mips/branch-misc-5-64.d: New test.
399 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
400 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
401 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
402 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
403 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
404 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
405 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
406 * testsuite/gas/mips/mips.exp: Run the new tests.
408 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
410 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
412 * testsuite/gas/mips/beq.d: Update accordingly.
413 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
414 * testsuite/gas/mips/micromips@beq.d: Likewise.
416 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
418 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
419 tests to NewABI targets.
421 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
423 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
426 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
428 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
430 (aarch64_features): Initialize require fields.
431 (aarch64_parse_features): Handle dependencies.
432 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
433 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
434 * testsuite/gas/aarch64/illegal-nofp16.s: New.
435 * testsuite/gas/aarch64/illegal-nofp16.l: New.
436 * testsuite/gas/aarch64/illegal-nofp16.d: New.
438 2016-07-01 Nick Clifton <nickc@redhat.com>
440 * macro.c (macro_expand_body): Use a buffer big enough to hold an
441 extremely large integer.
443 2016-07-01 Jan Beulich <jbeulich@suse.com>
445 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
447 2016-07-01 Tristan Gingold <gingold@adacore.com>
449 * NEWS: Add marker for 2.27.
451 2016-07-01 Jan Beulich <jbeulich@suse.com>
453 * tc-i386.c (i386_index_check): Add special checks for bndmk,
455 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
456 as well as scaling by other than 1 tests.
457 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
459 2016-07-01 Jan Beulich <jbeulich@suse.com>
461 * tc-i386.c (md_assemble): Alter address size checking for MPX
463 * testsuite/gas/i386/mpx-inval-2.s: New.
464 * testsuite/gas/i386/mpx-inval-2.l: New.
465 * testsuite/gas/i386/i386.exp: Run new test.
467 2016-07-01 Jan Beulich <jbeulich@suse.com>
470 * config/tc-i386.c (match_template): Add char parameter,
471 consumed in Intel mode for an extra suffix check.
472 (md_assemble): New local variable mnem_suffix.
473 * testsuite/gas/i386/suffix-bad.s: New.
474 * testsuite/gas/i386/suffix-bad.l: New.
475 * testsuite/gas/i386/i386.exp: Run new test (twice).
477 2016-07-01 Jan Beulich <jbeulich@suse.com>
479 * testsuite/gas/i386/movz.s: New.
480 * testsuite/gas/i386/movz32.d: New.
481 * testsuite/gas/i386/movz64.d: New.
482 * testsuite/gas/i386/i386.exp: Run new tests.
484 2016-07-01 Jan Beulich <jbeulich@suse.com>
486 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
487 (md_assemble): Free first memory operand string.
488 (i386_index_check): Use repprefixok to distingush xlat from
489 other (real) string ops.
490 (maybe_adjust_templates): New.
491 (i386_att_operand). Call it. Store first memory operand string.
492 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
493 * testsuite/gas/i386/intel-movs.s: New.
494 * testsuite/gas/i386/intel-movs32.d: New.
495 * testsuite/gas/i386/intel-movs64.d: New.
496 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
497 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
499 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
501 * config/tc-mips.c (get_append_method): Fix a comment typo.
503 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
504 Maciej W. Rozycki <macro@imgtec.com>
506 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
507 case MIPS16 handling.
508 * testsuite/gas/mips/branch-swap-3.d: New test.
509 * testsuite/gas/mips/branch-swap-4.d: New test.
510 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
511 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
512 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
513 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
514 * testsuite/gas/mips/branch-swap-3.s: New test source.
515 * testsuite/gas/mips/mips.exp: Run the new tests.
517 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
519 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
522 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
525 * write.c (subsegs_finish_section): Force no section padding to
526 alignment on failed assembly, always set last frag's alignment
528 * testsuite/gas/all/pr20312.l: New list test.
529 * testsuite/gas/all/pr20312.s: New test source.
530 * testsuite/gas/all/gas.exp: Run the new test
532 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
534 * config.in (TARGET_WITH_CPU): Undefine.
535 * configure.ac: Add --with-cpu support, and define in config.h.
536 * configure: Regenerate.
537 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
538 * NEWS: Mention new configure option.
540 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
542 * testsuite/gas/arm/armv8_2+rdma.d: New.
544 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
546 * NEWS: Mention --enable-compressed-debug-sections=gas is the
547 default for Linux/x86 targets.
548 * configure.tgt (ac_default_compressed_debug_sections): Default
549 to yes for Linux/x86 targets.
551 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
553 * write.c: Remove "libbfd.h" inclusion.
555 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
557 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
560 2016-06-28 Alan Modra <amodra@gmail.com>
563 * testsuite/gas/elf/section11.s: Don't start directives in first column.
565 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
567 * testsuite/gas/aarch64/diagnostic.s,
568 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
570 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
572 * config/tc-mips.c (mips16_reloc_p): Handle
573 BFD_RELOC_MIPS16_16_PCREL_S1.
574 (b_reloc_p): Likewise.
575 (limited_pcrel_reloc_p): Likewise.
576 (md_pcrel_from): Likewise.
577 (md_apply_fix): Likewise.
578 (tc_gen_reloc): Likewise.
579 (md_convert_frag): Likewise.
580 (mips_fix_adjustable): Update comment.
581 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
582 output, add dump patterns.
583 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
584 output, add dump patterns.
585 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
586 output, add dump patterns.
587 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
588 output, add dump patterns.
589 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
590 output, add dump patterns.
591 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
592 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
593 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
594 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
595 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
596 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
597 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
598 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
599 * testsuite/gas/mips/branch-weak-6.d: New test.
600 * testsuite/gas/mips/branch-weak-7.d: New test.
601 * testsuite/gas/mips/mips.exp: Run the new tests.
603 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
605 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
606 cfi_add_CFA_def_cfa to generate default CFA with offset
607 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
609 2016-06-27 Nick Clifton <nickc@redhat.com>
612 * as.h (do_not_pad_sections_to_alignment): New global variable.
613 * as.c (show_usage): Add --no-pad-sections.
614 (parse_args): Likewise.
615 * write.c (size_seg): Skip padding the end of the section if
616 requested from the command line.
617 (SUB_SEGMENT_ALIGN): Likewise.
618 * doc/as.texinfo: Document the new option.
619 * NEWS: Mention the new feature.
620 * testsuite/gas/elf/section11.s: New test.
621 * testsuite/gas/elf/section11.d: New test driver.
622 * testsuite/gas/elf/elf.exp: Run the new test.
624 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
626 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
627 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
629 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
631 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
633 (map_suffix_reloc_to_operator): Likewise.
634 (map_operator_to_reloc): Likewise.
636 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
638 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
639 element in relax_table.
641 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
643 * config/tc-aarch64.c: Make the type of reg_entry::type
646 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
648 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
649 (md_parse_option): Adjust.
650 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
651 with iteration from 0 to ARRAY_SIZE.
652 * config/tc-mcore.c (md_begin): Likewise.
653 * config/tc-visium.c (visium_parse_arch): Likewise.
655 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
657 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
658 and simplify accordingly.
659 (tic54x_include): Adjust.
660 (tic54x_mlib): Likewise.
662 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
664 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
666 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
668 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
669 unchanged with relaxed MIPS16 instructions.
670 (mips16_extended_frag): Adjust accordingly. Return 1 right
671 away if a relocation will be required for the symbol requested.
672 Remove dead first relaxation pass code.
673 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
674 (md_convert_frag): Adjust symbol value calculation. Raise an
675 error if a relocation is required for the symbol requested.
676 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
678 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
679 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
680 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
681 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
682 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
683 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
684 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
685 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
686 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
687 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
688 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
689 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
690 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
691 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
692 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
693 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
694 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
695 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
696 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
697 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
698 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
699 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
700 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
701 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
702 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
703 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
704 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
705 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
706 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
707 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
708 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
709 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
710 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
711 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
712 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
713 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
714 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
715 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
716 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
717 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
718 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
719 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
720 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
721 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
722 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
723 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
724 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
725 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
726 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
727 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
728 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
729 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
730 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
731 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
732 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
733 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
734 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
735 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
736 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
737 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
738 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
739 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
740 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
741 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
742 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
743 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
744 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
745 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
746 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
747 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
748 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
749 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
750 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
751 * testsuite/gas/mips/mips.exp: Run the new tests.
753 2016-06-24 Alan Modra <amodra@gmail.com>
755 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
757 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
759 * config/tc-mips.c (b_reloc_p): New function.
760 (mips_fix_adjustable): Also keep the original microMIPS symbol
761 referred from branch relocations.
762 * testsuite/gas/mips/branch-local-1.d: New test.
763 * testsuite/gas/mips/branch-local-n32-1.d: New test.
764 * testsuite/gas/mips/branch-local-n64-1.d: New test.
765 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
767 * testsuite/gas/mips/branch-local-1.s: New test source.
768 * testsuite/gas/mips/mips.exp: Run the new cases.
770 2016-06-23 Graham Markall <graham.markall@embecosm.com>
772 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
773 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
774 options. Correct erroneous enabling of SPFP instructions when
777 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
779 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
780 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
781 setbool, xor3>: New tests.
782 * testsuite/gas/ppc/power9.s: Likewise.
784 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
786 * config/tc-xtensa.c: Include elf/xtensa.h.
788 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
790 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
791 <BFD_RELOC_LO16_PCREL>: New switch cases.
792 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
793 Move switch cases along `BFD_RELOC_MIPS_JMP'.
794 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
795 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
797 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
798 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
799 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
800 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
801 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
802 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
803 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
804 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
805 * testsuite/gas/mips/mips.exp: Run the new tests.
807 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
809 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
810 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
811 via `fixP->fx_addsy'.
813 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
815 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
816 Calculate relocation from the containing aligned doubleword.
817 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
818 addend from the containing aligned doubleword.
820 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
822 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
823 rather than `mips_opts' for the R6 ISA check.
824 (mips_fix_adjustable): Likewise.
825 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
826 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
827 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
828 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
829 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
830 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
831 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
832 * testsuite/gas/mips/mips.exp: Run the new tests.
834 2016-06-21 Graham Markall <graham.markall@embecosm.com>
836 * config/tc-arc.c (check_cpu_feature, md_parse_option):
837 Add nps400 option and feature. Add check for nps400
838 feature. Refactor existing checks to check subclass before
840 (md_show_usage): Document flags for NPS-400 and add some other
842 (cpu_type): Remove nps400 CPU type entry
843 (check_zol): Remove bfd_mach_arc_nps400 case.
844 (md_show_usage): Add help on -mcpu=nps400.
845 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
847 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
848 -fpuda flags. Document -mcpu=nps400.
849 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
850 expected flags to match ARC700 instead of NPS400.
851 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
852 * testsuite/gas/arc/nps-400-2.d: Likewise.
853 * testsuite/gas/arc/nps-400-3.d: Likewise.
854 * testsuite/gas/arc/nps-400-4.d: Likewise.
855 * testsuite/gas/arc/nps-400-5.d: Likewise.
856 * testsuite/gas/arc/nps-400-6.d: Likewise.
857 * testsuite/gas/arc/nps-400-7.d: Likewise.
858 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
859 avoid clash with cbba instruction.
860 * testsuite/gas/arc/textinsn2op01.d: Likewise.
861 * testsuite/gas/arc/textinsn3op.d: Likewise.
862 * testsuite/gas/arc/textinsn3op.s: Likewise.
863 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
864 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
866 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
868 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
869 * testsuite/gas/mips/r6-64-n64.d: Likewise.
871 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
873 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
876 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
878 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
880 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
882 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
883 %hmcddfr and %hva_mask_nz.
884 (sparc_ip): New handling of asr/privileged/hyperprivileged
885 registers, adapted to the new form of the sparc opcodes table.
886 * testsuite/gas/sparc/rdasr.s: New file.
887 * testsuite/gas/sparc/rdasr.d: Likewise.
888 * testsuite/gas/sparc/wrasr.s: Likewise.
889 * testsuite/gas/sparc/wrasr.d: Likewise.
890 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
892 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
893 registers require it.
894 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
895 registers and write instruction modalities.
896 * testsuite/gas/sparc/wrpr.d: Likewise.
897 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
899 * testsuite/gas/sparc/rdhpr.d: Likewise.
900 * testsuite/gas/sparc/wrhpr.s: Likewise.
901 * testsuite/gas/sparc/wrhpr.d: Likewise.
903 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
905 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
906 architectures to use the right opcode architecture.
907 (sparc_md_end): Handle v9{c,d,e,v,m}.
908 (sparc_ip): Fix some comments.
909 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
910 instruction, which is v9d.
911 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
912 instruction from the test, as %mwait is not readable.
913 * testsuite/gas/sparc/mwait.d: Likewise.
914 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
915 mismatch architecture errors.
916 * testsuite/gas/sparc/mism-2.s: New file.
918 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
920 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
921 empty string to mark the end of the array.
922 (hpriv_reg_table): Likewise.
923 (v9a_asr_table): Likewise.
924 (cmp_reg_entry): Handle entries with NULL names.
926 (F_POP_PCREL): Likewise.
927 (F_POP_TLS_CALL): Likewise.
928 (F_POP_POSTFIX): Likewise.
929 (struct pop_entry): New type.
930 (pop_table): New variable.
931 (enum pop_entry_type): New type.
932 (struct perc_entry): Likewise.
933 (NUM_PERC_ENTRIES): Define.
934 (perc_table): New variable.
935 (cmp_perc_entry): New function.
936 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
938 (sparc_ip): Handle entries with NULL names in priv_reg_table,
939 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
942 2016-06-15 Nick Clifton <nickc@redhat.com>
944 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
946 * config/tc-mcore.c (md_assemble): Likewise.
947 * config/tc-mn10200.c (md_assemble): Likewise.
948 * config/tc-moxie.c (md_assemble): Likewise.
949 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
950 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
951 exception targets. Add alpha, hppa, microblaze and rl78 to list
953 (forward): Add microblaze to list of exceptions.
954 (fwdexp): Add alpha to list of exceptions.
955 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
956 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
957 (do_930509a): Alpha sort list of exception targets. Add h8300 and
958 mn10200 to list of exceptions.
959 (align2): Expect to fail for nds32.
960 (cond): Add alpha and rl78 to list of exceptions.
961 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
962 * testsuite/gas/all/string.d: Skip for tic4x.
963 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
964 target does not support ELF.
965 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
966 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
967 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
968 tests for sh-pe and sh-rtemscoff targets.
969 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
971 (type): Run the noifunc version for alpha-freebsd and visium.
972 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
973 mn10200 or moxie targets.
974 * testsuite/gas/ft32/insn.d: Update expected disassembly.
975 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
977 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
978 mcore and rx targets.
979 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
981 (purge): Expect to fail on the ns32k and vax.
982 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
983 * testsuite/gas/nds32/ls.d: Likewise.
984 * testsuite/gas/nds32/sys-reg.d: Likewise.
985 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
986 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
987 * testsuite/gas/pe/section-align-3.d: Likewise.
988 * testsuite/gas/pe/section-exclude.d: Likewise.
989 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
991 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
992 for variations in whitespace.
993 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
995 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
996 Installs a 32-bit value without generating warnings on 64-bit
998 Use the new macro to replace the .word directives.
1000 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1002 * testsuite/gas/arc/add_s.d: New file.
1003 * testsuite/gas/arc/add_s.s: New file.
1005 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1007 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1008 * testsuite/gas/arc/nps400-6.d: Likewise.
1010 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1012 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1014 * testsuite/gas/arc/nps400-6.d: Likewise.
1016 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1018 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1019 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1020 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1021 * testsuite/gas/arc/nps400-6.d: Likewise.
1023 2016-06-14 Nick Clifton <nickc@redhat.com>
1025 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1028 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1030 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1031 JALR relocations on R6.
1032 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1033 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1034 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1035 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1036 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1037 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1039 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1040 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1042 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1043 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1045 * testsuite/gas/mips/mips.exp: Run the new tests.
1047 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1049 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1050 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1053 2016-06-13 Nick Clifton <nickc@redhat.com>
1055 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1056 that are not supported.
1058 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1060 * config/tc-cr16.c (check_range): Likewise.
1061 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1063 2016-06-08 Renlin Li <renlin.li@arm.com>
1065 * config/tc-aarch64.c (print_operands): Substitute size.
1066 (output_operand_error_record): Likewise.
1068 2016-06-07 Alan Modra <amodra@gmail.com>
1070 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1071 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1072 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1073 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1074 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1075 add vle_opcodes twice.
1076 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1078 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1080 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1081 (arm_ext_ras): Renamed from arm_ext_v8_2.
1082 (insns): Update for arm_ext_v8_2 renaming.
1083 (arm_extensions): Add "ras".
1084 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1085 * testsuite/gas/arm/armv8-a+ras.d: New.
1086 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1089 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1091 * itbl-parse.y (yyerror): Use modern argument declaration style.
1093 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1095 * config/tc-sh.c (parse_reg): Change type of mode argument to
1097 (get_operand): Adjust.
1098 (insert): Change type of how to bfd_reloc_code_real_type.
1099 (insert4): Likewise.
1100 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1101 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1103 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1105 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1108 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1111 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1112 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1113 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1114 * gas/testsuite/gas/ppc/power8.s: Likewise.
1115 * gas/testsuite/gas/ppc/power8.d: Likewise.
1116 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1118 * gas/testsuite/gas/ppc/power4.d: Likewise.
1120 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1123 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1124 * testsuite/gas/i386/x86-64-branch.d: Updated.
1125 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1126 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1127 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1129 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1131 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1132 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1134 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1136 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1137 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1139 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1141 * configure.tgt: Replace -uclibc with *.
1143 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1145 * config/tc-arc.c (parse_opcode_flags): New function.
1146 (find_opcode_match): Move flag parsing code out to new function.
1147 Ignore operands marked IGNORE.
1148 (build_fake_opcode_hash_entry): New function.
1149 (find_special_case_long_opcode): New function.
1150 (find_special_case): Lookup long opcodes.
1151 * testsuite/gas/arc/nps400-7.d: New file.
1152 * testsuite/gas/arc/nps400-7.s: New file.
1154 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1156 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1158 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1160 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1161 sentinal with iteration to array size.
1163 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1165 * config/xtensa-relax.h: Move typedefs of enums to the enums
1168 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1170 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1173 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1175 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1176 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1177 * testsuite/gas/arc/nps-400-1.d: Likewise.
1179 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1182 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1183 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1184 noavx512ifma and noavx512vbmi.
1185 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1186 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1188 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1189 * testsuite/gas/i386/noavx512-1.l: New file.
1190 * testsuite/gas/i386/noavx512-1.s: Likewise.
1191 * testsuite/gas/i386/noavx512-2.l: Likewise.
1192 * testsuite/gas/i386/noavx512-2.s: Likewise.
1194 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1197 * config/tc-i386.c (cpu_arch): Add 687.
1198 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1199 nosse4.1, nosse4.2, nosse4 and noavx2.
1200 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1201 register. Check cpuregxmm instead of cpusse for XMM register.
1202 Check cpuregymm instead of cpuavx for YMM register. Check
1203 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1204 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1205 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1206 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1207 * testsuite/gas/i386/arch-10.d (as): Likewise.
1208 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1209 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1210 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1212 * testsuite/gas/i386/no87-3.l: New file.
1213 * testsuite/gas/i386/no87-3.s: Likewise.
1214 * testsuite/gas/i386/noavx-3.l: Likewise.
1215 * testsuite/gas/i386/noavx-3.s: Likewise.
1216 * testsuite/gas/i386/noavx-4.d: Likewise.
1217 * testsuite/gas/i386/noavx-4.s: Likewise.
1218 * testsuite/gas/i386/nosse-4.l: Likewise.
1219 * testsuite/gas/i386/nosse-4.s: Likewise.
1220 * testsuite/gas/i386/nosse-5.d: Likewise.
1221 * testsuite/gas/i386/nosse-5.s: Likewise.
1223 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1226 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1228 (match_template): Check Intel64/AMD64 ISA.
1230 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1233 * config/tc-i386.c (intel64): New.
1234 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1235 (md_parse_option): Set intel64 instead of cpuamd64 and
1238 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1240 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1243 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1245 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1246 * testsuite/gas/ppc/altivec3.s: Likewise.
1247 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1248 * testsuite/gas/ppc/power9.s: Likewise.
1250 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1252 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1253 * testsuite/gas/i386/noavx-1.l: Likewise.
1254 * testsuite/gas/i386/nommx-1.l: Likewise.
1255 * testsuite/gas/i386/nosse-1.l: Likewise.
1256 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1257 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1258 * testsuite/gas/i386/noavx-1.s: Likewise.
1259 * testsuite/gas/i386/nommx-1.s: Likewise.
1260 * testsuite/gas/i386/nosse-1.s: Likewise.
1261 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1263 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1265 * config/tc-metag.c (metag_handle_align): Make the type of noop
1268 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1270 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1271 bfd_reloc_code_real_type.
1273 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1276 * config/tc-i386.c (cpu_flags_match): Require another match
1278 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1279 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1280 * testsuite/gas/i386/avx512vl-1.l: New file.
1281 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1282 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1283 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1284 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1285 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1286 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1287 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1289 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1292 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1293 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1294 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1296 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1298 * config/tc-i386.c (arch_entry): Remove negated.
1299 (noarch_entry): New struct.
1300 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1302 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1303 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1305 (output_message): New function.
1306 (show_arch): Use it. Handle cpu_noarch.
1307 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1308 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1309 * testsuite/gas/i386/noavx-1.l: New file.
1310 * testsuite/gas/i386/noavx-1.s: Likewise.
1311 * testsuite/gas/i386/noavx-2.s: Likewise.
1312 * testsuite/gas/i386/noavx-2.l: Likewise.
1313 * testsuite/gas/i386/nommx-1.s: Likewise.
1314 * testsuite/gas/i386/nommx-1.l: Likewise.
1315 * testsuite/gas/i386/nommx-2.s: Likewise.
1316 * testsuite/gas/i386/nommx-2.l: Likewise.
1317 * testsuite/gas/i386/nommx-3.s: Likewise.
1318 * testsuite/gas/i386/nommx-3.l: Likewise.
1319 * testsuite/gas/i386/nosse-1.s: Likewise.
1320 * testsuite/gas/i386/nosse-1.l: Likewise.
1321 * testsuite/gas/i386/nosse-2.s: Likewise.
1322 * testsuite/gas/i386/nosse-2.l: Likewise.
1323 * testsuite/gas/i386/nosse-3.s: Likewise.
1324 * testsuite/gas/i386/nosse-3.l: Likewise.
1326 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1329 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1330 instruction if supported by the currently selected fpu variant.
1331 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1332 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1334 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1336 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1337 jump relocations against MIPS16 or microMIPS symbols on RELA
1339 * testsuite/gas/mips/jalx-local.d: New test.
1340 * testsuite/gas/mips/jalx-local-n32.d: New test.
1341 * testsuite/gas/mips/jalx-local-n64.d: New test.
1342 * testsuite/gas/mips/jalx-local.s: New test source.
1343 * testsuite/gas/mips/mips.exp: Run the new tests.
1345 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1347 * config/tc-mips.c (md_apply_fix)
1348 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1351 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1353 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1354 operator to operatorT.
1355 (map_suffix_reloc_to_operator): Change return type to operatorT.
1357 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1359 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1361 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1363 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1364 handler_charp to const char *.
1366 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1368 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1369 (ft32_target_format): Likewise.
1370 (TARGET_FORMAT): Adjust.
1372 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1374 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1375 (ia64_frob_label): Likewise.
1377 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1379 * config/tc-cr16.c (check_range): Make type of retval op_err.
1380 * config/tc-crx.c: Likewise.
1382 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1384 * config/tc-arc.c (md_begin): Add XY registers.
1385 (cpu_types): Code density is default off for ARC EM.
1387 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1389 * config/tc-arc.c (attributes_t): Renamed attribute class to
1391 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1393 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1395 * configuse.tgt: Add entry for arm-phoenix.
1397 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1399 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1401 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1403 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1405 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1407 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1408 (md_begin): Likewise.
1409 (encode_condition): Likewise.
1410 (encode_cc3): Likewise.
1411 (encode_cc2): Likewise.
1412 (encode_operand): Likewise.
1413 (tic54x_undefined_symbol): Likewise.
1415 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1417 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1419 * doc/c-mips.texi: Document p6600 -march option.
1421 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1424 * config/tc-i386.c (md_apply_fix): Preserve addend for
1425 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1426 * testsuite/gas/i386/addend.d: New file.
1427 * testsuite/gas/i386/addend.s: Likewise.
1428 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1429 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1430 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1431 * testsuite/gas/i386/reloc32.d: Updated.
1433 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1435 * config/tc-mips.c (append_insn): Correct the encoding of a
1436 constant argument for microMIPS JALX.
1437 (tc_gen_reloc): Correct the encoding of an in-place addend for
1439 * testsuite/gas/mips/jalx-addend.d: New test.
1440 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1441 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1442 * testsuite/gas/mips/jalx-imm.d: New test.
1443 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1444 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1445 * testsuite/gas/mips/jalx-addend.s: New test source.
1446 * testsuite/gas/mips/jalx-imm.s: New test source.
1447 * testsuite/gas/mips/mips.exp: Run the new tests.
1449 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1451 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1454 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1456 * config/tc-arc.c (find_opcode_match): Remove casting away of
1458 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1460 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1462 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1464 (md_convert_frag): Likewise.
1466 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1468 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1469 cached opcode to NULL when we reach a non-matching opcode.
1470 * testsuite/gas/arc/asm-errors-2.d: New file.
1471 * testsuite/gas/arc/asm-errors-2.err: New file.
1472 * testsuite/gas/arc/asm-errors-2.s: New file.
1474 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1476 * config/tc-arc.c (tokenize_arguments): Add checks for array
1478 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1479 * testsuite/gas/arc/asm-errors.err: Update expected results.
1481 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1483 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1484 int to enum rx_cpu_types.
1486 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1488 * config/tc-dlx.c (struct machine_it): change the type of a field from
1489 int to bfd_reloc_code_real_type.
1490 * config/tc-tic4x.c: Likewise.
1492 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1494 * config/tc-v850.c (v850_target_arch): change type to enum
1496 * config/tc-v850.h (v850_target_arch): Likewise.
1498 2016-05-18 Alan Modra <amodra@gmail.com>
1500 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1501 allowed negative range.
1502 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1503 * testsuite/gas/ppc/power9.d: Update.
1505 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1507 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1508 disassembling and stop skipping targets.
1509 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1510 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1511 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1512 instruction for targets that have stronger alignment requirement.
1513 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1514 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1515 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1516 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1517 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1518 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1519 * testsuite/gas/arm/archv8m-main.d: Likewise.
1520 * testsuite/gas/arm/archv8m.s: Add label.
1521 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1522 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1523 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1525 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1527 * config/tc-m32r.c (mach_table): Make static and const.
1529 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1531 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1534 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1536 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1538 * config/tc-msp430.c (md_begin): Likewise.
1540 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1542 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1543 bfd_reloc_code_real_type where appropriate.
1544 (fixup16): Likewise.
1545 (fixup8_xg): Likewise.
1547 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1549 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1551 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1553 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1554 * testsuite/gas/ppc/power9.s: Likewise.
1556 2016-05-13 Alan Modra <amodra@gmail.com>
1558 * config/obj-coff.c (weak_uniquify): Delete unused var.
1560 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1562 * app.c (app_push): Use XNEW and related macros.
1563 * as.c (parse_args): Likewise.
1564 * cgen.c (make_right_shifted_expr): Likewise.
1565 (gas_cgen_tc_gen_reloc): Likewise.
1566 * config/bfin-defs.h: Likewise.
1567 * config/bfin-parse.y: Likewise.
1568 * config/obj-coff.c (stack_init): Likewise.
1569 (stack_push): Likewise.
1570 (coff_obj_symbol_new_hook): Likewise.
1571 (coff_obj_symbol_clone_hook): Likewise.
1572 (add_lineno): Likewise.
1573 (coff_frob_symbol): Likewise.
1574 * config/obj-elf.c (obj_elf_section_name): Likewise.
1575 (build_group_lists): Likewise.
1576 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1577 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1578 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1579 (find_or_make_literal_pool): Likewise.
1580 (add_to_lit_pool): Likewise.
1581 (fill_instruction_hash_table): Likewise.
1582 * config/tc-alpha.c (load_expression): Likewise.
1583 (emit_jsrjmp): Likewise.
1584 (s_alpha_ent): Likewise.
1585 (s_alpha_end): Likewise.
1586 (s_alpha_linkage): Likewise.
1587 (md_begin): Likewise.
1588 (tc_gen_reloc): Likewise.
1589 * config/tc-arc.c (arc_insert_opcode): Likewise.
1590 (arc_extcorereg): Likewise.
1591 * config/tc-bfin.c: Likewise.
1592 * config/tc-cr16.c: Likewise.
1593 * config/tc-cris.c: Likewise.
1594 * config/tc-crx.c (preprocess_reglist): Likewise.
1595 * config/tc-d10v.c: Likewise.
1596 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1597 (frv_tomcat_shuffle): Likewise.
1598 * config/tc-h8300.c: Likewise.
1599 * config/tc-i370.c (i370_macro): Likewise.
1600 * config/tc-i386.c (lex_got): Likewise.
1601 (md_parse_option): Likewise.
1602 * config/tc-ia64.c (alloc_record): Likewise.
1603 (set_imask): Likewise.
1604 (save_prologue_count): Likewise.
1605 (dot_proc): Likewise.
1606 (dot_endp): Likewise.
1607 (ia64_frob_label): Likewise.
1608 (add_qp_imply): Likewise.
1609 (add_qp_mutex): Likewise.
1610 (mark_resource): Likewise.
1611 (dot_alias): Likewise.
1612 * config/tc-m68hc11.c: Likewise.
1613 * config/tc-m68k.c (m68k_frob_label): Likewise.
1615 (mri_control_label): Likewise.
1616 (push_mri_control): Likewise.
1617 (build_mri_control_operand): Likewise.
1618 (s_mri_else): Likewise.
1619 (s_mri_break): Likewise.
1620 (s_mri_next): Likewise.
1621 (s_mri_for): Likewise.
1622 (s_mri_endw): Likewise.
1623 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1624 * config/tc-microblaze.c: Likewise.
1625 * config/tc-mmix.c (s_loc): Likewise.
1626 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1627 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1628 * config/tc-rl78.c: Likewise.
1629 * config/tc-rx.c (rx_include): Likewise.
1630 * config/tc-sh.c: Likewise.
1631 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1632 * config/tc-sparc.c: Likewise.
1633 * config/tc-spu.c: Likewise.
1634 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1635 (tic6x_start_unwind_section): Likewise.
1636 * config/tc-tilegx.c: Likewise.
1637 * config/tc-tilepro.c: Likewise.
1638 * config/tc-v850.c: Likewise.
1639 * config/tc-visium.c: Likewise.
1640 * config/tc-xgate.c: Likewise.
1641 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1642 (new_resource_table): Likewise.
1643 (resize_resource_table): Likewise.
1644 (xtensa_create_trampoline_frag): Likewise.
1645 (xtensa_maybe_create_literal_pool_frag): Likewise.
1646 (cache_literal_section): Likewise.
1647 * config/xtensa-relax.c (append_transition): Likewise.
1648 (append_condition): Likewise.
1649 (append_value_condition): Likewise.
1650 (append_constant_value_condition): Likewise.
1651 (append_literal_op): Likewise.
1652 (append_label_op): Likewise.
1653 (append_constant_op): Likewise.
1654 (append_field_op): Likewise.
1655 (append_user_fn_field_op): Likewise.
1656 (enter_opname_n): Likewise.
1657 (enter_opname): Likewise.
1658 (split_string): Likewise.
1659 (parse_insn_templ): Likewise.
1660 (clone_req_or_option_list): Likewise.
1661 (clone_req_option_list): Likewise.
1662 (parse_option_cond): Likewise.
1663 (parse_insn_pattern): Likewise.
1664 (parse_insn_repl): Likewise.
1665 (build_transition): Likewise.
1666 (build_transition_table): Likewise.
1667 * dw2gencfi.c (alloc_fde_entry): Likewise.
1668 (alloc_cfi_insn_data): Likewise.
1669 (cfi_add_CFA_remember_state): Likewise.
1670 (dot_cfi_escape): Likewise.
1671 (dot_cfi_fde_data): Likewise.
1672 (select_cie_for_fde): Likewise.
1673 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1674 * ecoff.c (ecoff_add_bytes): Likewise.
1675 (ecoff_build_debug): Likewise.
1676 * input-scrub.c (input_scrub_push): Likewise.
1677 (input_scrub_begin): Likewise.
1678 (input_scrub_next_buffer): Likewise.
1679 * itbl-ops.c (append_insns_as_macros): Likewise.
1680 (alloc_entry): Likewise.
1681 (alloc_field): Likewise.
1682 * listing.c (listing_newline): Likewise.
1683 (listing_listing): Likewise.
1684 * macro.c (get_any_string): Likewise.
1685 (delete_macro): Likewise.
1686 * stabs.c (generate_asm_file): Likewise.
1687 (stabs_generate_asm_lineno): Likewise.
1688 * subsegs.c (subseg_change): Likewise.
1689 (subseg_get): Likewise.
1690 * symbols.c (define_dollar_label): Likewise.
1691 (symbol_relc_make_sym): Likewise.
1692 * write.c (write_relocs): Likewise.
1694 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1696 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1697 (weak_name2altname): Likewise.
1698 (weak_uniquify): Likewise.
1699 (obj_coff_section): Likewise.
1700 (obj_coff_init_stab_section): Likewise.
1701 * config/obj-elf.c (obj_elf_section_name): Likewise.
1702 (obj_elf_init_stab_section): Likewise.
1703 * config/obj-evax.c (evax_shorten_name): Likewise.
1704 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1705 * config/tc-aarch64.c (create_register_alias): Likewise.
1706 * config/tc-alpha.c (load_expression): Likewise.
1707 (s_alpha_file): Likewise.
1708 (s_alpha_section_name): Likewise.
1709 (tc_gen_reloc): Likewise.
1710 * config/tc-arc.c (md_assemble): Likewise.
1711 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1712 (start_unwind_section): Likewise.
1713 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1714 (hppa_elf_mark_end_of_function): Likewise.
1715 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1716 (nios2_negate_arg): Likewise.
1717 * config/tc-rx.c (rx_section): Likewise.
1718 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1719 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1720 * config/tc-tic54x.c (tic54x_include): Likewise.
1721 (tic54x_macro_info): Likewise.
1722 (subsym_get_arg): Likewise.
1723 (subsym_substitute): Likewise.
1724 (tic54x_start_line_hook): Likewise.
1725 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1726 (xg_reverse_shift_count): Likewise.
1727 * config/xtensa-relax.c (enter_opname_n): Likewise.
1728 (split_string): Likewise.
1729 * dwarf2dbg.c (get_filenum): Likewise.
1730 (process_entries): Likewise.
1731 * expr.c (operand): Likewise.
1732 * itbl-ops.c (alloc_entry): Likewise.
1733 * listing.c (listing_message): Likewise.
1734 (listing_title): Likewise.
1735 * macro.c (check_macro): Likewise.
1736 * stabs.c (s_xstab): Likewise.
1737 * symbols.c (symbol_relc_make_expr): Likewise.
1738 * write.c (compress_debug): Likewise.
1740 2016-05-12 Nick Clifton <nickc@redhat.com>
1743 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1745 2016-05-11 Nick Clifton <nickc@redhat.com>
1748 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1749 big endian ARM configurations.
1751 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1752 Matthew Fortune <matthew.fortune@imgtec.com>
1754 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1756 (md_longopts): Likewise.
1757 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1758 (mips_ases): Define availability for DSPr3.
1759 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1760 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1761 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1763 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1764 .set nodspr3. Fix -mdspr2 formatting.
1765 * testsuite/gas/mips/mips32-dspr3.d: New file.
1766 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1767 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1769 2016-05-11 Nick Clifton <nickc@redhat.com>
1772 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1773 to the pool uses O_constant.
1774 * testsuite/gas/arm/pr20068.s: New test.
1775 * testsuite/gas/arm/pr20068.d: Test driver.
1777 2016-05-11 Nick Clifton <nickc@redhat.com>
1779 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1780 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1781 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1782 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1783 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1784 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1785 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1786 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1787 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1789 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1791 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1792 * testsuite/gas/i386/prefix.d: Adjust.
1793 * testsuite/gas/i386/rdpid.s: New test.
1794 * testsuite/gas/i386/rdpid.d: Ditto.
1795 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1796 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1797 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1798 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1800 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1802 * config/tc-i386.c (cpu_arch): Add RDPID.
1803 * doc/c-i386.texi: Document RDPID.
1805 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1807 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1808 set branch type of a symbol.
1810 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1812 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1813 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1815 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1816 (aeabi_set_public_attributes): Memorize the feature bits of the
1817 architecture selected for Tag_CPU_arch. Use it to set
1818 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1819 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1820 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1821 * testsuite/gas/arm/arch7em-bad-1.d: This.
1822 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1823 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1824 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1825 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1826 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1827 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1828 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1829 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1831 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1833 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1834 allowed_archs an array with 2 entries.
1835 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1836 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1837 (arm_extensions): Use separate entries in allowed_archs when several
1838 archs are allowed to use an extension and change ARCH_ANY in
1839 ARM_ARCH_NONE in allowed_archs.
1840 (arm_parse_extension): Check that, for each allowed_archs entry, all
1841 bits are set in the current architecture, ignoring ARM_ANY entries.
1842 (s_arm_arch_extension): Likewise.
1844 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1846 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1847 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1848 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1849 shared with a non M profile architecture.
1850 (do_rn): New function.
1851 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1853 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1854 (insns): Add ARMv8-M Security Extensions instructions.
1855 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1856 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1857 * testsuite/gas/arm/archv8m-cmse.s: New file.
1858 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1859 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1860 * testsuite/gas/arm/any-cmse.d: Likewise.
1861 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1862 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1863 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1864 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1865 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1866 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1868 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1870 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1871 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1873 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1875 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1876 (fpu_arch_vfp_v3): Likewise.
1877 (fpu_arch_neon_v1): Likewise.
1878 (arm_arch_full): Likewise.
1879 (parse_neon_el_struct_list): Initialize fields of firsttype.
1881 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1883 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1884 (arc_extinsn): Handle new introduced syntax.
1885 * testsuite/gas/arc/textinsn1op.d: New file.
1886 * testsuite/gas/arc/textinsn1op.s: Likewise.
1887 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1889 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1891 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1892 DW_LNS_fixed_advance_pc.
1894 2016-04-27 Alan Modra <amodra@gmail.com>
1896 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1897 (xmemdup0): New inline function.
1899 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1901 * config/tc-mips.c (code_option_type): New enum.
1902 (parse_code_option): Return status indicating option type.
1903 (s_mipsset): Update `parse_code_option' call site accordingly.
1904 Always set register sizes from the ISA with ISA overrides.
1905 (s_module): Update `parse_code_option' call site.
1906 * testsuite/gas/mips/isa-override-1.d: New test.
1907 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1908 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1909 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1910 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1911 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1912 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1913 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1914 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1915 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1916 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1917 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1918 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1919 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1920 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1921 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1922 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1923 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1924 * testsuite/gas/mips/isa-override-2.l: New list test.
1925 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1926 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1927 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1928 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1929 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1930 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1931 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1932 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1933 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1934 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1935 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1937 * testsuite/gas/mips/isa-override-1.s: New test source.
1938 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1939 * testsuite/gas/mips/isa-override-2.s: New test source.
1940 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1941 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1942 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1943 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1944 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1945 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1946 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1947 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1948 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1949 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1950 * testsuite/gas/mips/mips.exp: Run the new tests.
1952 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1955 * config/tc-bfin.c: Likewise.
1956 * config/tc-ia64.c: Likewise.
1957 * config/tc-mep.c: Likewise.
1958 * config/tc-metag.c: Likewise.
1959 * config/tc-nios2.c: Likewise.
1960 * config/tc-rl78.c: Likewise.
1962 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1964 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1965 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1966 (ARC Directives): Add NPS400 to .cpu directive list.
1968 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1970 * config/tc-aarch64.c (aarch64_features): Add "ras".
1971 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1972 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1973 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1974 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1975 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1977 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1979 * testsuite/gas/arc/nps400-6.d: New file.
1980 * testsuite/gas/arc/nps400-6.s: New file.
1982 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1984 * testsuite/gas/arc/nps400-4.d: New file.
1985 * testsuite/gas/arc/nps400-4.s: New file.
1986 * testsuite/gas/arc/nps400-5.d: New file.
1987 * testsuite/gas/arc/nps400-5.s: New file.
1989 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1991 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1994 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1996 Revert prevous change.
1997 * config/tc-arc.c (arc_option): Make .cpu directive
1998 case-sensitive again.
2000 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2002 * config/tc-arc.c (arc_option): Make .cpu directive
2005 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2007 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2009 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2011 * config/tc-mips.c (md_begin): Remove useless assignment.
2013 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2015 * Makefile.in: Regenerated with automake 1.11.6.
2016 * aclocal.m4: Likewise.
2017 * doc/Makefile.in: Likewise.
2019 2016-04-15 Alan Modra <amodra@gmail.com>
2021 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2023 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2025 * config/tc-nios2.c (nios2_as_options): Make file static.
2026 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2027 * config/tc-sparc.c (native_op_table): Likewise.
2029 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2031 * config/tc-m32c.c (M32C_Macros): Remove.
2032 * config/tc-msp430.c (option_numbers): Likewise.
2034 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2036 * testsuite/gas/arc/nps400-3.d: New file.
2037 * testsuite/gas/arc/nps400-3.s: New file.
2039 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2041 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2042 * testsuite/gas/arc/warn.s: Likewise.
2043 * testsuite/gas/elf/elf.exp: Run test for arc.
2045 2016-04-14 Nick Clifton <nickc@redhat.com>
2048 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2049 sections possibly having the SHF_STRINGS flag bit set.
2050 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2052 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2054 * config/tc-arc.c (mach_type_specified_p): Change type to
2056 (arc_option): Set private flags when parsing cpu pseudo-op.
2057 (md_parse_option): Set mach_type_specified_p to TRUE.
2059 2016-04-13 Nick Clifton <nickc@redhat.com>
2062 * testsuite/gas/v850/pr19937.s: New test.
2063 * testsuite/gas/v850/pr19937.d: New test control file.
2064 * testsuite/gas/v850/basic.exp: Run the new test.
2066 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2067 Andrew Bennett <andrew.bennett@imgtec.com>
2069 * config/tc-mips.c (relaxed_branch_length): Use the long
2070 sequence where the target is a weak symbol.
2071 (relaxed_micromips_32bit_branch_length): Likewise.
2072 (relaxed_micromips_16bit_branch_length): Likewise.
2073 * testsuite/gas/mips/branch-weak-1.d: New test.
2074 * testsuite/gas/mips/branch-weak-2.d: New test.
2075 * testsuite/gas/mips/branch-weak-3.d: New test.
2076 * testsuite/gas/mips/branch-weak-4.d: New test.
2077 * testsuite/gas/mips/branch-weak-5.d: New test.
2078 * testsuite/gas/mips/branch-weak.l: New stderr output.
2079 * testsuite/gas/mips/branch-weak.s: New test source.
2080 * testsuite/gas/mips/mips.exp: Run the new tests.
2082 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2084 * config/tc-mips.c (relaxed_branch_length): Use the long
2085 sequence where the distance cannot be determined.
2086 (relaxed_micromips_32bit_branch_length): Likewise.
2087 * testsuite/gas/mips/branch-extern-1.d: New test.
2088 * testsuite/gas/mips/branch-extern-2.d: New test.
2089 * testsuite/gas/mips/branch-extern-3.d: New test.
2090 * testsuite/gas/mips/branch-extern-4.d: New test.
2091 * testsuite/gas/mips/branch-extern.l: New stderr output.
2092 * testsuite/gas/mips/branch-extern.s: New test source.
2093 * testsuite/gas/mips/branch-section-1.d: New test.
2094 * testsuite/gas/mips/branch-section-2.d: New test.
2095 * testsuite/gas/mips/branch-section-3.d: New test.
2096 * testsuite/gas/mips/branch-section-4.d: New test.
2097 * testsuite/gas/mips/branch-section.l: New stderr output.
2098 * testsuite/gas/mips/branch-section.s: New test source.
2099 * testsuite/gas/mips/mips.exp: Run the new tests.
2101 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2103 * testsuite/gas/arc/textauxregister.d: New file.
2104 * testsuite/gas/arc/textauxregister.s: Likewise.
2105 * testsuite/gas/arc/textcondcode.d: Likewise.
2106 * testsuite/gas/arc/textcondcode.s: Likewise.
2107 * testsuite/gas/arc/textcoreregister.d: Likewise.
2108 * testsuite/gas/arc/textcoreregister.s: Likewise.
2109 * testsuite/gas/arc/textpseudoop.d: Likewise.
2110 * testsuite/gas/arc/textpseudoop.s: Likewise.
2111 * testsuite/gas/arc/ld2.d: Update test.
2112 * testsuite/gas/arc/st.d: Likewise.
2113 * testsuite/gas/arc/taux.d: Likewise.
2114 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2115 .extCoreRegister and .extAuxRegister documentation.
2116 * config/tc-arc.c (arc_extcorereg): New function.
2117 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2118 .extAuxRegister pseudo-ops.
2119 (extRegister_t): New type.
2120 (ext_condcode, arc_aux_hash): New global variable.
2121 (find_opcode_match): Check for extensions.
2122 (preprocess_operands): Likewise.
2123 (md_begin): Add aux registers in a hash.
2124 (assemble_insn): Update use arc_flags member.
2125 (tokenize_extregister): New function.
2126 (create_extcore_section): Likewise.
2127 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2129 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2131 * testsuite/gas/arc/noargs_a7.d: New file.
2132 * testsuite/gas/arc/noargs_a7.s: Likewise.
2133 * testsuite/gas/arc/noargs_hs.d: Likewise.
2134 * testsuite/gas/arc/noargs_hs.s: Likewise.
2136 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2138 * testsuite/gas/arc/textinsn-errors.d: New File.
2139 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2140 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2141 * testsuite/gas/arc/textinsn2op.d: Likewise.
2142 * testsuite/gas/arc/textinsn2op.s: Likewise.
2143 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2144 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2145 * testsuite/gas/arc/textinsn3op.d: Likewise.
2146 * testsuite/gas/arc/textinsn3op.s: Likewise.
2147 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2149 * config/tc-arc.c (arcext_section): New variable.
2150 (arc_extinsn): New function.
2151 (md_pseudo_table): Add .extInstruction pseudo op.
2152 (attributes_t): New type.
2153 (suffixclass, syntaxclass, syntaxclassmod): New constant
2155 (find_opcode_match): Remove arc_num_opcodes.
2156 (md_begin): Likewise.
2157 (tokenize_extinsn): New function.
2158 (arc_set_ext_seg): Likewise.
2159 (create_extinst_section): Likewise.
2161 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2163 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2164 (arc_adjust_symtab): New function.
2165 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2166 (obj_adjust_symtab): Likewise.
2167 * testsuite/gas/arc/taux.d: New file.
2168 * testsuite/gas/arc/taux.s: Likewise.
2170 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2172 * config/tc-mips.c (s_option): Sanitize `.option picX'
2174 * testsuite/gas/mips/option-pic-1.d: New test.
2175 * testsuite/gas/mips/option-pic-2.l: New list test.
2176 * testsuite/gas/mips/option-pic-1.s: New test source.
2177 * testsuite/gas/mips/option-pic-2.s: New test source.
2178 * testsuite/gas/mips/mips.exp: Run the new tests.
2180 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2182 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2184 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2185 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2186 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2187 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2188 * testsuite/gas/mips/mips.exp: Run the new tests.
2190 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2192 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2194 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2196 * messages.c (as_bad): Fix a typo in description.
2198 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2200 * config/tc-mips.c (mips_check_options): Unify messages.
2202 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2204 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2207 2016-04-08 Nick Clifton <nickc@redhat.com>
2210 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2211 COFF and AOUT sparc targets.
2213 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2215 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2216 * testsuite/gas/arc/nps400-2.d: New file.
2217 * testsuite/gas/arc/nps400-2.s: New file.
2219 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2221 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2223 (arc_opcode_hash_entry_iterator_init): New function.
2224 (arc_opcode_hash_entry_iterator_next): New function.
2225 (find_opcode_match): Iterate over all arc_opcode entries
2226 referenced by the arc_opcode_hash_entry passed in as a parameter.
2228 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2230 * config/tc-arc.c (arc_find_opcode): Now returns
2231 arc_opcode_hash_entry pointer.
2232 (find_opcode_match): Update argument type, extract arc_opcode from
2233 incoming arc_opcode_hash_entry.
2234 (find_special_case_pseudo): Update return type.
2235 (find_special_case_flag): Update return type.
2236 (find_special_case): Update return type.
2237 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2238 instruction mnemonic, then use find_opcode_match to identify
2239 specific arc_opcode.
2241 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2243 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2244 (arc_find_opcode): New function.
2245 (find_special_case_pseudo): Use arc_find_opcode.
2246 (find_special_case_flag): Likewise.
2247 (assemble_tokens): Likewise.
2248 (md_begin): Build hash using struct arc_opcode_hash_entry.
2250 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2252 * config/tc-arc.c (arc_option): Prepare string for automatic
2254 (declare_register): Likewise.
2256 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2258 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2259 Correct entry for RDMA. Alpha sort entries.
2261 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2263 * config/tc-arc.c (tokenize_flags): Allow greater range of
2264 characters into flag names.
2266 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2268 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2270 (preprocess_operands): Delete.
2271 (assemble_tokens): Remove call to preprocess_operands.
2273 2016-04-07 Nick Clifton <nickc@redhat.com>
2276 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2277 inside a %-macro could not be fully parsed.
2278 * expr.c (integer_constant): Accept and ignore U suffixes to
2280 (operand): When a missing closing parenthesis is encountered,
2281 report the character that was found instead.
2282 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2283 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2284 * testsuite/gas/sparc/pr19910-1.s: New test.
2285 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2286 * testsuite/gas/sparc/pr19910-2.s: New test.
2287 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2289 2016-04-06 Nick Clifton <nickc@redhat.com>
2291 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2292 an EINT instruction. Warn/fix as necessary.
2293 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2294 * testsuite/gas/msp430/bad.l: Update expected messages.
2296 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2298 * testsuite/gas/arc/nps400-1.d: Update expected results.
2299 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2301 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2303 * config/tc-arc.c (is_code_density_p): Compare directly the
2305 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2306 (check_cpu_feature): New function.
2307 (find_opcode_match): Use check_cpu_feature function.
2308 (preprocess_operands): Likewise.
2309 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2310 * testsuite/gas/arc/tdpfp.d: New file.
2311 * testsuite/gas/arc/tfpuda.d: Likewise.
2312 * testsuite/gas/arc/tfpx.s: Likewise.
2314 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2316 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2317 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2318 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2319 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2320 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2321 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2322 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2323 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2325 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2327 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2329 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2330 JUMP instructions type.
2331 * testsuite/gas/arc/relocs-errors.d: New file.
2332 * testsuite/gas/arc/relocs-errors.err: Likewise.
2333 * testsuite/gas/arc/relocs-errors.s: Likewise.
2335 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2338 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2339 only if i.disp_encoding != disp_encoding_32bit.
2340 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2341 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2342 * gas/testsuite/gas/i386/disp32.d: Updated.
2343 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2345 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2348 * testsuite/gas/i386/i386.exp: Run pr19498.
2349 * testsuite/gas/i386/pr19498.d: New file.
2350 * testsuite/gas/i386/pr19498.s: Likewise.
2352 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2354 * config/tc-arc.h: Include 'opcode/arc.h'.
2355 (MAX_INSN_ARGS): Delete.
2356 (MAX_INSN_FLGS): Delete.
2358 2016-04-04 Alan Modra <amodra@gmail.com>
2361 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2362 from function on all paths that set sy_resolving.
2364 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2366 * app.c (app_push): use XNEW macro.
2368 * config/obj-elf.c (obj_elf_change_section): Likewise.
2369 (elf_copy_symbol_attributes): Likewise.
2370 (obj_elf_size): Likewise.
2371 (build_group_lists): Likewise.
2372 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2373 (md_assemble): Likewise.
2374 (tc_gen_reloc): Likewise.
2375 (get_upper_str): Likewise.
2376 (aarch64_parse_features): Likewise.
2377 * config/tc-arm.c (insert_reg_alias): Likewise.
2378 (insert_neon_reg_alias): Likewise.
2379 (find_or_make_literal_pool): Likewise.
2380 (s_arm_elf_cons): Likewise.
2381 (add_unwind_opcode): Likewise.
2382 (arm_parse_extension): Likewise.
2383 * config/tc-avr.c (create_record_for_frag): Likewise.
2384 * config/tc-crx.c: Likewise.
2385 * config/tc-d30v.c: Likewise.
2386 * config/tc-dlx.c (s_proc): Likewise.
2387 * config/tc-ft32.c: Likewise.
2388 * config/tc-h8300.c: Likewise.
2389 * config/tc-hppa.c (pa_proc): Likewise.
2390 (create_new_space): Likewise.
2391 (create_new_subspace): Likewise.
2392 * config/tc-i860.c: Likewise.
2393 * config/tc-i960.c: Likewise.
2394 * config/tc-ia64.c: Likewise.
2395 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2396 (iq2000_record_hi16): Likewise.
2397 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2398 * config/tc-m32r.c (debug_sym): Likewise.
2399 (m32r_record_hi16): Likewise.
2400 * config/tc-m68k.c (m68k_ip): Likewise.
2401 (md_begin): Likewise.
2402 * config/tc-mcore.c: Likewise.
2403 * config/tc-microblaze.c (check_got): Likewise.
2404 * config/tc-mips.c (append_insn): Likewise.
2405 (s_mipsset): Likewise.
2406 (mips_record_label): Likewise.
2407 (s_mips_end): Likewise.
2408 * config/tc-mmix.c (mmix_frob_file): Likewise.
2409 * config/tc-mn10200.c: Likewise.
2410 * config/tc-mn10300.c: Likewise.
2411 * config/tc-moxie.c: Likewise.
2412 * config/tc-msp430.c: Likewise.
2413 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2414 * config/tc-ns32k.c: Likewise.
2415 * config/tc-or1k.c: Likewise.
2416 * config/tc-pdp11.c: Likewise.
2417 * config/tc-pj.c (fake_opcode): Likewise.
2418 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2419 (ppc_macro): Likewise.
2420 (ppc_dwsect): Likewise.
2421 (ppc_machine): Likewise.
2422 * config/tc-rl78.c (rl78_frag_init): Likewise.
2423 * config/tc-rx.c (rx_frag_init): Likewise.
2424 * config/tc-s390.c (s390_lit_suffix): Likewise.
2425 (s390_machine): Likewise.
2426 (s390_machinemode): Likewise.
2427 * config/tc-score.c (s3_insert_reg): Likewise.
2428 (s3_gen_reloc): Likewise.
2429 * config/tc-score7.c (s7_insert_reg): Likewise.
2430 (s7_gen_reloc): Likewise.
2431 * config/tc-tic30.c (tic30_operand): Likewise.
2432 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2433 * config/tc-tic54x.c (stag_add_field): Likewise.
2434 (tic54x_struct): Likewise.
2435 (tic54x_space): Likewise.
2436 (tic54x_field): Likewise.
2437 (tic54x_mlib): Likewise.
2438 (subsym_substitute): Likewise.
2439 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2440 * config/tc-vax.c: Likewise.
2441 * config/tc-xc16x.c: Likewise.
2442 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2443 (directive_push): Likewise.
2444 (xtensa_begin_directive): Likewise.
2445 (tokenize_arguments): Likewise.
2446 (xtensa_add_literal_sym): Likewise.
2447 (new_resource_table): Likewise.
2448 (resize_resource_table): Likewise.
2449 (emit_single_op): Likewise.
2450 (xtensa_create_trampoline_frag): Likewise.
2451 (xtensa_maybe_create_literal_pool_frag): Likewise.
2452 (xtensa_add_config_info): Likewise.
2453 (xtensa_realloc_fixup_cache): Likewise.
2454 (add_subseg_info): Likewise.
2455 (cache_literal_section): Likewise.
2456 (add_xt_block_frags): Likewise.
2457 (add_xt_prop_frags): Likewise.
2458 (init_op_placement_info_table): Likewise.
2459 (build_section_rename): Likewise.
2460 * config/tc-z80.c: Likewise.
2461 * config/tc-z8k.c: Likewise.
2462 * depend.c (register_dependency): Likewise.
2463 * dwarf2dbg.c (get_line_subseg): Likewise.
2464 (dwarf2_gen_line_info_1): Likewise.
2465 (get_filenum): Likewise.
2466 * ecoff.c (allocate_scope): Likewise.
2467 (allocate_vlinks): Likewise.
2468 (allocate_shash): Likewise.
2469 (allocate_thash): Likewise.
2470 (allocate_tag): Likewise.
2471 (allocate_forward): Likewise.
2472 (allocate_thead): Likewise.
2473 (allocate_lineno_list): Likewise.
2474 * expr.c (make_expr_symbol): Likewise.
2475 * hash.c (hash_new_sized): Likewise.
2476 * input-file.c (input_file_push): Likewise.
2477 * listing.c (file_info): Likewise.
2478 (listing_newline): Likewise.
2479 * macro.c (new_formal): Likewise.
2480 (define_macro): Likewise.
2481 * remap.c (add_debug_prefix_map): Likewise.
2482 * symbols.c (symbol_find_noref): Likewise.
2483 (define_dollar_label): Likewise.
2484 (fb_label_instance_inc): Likewise.
2485 (symbol_relc_make_value): Likewise.
2487 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2489 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2490 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2491 (ppc_znop): Likewise.
2492 (ppc_pe_section): Likewise.
2493 (ppc_frob_symbol): Likewise.
2494 * config/tc-tic30.c (tic30_operand): Likewise.
2495 * config/tc-tic4x.c (tic4x_sect): Likewise.
2496 (tic4x_usect): Likewise.
2498 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2500 * config/tc-alpha.c: Const qualify FLT_CHARS.
2501 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2502 * config/tc-cris.h: Likewise.
2504 * config/tc-mmix.c (md_atof): Adjust comment.
2505 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2506 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2508 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2510 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2511 * config/tc-score7.c (s7_gen_reloc): Likewise.
2513 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2515 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2516 bfd_reloc_code_real_type.
2518 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2520 * config/bfin-parse.y (current_inputline): Remove definition.
2521 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2523 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2525 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2528 2016-04-02 Alan Modra <amodra@gmail.com>
2531 * read.c (assign_symbol): Consume rest of line after an error
2532 rather than continuing to process the line.
2534 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2536 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2537 (MAX_FLAG_NAME_LENGTH): ...this.
2538 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2539 * config/tc-arc.c (tokenize_flags): Likewise.
2541 2016-04-01 Alan Modra <amodra@gmail.com>
2543 * cgen.c (weak_operand_overflow_check): Return const char*.
2544 * messages.c (as_internal_value_out_of_range): Formatting.
2545 (as_warn_value_out_of_range): Consify prefix param.
2546 (as_bad_value_out_of_range): Likewise.
2547 * read.c (s_errwarn): Constify msg..
2548 (s_float_space, float_cons): ..and err.
2549 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2550 ieee_md_atof, vax_md_atof): Update prototypes.
2551 * tc.h (md_atof): Update prototype.
2552 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2553 * config/atof-vax.c (vax_md_atof): Likewise.
2554 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2555 * config/tc-aarch64.c (md_atof): Return const char*.
2556 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2557 (s_alpha_comm): Constify sec_name.
2558 (section_name): Constify.
2559 (s_alpha_section): Consify name..
2560 (alpha_elf_section_letter): ..and ptr_msg param..
2561 (md_atof): ..and return.
2562 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2563 * config/tc-arc.c (md_atof): Return const char*.
2564 * config/tc-arm.c (md_atof): Likewise.
2565 * config/tc-avr.c (md_atof): Likewise.
2566 * config/tc-bfin.c (md_atof): Likewise.
2567 * config/tc-cr16.c (md_atof): Likewise.
2568 * config/tc-cris.c (md_atof): Likewise.
2569 * config/tc-crx.c (md_atof): Likewise.
2570 * config/tc-d10v.c (md_atof): Likewise.
2571 * config/tc-d30v.c (md_atof): Likewise.
2572 * config/tc-dlx.c (md_atof): Likewise.
2573 * config/tc-epiphany.c (md_atof): Likewise.
2574 * config/tc-fr30.c (md_atof): Likewise.
2575 * config/tc-frv.c (md_atof): Likewise.
2576 * config/tc-ft32.c (md_atof): Likewise.
2577 * config/tc-h8300.c (md_atof): Likewise.
2578 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2579 (struct default_space_dict): Likewise.
2580 (create_new_space): Constify name param.
2581 (create_new_subspace): Likewise.
2582 (is_defined_space, is_defined_subspace): Likewise.
2583 (pa_parse_space_stmt): Constify space_name param.
2584 (md_atof): Return const char*.
2585 (pa_spaces_begin): Constify name.
2586 * config/tc-i370.c (md_atof): Return const char*.
2587 * config/tc-i386.c (md_atof): Likewise.
2588 (x86_64_section_letter): Constify ptr_msg param.
2589 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2590 * config/tc-i860.c (struct i860_it): Constify error.
2591 (md_atof): Return const char*.
2592 * config/tc-i960.c (md_atof): Likewise.
2593 * config/tc-ia64.c (md_atof): Likewise.
2594 (ia64_elf_section_letter): Constify ptr_msg param.
2595 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2596 * config/tc-ip2k.c (md_atof): Return const char*.
2597 * config/tc-iq2000.c (md_atof): Likewise.
2598 * config/tc-lm32.c (md_atof): Likewise.
2599 * config/tc-m32c.c (md_atof): Likewise.
2600 * config/tc-m32r.c (md_atof): Likewise.
2601 * config/tc-m68hc11.c (md_atof): Likewise.
2602 * config/tc-m68k.c (md_atof): Likewise.
2603 * config/tc-mcore.c (md_atof): Likewise.
2604 * config/tc-mep.c (md_atof): Likewise.
2605 (mep_elf_section_letter): Constify ptr_msg param.
2606 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2607 * config/tc-metag.c (md_atof): Return const char*.
2608 * config/tc-microblaze.c (md_atof): Likewise.
2609 * config/tc-microblaze.h (md_atof): Delete prototype.
2610 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2611 (md_atof): Return const char*.
2612 * config/tc-mmix.c (md_atof): Likewise.
2613 * config/tc-mn10200.c (md_atof): Likewise.
2614 * config/tc-mn10300.c (md_atof): Likewise.
2615 * config/tc-moxie.c (md_atof): Likewise.
2616 * config/tc-msp430.c (md_atof): Likewise.
2617 * config/tc-mt.c (md_atof): Likewise.
2618 * config/tc-nds32.c (md_atof): Likewise.
2619 * config/tc-nios2.c (md_atof): Likewise.
2620 (nios2_elf_section_letter): Constify ptr_msg param.
2621 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2622 * config/tc-ns32k.c (md_atof): Return const char*.
2623 * config/tc-or1k.c (md_atof): Likewise.
2624 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2625 (md_atof): Return const char*.
2626 * config/tc-pj.c (md_atof): Likewise.
2627 * config/tc-ppc.c (md_atof): Likewise.
2628 * config/tc-rl78.c (md_atof): Likewise.
2629 * config/tc-rx.c (md_atof): Likewise.
2630 * config/tc-s390.c (md_atof): Likewise.
2631 * config/tc-score.c (s3_atof, md_atof): Likewise.
2632 * config/tc-sh.c (md_atof): Likewise.
2633 * config/tc-sparc.c (struct sparc_it): Constify error.
2634 (md_atof): Return const char*.
2635 * config/tc-spu.c (md_atof): Likewise.
2636 * config/tc-tic30.c (md_atof): Likewise.
2637 * config/tc-tic4x.c (md_atof): Likewise.
2638 * config/tc-tic54x.c (md_atof): Likewise.
2639 * config/tc-tic6x.c (md_atof): Likewise.
2640 * config/tc-tilegx.c (md_atof): Likewise.
2641 * config/tc-tilepro.c (md_atof): Likewise.
2642 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2643 * config/tc-vax.c (md_atof): Likewise.
2644 * config/tc-visium.c (md_atof): Likewise.
2645 * config/tc-xc16x.c (md_atof): Likewise.
2646 * config/tc-xgate.c (md_atof): Likewise.
2647 * config/tc-xstormy16.c (md_atof): Likewise.
2648 * config/tc-xtensa.c (md_atof): Likewise.
2649 * config/tc-z80.c (md_atof): Likewise.
2650 * config/tc-z8k.c (md_atof): Likewise.
2652 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2654 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2656 (xtensa_section_rename): Make argument type const char *.
2657 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2659 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2661 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2664 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2666 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2668 (m32c_indirect_operand): Likewise.
2669 * config/tc-nds32.c (do_pseudo_b): Likewise.
2670 (do_pseudo_bal): Likewise.
2671 (do_pseudo_ls_bhw): Likewise.
2673 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2675 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2677 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2679 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2681 * config/tc-sparc.c (s_register): Cast a literal to char * in
2684 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2686 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2688 * config/tc-m32r.c (expand_debug_syms): Likewise.
2689 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2690 * config/tc-z80.c (md_begin): Likewise.
2691 * stabs.c (stabs_generate_asm_func): Likewise.
2693 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2695 * cgen.c: Modernize the way functions declare arguments.
2696 * config/tc-bfin.c: Likewise.
2697 * config/tc-pdp11.c: Likewise.
2698 * literal.c: Likewise.
2700 * stabs.c: Likewise.
2702 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2704 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2705 variables unsigned char[].
2706 * config/tc-alpha.c (alpha_handle_align): Likewise.
2707 * config/tc-arm.c (arm_handle_align): Likewise.
2708 * config/tc-z80.c: Likewise.
2710 2016-03-30 Nick Clifton <nickc@redhat.com>
2713 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2716 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2718 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2719 * testsuite/gas/elf/elf.exp: Likewise.
2720 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2722 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2724 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2726 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2728 * testsuite/gas/arc/ext2op.d: New file.
2729 * testsuite/gas/arc/ext2op.s: Likewise.
2730 * testsuite/gas/arc/ext3op.d: Likewise.
2731 * testsuite/gas/arc/ext3op.s: Likewise.
2733 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2735 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2737 * config/tc-alpha.c (md_parse_option): Likewise.
2738 * config/tc-arc.c (md_parse_option): Likewise.
2739 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2740 (md_parse_option): Likewise.
2741 * config/tc-avr.c (md_parse_option): Likewise.
2742 * config/tc-bfin.c (md_parse_option): Likewise.
2743 * config/tc-cr16.c (md_parse_option): Likewise.
2744 * config/tc-cris.c (s_cris_arch): Likewise.
2745 (md_parse_option): Likewise.
2746 * config/tc-crx.c (md_parse_option): Likewise.
2747 * config/tc-d10v.c (md_parse_option): Likewise.
2748 * config/tc-d30v.c (md_parse_option): Likewise.
2749 * config/tc-dlx.c (md_parse_option): Likewise.
2750 * config/tc-epiphany.c (md_parse_option): Likewise.
2751 * config/tc-fr30.c (md_parse_option): Likewise.
2752 * config/tc-frv.c (md_parse_option): Likewise.
2753 * config/tc-ft32.c (md_parse_option): Likewise.
2754 * config/tc-h8300.c (md_parse_option): Likewise.
2755 * config/tc-hppa.c (md_parse_option): Likewise.
2756 * config/tc-i370.c (md_parse_option): Likewise.
2757 * config/tc-i386.c (md_parse_option): Likewise.
2758 * config/tc-i860.c (md_parse_option): Likewise.
2759 * config/tc-i960.c (md_parse_option): Likewise.
2760 * config/tc-ia64.c (md_parse_option): Likewise.
2761 * config/tc-ip2k.c (md_parse_option): Likewise.
2762 * config/tc-iq2000.c (md_parse_option): Likewise.
2763 * config/tc-lm32.c (md_parse_option): Likewise.
2764 * config/tc-m32c.c (md_parse_option): Likewise.
2765 * config/tc-m32r.c (md_parse_option): Likewise.
2766 * config/tc-m68hc11.c (md_parse_option): Likewise.
2767 * config/tc-m68k.c (md_parse_option): Likewise.
2768 * config/tc-mcore.c (md_parse_option): Likewise.
2769 * config/tc-mep.c (md_parse_option): Likewise.
2770 * config/tc-metag.c (struct metag_long_option): Likewise.
2771 (md_parse_option): Likewise.
2772 * config/tc-microblaze.c (md_parse_option): Likewise.
2773 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2774 * config/tc-mips.c (md_parse_option): Adjust.
2775 * config/tc-mmix.c (md_parse_option): Likewise.
2776 * config/tc-mn10200.c (md_parse_option): Likewise.
2777 * config/tc-mn10300.c (md_parse_option): Likewise.
2778 * config/tc-moxie.c (md_parse_option): Likewise.
2779 * config/tc-msp430.c (md_parse_option): Likewise.
2780 * config/tc-mt.c (md_parse_option): Likewise.
2781 * config/tc-nds32.c (md_parse_option): Likewise.
2782 * config/tc-nds32.h (nds32_parse_option): Likewise.
2783 * config/tc-nios2.c (md_parse_option): Likewise.
2784 * config/tc-ns32k.c (md_parse_option): Likewise.
2785 * config/tc-or1k.c (md_parse_option): Likewise.
2786 * config/tc-pdp11.c (md_parse_option): Likewise.
2787 * config/tc-pj.c (md_parse_option): Likewise.
2788 * config/tc-ppc.c (md_parse_option): Likewise.
2789 * config/tc-rl78.c (md_parse_option): Likewise.
2790 * config/tc-rx.c (md_parse_option): Likewise.
2791 * config/tc-s390.c (s390_parse_cpu): Likewise.
2792 * config/tc-score.c (md_parse_option): Likewise.
2793 * config/tc-sh.c (md_parse_option): Likewise.
2794 * config/tc-sparc.c (md_parse_option): Likewise.
2795 * config/tc-spu.c (md_parse_option): Likewise.
2796 * config/tc-tic30.c (md_parse_option): Likewise.
2797 * config/tc-tic4x.c (md_parse_option): Likewise.
2798 * config/tc-tic54x.c (md_parse_option): Likewise.
2799 * config/tc-tic6x.c (md_parse_option): Likewise.
2800 * config/tc-tilegx.c (md_parse_option): Likewise.
2801 * config/tc-tilepro.c (md_parse_option): Likewise.
2802 * config/tc-v850.c (md_parse_option): Likewise.
2803 * config/tc-vax.c (md_parse_option): Likewise.
2804 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2805 * config/tc-xc16x.c (md_parse_option): Likewise.
2806 * config/tc-xgate.c (md_parse_option): Likewise.
2807 * config/tc-xstormy16.c (md_parse_option): Likewise.
2808 * config/tc-xtensa.c (md_parse_option): Likewise.
2809 * config/tc-z80.c (md_parse_option): Likewise.
2810 * config/tc-z8k.c (md_parse_option): Likewise.
2811 * tc.h (md_parse_option): Likewise.
2813 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2815 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2816 * config/tc-hppa.c (fix_new_hppa): Likewise.
2817 (pa_vtable_entry): Likewise.
2818 (pa_vtable_inherit): Likewise.
2819 * config/tc-m68k.c (md_begin): Likewise.
2821 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2823 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2824 * config/obj-elf.h (obj_elf_section_name): Adjust.
2825 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2826 (aarch64_parse_cpu): Likewise.
2827 (aarch64_parse_arch): Likewise.
2828 * config/tc-arm.c (arm_parse_extension): Likewise.
2829 (arm_parse_cpu): Likewise.
2830 (arm_parse_arch): Likewise.
2831 * config/tc-nds32.c: Likewise.
2832 * config/xtensa-relax.c (parse_special_fn): Likewise.
2833 * stabs.c (generate_asm_file): Likewise.
2835 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2837 * config/tc-cr16.c (cr16_assemble): New function.
2838 (md_assemble): Call cr16_assemble.
2840 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2842 * as.c (parse_args): Adjust.
2843 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2844 * config/obj-elf.c (elf_frob_symbol): Adjust.
2846 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2848 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2849 registers to be in the 16..31 range.
2851 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2853 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2856 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2858 * config/tc-visium.c (md_atof): Localize the string returned on
2861 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2863 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2864 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2865 * config/tc-m68hc11.c (md_begin): Likewise.
2866 (print_opcode_list): Likewise.
2867 * config/tc-msp430.c (msp430_section): Likewise.
2868 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2869 (s3_build_dependency_insn_hsh): Likewise.
2870 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2871 (s7_build_dependency_insn_hsh): Likewise.
2872 * config/tc-tic4x.c: Likewise.
2873 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2874 (subsym_get_arg): Likewise.
2875 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2876 (get_directive): Likewise.
2877 (cache_literal_section): Likewise.
2878 * config/xtensa-relax.c: Likewise.
2879 * symbols.c (symbol_create): Likewise.
2880 (local_symbol_make): Likewise.
2881 (symbol_relc_make_expr): Likewise.
2883 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2885 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2888 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2890 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2893 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2895 * config/tc-ia64.c (ia64_do_align): Remove.
2896 (ia64_cons_align): Call do_align () directly.
2897 (dot_proc): Likewise.
2898 (stmt_float_cons): Likewise.
2900 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2902 * listing.c (listing_message): Use XNEW style allocation macros.
2903 * read.c (read_a_source_file): Likewise.
2904 (read_symbol_name): Likewise.
2905 (s_mri_common): Likewise.
2906 (assign_symbol): Likewise.
2907 (s_reloc): Likewise.
2908 (emit_expr_with_reloc): Likewise.
2909 (s_incbin): Likewise.
2910 (s_include): Likewise.
2911 * sb.c (sb_build): Likewise.
2912 (sb_check): Likewise.
2914 2016-03-22 Alan Modra <amodra@gmail.com>
2916 * write.c (record_alignment): Revert 2016-02-18 change.
2918 2016-03-22 Alan Modra <amodra@gmail.com>
2920 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2921 (emit_jsrjmp, tc_gen_reloc): Likewise.
2922 * config/tc-i370.c (i370_macro): Likewise.
2924 2016-03-22 Nick Clifton <nickc@redhat.com>
2926 * configure: Regenerate.
2928 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2930 * testsuite/gas/arc/nps400-0.d: New file.
2931 * testsuite/gas/arc/nps400-0.s: New file.
2932 * testsuite/gas/arc/nps400-1.d: New file.
2933 * testsuite/gas/arc/nps400-1.s: New file.
2935 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2937 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2938 declarations to start of block. Reset code on all flags before
2939 attempting to match them. Handle multiple hits on the same flag.
2941 * testsuite/gas/arc/asm-errors.d: New file.
2942 * testsuite/gas/arc/asm-errors.err: New file.
2943 * testsuite/gas/arc/asm-errors.s: New file.
2945 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2947 * config/tc-arc.c (cpu_types): Add nps400 entry.
2948 (check_zol): Handle nps400.
2950 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2952 * config/tc-arc.c (arc_select_cpu): Remove use of
2955 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2957 * config/tc-arc.c (arc_target): Delay initialisation until
2959 (arc_target_name): Likewise.
2960 (arc_features): Likewise.
2961 (arc_mach_type): Likewise.
2962 (cpu_types): Remove "all" entry.
2963 (arc_select_cpu): New function, most of the content is from...
2964 (md_parse_option): ... here. Call new arc_select_cpu.
2965 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2967 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2969 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2970 * testsuite/gas/arc/inline-data-2.d: New file.
2972 2016-03-21 Nick Clifton <nickc@redhat.com>
2974 * atof-generic.c: Replace use of alloca with call to xmalloc.
2976 * dwarf2dbg.c: Likewise.
2977 * macro.c: Likewise.
2978 * remap.c: Likewise.
2979 * stabs.c: Likewise.
2980 * symbols.c: Likewise.
2981 * config/obj-elf.c: Likewise.
2982 * config/tc-aarch64.c: Likewise.
2983 * config/tc-arc.c: Likewise.
2984 * config/tc-arm.c: Likewise.
2985 * config/tc-avr.c: Likewise.
2986 * config/tc-ia64.c: Likewise.
2987 * config/tc-mips.c: Likewise.
2988 * config/tc-msp430.c: Likewise.
2989 * config/tc-nds32.c: Likewise.
2990 * config/tc-ppc.c: Likewise.
2991 * config/tc-sh.c: Likewise.
2992 * config/tc-tic30.c: Likewise.
2993 * config/tc-tic54x.c: Likewise.
2994 * config/tc-xstormy16.c: Likewise.
2995 * config/te-vms.c: Likewise.
2996 * configure: Regenerate.
2998 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3000 * tc-i386.c (f32_1): Change type to unsigned char[].
3020 (jump_31): Likewise.
3021 (f32_patt): Likewise.
3022 (f16_patt): Likewise.
3031 (alt_patt): Likewise.
3033 2016-03-18 Nick Clifton <nickc@redhat.com>
3035 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3036 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3037 .tlsdescldr and .xword directives.
3040 * testsuite/gas/aarch64/pr19721.s: New test source file.
3041 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3043 * doc/as.texinfo: Place the target specific command line options
3044 into their own man page section.
3046 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3048 * config/tc-arm.c (N_S_32): New.
3049 (N_F_16_32): Likewise.
3050 (N_SUF_32): Support N_F16.
3051 (N_IF_32): Likewise.
3052 (neon_dyadic_misc): Likewise.
3053 (do_neon_cmp): Likewise.
3054 (do_neon_cmp_inv): Likewise.
3055 (do_neon_mul): Likewise.
3056 (do_neon_fcmp_absolute): Likewise.
3057 (do_neon_step): Likewise.
3058 (do_neon_abs_neg): Likewise.
3059 (CVT_FLAVOR_VAR): Likewise.
3060 (do_neon_cvt_1): Likewise.
3061 (do_neon_recip_est): Likewise.
3062 (do_vmaxnm): Likewise.
3063 (do_vrint_1): Likewise.
3064 (neon_check_type): Check architecture support for FP16 extension.
3065 (insns): Update comments.
3066 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3067 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3068 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3069 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3071 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3073 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3076 2016-03-16 Nick Clifton <nickc@redhat.com>
3078 * read.c (emit_expr_with_reloc): Add code check a bignum with
3080 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3082 * testsuite/gas/elf/bignum.s: New test source file.
3083 * testsuite/gas/elf/bignum.d: New test driver file.
3084 * testsuite/gas/elf/elf.exp: Run the new test.
3086 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3088 * doc/c-i386.texi (Register Naming): Update to details of the
3089 latest architecture version.
3091 2016-03-10 Mickael Guene <mickael.guene@st.com>
3094 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3096 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3097 (do_t_mov_cmp): Likewise.
3098 (do_t_add_sub): Protect against bad relocations usage.
3099 (do_t_mov_cmp): Likewise.
3100 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3101 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3102 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3103 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3105 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3107 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3109 (do_neon_ld_st_lane): Likewise.
3110 (do_neon_ld_dup): Likewise.
3112 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3114 * testsuite/gas/arc/inline-data-1.d: New file.
3115 * testsuite/gas/arc/inline-data-1.s: New file.
3117 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3119 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3120 * doc/c-arm.texi: Add cortex-r8.
3122 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3124 * config/tc-arc.c: Add const qualifiers.
3125 * config/tc-h8300.c (md_begin): Likewise.
3126 * config/tc-ia64.c (print_prmask): Likewise.
3127 * config/tc-msp430.c (msp430_operands): Likewise.
3128 * config/tc-nds32.c (struct suffix_name): Likewise.
3129 (struct nds32_parse_option_table): Likewise.
3130 (struct nds32_set_option_table): Likewise.
3131 (do_pseudo_pushpopm): Likewise.
3132 (do_pseudo_pushpop_stack): Likewise.
3133 (nds32_relax_relocs): Likewise.
3134 (nds32_flag): Likewise.
3135 (struct nds32_hint_map): Likewise.
3136 (nds32_find_reloc_table): Likewise.
3137 (nds32_match_hint_insn): Likewise.
3138 * config/tc-s390.c: Likewise.
3139 * config/tc-sh.c (get_specific): Likewise.
3140 * config/tc-tic30.c: Likewise.
3141 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3142 (tic4x_indirect_parse): Likewise.
3143 * config/tc-vax.c (vax_cons): Likewise.
3144 * config/tc-z80.c (struct reg_entry): Likewise.
3145 * config/tc-epiphany.c (md_assemble): Adjust.
3146 (epiphany_assemble): New function.
3147 (epiphany_elf_section_rtn): Call do_align directly.
3148 (epiphany_elf_section_text): Likewise.
3149 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3150 (ip2k_elf_section_text): Likewise.
3151 * read.c (do_align): Make it not static.
3152 * read.h (do_align): New prototype.
3154 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3156 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3157 for ARMv8.1 AdvSIMD use.
3158 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3159 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3161 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3163 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3165 (record_feature_use): New.
3166 (mark_feature_used): Use record_feature_use.
3167 (do_neon_qrdmlah): New.
3168 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3170 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3171 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3172 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3173 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3174 Make source file explicit.
3175 * testsuite/gas/arm/armv8-a+rdma.l: New.
3176 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3177 directives. Fix white-space.
3178 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3180 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3182 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3184 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3185 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3187 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3188 (tc_arc_fix_adjustable): Changed default return value to 1.
3189 * testsuite/gas/arc/j.d: Updated expected symbol
3190 * testsuite/gas/arc/jl.d: Likewise
3191 * testsuite/gas/arc/relax-avoid1.d: Likewise
3192 * testsuite/gas/arc/st.d: Likewise
3194 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3196 * config/tc-arc.c: Enable code density instructions for ARC EM.
3198 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3201 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3203 * as.c (flag_use_elf_stt_common): New.
3204 (show_usage): Add --elf-stt-common=.
3205 (option_values): Add OPTION_ELF_STT_COMMON.
3206 (std_longopts): Add --elf-stt-common=.
3207 (parse_args): Handle --elf-stt-common=.
3208 * as.h (flag_use_elf_stt_common): New.
3209 * config.in: Regenerated.
3210 * configure: Likewise.
3211 * configure.ac: Add --enable-elf-stt-common and define
3212 DEFAULT_GENERATE_ELF_STT_COMMON.
3213 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3214 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3215 * doc/as.texinfo: Document --elf-stt-common=.
3216 * testsuite/gas/elf/common3.s: New file.
3217 * testsuite/gas/elf/common3a.d: Likewise.
3218 * testsuite/gas/elf/common3b.d: Likewise.
3219 * testsuite/gas/elf/common4.s: Likewise.
3220 * testsuite/gas/elf/common4a.d: Likewise.
3221 * testsuite/gas/elf/common4b.d: Likewise.
3222 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3223 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3224 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3226 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3227 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3228 --elf-stt-common=no to as.
3229 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3230 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3231 --elf-stt-common=no to as.
3232 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3233 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3234 of dw2-compress-3 and dw2-compressed-3.
3236 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3238 * as.c (select_emulation_mode): Add const qualifiers.
3240 * config/bfin-defs.h: Likewise.
3241 * config/bfin-parse.y: Likewise.
3242 * config/rx-parse.y: Likewise.
3243 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3244 (struct aarch64_cpu_option_table): Likewise.
3245 (struct aarch64_arch_option_table): Likewise.
3246 (struct aarch64_option_cpu_value_table): Likewise.
3247 (struct aarch64_long_option_table): Likewise.
3248 (struct aarch64_option_abi_value_table): Likewise.
3249 * config/tc-arm.c (struct reloc_entry): Likewise.
3250 (tc_gen_reloc): Likewise.
3251 (struct arm_option_table): Likewise.
3252 (struct arm_legacy_option_table): Likewise.
3253 (struct arm_cpu_option_table): Likewise.
3254 (struct arm_arch_option_table): Likewise.
3255 (struct arm_option_extension_value_table): Likewise.
3256 (struct arm_option_fpu_value_table): Likewise.
3257 (struct arm_option_value_table): Likewise.
3258 (struct arm_long_option_table): Likewise.
3259 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3260 (struct mcu_type_s): Likewise.
3261 (struct exp_mod_s): Likewise.
3262 (avr_operand): Likewise.
3263 (avr_operands): Likewise.
3264 * config/tc-d10v.c (md_begin): Likewise.
3265 * config/tc-dlx.c: Likewise.
3266 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3267 * config/tc-ft32.c (parse_condition): Likewise.
3268 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3269 * config/tc-hppa.c (pa_ip): Likewise.
3270 (hppa_regname_to_dw2regnum): Likewise.
3271 * config/tc-i370.c (i370_elf_suffix): Likewise.
3272 * config/tc-i960.c (struct tabentry): Likewise.
3273 * config/tc-m32r.c: Likewise.
3274 * config/tc-m68k.c: Likewise.
3275 * config/tc-m68k.h: Likewise.
3276 * config/tc-mcore.c (parse_psrmod): Likewise.
3277 * config/tc-metag.c (struct metag_core_option): Likewise.
3278 (struct metag_long_option): Likewise.
3279 * config/tc-microblaze.c: Likewise.
3280 * config/tc-mips.c (macro): Likewise.
3281 * config/tc-mn10200.c: Likewise.
3282 * config/tc-mn10300.c: Likewise.
3283 * config/tc-msp430.c (struct rcodes_s): Likewise.
3284 (struct hcodes_s): Likewise.
3285 (md_parse_option): Likewise.
3286 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3287 (optlist): Likewise.
3288 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3289 (tc_ppc_regname_to_dw2regnum): Likewise.
3290 * config/tc-ppc.h: Likewise.
3291 * config/tc-rl78.c: Likewise.
3292 * config/tc-rx.c (struct cpu_type): Likewise.
3293 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3294 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3295 (sparc_ip): Likewise.
3296 * config/tc-spu.c (insn_fmt_string): Likewise.
3297 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3298 * config/tc-v850.c: Likewise.
3299 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3300 (struct visium_long_option_table): Likewise.
3301 * config/tc-xgate.c: Likewise.
3302 * config/tc-z8k.c: Likewise.
3303 * read.c (add_include_dir): Likewise.
3306 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3308 * testsuite/gas/all/gas.exp: Change target pattern to cover
3310 * testsuite/gas/all/redef3.d: Likewise.
3311 * testsuite/gas/elf/elf.exp: Likewise.
3313 2016-02-24 Renlin Li <renlin.li@arm.com>
3315 * config/tc-arm.c (BAD_FP16): New error message macro.
3316 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3317 fp16 scalar instructions.
3318 (neon_check_type): Allow different size from key.
3319 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3320 (try_vfp_nsyn): Likewise.
3321 (do_vfp_nsyn_mla_mls): Likewise.
3322 (do_vfp_nsyn_fma_fms): Likewise.
3323 (do_vfp_nsyn_ldm_stm): Likewise
3324 (do_vfp_nsyn_sqrt): Likewise
3325 (do_vfp_nsyn_div): Likewise
3326 (do_vfp_nsyn_nmul): Likewise.
3327 (do_vfp_nsyn_cmp): Likewise.
3328 (do_neon_shll): Likewise.
3329 (do_vfp_nsyn_cvt_fpv8): Likewise.
3330 (do_neon_cvttb_2): Likewise.
3331 (do_neon_mov): Likewise.
3332 (do_neon_rshift_round_imm): Likewise.
3333 (do_neon_ldr_str): Likewise.
3334 (do_vfp_nsyn_fpv8): Likewise.
3335 (do_vmaxnm): Likewise.
3336 (do_vrint_1): Likewise.
3337 (insns): New entry for vins, vmovx.
3338 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3339 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3340 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3341 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3342 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3343 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3344 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3346 2016-02-24 Renlin Li <renlin.li@arm.com>
3348 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3349 (neon_shape_class): New SC_HALF.
3350 (neon_shape_el): New SE_H.
3351 (neon_shape_el_size): New size for SE_H.
3352 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3353 (neon_select_shape): Add SE_H support code.
3354 (el_type_of_type_chk): Use N_F_ALL.
3355 (do_vfp_nsyn_cvt): Add SE_H shape support.
3356 (do_neon_cvtz): Likewise.
3357 (do_neon_cvt_1): Likewise.
3358 (do_neon_cvttb_1): Likewise.
3360 2016-02-24 Renlin Li <renlin.li@arm.com>
3362 * testsuite/gas/arm/copro.d: Adjust output.
3363 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3365 2016-02-24 Renlin Li <renlin.li@arm.com>
3367 * testsuite/gas/arm/mask_1.d: New.
3368 * testsuite/gas/arm/mask_1.s: New.
3370 2016-02-24 Renlin Li <renlin.li@arm.com>
3372 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3373 * testsuite/gas/arm/copro.d: Update.
3375 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3377 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3378 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3380 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3382 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3384 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3386 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3389 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3391 * output-file.c (output_file_create): Make file name argument const.
3392 (output_file_close): Likewise.
3393 * output-file.h (output_file_create): Adjust.
3394 (output_file_close): Likewise.
3395 * depend.c (quote_string_for_make): Make src argument const char *.
3396 (register_dependency): Likewise.
3397 (wrap_output): Likewise.
3398 * as.h (register_dependency): Adjust.
3399 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3401 * symbols.c (S_SET_EXTERNAL): Likewise.
3402 * input-scrub.c (as_where): Return the file name.
3403 * as.h (as_where): Adjust prototype.
3404 * app.c (do_scrub_chars): Adjust.
3405 * cond.c (s_elseif): Likewise.
3407 (initialize_cframe): Likewise.
3408 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3409 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3410 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3411 * config/tc-aarch64.c (output_info): Likewise.
3412 * config/tc-ia64.c (md_assemble): Likewise.
3413 (dot_alias): Likewise.
3414 * config/tc-m68k.c (m68k_frob_label): Likewise.
3415 * config/tc-mmix.c (s_bspec): Likewise.
3416 (mmix_handle_mmixal): Likewise.
3417 * config/tc-rx.c (rx_include): Likewise.
3418 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3419 (tic54x_adjust_symtab): Likewise.
3420 * config/tc-xtensa.c (directive_push): Likewise.
3421 (xtensa_sanity_check): Likewise.
3422 (xtensa_relax_frag): Likewise.
3423 (md_convert_frag): Likewise.
3424 (tinsn_to_slotbuf): Likewise.
3425 * dwarf2dbg.c (dwarf2_where): Likewise.
3426 * ecoff.c (add_file): Likewise.
3427 (ecoff_generate_asm_lineno): Likewise.
3428 * expr.c (make_expr_symbol): Likewise.
3429 * frags.c (frag_new): Likewise.
3430 (frag_var_init): Likewise.
3431 * listing.c (listing_newline): Likewise.
3432 * messages.c (identify): Likewise.
3433 (as_show_where): Likewise.
3434 (as_warn_internal): Likewise.
3435 (as_bad_internal): Likewise.
3436 * read.c (s_irp): Likewise.
3437 (s_macro): Likewise.
3438 (s_reloc): Likewise.
3439 * stabs.c (stabs_generate_asm_file): Likewise.
3440 (stabs_generate_asm_lineno): Likewise.
3441 (stabs_generate_asm_func): Likewise.
3442 * write.c (fix_new_internal): Likewise.
3443 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3444 (as_warn_value_out_of_range): Adjust prototype.
3445 (as_bad_value_out_of_range): Adjust prototype.
3446 * messages.c (identify): Make file name argument const char *.
3447 (as_warn_internal): Likewise.
3448 (as_warn_where): Likewise.
3449 (as_bad_internal): Likewise.
3450 (as_bad_where): Likewise.
3451 (as_internal_value_out_of_range): Likewise.
3452 (as_warn_value_out_of_range): Likewise.
3453 (as_bad_value_out_of_range): Likewise.
3454 * as.h (found_comment_file): Change type to const char *.
3455 * cond.c (file_line::file): Likewise.
3456 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3457 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3458 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3459 * config/tc-aarch64.c (output_info): Likewise.
3460 * config/tc-alpha.c (insert_operand): Likewise.
3461 * config/tc-arc.c (insert_operand): Likewise.
3462 * config/tc-d30v.c (check_size): Likewise.
3463 * config/tc-ia64.c (struct alias): Likewise.
3464 * config/tc-m68k.c (struct label_line): Likewise.
3465 * config/tc-mcore.c (md_apply_fix): Likewise.
3466 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3467 * config/tc-mips.c (mips16_immed): Likewise.
3468 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3469 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3470 * config/tc-rx.c (rx_include): Likewise.
3471 * config/tc-s390.c (s390_insert_operand): Likewise.
3472 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3473 (tic54x_adjust_symtab): Likewise.
3474 * config/tc-tilegx.c (insert_operand): Likewise.
3475 (apply_special_operator): Likewise.
3476 * config/tc-tilepro.c (insert_operand): Likewise.
3477 * config/tc-xtensa.c (directive_push): Likewise.
3478 * ecoff.c (add_file): Likewise.
3479 (ecoff_generate_asm_lineno): Likewise.
3480 * listing.c (listing_newline): Likewise.
3481 * read.c (s_irp): Likewise.
3482 * write.c (install_reloc): Likewise.
3483 * write.h (struct fix): Likewise.
3484 * input-file.c (file_name): Change type to const char *.
3485 (saved_file::file_name): Likewise.
3486 (input_file_open): Change type of argument to const char *.
3487 * input-file.h (input_file_open): Adjust.
3488 * input-scrub.c (logical_input_file): change type to const char *.
3489 (physical_input_file): Likewise.
3490 (struct input_save): Adjust.
3491 (input_scrub_push): Adjust.
3492 (input_scrub_begin): Adjust.
3494 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3495 (input_scrub_include_file): Likewise.
3496 (new_logical_line_flags): Likewise.
3497 (new_logical_line): Likewise.
3499 * frags.h (struct frag): Change type of fr_file to const char *.
3500 * expr.c (expr_symbol_where): Change type of file argument to
3502 * expr.h (expr_symbol_where): Likewise.
3503 * config/tc-i370.c (md_apply_fix): adjust.
3504 * config/tc-mmix.c (mmix_md_end): Likewise.
3505 * config/tc-ppc.c (md_apply_fix): Likewise.
3506 * config/tc-s390.c (md_apply_fix): Likewise.
3507 * symbols.c (report_op_error): Likewise.
3508 (resolve_symbol_value): Likewise.
3509 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3510 (rsrc::file): Likewise.
3511 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3513 (xtensa_relax_frag): Likewise.
3514 (md_convert_frag): Likewise.
3515 (tinsn_to_slotbuf): Likewise.
3516 * expr.c (expr_symbol_line): Likewise.
3517 * macro.c (define_macro): Likewise.
3518 * macro.h (macro_struct): Likewise.
3519 * messages.c (as_show_where): Likewise.
3520 * read.c (s_macro): Likewise.
3521 * stabs.c (stabs_generate_asm_file): Likewise.
3522 (generate_asm_file): Likewise.
3523 (stabs_generate_asm_lineno): Likewise.
3524 * write.h (struct reloc_list): Likewise.
3525 * input-scrub.c (as_where): Change return type to const char *.
3526 * as.h (as_wheree): Adjust.
3528 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3530 * write.c (compress_debug): Move BFD compression bits setting
3532 (write_object_file): Here.
3534 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3536 * config/tc-i386.c (register_number): Check RegVRex.
3537 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3538 with %zmm19 and %zmm3.
3539 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3540 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3542 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3543 Jiong Wang <jiong.wang@arm.com>
3545 * config/tc-arm.c (arm_ext_fp16): New.
3546 (arm_extensions): New entry for "fp16".
3548 2016-02-19 Nick Clifton <nickc@redhat.com>
3551 * read.c (read_a_source_file): Check for assemble_one returning
3552 with input_line_pointer set to NULL.
3554 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3556 * listing.c (rebuffer_line): Change return type to void.
3558 * symbols.c (decode_local_label_name): Make type a const char *.
3559 * listing.c (print_source): Make type of p const char *.
3560 (print_line): Make type of string const char *.
3561 (buffer_line): Return const char *.
3562 (title): Make type const char *.
3563 (subtitle): Likewise.
3564 (listing_listing): Make type of p const char *.
3565 * messages.c (as_internal_value_out_of_range): Make type of prefix
3567 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3568 and string const char *.
3569 * read.c (_bfd_rel): Make type of name const char *.
3570 * app.c (out_string): Change type to const char *.
3571 (struct app_save::out_string): Likewise.
3573 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3574 Nick Clifton <nickc@redhat.com>
3576 * read.c (finish_bundle): Avoid recording a negative alignment.
3577 (do_align): Use unsigned values for n, len and max. Only create
3578 a frag if the alignment requirement is greater than the minimum
3579 byte alignment. Avoid recording a negative alignment.
3580 (s_align): Use unsigned values where appropriate.
3581 (bss_alloc): Use an unsigned value for the alignment.
3582 (sizeof_sleb128): Add a comment noting that we encode one octet
3583 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3584 (emit_leb129_expr): Abort if the emitted encoding was longer than
3586 * read.h (output_leb128): Update prototype.
3587 (sizeof_leb128): Update prototype.
3588 (bss_alloc): Update prototype.
3589 * write.c (record_alignment): Use an unsigned value for the
3590 alignment. Do not record alignments less than the minimum
3591 alignment for a byte.
3592 * write.h (record_alignment): Update prototype.
3594 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3596 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3597 .init.literal/.fini.literal section name.
3598 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3599 list of xtensa tests.
3600 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3601 init-fini-literals test result patterns.
3602 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3603 init-fini-literals test.
3605 2016-02-17 Nick Clifton <nickc@redhat.com>
3607 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3608 devices.csv file as of March 2016.
3610 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3612 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3614 (tc_arc_regname_to_dw2regnum): Likewise.
3615 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3616 (tc_cfi_frame_initial_instructions): Likewise.
3617 (tc_regname_to_dw2regnum): Likewise.
3618 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3619 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3620 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3622 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3624 * doc/internals.texi (S_IS_EXTERN): Remove.
3626 2016-02-16 Nick Clifton <nickc@redhat.com>
3628 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3631 2016-02-16 Renlin Li <renlin.li@arm.com>
3634 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3635 * testsuite/gas/aarch64/movw_label.d: New.
3636 * testsuite/gas/aarch64/movw_label.s: New.
3638 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3641 * config/rx-parse.y (MOV): Opcode generation for index
3642 register addressing mode.
3643 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3644 * testsuite/gas/rx/pr19665.s: New file.
3645 * testsuite/gas/rx/pr19665.s: New file.
3646 * testsuite/gas/rx/mov.d: Update expected output.
3648 2016-02-15 Nick Clifton <nickc@redhat.com>
3650 * doc/as.texinfo (.section): Document that numeric values can now
3651 be used for the flags and type fields of the ELF target's .section
3652 directive. Add notes about the restrictions on setting flags and
3654 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3655 to be given processor specific section types. Allow processor and
3656 application specific flags of a section to be set after
3658 (obj_elf_parse_section_letters): Handle parsing numeric values.
3659 (obj_elf_section_type): Handle parsing numeric values.
3660 (obj_elf_section): Allow numeric type values.
3661 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3662 * testsuite/gas/elf/section10.d: New test.
3663 * testsuite/gas/elf/section10.s: Source file for new test.
3664 * testsuite/gas/elf/elf.exp: Run the new test.
3665 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3666 the description of the flags produced by readelf.
3667 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3668 * NEWS: Mention the new feature.
3670 2016-02-11 Nick Clifton <nickc@redhat.com>
3673 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3674 until it is actually used.
3675 (cfi_set_sections): Set cfi_sections_set to true.
3676 (dot_cfi_startproc): Likewise.
3677 (dot_cfi_endproc): Likewise.
3678 (dot_cfi_fde_data): Likewise.
3679 (cfi_finish): Likewise.
3680 (dot_cfi_sections): Do not set cfi_sections_set.
3681 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3682 their own cfi section name. Also note that the directive can be
3683 reissued provided that CFI generation has not started.
3684 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3685 .cfi_endproc directives so that the redefinition of .cfi_sections
3686 will trigger the generation of the error message.
3687 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3688 number of error message.
3690 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3691 Janek van Oirschot <jvanoirs@synopsys.com>
3693 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3694 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3696 (arc_flags, arc_relax_type): New structure.
3697 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3698 (RELAX_TABLE_ENTRY_MAX): New define.
3699 (relaxation_state, md_relax_table, arc_relaxable_insns)
3700 (arc_num_relaxable_ins): New variable.
3701 (rlx_operand_type, arc_rlx_types): New enums.
3702 (arc_relaxable_ins): New structure.
3703 (OPTION_RELAX): New option.
3704 (arc_insn): New relax member.
3705 (arc_flags): Remove.
3706 (relax_insn_p): New function.
3707 (apply_fixups): Likewise.
3708 (relaxable_operand): Likewise.
3709 (may_relax_expr): Likewise.
3710 (relaxable_flag): Likewise.
3711 (arc_pcrel_adjust): Likewise.
3712 (md_estimate_size_before_relax): Implement.
3713 (md_convert_frag): Likewise.
3714 (md_parse_option): Handle new mrelax option.
3715 (md_show_usage): Likewise.
3716 (assemble_insn): Set relax member.
3717 (emit_insn0): New function.
3718 (emit_insn1): Likewise.
3719 (emit_insn): Handle relaxation case.
3720 * NEWS: Mention the new relaxation option.
3721 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3722 * doc/as.texinfo (Target ARC Options): Likewise.
3723 * testsuite/gas/arc/relax-avoid1.d: New file.
3724 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3725 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3726 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3727 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3728 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3729 * testsuite/gas/arc/relax-b.d: Likewise.
3730 * testsuite/gas/arc/relax-b.s: Likewise.
3732 2016-02-08 Nick Clifton <nickc@redhat.com>
3734 * config/tc-ia64.c (dot_prologue): Fix formatting.
3736 2016-02-04 Nick Clifton <nickc@redhat.com>
3738 * config/obj-elf.c (obj_elf_change_section): Remove support for
3739 ARM NOREAD sections.
3740 * config/tc-arm.c (arm_elf_section_letter): Delete.
3741 * config/tc-arm.h (md_elf_section_letter): Delete.
3742 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3743 * testsuite/gas/arm/section-execute-only.d: Delete.
3744 * testsuite/gas/arm/section-execute-only.s: Delete.
3746 2016-02-04 Nick Clifton <nickc@redhat.com>
3749 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3750 to handle encoding of RRUX instruction.
3751 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3753 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3755 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3757 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3758 substitutions for BFD_RELOC_* as unsigned.
3759 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3760 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3761 * testsuite/gas/xtensa/loc.s: New file: loc test.
3763 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3765 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3767 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3770 * NEWS: Mention new command line option -mrelax-relocations and
3771 new configure option --enable-x86-relax-relocations for x86
3773 * config.in: Regenerated.
3774 * configure.ac: Add --enable-x86-relax-relocations.
3775 (ac_default_x86_relax_relocations): New. Default to 1 except
3776 for x86 Solaris targets older than Solaris 12.
3777 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3778 * configure: Likewise.
3779 * config/tc-i386.c (generate_relax_relocations): New.
3780 (OPTION_MRELAX_RELOCATIONS): Likewise.
3781 (output_disp): Don't generate relax relocations if
3782 generate_relax_relocations is 0.
3783 (md_longopts): Add -mrelax-relocations.
3784 (md_show_usage): Likewise.
3785 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3786 * doc/c-i386.texi: Document -mrelax-relocations=.
3787 * testsuite/gas/i386/got-no-relax.d: New file.
3788 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3789 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3790 * testsuite/gas/i386/localpic.d: Likewise.
3791 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3792 * testsuite/gas/i386/reloc32.d: Likewise.
3793 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3794 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3795 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3796 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3797 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3798 x86-64-gotpcrel-no-relax.
3800 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3802 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3805 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3807 * NEWS: Remove duplicated marker for 2.26.
3809 2016-02-02 Renlin Li <renlin.li@arm.com>
3811 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3813 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3815 * testsuite/gas/ip2k/allinsn.d: New file.
3816 * testsuite/gas/ip2k/allinsn.s: New file.
3817 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3819 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3821 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3822 some load instructions.
3823 * testsuite/gas/epiphany/allinsn.d: Likewise.
3824 * testsuite/gas/epiphany/regression.d: Likewise.
3826 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3828 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3829 suffixes from instruction mnemonics in expected output.
3830 * testsuite/gas/epiphany/allinsn.d: Likewise.
3831 * testsuite/gas/epiphany/regression.d: Likewise.
3832 * testsuite/gas/epiphany/sample.d: Likewise.
3834 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3836 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3838 * testsuite/gas/epiphany/allinsn.d: Likewise.
3839 * testsuite/gas/epiphany/sample.d: Likewise.
3841 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3843 * testsuite/gas/epiphany/sample.d: Update expected output.
3845 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3847 * config/tc-arc.c (md_apply_fix): Allow addendum.
3848 (arc_reloc_op): Allow complex expressions for tpoff.
3849 (md_apply_fix): Handle resolved TLS local symbol.
3850 * testsuite/gas/arc/tls-relocs1.d: New file.
3851 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3853 2016-02-01 Loria <Loria@phantasia.org>
3856 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3857 efficiency and avoid an LLVM loop optimization bug.
3859 2016-02-01 Nick Clifton <nickc@redhat.com>
3861 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3862 message extending a negative 32-bit value into a larger signed
3863 value on a 32-bit host.
3865 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3868 * configure.ac (compressed_debug_sections): Replace == with =.
3869 * configure: Regenerated.
3871 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3872 H.J. Lu <hongjiu.lu@intel.com>
3874 * config/tc-i386.c (avoid_fence): New.
3875 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3877 (OPTION_FENCE_AS_LOCK_ADD): New.
3878 (md_longopts): Add -mfence-as-lock-add.
3879 (md_parse_option): Handle -mfence-as-lock-add.
3880 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3881 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3882 * testsuite/gas/i386/i386.exp: Run new tests.
3883 * testsuite/gas/i386/fence-as-lock-add.s: New.
3884 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3885 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3886 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3887 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3889 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3891 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3892 * configure: Regenerated.
3894 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3896 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3897 (OPTION_MOMIT_LOCK_PREFIX): This.
3898 (md_longopts): Updated.
3899 (md_parse_option): Likewise.
3901 2016-01-25 Catherine Moore <clm@codesourcery.com>
3903 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3904 if abicalls are in effect.
3905 * testsuite/gas/mips/sdata-gp.s: New test.
3906 * testsuite/gas/mips/sdata-gp.d: New expected output
3907 * testsuite/gas/mips/mips.exp: Run new test.
3909 2016-01-25 Renlin Li <renlin.li@arm.com>
3911 * testsuite/gas/arm/thumb2_it_search.d: New.
3912 * testsuite/gas/arm/thumb2_it_search.s: New.
3914 2016-01-21 Nick Clifton <nickc@redhat.com>
3917 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3918 with arm-netbsdelf target.
3919 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3921 2016-01-20 Nick Clifton <nickc@redhat.com>
3924 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3925 * testsuite/gas/arm/blx-bl-convert.d
3926 * testsuite/gas/arm/plt-1.d: Likewise.
3927 * testsuite/gas/arm/reloc-bad.d: Likewise.
3928 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3929 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3930 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3931 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3934 * doc/as.texinfo (Errors): Correct documentation describing the
3935 interaction of .file and .line with warning and error messages.
3938 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3939 * testsuite/gas/arm/archv8m-main.d: Likewise.
3940 * testsuite/gas/arm/archv8m-base.d: Likewise.
3942 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3944 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3945 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3946 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3948 2016-01-20 Mickael Guene <mickael.guene@st.com>
3949 Terry Guo <terry.guo@arm.com>
3951 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3952 SHF_ARM_NOREAD section flag.
3953 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3955 (arm_elf_section_letter) : Declare it.
3956 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3957 SHF_ARM_NOREAD section flag.
3958 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3960 * testsuite/gas/arm/section-execute-only.s: New test case.
3961 * testsuite/gas/arm/section-execute-only.d: Expected output.
3963 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3965 * config/tc-mips.c (micromips_insn_length): Remove the mention
3966 of 48-bit microMIPS instructions.
3968 2016-01-18 Alan Modra <amodra@gmail.com>
3970 * configure: Regenerate.
3972 2016-01-17 Alan Modra <amodra@gmail.com>
3974 * configure: Regenerate.
3976 2016-01-17 Alan Modra <amodra@gmail.com>
3978 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3980 2016-01-14 Nick Clifton <nickc@redhat.com>
3982 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3983 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3984 * testsuite/gas/rl78/rl78.exp: Run the new test.
3986 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3988 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3989 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3991 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3993 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3995 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3997 * config/tc-h8300.c (get_operand): Remove spurious condition in
3998 test for closing parenthesis.
4000 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4002 * config/tc-arm.c (arm_ext_v8_2): New.
4004 * testsuite/gas/arm/armv8_2-a.d: New.
4005 * testsuite/gas/arm/armv8_2-a.s: New.
4007 2016-01-12 Alan Modra <amodra@gmail.com>
4009 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4011 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4013 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4014 xvcmpnesp, xvcmpnesp.>: Delete tests.
4015 * testsuite/gas/ppc/power9.s: Likewise.
4016 * testsuite/gas/ppc/vsx3.d: Likewise.
4017 * testsuite/gas/ppc/vsx3.s: Likewise.
4019 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4022 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4023 * testsuite/gas/m68k/p13050-1.s: New file.
4024 * testsuite/gas/m68k/p13050-2.d: New file.
4025 * testsuite/gas/m68k/p13050-2.s: New file.
4027 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4029 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4030 * testsuite/gas/arc/add.d: Likewise.
4031 * testsuite/gas/arc/and.d: Likewise.
4032 * testsuite/gas/arc/asl.d: Likewise.
4033 * testsuite/gas/arc/asr.d: Likewise.
4034 * testsuite/gas/arc/bic.d: Likewise.
4035 * testsuite/gas/arc/extb.d: Likewise.
4036 * testsuite/gas/arc/extw.d: Likewise.
4037 * testsuite/gas/arc/j.d: Likewise.
4038 * testsuite/gas/arc/jl.d: Likewise.
4039 * testsuite/gas/arc/ld2.d: Likewise.
4040 * testsuite/gas/arc/lsr.d: Likewise.
4041 * testsuite/gas/arc/mov.d: Likewise.
4042 * testsuite/gas/arc/or.d: Likewise.
4043 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4044 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4045 * testsuite/gas/arc/pic-relocs.d: Likewise.
4046 * testsuite/gas/arc/plt-relocs.d: Likewise.
4047 * testsuite/gas/arc/rlc.d: Likewise.
4048 * testsuite/gas/arc/ror.d: Likewise.
4049 * testsuite/gas/arc/rrc.d: Likewise.
4050 * testsuite/gas/arc/sbc.d: Likewise.
4051 * testsuite/gas/arc/sda-relocs.d: Likewise.
4052 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4053 * testsuite/gas/arc/sexb.d: Likewise.
4054 * testsuite/gas/arc/sexw.d: Likewise.
4055 * testsuite/gas/arc/st.d: Likewise.
4056 * testsuite/gas/arc/sub.d: Likewise.
4057 * testsuite/gas/arc/tls-relocs.d: Likewise.
4058 * testsuite/gas/arc/xor.d: Likewise.
4060 2016-01-01 Alan Modra <amodra@gmail.com>
4062 Update year range in copyright notice of all files.
4064 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4066 Copyright (C) 2016 Free Software Foundation, Inc.
4068 Copying and distribution of this file, with or without modification,
4069 are permitted in any medium without royalty provided the copyright
4070 notice and this notice are preserved.
4076 version-control: never