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