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