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