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