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