1 2016-04-14 Nick Clifton <nickc@redhat.com>
4 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
5 sections possibly having the SHF_STRINGS flag bit set.
6 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
8 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
10 * config/tc-arc.c (mach_type_specified_p): Change type to
12 (arc_option): Set private flags when parsing cpu pseudo-op.
13 (md_parse_option): Set mach_type_specified_p to TRUE.
15 2016-04-13 Nick Clifton <nickc@redhat.com>
18 * testsuite/gas/v850/pr19937.s: New test.
19 * testsuite/gas/v850/pr19937.d: New test control file.
20 * testsuite/gas/v850/basic.exp: Run the new test.
22 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
23 Andrew Bennett <andrew.bennett@imgtec.com>
25 * config/tc-mips.c (relaxed_branch_length): Use the long
26 sequence where the target is a weak symbol.
27 (relaxed_micromips_32bit_branch_length): Likewise.
28 (relaxed_micromips_16bit_branch_length): Likewise.
29 * testsuite/gas/mips/branch-weak-1.d: New test.
30 * testsuite/gas/mips/branch-weak-2.d: New test.
31 * testsuite/gas/mips/branch-weak-3.d: New test.
32 * testsuite/gas/mips/branch-weak-4.d: New test.
33 * testsuite/gas/mips/branch-weak-5.d: New test.
34 * testsuite/gas/mips/branch-weak.l: New stderr output.
35 * testsuite/gas/mips/branch-weak.s: New test source.
36 * testsuite/gas/mips/mips.exp: Run the new tests.
38 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
40 * config/tc-mips.c (relaxed_branch_length): Use the long
41 sequence where the distance cannot be determined.
42 (relaxed_micromips_32bit_branch_length): Likewise.
43 * testsuite/gas/mips/branch-extern-1.d: New test.
44 * testsuite/gas/mips/branch-extern-2.d: New test.
45 * testsuite/gas/mips/branch-extern-3.d: New test.
46 * testsuite/gas/mips/branch-extern-4.d: New test.
47 * testsuite/gas/mips/branch-extern.l: New stderr output.
48 * testsuite/gas/mips/branch-extern.s: New test source.
49 * testsuite/gas/mips/branch-section-1.d: New test.
50 * testsuite/gas/mips/branch-section-2.d: New test.
51 * testsuite/gas/mips/branch-section-3.d: New test.
52 * testsuite/gas/mips/branch-section-4.d: New test.
53 * testsuite/gas/mips/branch-section.l: New stderr output.
54 * testsuite/gas/mips/branch-section.s: New test source.
55 * testsuite/gas/mips/mips.exp: Run the new tests.
57 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
59 * testsuite/gas/arc/textauxregister.d: New file.
60 * testsuite/gas/arc/textauxregister.s: Likewise.
61 * testsuite/gas/arc/textcondcode.d: Likewise.
62 * testsuite/gas/arc/textcondcode.s: Likewise.
63 * testsuite/gas/arc/textcoreregister.d: Likewise.
64 * testsuite/gas/arc/textcoreregister.s: Likewise.
65 * testsuite/gas/arc/textpseudoop.d: Likewise.
66 * testsuite/gas/arc/textpseudoop.s: Likewise.
67 * testsuite/gas/arc/ld2.d: Update test.
68 * testsuite/gas/arc/st.d: Likewise.
69 * testsuite/gas/arc/taux.d: Likewise.
70 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
71 .extCoreRegister and .extAuxRegister documentation.
72 * config/tc-arc.c (arc_extcorereg): New function.
73 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
74 .extAuxRegister pseudo-ops.
75 (extRegister_t): New type.
76 (ext_condcode, arc_aux_hash): New global variable.
77 (find_opcode_match): Check for extensions.
78 (preprocess_operands): Likewise.
79 (md_begin): Add aux registers in a hash.
80 (assemble_insn): Update use arc_flags member.
81 (tokenize_extregister): New function.
82 (create_extcore_section): Likewise.
83 * config/tc-arc.h (arc_flags): Delete code, add flgp.
85 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
87 * testsuite/gas/arc/noargs_a7.d: New file.
88 * testsuite/gas/arc/noargs_a7.s: Likewise.
89 * testsuite/gas/arc/noargs_hs.d: Likewise.
90 * testsuite/gas/arc/noargs_hs.s: Likewise.
92 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
94 * testsuite/gas/arc/textinsn-errors.d: New File.
95 * testsuite/gas/arc/textinsn-errors.err: Likewise.
96 * testsuite/gas/arc/textinsn-errors.s: Likewise.
97 * testsuite/gas/arc/textinsn2op.d: Likewise.
98 * testsuite/gas/arc/textinsn2op.s: Likewise.
99 * testsuite/gas/arc/textinsn2op01.d: Likewise.
100 * testsuite/gas/arc/textinsn2op01.s: Likewise.
101 * testsuite/gas/arc/textinsn3op.d: Likewise.
102 * testsuite/gas/arc/textinsn3op.s: Likewise.
103 * doc/c-arc.texi (ARC Directives): Add .extInstruction
105 * config/tc-arc.c (arcext_section): New variable.
106 (arc_extinsn): New function.
107 (md_pseudo_table): Add .extInstruction pseudo op.
108 (attributes_t): New type.
109 (suffixclass, syntaxclass, syntaxclassmod): New constant
111 (find_opcode_match): Remove arc_num_opcodes.
112 (md_begin): Likewise.
113 (tokenize_extinsn): New function.
114 (arc_set_ext_seg): Likewise.
115 (create_extinst_section): Likewise.
117 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
119 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
120 (arc_adjust_symtab): New function.
121 * config/tc-arc.h (ARC_FLAG_AUX): Define.
122 (obj_adjust_symtab): Likewise.
123 * testsuite/gas/arc/taux.d: New file.
124 * testsuite/gas/arc/taux.s: Likewise.
126 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
128 * config/tc-mips.c (s_option): Sanitize `.option picX'
130 * testsuite/gas/mips/option-pic-1.d: New test.
131 * testsuite/gas/mips/option-pic-2.l: New list test.
132 * testsuite/gas/mips/option-pic-1.s: New test source.
133 * testsuite/gas/mips/option-pic-2.s: New test source.
134 * testsuite/gas/mips/mips.exp: Run the new tests.
136 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
138 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
140 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
141 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
142 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
143 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
144 * testsuite/gas/mips/mips.exp: Run the new tests.
146 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
148 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
150 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
152 * messages.c (as_bad): Fix a typo in description.
154 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
156 * config/tc-mips.c (mips_check_options): Unify messages.
158 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
160 * config/tc-mips.c (mips_check_options): Use `opts->isa'
163 2016-04-08 Nick Clifton <nickc@redhat.com>
166 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
167 COFF and AOUT sparc targets.
169 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
171 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
172 * testsuite/gas/arc/nps400-2.d: New file.
173 * testsuite/gas/arc/nps400-2.s: New file.
175 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
177 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
179 (arc_opcode_hash_entry_iterator_init): New function.
180 (arc_opcode_hash_entry_iterator_next): New function.
181 (find_opcode_match): Iterate over all arc_opcode entries
182 referenced by the arc_opcode_hash_entry passed in as a parameter.
184 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
186 * config/tc-arc.c (arc_find_opcode): Now returns
187 arc_opcode_hash_entry pointer.
188 (find_opcode_match): Update argument type, extract arc_opcode from
189 incoming arc_opcode_hash_entry.
190 (find_special_case_pseudo): Update return type.
191 (find_special_case_flag): Update return type.
192 (find_special_case): Update return type.
193 (assemble_tokens): Lookup arc_opcode_hash_entry based on
194 instruction mnemonic, then use find_opcode_match to identify
197 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
199 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
200 (arc_find_opcode): New function.
201 (find_special_case_pseudo): Use arc_find_opcode.
202 (find_special_case_flag): Likewise.
203 (assemble_tokens): Likewise.
204 (md_begin): Build hash using struct arc_opcode_hash_entry.
206 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
208 * config/tc-arc.c (arc_option): Prepare string for automatic
210 (declare_register): Likewise.
212 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
214 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
215 Correct entry for RDMA. Alpha sort entries.
217 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
219 * config/tc-arc.c (tokenize_flags): Allow greater range of
220 characters into flag names.
222 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
224 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
226 (preprocess_operands): Delete.
227 (assemble_tokens): Remove call to preprocess_operands.
229 2016-04-07 Nick Clifton <nickc@redhat.com>
232 * config/tc-sparc.c (sparc_ip): Report an error if the expression
233 inside a %-macro could not be fully parsed.
234 * expr.c (integer_constant): Accept and ignore U suffixes to
236 (operand): When a missing closing parenthesis is encountered,
237 report the character that was found instead.
238 * testsuite/gas/mips/tls-ill.l: Update expected error message.
239 * testsuite/gas/sparc/pr19910-1.d: New test driver.
240 * testsuite/gas/sparc/pr19910-1.s: New test.
241 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
242 * testsuite/gas/sparc/pr19910-2.s: New test.
243 * testsuite/gas/sparc/sparc.exp: Run the new tests.
245 2016-04-06 Nick Clifton <nickc@redhat.com>
247 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
248 an EINT instruction. Warn/fix as necessary.
249 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
250 * testsuite/gas/msp430/bad.l: Update expected messages.
252 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
254 * testsuite/gas/arc/nps400-1.d: Update expected results.
255 * testsuite/gas/arc/nps400-1.s: Additional test cases.
257 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
259 * config/tc-arc.c (is_code_density_p): Compare directly the
261 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
262 (check_cpu_feature): New function.
263 (find_opcode_match): Use check_cpu_feature function.
264 (preprocess_operands): Likewise.
265 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
266 * testsuite/gas/arc/tdpfp.d: New file.
267 * testsuite/gas/arc/tfpuda.d: Likewise.
268 * testsuite/gas/arc/tfpx.s: Likewise.
270 2016-04-05 Jiong Wang <jiong.wang@arm.com>
272 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
273 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
274 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
275 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
276 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
277 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
278 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
279 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
281 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
283 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
285 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
286 JUMP instructions type.
287 * testsuite/gas/arc/relocs-errors.d: New file.
288 * testsuite/gas/arc/relocs-errors.err: Likewise.
289 * testsuite/gas/arc/relocs-errors.s: Likewise.
291 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
294 * testsuite/gas/i386/i386.exp: Run pr19498.
295 * testsuite/gas/i386/pr19498.d: New file.
296 * testsuite/gas/i386/pr19498.s: Likewise.
298 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
300 * config/tc-arc.h: Include 'opcode/arc.h'.
301 (MAX_INSN_ARGS): Delete.
302 (MAX_INSN_FLGS): Delete.
304 2016-04-04 Alan Modra <amodra@gmail.com>
307 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
308 from function on all paths that set sy_resolving.
310 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
312 * app.c (app_push): use XNEW macro.
314 * config/obj-elf.c (obj_elf_change_section): Likewise.
315 (elf_copy_symbol_attributes): Likewise.
316 (obj_elf_size): Likewise.
317 (build_group_lists): Likewise.
318 * config/tc-aarch64.c (add_operand_error_record): Likewise.
319 (md_assemble): Likewise.
320 (tc_gen_reloc): Likewise.
321 (get_upper_str): Likewise.
322 (aarch64_parse_features): Likewise.
323 * config/tc-arm.c (insert_reg_alias): Likewise.
324 (insert_neon_reg_alias): Likewise.
325 (find_or_make_literal_pool): Likewise.
326 (s_arm_elf_cons): Likewise.
327 (add_unwind_opcode): Likewise.
328 (arm_parse_extension): Likewise.
329 * config/tc-avr.c (create_record_for_frag): Likewise.
330 * config/tc-crx.c: Likewise.
331 * config/tc-d30v.c: Likewise.
332 * config/tc-dlx.c (s_proc): Likewise.
333 * config/tc-ft32.c: Likewise.
334 * config/tc-h8300.c: Likewise.
335 * config/tc-hppa.c (pa_proc): Likewise.
336 (create_new_space): Likewise.
337 (create_new_subspace): Likewise.
338 * config/tc-i860.c: Likewise.
339 * config/tc-i960.c: Likewise.
340 * config/tc-ia64.c: Likewise.
341 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
342 (iq2000_record_hi16): Likewise.
343 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
344 * config/tc-m32r.c (debug_sym): Likewise.
345 (m32r_record_hi16): Likewise.
346 * config/tc-m68k.c (m68k_ip): Likewise.
347 (md_begin): Likewise.
348 * config/tc-mcore.c: Likewise.
349 * config/tc-microblaze.c (check_got): Likewise.
350 * config/tc-mips.c (append_insn): Likewise.
351 (s_mipsset): Likewise.
352 (mips_record_label): Likewise.
353 (s_mips_end): Likewise.
354 * config/tc-mmix.c (mmix_frob_file): Likewise.
355 * config/tc-mn10200.c: Likewise.
356 * config/tc-mn10300.c: Likewise.
357 * config/tc-moxie.c: Likewise.
358 * config/tc-msp430.c: Likewise.
359 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
360 * config/tc-ns32k.c: Likewise.
361 * config/tc-or1k.c: Likewise.
362 * config/tc-pdp11.c: Likewise.
363 * config/tc-pj.c (fake_opcode): Likewise.
364 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
365 (ppc_macro): Likewise.
366 (ppc_dwsect): Likewise.
367 (ppc_machine): Likewise.
368 * config/tc-rl78.c (rl78_frag_init): Likewise.
369 * config/tc-rx.c (rx_frag_init): Likewise.
370 * config/tc-s390.c (s390_lit_suffix): Likewise.
371 (s390_machine): Likewise.
372 (s390_machinemode): Likewise.
373 * config/tc-score.c (s3_insert_reg): Likewise.
374 (s3_gen_reloc): Likewise.
375 * config/tc-score7.c (s7_insert_reg): Likewise.
376 (s7_gen_reloc): Likewise.
377 * config/tc-tic30.c (tic30_operand): Likewise.
378 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
379 * config/tc-tic54x.c (stag_add_field): Likewise.
380 (tic54x_struct): Likewise.
381 (tic54x_space): Likewise.
382 (tic54x_field): Likewise.
383 (tic54x_mlib): Likewise.
384 (subsym_substitute): Likewise.
385 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
386 * config/tc-vax.c: Likewise.
387 * config/tc-xc16x.c: Likewise.
388 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
389 (directive_push): Likewise.
390 (xtensa_begin_directive): Likewise.
391 (tokenize_arguments): Likewise.
392 (xtensa_add_literal_sym): Likewise.
393 (new_resource_table): Likewise.
394 (resize_resource_table): Likewise.
395 (emit_single_op): Likewise.
396 (xtensa_create_trampoline_frag): Likewise.
397 (xtensa_maybe_create_literal_pool_frag): Likewise.
398 (xtensa_add_config_info): Likewise.
399 (xtensa_realloc_fixup_cache): Likewise.
400 (add_subseg_info): Likewise.
401 (cache_literal_section): Likewise.
402 (add_xt_block_frags): Likewise.
403 (add_xt_prop_frags): Likewise.
404 (init_op_placement_info_table): Likewise.
405 (build_section_rename): Likewise.
406 * config/tc-z80.c: Likewise.
407 * config/tc-z8k.c: Likewise.
408 * depend.c (register_dependency): Likewise.
409 * dwarf2dbg.c (get_line_subseg): Likewise.
410 (dwarf2_gen_line_info_1): Likewise.
411 (get_filenum): Likewise.
412 * ecoff.c (allocate_scope): Likewise.
413 (allocate_vlinks): Likewise.
414 (allocate_shash): Likewise.
415 (allocate_thash): Likewise.
416 (allocate_tag): Likewise.
417 (allocate_forward): Likewise.
418 (allocate_thead): Likewise.
419 (allocate_lineno_list): Likewise.
420 * expr.c (make_expr_symbol): Likewise.
421 * hash.c (hash_new_sized): Likewise.
422 * input-file.c (input_file_push): Likewise.
423 * listing.c (file_info): Likewise.
424 (listing_newline): Likewise.
425 * macro.c (new_formal): Likewise.
426 (define_macro): Likewise.
427 * remap.c (add_debug_prefix_map): Likewise.
428 * symbols.c (symbol_find_noref): Likewise.
429 (define_dollar_label): Likewise.
430 (fb_label_instance_inc): Likewise.
431 (symbol_relc_make_value): Likewise.
433 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
435 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
436 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
437 (ppc_znop): Likewise.
438 (ppc_pe_section): Likewise.
439 (ppc_frob_symbol): Likewise.
440 * config/tc-tic30.c (tic30_operand): Likewise.
441 * config/tc-tic4x.c (tic4x_sect): Likewise.
442 (tic4x_usect): Likewise.
444 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
446 * config/tc-alpha.c: Const qualify FLT_CHARS.
447 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
448 * config/tc-cris.h: Likewise.
450 * config/tc-mmix.c (md_atof): Adjust comment.
451 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
452 * tc.h: Declare FLT_CHARS and EXP_CHARS.
454 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
456 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
457 * config/tc-score7.c (s7_gen_reloc): Likewise.
459 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
461 * config/tc-arm.c (do_t_branch): Change the type of reloc to
462 bfd_reloc_code_real_type.
464 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
466 * config/bfin-parse.y (current_inputline): Remove definition.
467 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
469 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
471 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
474 2016-04-02 Alan Modra <amodra@gmail.com>
477 * read.c (assign_symbol): Consume rest of line after an error
478 rather than continuing to process the line.
480 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
482 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
483 (MAX_FLAG_NAME_LENGTH): ...this.
484 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
485 * config/tc-arc.c (tokenize_flags): Likewise.
487 2016-04-01 Alan Modra <amodra@gmail.com>
489 * cgen.c (weak_operand_overflow_check): Return const char*.
490 * messages.c (as_internal_value_out_of_range): Formatting.
491 (as_warn_value_out_of_range): Consify prefix param.
492 (as_bad_value_out_of_range): Likewise.
493 * read.c (s_errwarn): Constify msg..
494 (s_float_space, float_cons): ..and err.
495 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
496 ieee_md_atof, vax_md_atof): Update prototypes.
497 * tc.h (md_atof): Update prototype.
498 * config/atof-ieee.c (ieee_md_atof): Return const char*.
499 * config/atof-vax.c (vax_md_atof): Likewise.
500 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
501 * config/tc-aarch64.c (md_atof): Return const char*.
502 * config/tc-alpha.c (s_alpha_section_name): Likewise.
503 (s_alpha_comm): Constify sec_name.
504 (section_name): Constify.
505 (s_alpha_section): Consify name..
506 (alpha_elf_section_letter): ..and ptr_msg param..
507 (md_atof): ..and return.
508 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
509 * config/tc-arc.c (md_atof): Return const char*.
510 * config/tc-arm.c (md_atof): Likewise.
511 * config/tc-avr.c (md_atof): Likewise.
512 * config/tc-bfin.c (md_atof): Likewise.
513 * config/tc-cr16.c (md_atof): Likewise.
514 * config/tc-cris.c (md_atof): Likewise.
515 * config/tc-crx.c (md_atof): Likewise.
516 * config/tc-d10v.c (md_atof): Likewise.
517 * config/tc-d30v.c (md_atof): Likewise.
518 * config/tc-dlx.c (md_atof): Likewise.
519 * config/tc-epiphany.c (md_atof): Likewise.
520 * config/tc-fr30.c (md_atof): Likewise.
521 * config/tc-frv.c (md_atof): Likewise.
522 * config/tc-ft32.c (md_atof): Likewise.
523 * config/tc-h8300.c (md_atof): Likewise.
524 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
525 (struct default_space_dict): Likewise.
526 (create_new_space): Constify name param.
527 (create_new_subspace): Likewise.
528 (is_defined_space, is_defined_subspace): Likewise.
529 (pa_parse_space_stmt): Constify space_name param.
530 (md_atof): Return const char*.
531 (pa_spaces_begin): Constify name.
532 * config/tc-i370.c (md_atof): Return const char*.
533 * config/tc-i386.c (md_atof): Likewise.
534 (x86_64_section_letter): Constify ptr_msg param.
535 * config/tc-i386.h (x86_64_section_letter): Update prototype.
536 * config/tc-i860.c (struct i860_it): Constify error.
537 (md_atof): Return const char*.
538 * config/tc-i960.c (md_atof): Likewise.
539 * config/tc-ia64.c (md_atof): Likewise.
540 (ia64_elf_section_letter): Constify ptr_msg param.
541 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
542 * config/tc-ip2k.c (md_atof): Return const char*.
543 * config/tc-iq2000.c (md_atof): Likewise.
544 * config/tc-lm32.c (md_atof): Likewise.
545 * config/tc-m32c.c (md_atof): Likewise.
546 * config/tc-m32r.c (md_atof): Likewise.
547 * config/tc-m68hc11.c (md_atof): Likewise.
548 * config/tc-m68k.c (md_atof): Likewise.
549 * config/tc-mcore.c (md_atof): Likewise.
550 * config/tc-mep.c (md_atof): Likewise.
551 (mep_elf_section_letter): Constify ptr_msg param.
552 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
553 * config/tc-metag.c (md_atof): Return const char*.
554 * config/tc-microblaze.c (md_atof): Likewise.
555 * config/tc-microblaze.h (md_atof): Delete prototype.
556 * config/tc-mips.c (mips_parse_argument_token): Constify err.
557 (md_atof): Return const char*.
558 * config/tc-mmix.c (md_atof): Likewise.
559 * config/tc-mn10200.c (md_atof): Likewise.
560 * config/tc-mn10300.c (md_atof): Likewise.
561 * config/tc-moxie.c (md_atof): Likewise.
562 * config/tc-msp430.c (md_atof): Likewise.
563 * config/tc-mt.c (md_atof): Likewise.
564 * config/tc-nds32.c (md_atof): Likewise.
565 * config/tc-nios2.c (md_atof): Likewise.
566 (nios2_elf_section_letter): Constify ptr_msg param.
567 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
568 * config/tc-ns32k.c (md_atof): Return const char*.
569 * config/tc-or1k.c (md_atof): Likewise.
570 * config/tc-pdp11.c (struct pdp11_code): Constify error.
571 (md_atof): Return const char*.
572 * config/tc-pj.c (md_atof): Likewise.
573 * config/tc-ppc.c (md_atof): Likewise.
574 * config/tc-rl78.c (md_atof): Likewise.
575 * config/tc-rx.c (md_atof): Likewise.
576 * config/tc-s390.c (md_atof): Likewise.
577 * config/tc-score.c (s3_atof, md_atof): Likewise.
578 * config/tc-sh.c (md_atof): Likewise.
579 * config/tc-sparc.c (struct sparc_it): Constify error.
580 (md_atof): Return const char*.
581 * config/tc-spu.c (md_atof): Likewise.
582 * config/tc-tic30.c (md_atof): Likewise.
583 * config/tc-tic4x.c (md_atof): Likewise.
584 * config/tc-tic54x.c (md_atof): Likewise.
585 * config/tc-tic6x.c (md_atof): Likewise.
586 * config/tc-tilegx.c (md_atof): Likewise.
587 * config/tc-tilepro.c (md_atof): Likewise.
588 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
589 * config/tc-vax.c (md_atof): Likewise.
590 * config/tc-visium.c (md_atof): Likewise.
591 * config/tc-xc16x.c (md_atof): Likewise.
592 * config/tc-xgate.c (md_atof): Likewise.
593 * config/tc-xstormy16.c (md_atof): Likewise.
594 * config/tc-xtensa.c (md_atof): Likewise.
595 * config/tc-z80.c (md_atof): Likewise.
596 * config/tc-z8k.c (md_atof): Likewise.
598 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
600 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
602 (xtensa_section_rename): Make argument type const char *.
603 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
605 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
607 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
610 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
612 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
614 (m32c_indirect_operand): Likewise.
615 * config/tc-nds32.c (do_pseudo_b): Likewise.
616 (do_pseudo_bal): Likewise.
617 (do_pseudo_ls_bhw): Likewise.
619 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
621 * as.c (parse_args): Cast literal to char * when assigning to optarg.
623 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
625 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
627 * config/tc-sparc.c (s_register): Cast a literal to char * in
630 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
632 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
634 * config/tc-m32r.c (expand_debug_syms): Likewise.
635 * config/tc-msp430.c (msp430_dstoperand): Likewise.
636 * config/tc-z80.c (md_begin): Likewise.
637 * stabs.c (stabs_generate_asm_func): Likewise.
639 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
641 * cgen.c: Modernize the way functions declare arguments.
642 * config/tc-bfin.c: Likewise.
643 * config/tc-pdp11.c: Likewise.
644 * literal.c: Likewise.
648 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
650 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
651 variables unsigned char[].
652 * config/tc-alpha.c (alpha_handle_align): Likewise.
653 * config/tc-arm.c (arm_handle_align): Likewise.
654 * config/tc-z80.c: Likewise.
656 2016-03-30 Nick Clifton <nickc@redhat.com>
659 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
662 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
664 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
665 * testsuite/gas/elf/elf.exp: Likewise.
666 * testsuite/gas/all/redef3.d: Allow execution for ARC.
668 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
670 * testsuite/gas/arc/warn.exp: Fix matching pattern.
672 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
674 * testsuite/gas/arc/ext2op.d: New file.
675 * testsuite/gas/arc/ext2op.s: Likewise.
676 * testsuite/gas/arc/ext3op.d: Likewise.
677 * testsuite/gas/arc/ext3op.s: Likewise.
679 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
681 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
683 * config/tc-alpha.c (md_parse_option): Likewise.
684 * config/tc-arc.c (md_parse_option): Likewise.
685 * config/tc-arm.c (struct arm_long_option_table): Likewise.
686 (md_parse_option): Likewise.
687 * config/tc-avr.c (md_parse_option): Likewise.
688 * config/tc-bfin.c (md_parse_option): Likewise.
689 * config/tc-cr16.c (md_parse_option): Likewise.
690 * config/tc-cris.c (s_cris_arch): Likewise.
691 (md_parse_option): Likewise.
692 * config/tc-crx.c (md_parse_option): Likewise.
693 * config/tc-d10v.c (md_parse_option): Likewise.
694 * config/tc-d30v.c (md_parse_option): Likewise.
695 * config/tc-dlx.c (md_parse_option): Likewise.
696 * config/tc-epiphany.c (md_parse_option): Likewise.
697 * config/tc-fr30.c (md_parse_option): Likewise.
698 * config/tc-frv.c (md_parse_option): Likewise.
699 * config/tc-ft32.c (md_parse_option): Likewise.
700 * config/tc-h8300.c (md_parse_option): Likewise.
701 * config/tc-hppa.c (md_parse_option): Likewise.
702 * config/tc-i370.c (md_parse_option): Likewise.
703 * config/tc-i386.c (md_parse_option): Likewise.
704 * config/tc-i860.c (md_parse_option): Likewise.
705 * config/tc-i960.c (md_parse_option): Likewise.
706 * config/tc-ia64.c (md_parse_option): Likewise.
707 * config/tc-ip2k.c (md_parse_option): Likewise.
708 * config/tc-iq2000.c (md_parse_option): Likewise.
709 * config/tc-lm32.c (md_parse_option): Likewise.
710 * config/tc-m32c.c (md_parse_option): Likewise.
711 * config/tc-m32r.c (md_parse_option): Likewise.
712 * config/tc-m68hc11.c (md_parse_option): Likewise.
713 * config/tc-m68k.c (md_parse_option): Likewise.
714 * config/tc-mcore.c (md_parse_option): Likewise.
715 * config/tc-mep.c (md_parse_option): Likewise.
716 * config/tc-metag.c (struct metag_long_option): Likewise.
717 (md_parse_option): Likewise.
718 * config/tc-microblaze.c (md_parse_option): Likewise.
719 * config/tc-microblaze.h (md_parse_option): Remove prototype.
720 * config/tc-mips.c (md_parse_option): Adjust.
721 * config/tc-mmix.c (md_parse_option): Likewise.
722 * config/tc-mn10200.c (md_parse_option): Likewise.
723 * config/tc-mn10300.c (md_parse_option): Likewise.
724 * config/tc-moxie.c (md_parse_option): Likewise.
725 * config/tc-msp430.c (md_parse_option): Likewise.
726 * config/tc-mt.c (md_parse_option): Likewise.
727 * config/tc-nds32.c (md_parse_option): Likewise.
728 * config/tc-nds32.h (nds32_parse_option): Likewise.
729 * config/tc-nios2.c (md_parse_option): Likewise.
730 * config/tc-ns32k.c (md_parse_option): Likewise.
731 * config/tc-or1k.c (md_parse_option): Likewise.
732 * config/tc-pdp11.c (md_parse_option): Likewise.
733 * config/tc-pj.c (md_parse_option): Likewise.
734 * config/tc-ppc.c (md_parse_option): Likewise.
735 * config/tc-rl78.c (md_parse_option): Likewise.
736 * config/tc-rx.c (md_parse_option): Likewise.
737 * config/tc-s390.c (s390_parse_cpu): Likewise.
738 * config/tc-score.c (md_parse_option): Likewise.
739 * config/tc-sh.c (md_parse_option): Likewise.
740 * config/tc-sparc.c (md_parse_option): Likewise.
741 * config/tc-spu.c (md_parse_option): Likewise.
742 * config/tc-tic30.c (md_parse_option): Likewise.
743 * config/tc-tic4x.c (md_parse_option): Likewise.
744 * config/tc-tic54x.c (md_parse_option): Likewise.
745 * config/tc-tic6x.c (md_parse_option): Likewise.
746 * config/tc-tilegx.c (md_parse_option): Likewise.
747 * config/tc-tilepro.c (md_parse_option): Likewise.
748 * config/tc-v850.c (md_parse_option): Likewise.
749 * config/tc-vax.c (md_parse_option): Likewise.
750 * config/tc-visium.c (struct visium_long_option_table): Likewise.
751 * config/tc-xc16x.c (md_parse_option): Likewise.
752 * config/tc-xgate.c (md_parse_option): Likewise.
753 * config/tc-xstormy16.c (md_parse_option): Likewise.
754 * config/tc-xtensa.c (md_parse_option): Likewise.
755 * config/tc-z80.c (md_parse_option): Likewise.
756 * config/tc-z8k.c (md_parse_option): Likewise.
757 * tc.h (md_parse_option): Likewise.
759 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
761 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
762 * config/tc-hppa.c (fix_new_hppa): Likewise.
763 (pa_vtable_entry): Likewise.
764 (pa_vtable_inherit): Likewise.
765 * config/tc-m68k.c (md_begin): Likewise.
767 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
769 * config/obj-elf.c (obj_elf_section_name): Return const char *.
770 * config/obj-elf.h (obj_elf_section_name): Adjust.
771 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
772 (aarch64_parse_cpu): Likewise.
773 (aarch64_parse_arch): Likewise.
774 * config/tc-arm.c (arm_parse_extension): Likewise.
775 (arm_parse_cpu): Likewise.
776 (arm_parse_arch): Likewise.
777 * config/tc-nds32.c: Likewise.
778 * config/xtensa-relax.c (parse_special_fn): Likewise.
779 * stabs.c (generate_asm_file): Likewise.
781 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
783 * config/tc-cr16.c (cr16_assemble): New function.
784 (md_assemble): Call cr16_assemble.
786 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
788 * as.c (parse_args): Adjust.
789 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
790 * config/obj-elf.c (elf_frob_symbol): Adjust.
792 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
794 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
795 registers to be in the 16..31 range.
797 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
799 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
802 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
804 * config/tc-visium.c (md_atof): Localize the string returned on
807 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
809 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
810 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
811 * config/tc-m68hc11.c (md_begin): Likewise.
812 (print_opcode_list): Likewise.
813 * config/tc-msp430.c (msp430_section): Likewise.
814 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
815 (s3_build_dependency_insn_hsh): Likewise.
816 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
817 (s7_build_dependency_insn_hsh): Likewise.
818 * config/tc-tic4x.c: Likewise.
819 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
820 (subsym_get_arg): Likewise.
821 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
822 (get_directive): Likewise.
823 (cache_literal_section): Likewise.
824 * config/xtensa-relax.c: Likewise.
825 * symbols.c (symbol_create): Likewise.
826 (local_symbol_make): Likewise.
827 (symbol_relc_make_expr): Likewise.
829 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
831 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
834 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
836 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
839 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
841 * config/tc-ia64.c (ia64_do_align): Remove.
842 (ia64_cons_align): Call do_align () directly.
843 (dot_proc): Likewise.
844 (stmt_float_cons): Likewise.
846 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
848 * listing.c (listing_message): Use XNEW style allocation macros.
849 * read.c (read_a_source_file): Likewise.
850 (read_symbol_name): Likewise.
851 (s_mri_common): Likewise.
852 (assign_symbol): Likewise.
854 (emit_expr_with_reloc): Likewise.
855 (s_incbin): Likewise.
856 (s_include): Likewise.
857 * sb.c (sb_build): Likewise.
858 (sb_check): Likewise.
860 2016-03-22 Alan Modra <amodra@gmail.com>
862 * write.c (record_alignment): Revert 2016-02-18 change.
864 2016-03-22 Alan Modra <amodra@gmail.com>
866 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
867 (emit_jsrjmp, tc_gen_reloc): Likewise.
868 * config/tc-i370.c (i370_macro): Likewise.
870 2016-03-22 Nick Clifton <nickc@redhat.com>
872 * configure: Regenerate.
874 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
876 * testsuite/gas/arc/nps400-0.d: New file.
877 * testsuite/gas/arc/nps400-0.s: New file.
878 * testsuite/gas/arc/nps400-1.d: New file.
879 * testsuite/gas/arc/nps400-1.s: New file.
881 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
883 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
884 declarations to start of block. Reset code on all flags before
885 attempting to match them. Handle multiple hits on the same flag.
887 * testsuite/gas/arc/asm-errors.d: New file.
888 * testsuite/gas/arc/asm-errors.err: New file.
889 * testsuite/gas/arc/asm-errors.s: New file.
891 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
893 * config/tc-arc.c (cpu_types): Add nps400 entry.
894 (check_zol): Handle nps400.
896 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
898 * config/tc-arc.c (arc_select_cpu): Remove use of
901 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
903 * config/tc-arc.c (arc_target): Delay initialisation until
905 (arc_target_name): Likewise.
906 (arc_features): Likewise.
907 (arc_mach_type): Likewise.
908 (cpu_types): Remove "all" entry.
909 (arc_select_cpu): New function, most of the content is from...
910 (md_parse_option): ... here. Call new arc_select_cpu.
911 (md_begin): Call arc_select_cpu if needed, default is now arc700.
913 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
915 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
916 * testsuite/gas/arc/inline-data-2.d: New file.
918 2016-03-21 Nick Clifton <nickc@redhat.com>
920 * atof-generic.c: Replace use of alloca with call to xmalloc.
922 * dwarf2dbg.c: Likewise.
926 * symbols.c: Likewise.
927 * config/obj-elf.c: Likewise.
928 * config/tc-aarch64.c: Likewise.
929 * config/tc-arc.c: Likewise.
930 * config/tc-arm.c: Likewise.
931 * config/tc-avr.c: Likewise.
932 * config/tc-ia64.c: Likewise.
933 * config/tc-mips.c: Likewise.
934 * config/tc-msp430.c: Likewise.
935 * config/tc-nds32.c: Likewise.
936 * config/tc-ppc.c: Likewise.
937 * config/tc-sh.c: Likewise.
938 * config/tc-tic30.c: Likewise.
939 * config/tc-tic54x.c: Likewise.
940 * config/tc-xstormy16.c: Likewise.
941 * config/te-vms.c: Likewise.
942 * configure: Regenerate.
944 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
946 * tc-i386.c (f32_1): Change type to unsigned char[].
967 (f32_patt): Likewise.
968 (f16_patt): Likewise.
977 (alt_patt): Likewise.
979 2016-03-18 Nick Clifton <nickc@redhat.com>
981 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
982 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
983 .tlsdescldr and .xword directives.
986 * testsuite/gas/aarch64/pr19721.s: New test source file.
987 * testsuite/gas/aarch64/pr19721.d: New test driver file.
989 * doc/as.texinfo: Place the target specific command line options
990 into their own man page section.
992 2016-03-16 Jiong Wang <jiong.wang@arm.com>
994 * config/tc-arm.c (N_S_32): New.
995 (N_F_16_32): Likewise.
996 (N_SUF_32): Support N_F16.
998 (neon_dyadic_misc): Likewise.
999 (do_neon_cmp): Likewise.
1000 (do_neon_cmp_inv): Likewise.
1001 (do_neon_mul): Likewise.
1002 (do_neon_fcmp_absolute): Likewise.
1003 (do_neon_step): Likewise.
1004 (do_neon_abs_neg): Likewise.
1005 (CVT_FLAVOR_VAR): Likewise.
1006 (do_neon_cvt_1): Likewise.
1007 (do_neon_recip_est): Likewise.
1008 (do_vmaxnm): Likewise.
1009 (do_vrint_1): Likewise.
1010 (neon_check_type): Check architecture support for FP16 extension.
1011 (insns): Update comments.
1012 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1013 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1014 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1015 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1017 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1019 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1022 2016-03-16 Nick Clifton <nickc@redhat.com>
1024 * read.c (emit_expr_with_reloc): Add code check a bignum with
1026 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1028 * testsuite/gas/elf/bignum.s: New test source file.
1029 * testsuite/gas/elf/bignum.d: New test driver file.
1030 * testsuite/gas/elf/elf.exp: Run the new test.
1032 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1034 * doc/c-i386.texi (Register Naming): Update to details of the
1035 latest architecture version.
1037 2016-03-10 Mickael Guene <mickael.guene@st.com>
1040 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1042 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1043 (do_t_mov_cmp): Likewise.
1044 (do_t_add_sub): Protect against bad relocations usage.
1045 (do_t_mov_cmp): Likewise.
1046 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1047 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1048 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1049 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1051 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1053 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1055 (do_neon_ld_st_lane): Likewise.
1056 (do_neon_ld_dup): Likewise.
1058 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1060 * testsuite/gas/arc/inline-data-1.d: New file.
1061 * testsuite/gas/arc/inline-data-1.s: New file.
1063 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1065 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1066 * doc/c-arm.texi: Add cortex-r8.
1068 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1070 * config/tc-arc.c: Add const qualifiers.
1071 * config/tc-h8300.c (md_begin): Likewise.
1072 * config/tc-ia64.c (print_prmask): Likewise.
1073 * config/tc-msp430.c (msp430_operands): Likewise.
1074 * config/tc-nds32.c (struct suffix_name): Likewise.
1075 (struct nds32_parse_option_table): Likewise.
1076 (struct nds32_set_option_table): Likewise.
1077 (do_pseudo_pushpopm): Likewise.
1078 (do_pseudo_pushpop_stack): Likewise.
1079 (nds32_relax_relocs): Likewise.
1080 (nds32_flag): Likewise.
1081 (struct nds32_hint_map): Likewise.
1082 (nds32_find_reloc_table): Likewise.
1083 (nds32_match_hint_insn): Likewise.
1084 * config/tc-s390.c: Likewise.
1085 * config/tc-sh.c (get_specific): Likewise.
1086 * config/tc-tic30.c: Likewise.
1087 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1088 (tic4x_indirect_parse): Likewise.
1089 * config/tc-vax.c (vax_cons): Likewise.
1090 * config/tc-z80.c (struct reg_entry): Likewise.
1091 * config/tc-epiphany.c (md_assemble): Adjust.
1092 (epiphany_assemble): New function.
1093 (epiphany_elf_section_rtn): Call do_align directly.
1094 (epiphany_elf_section_text): Likewise.
1095 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1096 (ip2k_elf_section_text): Likewise.
1097 * read.c (do_align): Make it not static.
1098 * read.h (do_align): New prototype.
1100 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1102 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1103 for ARMv8.1 AdvSIMD use.
1104 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1105 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1107 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1109 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1111 (record_feature_use): New.
1112 (mark_feature_used): Use record_feature_use.
1113 (do_neon_qrdmlah): New.
1114 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1116 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1117 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1118 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1119 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1120 Make source file explicit.
1121 * testsuite/gas/arm/armv8-a+rdma.l: New.
1122 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1123 directives. Fix white-space.
1124 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1126 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1128 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1130 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1131 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1133 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1134 (tc_arc_fix_adjustable): Changed default return value to 1.
1135 * testsuite/gas/arc/j.d: Updated expected symbol
1136 * testsuite/gas/arc/jl.d: Likewise
1137 * testsuite/gas/arc/relax-avoid1.d: Likewise
1138 * testsuite/gas/arc/st.d: Likewise
1140 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1142 * config/tc-arc.c: Enable code density instructions for ARC EM.
1144 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1147 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1149 * as.c (flag_use_elf_stt_common): New.
1150 (show_usage): Add --elf-stt-common=.
1151 (option_values): Add OPTION_ELF_STT_COMMON.
1152 (std_longopts): Add --elf-stt-common=.
1153 (parse_args): Handle --elf-stt-common=.
1154 * as.h (flag_use_elf_stt_common): New.
1155 * config.in: Regenerated.
1156 * configure: Likewise.
1157 * configure.ac: Add --enable-elf-stt-common and define
1158 DEFAULT_GENERATE_ELF_STT_COMMON.
1159 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1160 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1161 * doc/as.texinfo: Document --elf-stt-common=.
1162 * testsuite/gas/elf/common3.s: New file.
1163 * testsuite/gas/elf/common3a.d: Likewise.
1164 * testsuite/gas/elf/common3b.d: Likewise.
1165 * testsuite/gas/elf/common4.s: Likewise.
1166 * testsuite/gas/elf/common4a.d: Likewise.
1167 * testsuite/gas/elf/common4b.d: Likewise.
1168 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1169 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1170 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1172 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1173 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1174 --elf-stt-common=no to as.
1175 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1176 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1177 --elf-stt-common=no to as.
1178 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1179 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1180 of dw2-compress-3 and dw2-compressed-3.
1182 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1184 * as.c (select_emulation_mode): Add const qualifiers.
1186 * config/bfin-defs.h: Likewise.
1187 * config/bfin-parse.y: Likewise.
1188 * config/rx-parse.y: Likewise.
1189 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1190 (struct aarch64_cpu_option_table): Likewise.
1191 (struct aarch64_arch_option_table): Likewise.
1192 (struct aarch64_option_cpu_value_table): Likewise.
1193 (struct aarch64_long_option_table): Likewise.
1194 (struct aarch64_option_abi_value_table): Likewise.
1195 * config/tc-arm.c (struct reloc_entry): Likewise.
1196 (tc_gen_reloc): Likewise.
1197 (struct arm_option_table): Likewise.
1198 (struct arm_legacy_option_table): Likewise.
1199 (struct arm_cpu_option_table): Likewise.
1200 (struct arm_arch_option_table): Likewise.
1201 (struct arm_option_extension_value_table): Likewise.
1202 (struct arm_option_fpu_value_table): Likewise.
1203 (struct arm_option_value_table): Likewise.
1204 (struct arm_long_option_table): Likewise.
1205 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1206 (struct mcu_type_s): Likewise.
1207 (struct exp_mod_s): Likewise.
1208 (avr_operand): Likewise.
1209 (avr_operands): Likewise.
1210 * config/tc-d10v.c (md_begin): Likewise.
1211 * config/tc-dlx.c: Likewise.
1212 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1213 * config/tc-ft32.c (parse_condition): Likewise.
1214 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1215 * config/tc-hppa.c (pa_ip): Likewise.
1216 (hppa_regname_to_dw2regnum): Likewise.
1217 * config/tc-i370.c (i370_elf_suffix): Likewise.
1218 * config/tc-i960.c (struct tabentry): Likewise.
1219 * config/tc-m32r.c: Likewise.
1220 * config/tc-m68k.c: Likewise.
1221 * config/tc-m68k.h: Likewise.
1222 * config/tc-mcore.c (parse_psrmod): Likewise.
1223 * config/tc-metag.c (struct metag_core_option): Likewise.
1224 (struct metag_long_option): Likewise.
1225 * config/tc-microblaze.c: Likewise.
1226 * config/tc-mips.c (macro): Likewise.
1227 * config/tc-mn10200.c: Likewise.
1228 * config/tc-mn10300.c: Likewise.
1229 * config/tc-msp430.c (struct rcodes_s): Likewise.
1230 (struct hcodes_s): Likewise.
1231 (md_parse_option): Likewise.
1232 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1233 (optlist): Likewise.
1234 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1235 (tc_ppc_regname_to_dw2regnum): Likewise.
1236 * config/tc-ppc.h: Likewise.
1237 * config/tc-rl78.c: Likewise.
1238 * config/tc-rx.c (struct cpu_type): Likewise.
1239 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1240 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1241 (sparc_ip): Likewise.
1242 * config/tc-spu.c (insn_fmt_string): Likewise.
1243 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1244 * config/tc-v850.c: Likewise.
1245 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1246 (struct visium_long_option_table): Likewise.
1247 * config/tc-xgate.c: Likewise.
1248 * config/tc-z8k.c: Likewise.
1249 * read.c (add_include_dir): Likewise.
1252 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1254 * testsuite/gas/all/gas.exp: Change target pattern to cover
1256 * testsuite/gas/all/redef3.d: Likewise.
1257 * testsuite/gas/elf/elf.exp: Likewise.
1259 2016-02-24 Renlin Li <renlin.li@arm.com>
1261 * config/tc-arm.c (BAD_FP16): New error message macro.
1262 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1263 fp16 scalar instructions.
1264 (neon_check_type): Allow different size from key.
1265 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1266 (try_vfp_nsyn): Likewise.
1267 (do_vfp_nsyn_mla_mls): Likewise.
1268 (do_vfp_nsyn_fma_fms): Likewise.
1269 (do_vfp_nsyn_ldm_stm): Likewise
1270 (do_vfp_nsyn_sqrt): Likewise
1271 (do_vfp_nsyn_div): Likewise
1272 (do_vfp_nsyn_nmul): Likewise.
1273 (do_vfp_nsyn_cmp): Likewise.
1274 (do_neon_shll): Likewise.
1275 (do_vfp_nsyn_cvt_fpv8): Likewise.
1276 (do_neon_cvttb_2): Likewise.
1277 (do_neon_mov): Likewise.
1278 (do_neon_rshift_round_imm): Likewise.
1279 (do_neon_ldr_str): Likewise.
1280 (do_vfp_nsyn_fpv8): Likewise.
1281 (do_vmaxnm): Likewise.
1282 (do_vrint_1): Likewise.
1283 (insns): New entry for vins, vmovx.
1284 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1285 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1286 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1287 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1288 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1289 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1290 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1292 2016-02-24 Renlin Li <renlin.li@arm.com>
1294 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1295 (neon_shape_class): New SC_HALF.
1296 (neon_shape_el): New SE_H.
1297 (neon_shape_el_size): New size for SE_H.
1298 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1299 (neon_select_shape): Add SE_H support code.
1300 (el_type_of_type_chk): Use N_F_ALL.
1301 (do_vfp_nsyn_cvt): Add SE_H shape support.
1302 (do_neon_cvtz): Likewise.
1303 (do_neon_cvt_1): Likewise.
1304 (do_neon_cvttb_1): Likewise.
1306 2016-02-24 Renlin Li <renlin.li@arm.com>
1308 * testsuite/gas/arm/copro.d: Adjust output.
1309 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1311 2016-02-24 Renlin Li <renlin.li@arm.com>
1313 * testsuite/gas/arm/mask_1.d: New.
1314 * testsuite/gas/arm/mask_1.s: New.
1316 2016-02-24 Renlin Li <renlin.li@arm.com>
1318 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1319 * testsuite/gas/arm/copro.d: Update.
1321 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1323 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1324 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1326 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1328 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1330 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1332 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1335 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1337 * output-file.c (output_file_create): Make file name argument const.
1338 (output_file_close): Likewise.
1339 * output-file.h (output_file_create): Adjust.
1340 (output_file_close): Likewise.
1341 * depend.c (quote_string_for_make): Make src argument const char *.
1342 (register_dependency): Likewise.
1343 (wrap_output): Likewise.
1344 * as.h (register_dependency): Adjust.
1345 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1347 * symbols.c (S_SET_EXTERNAL): Likewise.
1348 * input-scrub.c (as_where): Return the file name.
1349 * as.h (as_where): Adjust prototype.
1350 * app.c (do_scrub_chars): Adjust.
1351 * cond.c (s_elseif): Likewise.
1353 (initialize_cframe): Likewise.
1354 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1355 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1356 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1357 * config/tc-aarch64.c (output_info): Likewise.
1358 * config/tc-ia64.c (md_assemble): Likewise.
1359 (dot_alias): Likewise.
1360 * config/tc-m68k.c (m68k_frob_label): Likewise.
1361 * config/tc-mmix.c (s_bspec): Likewise.
1362 (mmix_handle_mmixal): Likewise.
1363 * config/tc-rx.c (rx_include): Likewise.
1364 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1365 (tic54x_adjust_symtab): Likewise.
1366 * config/tc-xtensa.c (directive_push): Likewise.
1367 (xtensa_sanity_check): Likewise.
1368 (xtensa_relax_frag): Likewise.
1369 (md_convert_frag): Likewise.
1370 (tinsn_to_slotbuf): Likewise.
1371 * dwarf2dbg.c (dwarf2_where): Likewise.
1372 * ecoff.c (add_file): Likewise.
1373 (ecoff_generate_asm_lineno): Likewise.
1374 * expr.c (make_expr_symbol): Likewise.
1375 * frags.c (frag_new): Likewise.
1376 (frag_var_init): Likewise.
1377 * listing.c (listing_newline): Likewise.
1378 * messages.c (identify): Likewise.
1379 (as_show_where): Likewise.
1380 (as_warn_internal): Likewise.
1381 (as_bad_internal): Likewise.
1382 * read.c (s_irp): Likewise.
1383 (s_macro): Likewise.
1384 (s_reloc): Likewise.
1385 * stabs.c (stabs_generate_asm_file): Likewise.
1386 (stabs_generate_asm_lineno): Likewise.
1387 (stabs_generate_asm_func): Likewise.
1388 * write.c (fix_new_internal): Likewise.
1389 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1390 (as_warn_value_out_of_range): Adjust prototype.
1391 (as_bad_value_out_of_range): Adjust prototype.
1392 * messages.c (identify): Make file name argument const char *.
1393 (as_warn_internal): Likewise.
1394 (as_warn_where): Likewise.
1395 (as_bad_internal): Likewise.
1396 (as_bad_where): Likewise.
1397 (as_internal_value_out_of_range): Likewise.
1398 (as_warn_value_out_of_range): Likewise.
1399 (as_bad_value_out_of_range): Likewise.
1400 * as.h (found_comment_file): Change type to const char *.
1401 * cond.c (file_line::file): Likewise.
1402 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1403 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1404 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1405 * config/tc-aarch64.c (output_info): Likewise.
1406 * config/tc-alpha.c (insert_operand): Likewise.
1407 * config/tc-arc.c (insert_operand): Likewise.
1408 * config/tc-d30v.c (check_size): Likewise.
1409 * config/tc-ia64.c (struct alias): Likewise.
1410 * config/tc-m68k.c (struct label_line): Likewise.
1411 * config/tc-mcore.c (md_apply_fix): Likewise.
1412 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1413 * config/tc-mips.c (mips16_immed): Likewise.
1414 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1415 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1416 * config/tc-rx.c (rx_include): Likewise.
1417 * config/tc-s390.c (s390_insert_operand): Likewise.
1418 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1419 (tic54x_adjust_symtab): Likewise.
1420 * config/tc-tilegx.c (insert_operand): Likewise.
1421 (apply_special_operator): Likewise.
1422 * config/tc-tilepro.c (insert_operand): Likewise.
1423 * config/tc-xtensa.c (directive_push): Likewise.
1424 * ecoff.c (add_file): Likewise.
1425 (ecoff_generate_asm_lineno): Likewise.
1426 * listing.c (listing_newline): Likewise.
1427 * read.c (s_irp): Likewise.
1428 * write.c (install_reloc): Likewise.
1429 * write.h (struct fix): Likewise.
1430 * input-file.c (file_name): Change type to const char *.
1431 (saved_file::file_name): Likewise.
1432 (input_file_open): Change type of argument to const char *.
1433 * input-file.h (input_file_open): Adjust.
1434 * input-scrub.c (logical_input_file): change type to const char *.
1435 (physical_input_file): Likewise.
1436 (struct input_save): Adjust.
1437 (input_scrub_push): Adjust.
1438 (input_scrub_begin): Adjust.
1440 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1441 (input_scrub_include_file): Likewise.
1442 (new_logical_line_flags): Likewise.
1443 (new_logical_line): Likewise.
1445 * frags.h (struct frag): Change type of fr_file to const char *.
1446 * expr.c (expr_symbol_where): Change type of file argument to
1448 * expr.h (expr_symbol_where): Likewise.
1449 * config/tc-i370.c (md_apply_fix): adjust.
1450 * config/tc-mmix.c (mmix_md_end): Likewise.
1451 * config/tc-ppc.c (md_apply_fix): Likewise.
1452 * config/tc-s390.c (md_apply_fix): Likewise.
1453 * symbols.c (report_op_error): Likewise.
1454 (resolve_symbol_value): Likewise.
1455 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1456 (rsrc::file): Likewise.
1457 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1459 (xtensa_relax_frag): Likewise.
1460 (md_convert_frag): Likewise.
1461 (tinsn_to_slotbuf): Likewise.
1462 * expr.c (expr_symbol_line): Likewise.
1463 * macro.c (define_macro): Likewise.
1464 * macro.h (macro_struct): Likewise.
1465 * messages.c (as_show_where): Likewise.
1466 * read.c (s_macro): Likewise.
1467 * stabs.c (stabs_generate_asm_file): Likewise.
1468 (generate_asm_file): Likewise.
1469 (stabs_generate_asm_lineno): Likewise.
1470 * write.h (struct reloc_list): Likewise.
1471 * input-scrub.c (as_where): Change return type to const char *.
1472 * as.h (as_wheree): Adjust.
1474 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1476 * write.c (compress_debug): Move BFD compression bits setting
1478 (write_object_file): Here.
1480 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1482 * config/tc-i386.c (register_number): Check RegVRex.
1483 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1484 with %zmm19 and %zmm3.
1485 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1486 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1488 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1489 Jiong Wang <jiong.wang@arm.com>
1491 * config/tc-arm.c (arm_ext_fp16): New.
1492 (arm_extensions): New entry for "fp16".
1494 2016-02-19 Nick Clifton <nickc@redhat.com>
1497 * read.c (read_a_source_file): Check for assemble_one returning
1498 with input_line_pointer set to NULL.
1500 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1502 * listing.c (rebuffer_line): Change return type to void.
1504 * symbols.c (decode_local_label_name): Make type a const char *.
1505 * listing.c (print_source): Make type of p const char *.
1506 (print_line): Make type of string const char *.
1507 (buffer_line): Return const char *.
1508 (title): Make type const char *.
1509 (subtitle): Likewise.
1510 (listing_listing): Make type of p const char *.
1511 * messages.c (as_internal_value_out_of_range): Make type of prefix
1513 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1514 and string const char *.
1515 * read.c (_bfd_rel): Make type of name const char *.
1516 * app.c (out_string): Change type to const char *.
1517 (struct app_save::out_string): Likewise.
1519 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1520 Nick Clifton <nickc@redhat.com>
1522 * read.c (finish_bundle): Avoid recording a negative alignment.
1523 (do_align): Use unsigned values for n, len and max. Only create
1524 a frag if the alignment requirement is greater than the minimum
1525 byte alignment. Avoid recording a negative alignment.
1526 (s_align): Use unsigned values where appropriate.
1527 (bss_alloc): Use an unsigned value for the alignment.
1528 (sizeof_sleb128): Add a comment noting that we encode one octet
1529 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1530 (emit_leb129_expr): Abort if the emitted encoding was longer than
1532 * read.h (output_leb128): Update prototype.
1533 (sizeof_leb128): Update prototype.
1534 (bss_alloc): Update prototype.
1535 * write.c (record_alignment): Use an unsigned value for the
1536 alignment. Do not record alignments less than the minimum
1537 alignment for a byte.
1538 * write.h (record_alignment): Update prototype.
1540 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1542 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1543 .init.literal/.fini.literal section name.
1544 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1545 list of xtensa tests.
1546 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1547 init-fini-literals test result patterns.
1548 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1549 init-fini-literals test.
1551 2016-02-17 Nick Clifton <nickc@redhat.com>
1553 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1554 devices.csv file as of March 2016.
1556 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1558 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1560 (tc_arc_regname_to_dw2regnum): Likewise.
1561 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1562 (tc_cfi_frame_initial_instructions): Likewise.
1563 (tc_regname_to_dw2regnum): Likewise.
1564 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1565 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1566 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1568 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1570 * doc/internals.texi (S_IS_EXTERN): Remove.
1572 2016-02-16 Nick Clifton <nickc@redhat.com>
1574 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1577 2016-02-16 Renlin Li <renlin.li@arm.com>
1580 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1581 * testsuite/gas/aarch64/movw_label.d: New.
1582 * testsuite/gas/aarch64/movw_label.s: New.
1584 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1587 * config/rx-parse.y (MOV): Opcode generation for index
1588 register addressing mode.
1589 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1590 * testsuite/gas/rx/pr19665.s: New file.
1591 * testsuite/gas/rx/pr19665.s: New file.
1592 * testsuite/gas/rx/mov.d: Update expected output.
1594 2016-02-15 Nick Clifton <nickc@redhat.com>
1596 * doc/as.texinfo (.section): Document that numeric values can now
1597 be used for the flags and type fields of the ELF target's .section
1598 directive. Add notes about the restrictions on setting flags and
1600 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1601 to be given processor specific section types. Allow processor and
1602 application specific flags of a section to be set after
1604 (obj_elf_parse_section_letters): Handle parsing numeric values.
1605 (obj_elf_section_type): Handle parsing numeric values.
1606 (obj_elf_section): Allow numeric type values.
1607 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1608 * testsuite/gas/elf/section10.d: New test.
1609 * testsuite/gas/elf/section10.s: Source file for new test.
1610 * testsuite/gas/elf/elf.exp: Run the new test.
1611 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1612 the description of the flags produced by readelf.
1613 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1614 * NEWS: Mention the new feature.
1616 2016-02-11 Nick Clifton <nickc@redhat.com>
1619 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1620 until it is actually used.
1621 (cfi_set_sections): Set cfi_sections_set to true.
1622 (dot_cfi_startproc): Likewise.
1623 (dot_cfi_endproc): Likewise.
1624 (dot_cfi_fde_data): Likewise.
1625 (cfi_finish): Likewise.
1626 (dot_cfi_sections): Do not set cfi_sections_set.
1627 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1628 their own cfi section name. Also note that the directive can be
1629 reissued provided that CFI generation has not started.
1630 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1631 .cfi_endproc directives so that the redefinition of .cfi_sections
1632 will trigger the generation of the error message.
1633 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1634 number of error message.
1636 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1637 Janek van Oirschot <jvanoirs@synopsys.com>
1639 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1640 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1642 (arc_flags, arc_relax_type): New structure.
1643 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1644 (RELAX_TABLE_ENTRY_MAX): New define.
1645 (relaxation_state, md_relax_table, arc_relaxable_insns)
1646 (arc_num_relaxable_ins): New variable.
1647 (rlx_operand_type, arc_rlx_types): New enums.
1648 (arc_relaxable_ins): New structure.
1649 (OPTION_RELAX): New option.
1650 (arc_insn): New relax member.
1651 (arc_flags): Remove.
1652 (relax_insn_p): New function.
1653 (apply_fixups): Likewise.
1654 (relaxable_operand): Likewise.
1655 (may_relax_expr): Likewise.
1656 (relaxable_flag): Likewise.
1657 (arc_pcrel_adjust): Likewise.
1658 (md_estimate_size_before_relax): Implement.
1659 (md_convert_frag): Likewise.
1660 (md_parse_option): Handle new mrelax option.
1661 (md_show_usage): Likewise.
1662 (assemble_insn): Set relax member.
1663 (emit_insn0): New function.
1664 (emit_insn1): Likewise.
1665 (emit_insn): Handle relaxation case.
1666 * NEWS: Mention the new relaxation option.
1667 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1668 * doc/as.texinfo (Target ARC Options): Likewise.
1669 * testsuite/gas/arc/relax-avoid1.d: New file.
1670 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1671 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1672 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1673 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1674 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1675 * testsuite/gas/arc/relax-b.d: Likewise.
1676 * testsuite/gas/arc/relax-b.s: Likewise.
1678 2016-02-08 Nick Clifton <nickc@redhat.com>
1680 * config/tc-ia64.c (dot_prologue): Fix formatting.
1682 2016-02-04 Nick Clifton <nickc@redhat.com>
1684 * config/obj-elf.c (obj_elf_change_section): Remove support for
1685 ARM NOREAD sections.
1686 * config/tc-arm.c (arm_elf_section_letter): Delete.
1687 * config/tc-arm.h (md_elf_section_letter): Delete.
1688 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1689 * testsuite/gas/arm/section-execute-only.d: Delete.
1690 * testsuite/gas/arm/section-execute-only.s: Delete.
1692 2016-02-04 Nick Clifton <nickc@redhat.com>
1695 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1696 to handle encoding of RRUX instruction.
1697 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1699 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1701 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1703 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1704 substitutions for BFD_RELOC_* as unsigned.
1705 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1706 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1707 * testsuite/gas/xtensa/loc.s: New file: loc test.
1709 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1711 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1713 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1716 * NEWS: Mention new command line option -mrelax-relocations and
1717 new configure option --enable-x86-relax-relocations for x86
1719 * config.in: Regenerated.
1720 * configure.ac: Add --enable-x86-relax-relocations.
1721 (ac_default_x86_relax_relocations): New. Default to 1 except
1722 for x86 Solaris targets older than Solaris 12.
1723 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1724 * configure: Likewise.
1725 * config/tc-i386.c (generate_relax_relocations): New.
1726 (OPTION_MRELAX_RELOCATIONS): Likewise.
1727 (output_disp): Don't generate relax relocations if
1728 generate_relax_relocations is 0.
1729 (md_longopts): Add -mrelax-relocations.
1730 (md_show_usage): Likewise.
1731 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1732 * doc/c-i386.texi: Document -mrelax-relocations=.
1733 * testsuite/gas/i386/got-no-relax.d: New file.
1734 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1735 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1736 * testsuite/gas/i386/localpic.d: Likewise.
1737 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1738 * testsuite/gas/i386/reloc32.d: Likewise.
1739 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1740 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1741 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1742 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1743 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1744 x86-64-gotpcrel-no-relax.
1746 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1748 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1751 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1753 * NEWS: Remove duplicated marker for 2.26.
1755 2016-02-02 Renlin Li <renlin.li@arm.com>
1757 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1759 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1761 * testsuite/gas/ip2k/allinsn.d: New file.
1762 * testsuite/gas/ip2k/allinsn.s: New file.
1763 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1765 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1767 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1768 some load instructions.
1769 * testsuite/gas/epiphany/allinsn.d: Likewise.
1770 * testsuite/gas/epiphany/regression.d: Likewise.
1772 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1774 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1775 suffixes from instruction mnemonics in expected output.
1776 * testsuite/gas/epiphany/allinsn.d: Likewise.
1777 * testsuite/gas/epiphany/regression.d: Likewise.
1778 * testsuite/gas/epiphany/sample.d: Likewise.
1780 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1782 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1784 * testsuite/gas/epiphany/allinsn.d: Likewise.
1785 * testsuite/gas/epiphany/sample.d: Likewise.
1787 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1789 * testsuite/gas/epiphany/sample.d: Update expected output.
1791 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1793 * config/tc-arc.c (md_apply_fix): Allow addendum.
1794 (arc_reloc_op): Allow complex expressions for tpoff.
1795 (md_apply_fix): Handle resolved TLS local symbol.
1796 * testsuite/gas/arc/tls-relocs1.d: New file.
1797 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1799 2016-02-01 Loria <Loria@phantasia.org>
1802 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1803 efficiency and avoid an LLVM loop optimization bug.
1805 2016-02-01 Nick Clifton <nickc@redhat.com>
1807 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1808 message extending a negative 32-bit value into a larger signed
1809 value on a 32-bit host.
1811 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1814 * configure.ac (compressed_debug_sections): Replace == with =.
1815 * configure: Regenerated.
1817 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1818 H.J. Lu <hongjiu.lu@intel.com>
1820 * config/tc-i386.c (avoid_fence): New.
1821 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1823 (OPTION_FENCE_AS_LOCK_ADD): New.
1824 (md_longopts): Add -mfence-as-lock-add.
1825 (md_parse_option): Handle -mfence-as-lock-add.
1826 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1827 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1828 * testsuite/gas/i386/i386.exp: Run new tests.
1829 * testsuite/gas/i386/fence-as-lock-add.s: New.
1830 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1831 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1832 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1833 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1835 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1837 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1838 * configure: Regenerated.
1840 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1842 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1843 (OPTION_MOMIT_LOCK_PREFIX): This.
1844 (md_longopts): Updated.
1845 (md_parse_option): Likewise.
1847 2016-01-25 Catherine Moore <clm@codesourcery.com>
1849 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1850 if abicalls are in effect.
1851 * testsuite/gas/mips/sdata-gp.s: New test.
1852 * testsuite/gas/mips/sdata-gp.d: New expected output
1853 * testsuite/gas/mips/mips.exp: Run new test.
1855 2016-01-25 Renlin Li <renlin.li@arm.com>
1857 * testsuite/gas/arm/thumb2_it_search.d: New.
1858 * testsuite/gas/arm/thumb2_it_search.s: New.
1860 2016-01-21 Nick Clifton <nickc@redhat.com>
1863 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1864 with arm-netbsdelf target.
1865 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1867 2016-01-20 Nick Clifton <nickc@redhat.com>
1870 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1871 * testsuite/gas/arm/blx-bl-convert.d
1872 * testsuite/gas/arm/plt-1.d: Likewise.
1873 * testsuite/gas/arm/reloc-bad.d: Likewise.
1874 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1875 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1876 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1877 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1880 * doc/as.texinfo (Errors): Correct documentation describing the
1881 interaction of .file and .line with warning and error messages.
1884 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1885 * testsuite/gas/arm/archv8m-main.d: Likewise.
1886 * testsuite/gas/arm/archv8m-base.d: Likewise.
1888 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1890 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1891 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1892 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1894 2016-01-20 Mickael Guene <mickael.guene@st.com>
1895 Terry Guo <terry.guo@arm.com>
1897 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1898 SHF_ARM_NOREAD section flag.
1899 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1901 (arm_elf_section_letter) : Declare it.
1902 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1903 SHF_ARM_NOREAD section flag.
1904 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1906 * testsuite/gas/arm/section-execute-only.s: New test case.
1907 * testsuite/gas/arm/section-execute-only.d: Expected output.
1909 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1911 * config/tc-mips.c (micromips_insn_length): Remove the mention
1912 of 48-bit microMIPS instructions.
1914 2016-01-18 Alan Modra <amodra@gmail.com>
1916 * configure: Regenerate.
1918 2016-01-17 Alan Modra <amodra@gmail.com>
1920 * configure: Regenerate.
1922 2016-01-17 Alan Modra <amodra@gmail.com>
1924 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1926 2016-01-14 Nick Clifton <nickc@redhat.com>
1928 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1929 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1930 * testsuite/gas/rl78/rl78.exp: Run the new test.
1932 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1934 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1935 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1937 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1939 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1941 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1943 * config/tc-h8300.c (get_operand): Remove spurious condition in
1944 test for closing parenthesis.
1946 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1948 * config/tc-arm.c (arm_ext_v8_2): New.
1950 * testsuite/gas/arm/armv8_2-a.d: New.
1951 * testsuite/gas/arm/armv8_2-a.s: New.
1953 2016-01-12 Alan Modra <amodra@gmail.com>
1955 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1957 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1959 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1960 xvcmpnesp, xvcmpnesp.>: Delete tests.
1961 * testsuite/gas/ppc/power9.s: Likewise.
1962 * testsuite/gas/ppc/vsx3.d: Likewise.
1963 * testsuite/gas/ppc/vsx3.s: Likewise.
1965 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1968 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1969 * testsuite/gas/m68k/p13050-1.s: New file.
1970 * testsuite/gas/m68k/p13050-2.d: New file.
1971 * testsuite/gas/m68k/p13050-2.s: New file.
1973 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1975 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1976 * testsuite/gas/arc/add.d: Likewise.
1977 * testsuite/gas/arc/and.d: Likewise.
1978 * testsuite/gas/arc/asl.d: Likewise.
1979 * testsuite/gas/arc/asr.d: Likewise.
1980 * testsuite/gas/arc/bic.d: Likewise.
1981 * testsuite/gas/arc/extb.d: Likewise.
1982 * testsuite/gas/arc/extw.d: Likewise.
1983 * testsuite/gas/arc/j.d: Likewise.
1984 * testsuite/gas/arc/jl.d: Likewise.
1985 * testsuite/gas/arc/ld2.d: Likewise.
1986 * testsuite/gas/arc/lsr.d: Likewise.
1987 * testsuite/gas/arc/mov.d: Likewise.
1988 * testsuite/gas/arc/or.d: Likewise.
1989 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1990 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1991 * testsuite/gas/arc/pic-relocs.d: Likewise.
1992 * testsuite/gas/arc/plt-relocs.d: Likewise.
1993 * testsuite/gas/arc/rlc.d: Likewise.
1994 * testsuite/gas/arc/ror.d: Likewise.
1995 * testsuite/gas/arc/rrc.d: Likewise.
1996 * testsuite/gas/arc/sbc.d: Likewise.
1997 * testsuite/gas/arc/sda-relocs.d: Likewise.
1998 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1999 * testsuite/gas/arc/sexb.d: Likewise.
2000 * testsuite/gas/arc/sexw.d: Likewise.
2001 * testsuite/gas/arc/st.d: Likewise.
2002 * testsuite/gas/arc/sub.d: Likewise.
2003 * testsuite/gas/arc/tls-relocs.d: Likewise.
2004 * testsuite/gas/arc/xor.d: Likewise.
2006 2016-01-01 Alan Modra <amodra@gmail.com>
2008 Update year range in copyright notice of all files.
2010 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2012 Copyright (C) 2016 Free Software Foundation, Inc.
2014 Copying and distribution of this file, with or without modification,
2015 are permitted in any medium without royalty provided the copyright
2016 notice and this notice are preserved.
2022 version-control: never