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