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