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