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