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