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