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