1 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3 * config/tc-mips.c (mips_check_options): Use `opts->isa'
6 2016-04-08 Nick Clifton <nickc@redhat.com>
9 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
10 COFF and AOUT sparc targets.
12 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
14 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
15 * testsuite/gas/arc/nps400-2.d: New file.
16 * testsuite/gas/arc/nps400-2.s: New file.
18 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
20 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
22 (arc_opcode_hash_entry_iterator_init): New function.
23 (arc_opcode_hash_entry_iterator_next): New function.
24 (find_opcode_match): Iterate over all arc_opcode entries
25 referenced by the arc_opcode_hash_entry passed in as a parameter.
27 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
29 * config/tc-arc.c (arc_find_opcode): Now returns
30 arc_opcode_hash_entry pointer.
31 (find_opcode_match): Update argument type, extract arc_opcode from
32 incoming arc_opcode_hash_entry.
33 (find_special_case_pseudo): Update return type.
34 (find_special_case_flag): Update return type.
35 (find_special_case): Update return type.
36 (assemble_tokens): Lookup arc_opcode_hash_entry based on
37 instruction mnemonic, then use find_opcode_match to identify
40 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
42 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
43 (arc_find_opcode): New function.
44 (find_special_case_pseudo): Use arc_find_opcode.
45 (find_special_case_flag): Likewise.
46 (assemble_tokens): Likewise.
47 (md_begin): Build hash using struct arc_opcode_hash_entry.
49 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
51 * config/tc-arc.c (arc_option): Prepare string for automatic
53 (declare_register): Likewise.
55 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
57 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
58 Correct entry for RDMA. Alpha sort entries.
60 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
62 * config/tc-arc.c (tokenize_flags): Allow greater range of
63 characters into flag names.
65 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
67 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
69 (preprocess_operands): Delete.
70 (assemble_tokens): Remove call to preprocess_operands.
72 2016-04-07 Nick Clifton <nickc@redhat.com>
75 * config/tc-sparc.c (sparc_ip): Report an error if the expression
76 inside a %-macro could not be fully parsed.
77 * expr.c (integer_constant): Accept and ignore U suffixes to
79 (operand): When a missing closing parenthesis is encountered,
80 report the character that was found instead.
81 * testsuite/gas/mips/tls-ill.l: Update expected error message.
82 * testsuite/gas/sparc/pr19910-1.d: New test driver.
83 * testsuite/gas/sparc/pr19910-1.s: New test.
84 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
85 * testsuite/gas/sparc/pr19910-2.s: New test.
86 * testsuite/gas/sparc/sparc.exp: Run the new tests.
88 2016-04-06 Nick Clifton <nickc@redhat.com>
90 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
91 an EINT instruction. Warn/fix as necessary.
92 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
93 * testsuite/gas/msp430/bad.l: Update expected messages.
95 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
97 * testsuite/gas/arc/nps400-1.d: Update expected results.
98 * testsuite/gas/arc/nps400-1.s: Additional test cases.
100 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
102 * config/tc-arc.c (is_code_density_p): Compare directly the
104 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
105 (check_cpu_feature): New function.
106 (find_opcode_match): Use check_cpu_feature function.
107 (preprocess_operands): Likewise.
108 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
109 * testsuite/gas/arc/tdpfp.d: New file.
110 * testsuite/gas/arc/tfpuda.d: Likewise.
111 * testsuite/gas/arc/tfpx.s: Likewise.
113 2016-04-05 Jiong Wang <jiong.wang@arm.com>
115 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
116 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
117 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
118 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
119 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
120 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
121 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
122 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
124 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
126 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
128 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
129 JUMP instructions type.
130 * testsuite/gas/arc/relocs-errors.d: New file.
131 * testsuite/gas/arc/relocs-errors.err: Likewise.
132 * testsuite/gas/arc/relocs-errors.s: Likewise.
134 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
137 * testsuite/gas/i386/i386.exp: Run pr19498.
138 * testsuite/gas/i386/pr19498.d: New file.
139 * testsuite/gas/i386/pr19498.s: Likewise.
141 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
143 * config/tc-arc.h: Include 'opcode/arc.h'.
144 (MAX_INSN_ARGS): Delete.
145 (MAX_INSN_FLGS): Delete.
147 2016-04-04 Alan Modra <amodra@gmail.com>
150 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
151 from function on all paths that set sy_resolving.
153 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
155 * app.c (app_push): use XNEW macro.
157 * config/obj-elf.c (obj_elf_change_section): Likewise.
158 (elf_copy_symbol_attributes): Likewise.
159 (obj_elf_size): Likewise.
160 (build_group_lists): Likewise.
161 * config/tc-aarch64.c (add_operand_error_record): Likewise.
162 (md_assemble): Likewise.
163 (tc_gen_reloc): Likewise.
164 (get_upper_str): Likewise.
165 (aarch64_parse_features): Likewise.
166 * config/tc-arm.c (insert_reg_alias): Likewise.
167 (insert_neon_reg_alias): Likewise.
168 (find_or_make_literal_pool): Likewise.
169 (s_arm_elf_cons): Likewise.
170 (add_unwind_opcode): Likewise.
171 (arm_parse_extension): Likewise.
172 * config/tc-avr.c (create_record_for_frag): Likewise.
173 * config/tc-crx.c: Likewise.
174 * config/tc-d30v.c: Likewise.
175 * config/tc-dlx.c (s_proc): Likewise.
176 * config/tc-ft32.c: Likewise.
177 * config/tc-h8300.c: Likewise.
178 * config/tc-hppa.c (pa_proc): Likewise.
179 (create_new_space): Likewise.
180 (create_new_subspace): Likewise.
181 * config/tc-i860.c: Likewise.
182 * config/tc-i960.c: Likewise.
183 * config/tc-ia64.c: Likewise.
184 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
185 (iq2000_record_hi16): Likewise.
186 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
187 * config/tc-m32r.c (debug_sym): Likewise.
188 (m32r_record_hi16): Likewise.
189 * config/tc-m68k.c (m68k_ip): Likewise.
190 (md_begin): Likewise.
191 * config/tc-mcore.c: Likewise.
192 * config/tc-microblaze.c (check_got): Likewise.
193 * config/tc-mips.c (append_insn): Likewise.
194 (s_mipsset): Likewise.
195 (mips_record_label): Likewise.
196 (s_mips_end): Likewise.
197 * config/tc-mmix.c (mmix_frob_file): Likewise.
198 * config/tc-mn10200.c: Likewise.
199 * config/tc-mn10300.c: Likewise.
200 * config/tc-moxie.c: Likewise.
201 * config/tc-msp430.c: Likewise.
202 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
203 * config/tc-ns32k.c: Likewise.
204 * config/tc-or1k.c: Likewise.
205 * config/tc-pdp11.c: Likewise.
206 * config/tc-pj.c (fake_opcode): Likewise.
207 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
208 (ppc_macro): Likewise.
209 (ppc_dwsect): Likewise.
210 (ppc_machine): Likewise.
211 * config/tc-rl78.c (rl78_frag_init): Likewise.
212 * config/tc-rx.c (rx_frag_init): Likewise.
213 * config/tc-s390.c (s390_lit_suffix): Likewise.
214 (s390_machine): Likewise.
215 (s390_machinemode): Likewise.
216 * config/tc-score.c (s3_insert_reg): Likewise.
217 (s3_gen_reloc): Likewise.
218 * config/tc-score7.c (s7_insert_reg): Likewise.
219 (s7_gen_reloc): Likewise.
220 * config/tc-tic30.c (tic30_operand): Likewise.
221 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
222 * config/tc-tic54x.c (stag_add_field): Likewise.
223 (tic54x_struct): Likewise.
224 (tic54x_space): Likewise.
225 (tic54x_field): Likewise.
226 (tic54x_mlib): Likewise.
227 (subsym_substitute): Likewise.
228 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
229 * config/tc-vax.c: Likewise.
230 * config/tc-xc16x.c: Likewise.
231 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
232 (directive_push): Likewise.
233 (xtensa_begin_directive): Likewise.
234 (tokenize_arguments): Likewise.
235 (xtensa_add_literal_sym): Likewise.
236 (new_resource_table): Likewise.
237 (resize_resource_table): Likewise.
238 (emit_single_op): Likewise.
239 (xtensa_create_trampoline_frag): Likewise.
240 (xtensa_maybe_create_literal_pool_frag): Likewise.
241 (xtensa_add_config_info): Likewise.
242 (xtensa_realloc_fixup_cache): Likewise.
243 (add_subseg_info): Likewise.
244 (cache_literal_section): Likewise.
245 (add_xt_block_frags): Likewise.
246 (add_xt_prop_frags): Likewise.
247 (init_op_placement_info_table): Likewise.
248 (build_section_rename): Likewise.
249 * config/tc-z80.c: Likewise.
250 * config/tc-z8k.c: Likewise.
251 * depend.c (register_dependency): Likewise.
252 * dwarf2dbg.c (get_line_subseg): Likewise.
253 (dwarf2_gen_line_info_1): Likewise.
254 (get_filenum): Likewise.
255 * ecoff.c (allocate_scope): Likewise.
256 (allocate_vlinks): Likewise.
257 (allocate_shash): Likewise.
258 (allocate_thash): Likewise.
259 (allocate_tag): Likewise.
260 (allocate_forward): Likewise.
261 (allocate_thead): Likewise.
262 (allocate_lineno_list): Likewise.
263 * expr.c (make_expr_symbol): Likewise.
264 * hash.c (hash_new_sized): Likewise.
265 * input-file.c (input_file_push): Likewise.
266 * listing.c (file_info): Likewise.
267 (listing_newline): Likewise.
268 * macro.c (new_formal): Likewise.
269 (define_macro): Likewise.
270 * remap.c (add_debug_prefix_map): Likewise.
271 * symbols.c (symbol_find_noref): Likewise.
272 (define_dollar_label): Likewise.
273 (fb_label_instance_inc): Likewise.
274 (symbol_relc_make_value): Likewise.
276 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
278 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
279 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
280 (ppc_znop): Likewise.
281 (ppc_pe_section): Likewise.
282 (ppc_frob_symbol): Likewise.
283 * config/tc-tic30.c (tic30_operand): Likewise.
284 * config/tc-tic4x.c (tic4x_sect): Likewise.
285 (tic4x_usect): Likewise.
287 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
289 * config/tc-alpha.c: Const qualify FLT_CHARS.
290 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
291 * config/tc-cris.h: Likewise.
293 * config/tc-mmix.c (md_atof): Adjust comment.
294 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
295 * tc.h: Declare FLT_CHARS and EXP_CHARS.
297 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
299 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
300 * config/tc-score7.c (s7_gen_reloc): Likewise.
302 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
304 * config/tc-arm.c (do_t_branch): Change the type of reloc to
305 bfd_reloc_code_real_type.
307 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
309 * config/bfin-parse.y (current_inputline): Remove definition.
310 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
312 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
314 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
317 2016-04-02 Alan Modra <amodra@gmail.com>
320 * read.c (assign_symbol): Consume rest of line after an error
321 rather than continuing to process the line.
323 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
325 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
326 (MAX_FLAG_NAME_LENGTH): ...this.
327 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
328 * config/tc-arc.c (tokenize_flags): Likewise.
330 2016-04-01 Alan Modra <amodra@gmail.com>
332 * cgen.c (weak_operand_overflow_check): Return const char*.
333 * messages.c (as_internal_value_out_of_range): Formatting.
334 (as_warn_value_out_of_range): Consify prefix param.
335 (as_bad_value_out_of_range): Likewise.
336 * read.c (s_errwarn): Constify msg..
337 (s_float_space, float_cons): ..and err.
338 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
339 ieee_md_atof, vax_md_atof): Update prototypes.
340 * tc.h (md_atof): Update prototype.
341 * config/atof-ieee.c (ieee_md_atof): Return const char*.
342 * config/atof-vax.c (vax_md_atof): Likewise.
343 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
344 * config/tc-aarch64.c (md_atof): Return const char*.
345 * config/tc-alpha.c (s_alpha_section_name): Likewise.
346 (s_alpha_comm): Constify sec_name.
347 (section_name): Constify.
348 (s_alpha_section): Consify name..
349 (alpha_elf_section_letter): ..and ptr_msg param..
350 (md_atof): ..and return.
351 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
352 * config/tc-arc.c (md_atof): Return const char*.
353 * config/tc-arm.c (md_atof): Likewise.
354 * config/tc-avr.c (md_atof): Likewise.
355 * config/tc-bfin.c (md_atof): Likewise.
356 * config/tc-cr16.c (md_atof): Likewise.
357 * config/tc-cris.c (md_atof): Likewise.
358 * config/tc-crx.c (md_atof): Likewise.
359 * config/tc-d10v.c (md_atof): Likewise.
360 * config/tc-d30v.c (md_atof): Likewise.
361 * config/tc-dlx.c (md_atof): Likewise.
362 * config/tc-epiphany.c (md_atof): Likewise.
363 * config/tc-fr30.c (md_atof): Likewise.
364 * config/tc-frv.c (md_atof): Likewise.
365 * config/tc-ft32.c (md_atof): Likewise.
366 * config/tc-h8300.c (md_atof): Likewise.
367 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
368 (struct default_space_dict): Likewise.
369 (create_new_space): Constify name param.
370 (create_new_subspace): Likewise.
371 (is_defined_space, is_defined_subspace): Likewise.
372 (pa_parse_space_stmt): Constify space_name param.
373 (md_atof): Return const char*.
374 (pa_spaces_begin): Constify name.
375 * config/tc-i370.c (md_atof): Return const char*.
376 * config/tc-i386.c (md_atof): Likewise.
377 (x86_64_section_letter): Constify ptr_msg param.
378 * config/tc-i386.h (x86_64_section_letter): Update prototype.
379 * config/tc-i860.c (struct i860_it): Constify error.
380 (md_atof): Return const char*.
381 * config/tc-i960.c (md_atof): Likewise.
382 * config/tc-ia64.c (md_atof): Likewise.
383 (ia64_elf_section_letter): Constify ptr_msg param.
384 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
385 * config/tc-ip2k.c (md_atof): Return const char*.
386 * config/tc-iq2000.c (md_atof): Likewise.
387 * config/tc-lm32.c (md_atof): Likewise.
388 * config/tc-m32c.c (md_atof): Likewise.
389 * config/tc-m32r.c (md_atof): Likewise.
390 * config/tc-m68hc11.c (md_atof): Likewise.
391 * config/tc-m68k.c (md_atof): Likewise.
392 * config/tc-mcore.c (md_atof): Likewise.
393 * config/tc-mep.c (md_atof): Likewise.
394 (mep_elf_section_letter): Constify ptr_msg param.
395 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
396 * config/tc-metag.c (md_atof): Return const char*.
397 * config/tc-microblaze.c (md_atof): Likewise.
398 * config/tc-microblaze.h (md_atof): Delete prototype.
399 * config/tc-mips.c (mips_parse_argument_token): Constify err.
400 (md_atof): Return const char*.
401 * config/tc-mmix.c (md_atof): Likewise.
402 * config/tc-mn10200.c (md_atof): Likewise.
403 * config/tc-mn10300.c (md_atof): Likewise.
404 * config/tc-moxie.c (md_atof): Likewise.
405 * config/tc-msp430.c (md_atof): Likewise.
406 * config/tc-mt.c (md_atof): Likewise.
407 * config/tc-nds32.c (md_atof): Likewise.
408 * config/tc-nios2.c (md_atof): Likewise.
409 (nios2_elf_section_letter): Constify ptr_msg param.
410 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
411 * config/tc-ns32k.c (md_atof): Return const char*.
412 * config/tc-or1k.c (md_atof): Likewise.
413 * config/tc-pdp11.c (struct pdp11_code): Constify error.
414 (md_atof): Return const char*.
415 * config/tc-pj.c (md_atof): Likewise.
416 * config/tc-ppc.c (md_atof): Likewise.
417 * config/tc-rl78.c (md_atof): Likewise.
418 * config/tc-rx.c (md_atof): Likewise.
419 * config/tc-s390.c (md_atof): Likewise.
420 * config/tc-score.c (s3_atof, md_atof): Likewise.
421 * config/tc-sh.c (md_atof): Likewise.
422 * config/tc-sparc.c (struct sparc_it): Constify error.
423 (md_atof): Return const char*.
424 * config/tc-spu.c (md_atof): Likewise.
425 * config/tc-tic30.c (md_atof): Likewise.
426 * config/tc-tic4x.c (md_atof): Likewise.
427 * config/tc-tic54x.c (md_atof): Likewise.
428 * config/tc-tic6x.c (md_atof): Likewise.
429 * config/tc-tilegx.c (md_atof): Likewise.
430 * config/tc-tilepro.c (md_atof): Likewise.
431 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
432 * config/tc-vax.c (md_atof): Likewise.
433 * config/tc-visium.c (md_atof): Likewise.
434 * config/tc-xc16x.c (md_atof): Likewise.
435 * config/tc-xgate.c (md_atof): Likewise.
436 * config/tc-xstormy16.c (md_atof): Likewise.
437 * config/tc-xtensa.c (md_atof): Likewise.
438 * config/tc-z80.c (md_atof): Likewise.
439 * config/tc-z8k.c (md_atof): Likewise.
441 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
443 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
445 (xtensa_section_rename): Make argument type const char *.
446 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
448 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
450 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
453 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
455 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
457 (m32c_indirect_operand): Likewise.
458 * config/tc-nds32.c (do_pseudo_b): Likewise.
459 (do_pseudo_bal): Likewise.
460 (do_pseudo_ls_bhw): Likewise.
462 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
464 * as.c (parse_args): Cast literal to char * when assigning to optarg.
466 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
468 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
470 * config/tc-sparc.c (s_register): Cast a literal to char * in
473 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
475 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
477 * config/tc-m32r.c (expand_debug_syms): Likewise.
478 * config/tc-msp430.c (msp430_dstoperand): Likewise.
479 * config/tc-z80.c (md_begin): Likewise.
480 * stabs.c (stabs_generate_asm_func): Likewise.
482 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
484 * cgen.c: Modernize the way functions declare arguments.
485 * config/tc-bfin.c: Likewise.
486 * config/tc-pdp11.c: Likewise.
487 * literal.c: Likewise.
491 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
493 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
494 variables unsigned char[].
495 * config/tc-alpha.c (alpha_handle_align): Likewise.
496 * config/tc-arm.c (arm_handle_align): Likewise.
497 * config/tc-z80.c: Likewise.
499 2016-03-30 Nick Clifton <nickc@redhat.com>
502 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
505 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
507 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
508 * testsuite/gas/elf/elf.exp: Likewise.
509 * testsuite/gas/all/redef3.d: Allow execution for ARC.
511 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
513 * testsuite/gas/arc/warn.exp: Fix matching pattern.
515 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
517 * testsuite/gas/arc/ext2op.d: New file.
518 * testsuite/gas/arc/ext2op.s: Likewise.
519 * testsuite/gas/arc/ext3op.d: Likewise.
520 * testsuite/gas/arc/ext3op.s: Likewise.
522 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
524 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
526 * config/tc-alpha.c (md_parse_option): Likewise.
527 * config/tc-arc.c (md_parse_option): Likewise.
528 * config/tc-arm.c (struct arm_long_option_table): Likewise.
529 (md_parse_option): Likewise.
530 * config/tc-avr.c (md_parse_option): Likewise.
531 * config/tc-bfin.c (md_parse_option): Likewise.
532 * config/tc-cr16.c (md_parse_option): Likewise.
533 * config/tc-cris.c (s_cris_arch): Likewise.
534 (md_parse_option): Likewise.
535 * config/tc-crx.c (md_parse_option): Likewise.
536 * config/tc-d10v.c (md_parse_option): Likewise.
537 * config/tc-d30v.c (md_parse_option): Likewise.
538 * config/tc-dlx.c (md_parse_option): Likewise.
539 * config/tc-epiphany.c (md_parse_option): Likewise.
540 * config/tc-fr30.c (md_parse_option): Likewise.
541 * config/tc-frv.c (md_parse_option): Likewise.
542 * config/tc-ft32.c (md_parse_option): Likewise.
543 * config/tc-h8300.c (md_parse_option): Likewise.
544 * config/tc-hppa.c (md_parse_option): Likewise.
545 * config/tc-i370.c (md_parse_option): Likewise.
546 * config/tc-i386.c (md_parse_option): Likewise.
547 * config/tc-i860.c (md_parse_option): Likewise.
548 * config/tc-i960.c (md_parse_option): Likewise.
549 * config/tc-ia64.c (md_parse_option): Likewise.
550 * config/tc-ip2k.c (md_parse_option): Likewise.
551 * config/tc-iq2000.c (md_parse_option): Likewise.
552 * config/tc-lm32.c (md_parse_option): Likewise.
553 * config/tc-m32c.c (md_parse_option): Likewise.
554 * config/tc-m32r.c (md_parse_option): Likewise.
555 * config/tc-m68hc11.c (md_parse_option): Likewise.
556 * config/tc-m68k.c (md_parse_option): Likewise.
557 * config/tc-mcore.c (md_parse_option): Likewise.
558 * config/tc-mep.c (md_parse_option): Likewise.
559 * config/tc-metag.c (struct metag_long_option): Likewise.
560 (md_parse_option): Likewise.
561 * config/tc-microblaze.c (md_parse_option): Likewise.
562 * config/tc-microblaze.h (md_parse_option): Remove prototype.
563 * config/tc-mips.c (md_parse_option): Adjust.
564 * config/tc-mmix.c (md_parse_option): Likewise.
565 * config/tc-mn10200.c (md_parse_option): Likewise.
566 * config/tc-mn10300.c (md_parse_option): Likewise.
567 * config/tc-moxie.c (md_parse_option): Likewise.
568 * config/tc-msp430.c (md_parse_option): Likewise.
569 * config/tc-mt.c (md_parse_option): Likewise.
570 * config/tc-nds32.c (md_parse_option): Likewise.
571 * config/tc-nds32.h (nds32_parse_option): Likewise.
572 * config/tc-nios2.c (md_parse_option): Likewise.
573 * config/tc-ns32k.c (md_parse_option): Likewise.
574 * config/tc-or1k.c (md_parse_option): Likewise.
575 * config/tc-pdp11.c (md_parse_option): Likewise.
576 * config/tc-pj.c (md_parse_option): Likewise.
577 * config/tc-ppc.c (md_parse_option): Likewise.
578 * config/tc-rl78.c (md_parse_option): Likewise.
579 * config/tc-rx.c (md_parse_option): Likewise.
580 * config/tc-s390.c (s390_parse_cpu): Likewise.
581 * config/tc-score.c (md_parse_option): Likewise.
582 * config/tc-sh.c (md_parse_option): Likewise.
583 * config/tc-sparc.c (md_parse_option): Likewise.
584 * config/tc-spu.c (md_parse_option): Likewise.
585 * config/tc-tic30.c (md_parse_option): Likewise.
586 * config/tc-tic4x.c (md_parse_option): Likewise.
587 * config/tc-tic54x.c (md_parse_option): Likewise.
588 * config/tc-tic6x.c (md_parse_option): Likewise.
589 * config/tc-tilegx.c (md_parse_option): Likewise.
590 * config/tc-tilepro.c (md_parse_option): Likewise.
591 * config/tc-v850.c (md_parse_option): Likewise.
592 * config/tc-vax.c (md_parse_option): Likewise.
593 * config/tc-visium.c (struct visium_long_option_table): Likewise.
594 * config/tc-xc16x.c (md_parse_option): Likewise.
595 * config/tc-xgate.c (md_parse_option): Likewise.
596 * config/tc-xstormy16.c (md_parse_option): Likewise.
597 * config/tc-xtensa.c (md_parse_option): Likewise.
598 * config/tc-z80.c (md_parse_option): Likewise.
599 * config/tc-z8k.c (md_parse_option): Likewise.
600 * tc.h (md_parse_option): Likewise.
602 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
604 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
605 * config/tc-hppa.c (fix_new_hppa): Likewise.
606 (pa_vtable_entry): Likewise.
607 (pa_vtable_inherit): Likewise.
608 * config/tc-m68k.c (md_begin): Likewise.
610 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
612 * config/obj-elf.c (obj_elf_section_name): Return const char *.
613 * config/obj-elf.h (obj_elf_section_name): Adjust.
614 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
615 (aarch64_parse_cpu): Likewise.
616 (aarch64_parse_arch): Likewise.
617 * config/tc-arm.c (arm_parse_extension): Likewise.
618 (arm_parse_cpu): Likewise.
619 (arm_parse_arch): Likewise.
620 * config/tc-nds32.c: Likewise.
621 * config/xtensa-relax.c (parse_special_fn): Likewise.
622 * stabs.c (generate_asm_file): Likewise.
624 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
626 * config/tc-cr16.c (cr16_assemble): New function.
627 (md_assemble): Call cr16_assemble.
629 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
631 * as.c (parse_args): Adjust.
632 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
633 * config/obj-elf.c (elf_frob_symbol): Adjust.
635 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
637 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
638 registers to be in the 16..31 range.
640 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
642 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
645 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
647 * config/tc-visium.c (md_atof): Localize the string returned on
650 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
652 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
653 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
654 * config/tc-m68hc11.c (md_begin): Likewise.
655 (print_opcode_list): Likewise.
656 * config/tc-msp430.c (msp430_section): Likewise.
657 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
658 (s3_build_dependency_insn_hsh): Likewise.
659 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
660 (s7_build_dependency_insn_hsh): Likewise.
661 * config/tc-tic4x.c: Likewise.
662 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
663 (subsym_get_arg): Likewise.
664 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
665 (get_directive): Likewise.
666 (cache_literal_section): Likewise.
667 * config/xtensa-relax.c: Likewise.
668 * symbols.c (symbol_create): Likewise.
669 (local_symbol_make): Likewise.
670 (symbol_relc_make_expr): Likewise.
672 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
674 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
677 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
679 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
682 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
684 * config/tc-ia64.c (ia64_do_align): Remove.
685 (ia64_cons_align): Call do_align () directly.
686 (dot_proc): Likewise.
687 (stmt_float_cons): Likewise.
689 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
691 * listing.c (listing_message): Use XNEW style allocation macros.
692 * read.c (read_a_source_file): Likewise.
693 (read_symbol_name): Likewise.
694 (s_mri_common): Likewise.
695 (assign_symbol): Likewise.
697 (emit_expr_with_reloc): Likewise.
698 (s_incbin): Likewise.
699 (s_include): Likewise.
700 * sb.c (sb_build): Likewise.
701 (sb_check): Likewise.
703 2016-03-22 Alan Modra <amodra@gmail.com>
705 * write.c (record_alignment): Revert 2016-02-18 change.
707 2016-03-22 Alan Modra <amodra@gmail.com>
709 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
710 (emit_jsrjmp, tc_gen_reloc): Likewise.
711 * config/tc-i370.c (i370_macro): Likewise.
713 2016-03-22 Nick Clifton <nickc@redhat.com>
715 * configure: Regenerate.
717 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
719 * testsuite/gas/arc/nps400-0.d: New file.
720 * testsuite/gas/arc/nps400-0.s: New file.
721 * testsuite/gas/arc/nps400-1.d: New file.
722 * testsuite/gas/arc/nps400-1.s: New file.
724 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
726 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
727 declarations to start of block. Reset code on all flags before
728 attempting to match them. Handle multiple hits on the same flag.
730 * testsuite/gas/arc/asm-errors.d: New file.
731 * testsuite/gas/arc/asm-errors.err: New file.
732 * testsuite/gas/arc/asm-errors.s: New file.
734 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
736 * config/tc-arc.c (cpu_types): Add nps400 entry.
737 (check_zol): Handle nps400.
739 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
741 * config/tc-arc.c (arc_select_cpu): Remove use of
744 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
746 * config/tc-arc.c (arc_target): Delay initialisation until
748 (arc_target_name): Likewise.
749 (arc_features): Likewise.
750 (arc_mach_type): Likewise.
751 (cpu_types): Remove "all" entry.
752 (arc_select_cpu): New function, most of the content is from...
753 (md_parse_option): ... here. Call new arc_select_cpu.
754 (md_begin): Call arc_select_cpu if needed, default is now arc700.
756 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
758 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
759 * testsuite/gas/arc/inline-data-2.d: New file.
761 2016-03-21 Nick Clifton <nickc@redhat.com>
763 * atof-generic.c: Replace use of alloca with call to xmalloc.
765 * dwarf2dbg.c: Likewise.
769 * symbols.c: Likewise.
770 * config/obj-elf.c: Likewise.
771 * config/tc-aarch64.c: Likewise.
772 * config/tc-arc.c: Likewise.
773 * config/tc-arm.c: Likewise.
774 * config/tc-avr.c: Likewise.
775 * config/tc-ia64.c: Likewise.
776 * config/tc-mips.c: Likewise.
777 * config/tc-msp430.c: Likewise.
778 * config/tc-nds32.c: Likewise.
779 * config/tc-ppc.c: Likewise.
780 * config/tc-sh.c: Likewise.
781 * config/tc-tic30.c: Likewise.
782 * config/tc-tic54x.c: Likewise.
783 * config/tc-xstormy16.c: Likewise.
784 * config/te-vms.c: Likewise.
785 * configure: Regenerate.
787 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
789 * tc-i386.c (f32_1): Change type to unsigned char[].
810 (f32_patt): Likewise.
811 (f16_patt): Likewise.
820 (alt_patt): Likewise.
822 2016-03-18 Nick Clifton <nickc@redhat.com>
824 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
825 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
826 .tlsdescldr and .xword directives.
829 * testsuite/gas/aarch64/pr19721.s: New test source file.
830 * testsuite/gas/aarch64/pr19721.d: New test driver file.
832 * doc/as.texinfo: Place the target specific command line options
833 into their own man page section.
835 2016-03-16 Jiong Wang <jiong.wang@arm.com>
837 * config/tc-arm.c (N_S_32): New.
838 (N_F_16_32): Likewise.
839 (N_SUF_32): Support N_F16.
841 (neon_dyadic_misc): Likewise.
842 (do_neon_cmp): Likewise.
843 (do_neon_cmp_inv): Likewise.
844 (do_neon_mul): Likewise.
845 (do_neon_fcmp_absolute): Likewise.
846 (do_neon_step): Likewise.
847 (do_neon_abs_neg): Likewise.
848 (CVT_FLAVOR_VAR): Likewise.
849 (do_neon_cvt_1): Likewise.
850 (do_neon_recip_est): Likewise.
851 (do_vmaxnm): Likewise.
852 (do_vrint_1): Likewise.
853 (neon_check_type): Check architecture support for FP16 extension.
854 (insns): Update comments.
855 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
856 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
857 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
858 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
860 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
862 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
865 2016-03-16 Nick Clifton <nickc@redhat.com>
867 * read.c (emit_expr_with_reloc): Add code check a bignum with
869 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
871 * testsuite/gas/elf/bignum.s: New test source file.
872 * testsuite/gas/elf/bignum.d: New test driver file.
873 * testsuite/gas/elf/elf.exp: Run the new test.
875 2016-03-15 Ulrich Drepper <drepper@gmail.com>
877 * doc/c-i386.texi (Register Naming): Update to details of the
878 latest architecture version.
880 2016-03-10 Mickael Guene <mickael.guene@st.com>
883 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
885 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
886 (do_t_mov_cmp): Likewise.
887 (do_t_add_sub): Protect against bad relocations usage.
888 (do_t_mov_cmp): Likewise.
889 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
890 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
891 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
892 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
894 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
896 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
898 (do_neon_ld_st_lane): Likewise.
899 (do_neon_ld_dup): Likewise.
901 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
903 * testsuite/gas/arc/inline-data-1.d: New file.
904 * testsuite/gas/arc/inline-data-1.s: New file.
906 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
908 * config/tc-arm.c (arm_cpus): Add cortex-r8.
909 * doc/c-arm.texi: Add cortex-r8.
911 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
913 * config/tc-arc.c: Add const qualifiers.
914 * config/tc-h8300.c (md_begin): Likewise.
915 * config/tc-ia64.c (print_prmask): Likewise.
916 * config/tc-msp430.c (msp430_operands): Likewise.
917 * config/tc-nds32.c (struct suffix_name): Likewise.
918 (struct nds32_parse_option_table): Likewise.
919 (struct nds32_set_option_table): Likewise.
920 (do_pseudo_pushpopm): Likewise.
921 (do_pseudo_pushpop_stack): Likewise.
922 (nds32_relax_relocs): Likewise.
923 (nds32_flag): Likewise.
924 (struct nds32_hint_map): Likewise.
925 (nds32_find_reloc_table): Likewise.
926 (nds32_match_hint_insn): Likewise.
927 * config/tc-s390.c: Likewise.
928 * config/tc-sh.c (get_specific): Likewise.
929 * config/tc-tic30.c: Likewise.
930 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
931 (tic4x_indirect_parse): Likewise.
932 * config/tc-vax.c (vax_cons): Likewise.
933 * config/tc-z80.c (struct reg_entry): Likewise.
934 * config/tc-epiphany.c (md_assemble): Adjust.
935 (epiphany_assemble): New function.
936 (epiphany_elf_section_rtn): Call do_align directly.
937 (epiphany_elf_section_text): Likewise.
938 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
939 (ip2k_elf_section_text): Likewise.
940 * read.c (do_align): Make it not static.
941 * read.h (do_align): New prototype.
943 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
945 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
946 for ARMv8.1 AdvSIMD use.
947 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
948 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
950 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
952 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
954 (record_feature_use): New.
955 (mark_feature_used): Use record_feature_use.
956 (do_neon_qrdmlah): New.
957 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
959 (arm_extensions): Put into alphabetical order. Re-indent "simd"
960 and "rdma" entries. Fix the incorrect merge value for "+rdma".
961 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
962 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
963 Make source file explicit.
964 * testsuite/gas/arm/armv8-a+rdma.l: New.
965 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
966 directives. Fix white-space.
967 * testsuite/gas/arm/armv8_1-a+simd.d: New.
969 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
971 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
973 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
974 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
976 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
977 (tc_arc_fix_adjustable): Changed default return value to 1.
978 * testsuite/gas/arc/j.d: Updated expected symbol
979 * testsuite/gas/arc/jl.d: Likewise
980 * testsuite/gas/arc/relax-avoid1.d: Likewise
981 * testsuite/gas/arc/st.d: Likewise
983 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
985 * config/tc-arc.c: Enable code density instructions for ARC EM.
987 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
990 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
992 * as.c (flag_use_elf_stt_common): New.
993 (show_usage): Add --elf-stt-common=.
994 (option_values): Add OPTION_ELF_STT_COMMON.
995 (std_longopts): Add --elf-stt-common=.
996 (parse_args): Handle --elf-stt-common=.
997 * as.h (flag_use_elf_stt_common): New.
998 * config.in: Regenerated.
999 * configure: Likewise.
1000 * configure.ac: Add --enable-elf-stt-common and define
1001 DEFAULT_GENERATE_ELF_STT_COMMON.
1002 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1003 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1004 * doc/as.texinfo: Document --elf-stt-common=.
1005 * testsuite/gas/elf/common3.s: New file.
1006 * testsuite/gas/elf/common3a.d: Likewise.
1007 * testsuite/gas/elf/common3b.d: Likewise.
1008 * testsuite/gas/elf/common4.s: Likewise.
1009 * testsuite/gas/elf/common4a.d: Likewise.
1010 * testsuite/gas/elf/common4b.d: Likewise.
1011 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1012 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1013 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1015 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1016 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1017 --elf-stt-common=no to as.
1018 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1019 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1020 --elf-stt-common=no to as.
1021 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1022 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1023 of dw2-compress-3 and dw2-compressed-3.
1025 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1027 * as.c (select_emulation_mode): Add const qualifiers.
1029 * config/bfin-defs.h: Likewise.
1030 * config/bfin-parse.y: Likewise.
1031 * config/rx-parse.y: Likewise.
1032 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1033 (struct aarch64_cpu_option_table): Likewise.
1034 (struct aarch64_arch_option_table): Likewise.
1035 (struct aarch64_option_cpu_value_table): Likewise.
1036 (struct aarch64_long_option_table): Likewise.
1037 (struct aarch64_option_abi_value_table): Likewise.
1038 * config/tc-arm.c (struct reloc_entry): Likewise.
1039 (tc_gen_reloc): Likewise.
1040 (struct arm_option_table): Likewise.
1041 (struct arm_legacy_option_table): Likewise.
1042 (struct arm_cpu_option_table): Likewise.
1043 (struct arm_arch_option_table): Likewise.
1044 (struct arm_option_extension_value_table): Likewise.
1045 (struct arm_option_fpu_value_table): Likewise.
1046 (struct arm_option_value_table): Likewise.
1047 (struct arm_long_option_table): Likewise.
1048 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1049 (struct mcu_type_s): Likewise.
1050 (struct exp_mod_s): Likewise.
1051 (avr_operand): Likewise.
1052 (avr_operands): Likewise.
1053 * config/tc-d10v.c (md_begin): Likewise.
1054 * config/tc-dlx.c: Likewise.
1055 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1056 * config/tc-ft32.c (parse_condition): Likewise.
1057 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1058 * config/tc-hppa.c (pa_ip): Likewise.
1059 (hppa_regname_to_dw2regnum): Likewise.
1060 * config/tc-i370.c (i370_elf_suffix): Likewise.
1061 * config/tc-i960.c (struct tabentry): Likewise.
1062 * config/tc-m32r.c: Likewise.
1063 * config/tc-m68k.c: Likewise.
1064 * config/tc-m68k.h: Likewise.
1065 * config/tc-mcore.c (parse_psrmod): Likewise.
1066 * config/tc-metag.c (struct metag_core_option): Likewise.
1067 (struct metag_long_option): Likewise.
1068 * config/tc-microblaze.c: Likewise.
1069 * config/tc-mips.c (macro): Likewise.
1070 * config/tc-mn10200.c: Likewise.
1071 * config/tc-mn10300.c: Likewise.
1072 * config/tc-msp430.c (struct rcodes_s): Likewise.
1073 (struct hcodes_s): Likewise.
1074 (md_parse_option): Likewise.
1075 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1076 (optlist): Likewise.
1077 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1078 (tc_ppc_regname_to_dw2regnum): Likewise.
1079 * config/tc-ppc.h: Likewise.
1080 * config/tc-rl78.c: Likewise.
1081 * config/tc-rx.c (struct cpu_type): Likewise.
1082 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1083 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1084 (sparc_ip): Likewise.
1085 * config/tc-spu.c (insn_fmt_string): Likewise.
1086 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1087 * config/tc-v850.c: Likewise.
1088 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1089 (struct visium_long_option_table): Likewise.
1090 * config/tc-xgate.c: Likewise.
1091 * config/tc-z8k.c: Likewise.
1092 * read.c (add_include_dir): Likewise.
1095 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1097 * testsuite/gas/all/gas.exp: Change target pattern to cover
1099 * testsuite/gas/all/redef3.d: Likewise.
1100 * testsuite/gas/elf/elf.exp: Likewise.
1102 2016-02-24 Renlin Li <renlin.li@arm.com>
1104 * config/tc-arm.c (BAD_FP16): New error message macro.
1105 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1106 fp16 scalar instructions.
1107 (neon_check_type): Allow different size from key.
1108 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1109 (try_vfp_nsyn): Likewise.
1110 (do_vfp_nsyn_mla_mls): Likewise.
1111 (do_vfp_nsyn_fma_fms): Likewise.
1112 (do_vfp_nsyn_ldm_stm): Likewise
1113 (do_vfp_nsyn_sqrt): Likewise
1114 (do_vfp_nsyn_div): Likewise
1115 (do_vfp_nsyn_nmul): Likewise.
1116 (do_vfp_nsyn_cmp): Likewise.
1117 (do_neon_shll): Likewise.
1118 (do_vfp_nsyn_cvt_fpv8): Likewise.
1119 (do_neon_cvttb_2): Likewise.
1120 (do_neon_mov): Likewise.
1121 (do_neon_rshift_round_imm): Likewise.
1122 (do_neon_ldr_str): Likewise.
1123 (do_vfp_nsyn_fpv8): Likewise.
1124 (do_vmaxnm): Likewise.
1125 (do_vrint_1): Likewise.
1126 (insns): New entry for vins, vmovx.
1127 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1128 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1129 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1130 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1131 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1132 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1133 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1135 2016-02-24 Renlin Li <renlin.li@arm.com>
1137 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1138 (neon_shape_class): New SC_HALF.
1139 (neon_shape_el): New SE_H.
1140 (neon_shape_el_size): New size for SE_H.
1141 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1142 (neon_select_shape): Add SE_H support code.
1143 (el_type_of_type_chk): Use N_F_ALL.
1144 (do_vfp_nsyn_cvt): Add SE_H shape support.
1145 (do_neon_cvtz): Likewise.
1146 (do_neon_cvt_1): Likewise.
1147 (do_neon_cvttb_1): Likewise.
1149 2016-02-24 Renlin Li <renlin.li@arm.com>
1151 * testsuite/gas/arm/copro.d: Adjust output.
1152 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1154 2016-02-24 Renlin Li <renlin.li@arm.com>
1156 * testsuite/gas/arm/mask_1.d: New.
1157 * testsuite/gas/arm/mask_1.s: New.
1159 2016-02-24 Renlin Li <renlin.li@arm.com>
1161 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1162 * testsuite/gas/arm/copro.d: Update.
1164 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1166 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1167 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1169 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1171 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1173 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1175 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1178 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1180 * output-file.c (output_file_create): Make file name argument const.
1181 (output_file_close): Likewise.
1182 * output-file.h (output_file_create): Adjust.
1183 (output_file_close): Likewise.
1184 * depend.c (quote_string_for_make): Make src argument const char *.
1185 (register_dependency): Likewise.
1186 (wrap_output): Likewise.
1187 * as.h (register_dependency): Adjust.
1188 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1190 * symbols.c (S_SET_EXTERNAL): Likewise.
1191 * input-scrub.c (as_where): Return the file name.
1192 * as.h (as_where): Adjust prototype.
1193 * app.c (do_scrub_chars): Adjust.
1194 * cond.c (s_elseif): Likewise.
1196 (initialize_cframe): Likewise.
1197 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1198 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1199 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1200 * config/tc-aarch64.c (output_info): Likewise.
1201 * config/tc-ia64.c (md_assemble): Likewise.
1202 (dot_alias): Likewise.
1203 * config/tc-m68k.c (m68k_frob_label): Likewise.
1204 * config/tc-mmix.c (s_bspec): Likewise.
1205 (mmix_handle_mmixal): Likewise.
1206 * config/tc-rx.c (rx_include): Likewise.
1207 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1208 (tic54x_adjust_symtab): Likewise.
1209 * config/tc-xtensa.c (directive_push): Likewise.
1210 (xtensa_sanity_check): Likewise.
1211 (xtensa_relax_frag): Likewise.
1212 (md_convert_frag): Likewise.
1213 (tinsn_to_slotbuf): Likewise.
1214 * dwarf2dbg.c (dwarf2_where): Likewise.
1215 * ecoff.c (add_file): Likewise.
1216 (ecoff_generate_asm_lineno): Likewise.
1217 * expr.c (make_expr_symbol): Likewise.
1218 * frags.c (frag_new): Likewise.
1219 (frag_var_init): Likewise.
1220 * listing.c (listing_newline): Likewise.
1221 * messages.c (identify): Likewise.
1222 (as_show_where): Likewise.
1223 (as_warn_internal): Likewise.
1224 (as_bad_internal): Likewise.
1225 * read.c (s_irp): Likewise.
1226 (s_macro): Likewise.
1227 (s_reloc): Likewise.
1228 * stabs.c (stabs_generate_asm_file): Likewise.
1229 (stabs_generate_asm_lineno): Likewise.
1230 (stabs_generate_asm_func): Likewise.
1231 * write.c (fix_new_internal): Likewise.
1232 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1233 (as_warn_value_out_of_range): Adjust prototype.
1234 (as_bad_value_out_of_range): Adjust prototype.
1235 * messages.c (identify): Make file name argument const char *.
1236 (as_warn_internal): Likewise.
1237 (as_warn_where): Likewise.
1238 (as_bad_internal): Likewise.
1239 (as_bad_where): Likewise.
1240 (as_internal_value_out_of_range): Likewise.
1241 (as_warn_value_out_of_range): Likewise.
1242 (as_bad_value_out_of_range): Likewise.
1243 * as.h (found_comment_file): Change type to const char *.
1244 * cond.c (file_line::file): Likewise.
1245 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1246 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1247 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1248 * config/tc-aarch64.c (output_info): Likewise.
1249 * config/tc-alpha.c (insert_operand): Likewise.
1250 * config/tc-arc.c (insert_operand): Likewise.
1251 * config/tc-d30v.c (check_size): Likewise.
1252 * config/tc-ia64.c (struct alias): Likewise.
1253 * config/tc-m68k.c (struct label_line): Likewise.
1254 * config/tc-mcore.c (md_apply_fix): Likewise.
1255 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1256 * config/tc-mips.c (mips16_immed): Likewise.
1257 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1258 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1259 * config/tc-rx.c (rx_include): Likewise.
1260 * config/tc-s390.c (s390_insert_operand): Likewise.
1261 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1262 (tic54x_adjust_symtab): Likewise.
1263 * config/tc-tilegx.c (insert_operand): Likewise.
1264 (apply_special_operator): Likewise.
1265 * config/tc-tilepro.c (insert_operand): Likewise.
1266 * config/tc-xtensa.c (directive_push): Likewise.
1267 * ecoff.c (add_file): Likewise.
1268 (ecoff_generate_asm_lineno): Likewise.
1269 * listing.c (listing_newline): Likewise.
1270 * read.c (s_irp): Likewise.
1271 * write.c (install_reloc): Likewise.
1272 * write.h (struct fix): Likewise.
1273 * input-file.c (file_name): Change type to const char *.
1274 (saved_file::file_name): Likewise.
1275 (input_file_open): Change type of argument to const char *.
1276 * input-file.h (input_file_open): Adjust.
1277 * input-scrub.c (logical_input_file): change type to const char *.
1278 (physical_input_file): Likewise.
1279 (struct input_save): Adjust.
1280 (input_scrub_push): Adjust.
1281 (input_scrub_begin): Adjust.
1283 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1284 (input_scrub_include_file): Likewise.
1285 (new_logical_line_flags): Likewise.
1286 (new_logical_line): Likewise.
1288 * frags.h (struct frag): Change type of fr_file to const char *.
1289 * expr.c (expr_symbol_where): Change type of file argument to
1291 * expr.h (expr_symbol_where): Likewise.
1292 * config/tc-i370.c (md_apply_fix): adjust.
1293 * config/tc-mmix.c (mmix_md_end): Likewise.
1294 * config/tc-ppc.c (md_apply_fix): Likewise.
1295 * config/tc-s390.c (md_apply_fix): Likewise.
1296 * symbols.c (report_op_error): Likewise.
1297 (resolve_symbol_value): Likewise.
1298 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1299 (rsrc::file): Likewise.
1300 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1302 (xtensa_relax_frag): Likewise.
1303 (md_convert_frag): Likewise.
1304 (tinsn_to_slotbuf): Likewise.
1305 * expr.c (expr_symbol_line): Likewise.
1306 * macro.c (define_macro): Likewise.
1307 * macro.h (macro_struct): Likewise.
1308 * messages.c (as_show_where): Likewise.
1309 * read.c (s_macro): Likewise.
1310 * stabs.c (stabs_generate_asm_file): Likewise.
1311 (generate_asm_file): Likewise.
1312 (stabs_generate_asm_lineno): Likewise.
1313 * write.h (struct reloc_list): Likewise.
1314 * input-scrub.c (as_where): Change return type to const char *.
1315 * as.h (as_wheree): Adjust.
1317 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1319 * write.c (compress_debug): Move BFD compression bits setting
1321 (write_object_file): Here.
1323 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1325 * config/tc-i386.c (register_number): Check RegVRex.
1326 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1327 with %zmm19 and %zmm3.
1328 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1329 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1331 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1332 Jiong Wang <jiong.wang@arm.com>
1334 * config/tc-arm.c (arm_ext_fp16): New.
1335 (arm_extensions): New entry for "fp16".
1337 2016-02-19 Nick Clifton <nickc@redhat.com>
1340 * read.c (read_a_source_file): Check for assemble_one returning
1341 with input_line_pointer set to NULL.
1343 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1345 * listing.c (rebuffer_line): Change return type to void.
1347 * symbols.c (decode_local_label_name): Make type a const char *.
1348 * listing.c (print_source): Make type of p const char *.
1349 (print_line): Make type of string const char *.
1350 (buffer_line): Return const char *.
1351 (title): Make type const char *.
1352 (subtitle): Likewise.
1353 (listing_listing): Make type of p const char *.
1354 * messages.c (as_internal_value_out_of_range): Make type of prefix
1356 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1357 and string const char *.
1358 * read.c (_bfd_rel): Make type of name const char *.
1359 * app.c (out_string): Change type to const char *.
1360 (struct app_save::out_string): Likewise.
1362 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1363 Nick Clifton <nickc@redhat.com>
1365 * read.c (finish_bundle): Avoid recording a negative alignment.
1366 (do_align): Use unsigned values for n, len and max. Only create
1367 a frag if the alignment requirement is greater than the minimum
1368 byte alignment. Avoid recording a negative alignment.
1369 (s_align): Use unsigned values where appropriate.
1370 (bss_alloc): Use an unsigned value for the alignment.
1371 (sizeof_sleb128): Add a comment noting that we encode one octet
1372 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1373 (emit_leb129_expr): Abort if the emitted encoding was longer than
1375 * read.h (output_leb128): Update prototype.
1376 (sizeof_leb128): Update prototype.
1377 (bss_alloc): Update prototype.
1378 * write.c (record_alignment): Use an unsigned value for the
1379 alignment. Do not record alignments less than the minimum
1380 alignment for a byte.
1381 * write.h (record_alignment): Update prototype.
1383 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1385 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1386 .init.literal/.fini.literal section name.
1387 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1388 list of xtensa tests.
1389 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1390 init-fini-literals test result patterns.
1391 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1392 init-fini-literals test.
1394 2016-02-17 Nick Clifton <nickc@redhat.com>
1396 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1397 devices.csv file as of March 2016.
1399 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1401 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1403 (tc_arc_regname_to_dw2regnum): Likewise.
1404 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1405 (tc_cfi_frame_initial_instructions): Likewise.
1406 (tc_regname_to_dw2regnum): Likewise.
1407 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1408 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1409 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1411 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1413 * doc/internals.texi (S_IS_EXTERN): Remove.
1415 2016-02-16 Nick Clifton <nickc@redhat.com>
1417 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1420 2016-02-16 Renlin Li <renlin.li@arm.com>
1423 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1424 * testsuite/gas/aarch64/movw_label.d: New.
1425 * testsuite/gas/aarch64/movw_label.s: New.
1427 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1430 * config/rx-parse.y (MOV): Opcode generation for index
1431 register addressing mode.
1432 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1433 * testsuite/gas/rx/pr19665.s: New file.
1434 * testsuite/gas/rx/pr19665.s: New file.
1435 * testsuite/gas/rx/mov.d: Update expected output.
1437 2016-02-15 Nick Clifton <nickc@redhat.com>
1439 * doc/as.texinfo (.section): Document that numeric values can now
1440 be used for the flags and type fields of the ELF target's .section
1441 directive. Add notes about the restrictions on setting flags and
1443 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1444 to be given processor specific section types. Allow processor and
1445 application specific flags of a section to be set after
1447 (obj_elf_parse_section_letters): Handle parsing numeric values.
1448 (obj_elf_section_type): Handle parsing numeric values.
1449 (obj_elf_section): Allow numeric type values.
1450 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1451 * testsuite/gas/elf/section10.d: New test.
1452 * testsuite/gas/elf/section10.s: Source file for new test.
1453 * testsuite/gas/elf/elf.exp: Run the new test.
1454 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1455 the description of the flags produced by readelf.
1456 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1457 * NEWS: Mention the new feature.
1459 2016-02-11 Nick Clifton <nickc@redhat.com>
1462 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1463 until it is actually used.
1464 (cfi_set_sections): Set cfi_sections_set to true.
1465 (dot_cfi_startproc): Likewise.
1466 (dot_cfi_endproc): Likewise.
1467 (dot_cfi_fde_data): Likewise.
1468 (cfi_finish): Likewise.
1469 (dot_cfi_sections): Do not set cfi_sections_set.
1470 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1471 their own cfi section name. Also note that the directive can be
1472 reissued provided that CFI generation has not started.
1473 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1474 .cfi_endproc directives so that the redefinition of .cfi_sections
1475 will trigger the generation of the error message.
1476 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1477 number of error message.
1479 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1480 Janek van Oirschot <jvanoirs@synopsys.com>
1482 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1483 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1485 (arc_flags, arc_relax_type): New structure.
1486 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1487 (RELAX_TABLE_ENTRY_MAX): New define.
1488 (relaxation_state, md_relax_table, arc_relaxable_insns)
1489 (arc_num_relaxable_ins): New variable.
1490 (rlx_operand_type, arc_rlx_types): New enums.
1491 (arc_relaxable_ins): New structure.
1492 (OPTION_RELAX): New option.
1493 (arc_insn): New relax member.
1494 (arc_flags): Remove.
1495 (relax_insn_p): New function.
1496 (apply_fixups): Likewise.
1497 (relaxable_operand): Likewise.
1498 (may_relax_expr): Likewise.
1499 (relaxable_flag): Likewise.
1500 (arc_pcrel_adjust): Likewise.
1501 (md_estimate_size_before_relax): Implement.
1502 (md_convert_frag): Likewise.
1503 (md_parse_option): Handle new mrelax option.
1504 (md_show_usage): Likewise.
1505 (assemble_insn): Set relax member.
1506 (emit_insn0): New function.
1507 (emit_insn1): Likewise.
1508 (emit_insn): Handle relaxation case.
1509 * NEWS: Mention the new relaxation option.
1510 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1511 * doc/as.texinfo (Target ARC Options): Likewise.
1512 * testsuite/gas/arc/relax-avoid1.d: New file.
1513 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1514 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1515 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1516 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1517 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1518 * testsuite/gas/arc/relax-b.d: Likewise.
1519 * testsuite/gas/arc/relax-b.s: Likewise.
1521 2016-02-08 Nick Clifton <nickc@redhat.com>
1523 * config/tc-ia64.c (dot_prologue): Fix formatting.
1525 2016-02-04 Nick Clifton <nickc@redhat.com>
1527 * config/obj-elf.c (obj_elf_change_section): Remove support for
1528 ARM NOREAD sections.
1529 * config/tc-arm.c (arm_elf_section_letter): Delete.
1530 * config/tc-arm.h (md_elf_section_letter): Delete.
1531 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1532 * testsuite/gas/arm/section-execute-only.d: Delete.
1533 * testsuite/gas/arm/section-execute-only.s: Delete.
1535 2016-02-04 Nick Clifton <nickc@redhat.com>
1538 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1539 to handle encoding of RRUX instruction.
1540 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1542 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1544 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1546 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1547 substitutions for BFD_RELOC_* as unsigned.
1548 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1549 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1550 * testsuite/gas/xtensa/loc.s: New file: loc test.
1552 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1554 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1556 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1559 * NEWS: Mention new command line option -mrelax-relocations and
1560 new configure option --enable-x86-relax-relocations for x86
1562 * config.in: Regenerated.
1563 * configure.ac: Add --enable-x86-relax-relocations.
1564 (ac_default_x86_relax_relocations): New. Default to 1 except
1565 for x86 Solaris targets older than Solaris 12.
1566 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1567 * configure: Likewise.
1568 * config/tc-i386.c (generate_relax_relocations): New.
1569 (OPTION_MRELAX_RELOCATIONS): Likewise.
1570 (output_disp): Don't generate relax relocations if
1571 generate_relax_relocations is 0.
1572 (md_longopts): Add -mrelax-relocations.
1573 (md_show_usage): Likewise.
1574 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1575 * doc/c-i386.texi: Document -mrelax-relocations=.
1576 * testsuite/gas/i386/got-no-relax.d: New file.
1577 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1578 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1579 * testsuite/gas/i386/localpic.d: Likewise.
1580 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1581 * testsuite/gas/i386/reloc32.d: Likewise.
1582 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1583 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1584 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1585 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1586 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1587 x86-64-gotpcrel-no-relax.
1589 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1591 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1594 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1596 * NEWS: Remove duplicated marker for 2.26.
1598 2016-02-02 Renlin Li <renlin.li@arm.com>
1600 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1602 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1604 * testsuite/gas/ip2k/allinsn.d: New file.
1605 * testsuite/gas/ip2k/allinsn.s: New file.
1606 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1608 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1610 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1611 some load instructions.
1612 * testsuite/gas/epiphany/allinsn.d: Likewise.
1613 * testsuite/gas/epiphany/regression.d: Likewise.
1615 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1617 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1618 suffixes from instruction mnemonics in expected output.
1619 * testsuite/gas/epiphany/allinsn.d: Likewise.
1620 * testsuite/gas/epiphany/regression.d: Likewise.
1621 * testsuite/gas/epiphany/sample.d: Likewise.
1623 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1625 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1627 * testsuite/gas/epiphany/allinsn.d: Likewise.
1628 * testsuite/gas/epiphany/sample.d: Likewise.
1630 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1632 * testsuite/gas/epiphany/sample.d: Update expected output.
1634 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1636 * config/tc-arc.c (md_apply_fix): Allow addendum.
1637 (arc_reloc_op): Allow complex expressions for tpoff.
1638 (md_apply_fix): Handle resolved TLS local symbol.
1639 * testsuite/gas/arc/tls-relocs1.d: New file.
1640 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1642 2016-02-01 Loria <Loria@phantasia.org>
1645 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1646 efficiency and avoid an LLVM loop optimization bug.
1648 2016-02-01 Nick Clifton <nickc@redhat.com>
1650 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1651 message extending a negative 32-bit value into a larger signed
1652 value on a 32-bit host.
1654 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1657 * configure.ac (compressed_debug_sections): Replace == with =.
1658 * configure: Regenerated.
1660 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1661 H.J. Lu <hongjiu.lu@intel.com>
1663 * config/tc-i386.c (avoid_fence): New.
1664 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1666 (OPTION_FENCE_AS_LOCK_ADD): New.
1667 (md_longopts): Add -mfence-as-lock-add.
1668 (md_parse_option): Handle -mfence-as-lock-add.
1669 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1670 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1671 * testsuite/gas/i386/i386.exp: Run new tests.
1672 * testsuite/gas/i386/fence-as-lock-add.s: New.
1673 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1674 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1675 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1676 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1678 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1680 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1681 * configure: Regenerated.
1683 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1685 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1686 (OPTION_MOMIT_LOCK_PREFIX): This.
1687 (md_longopts): Updated.
1688 (md_parse_option): Likewise.
1690 2016-01-25 Catherine Moore <clm@codesourcery.com>
1692 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1693 if abicalls are in effect.
1694 * testsuite/gas/mips/sdata-gp.s: New test.
1695 * testsuite/gas/mips/sdata-gp.d: New expected output
1696 * testsuite/gas/mips/mips.exp: Run new test.
1698 2016-01-25 Renlin Li <renlin.li@arm.com>
1700 * testsuite/gas/arm/thumb2_it_search.d: New.
1701 * testsuite/gas/arm/thumb2_it_search.s: New.
1703 2016-01-21 Nick Clifton <nickc@redhat.com>
1706 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1707 with arm-netbsdelf target.
1708 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1710 2016-01-20 Nick Clifton <nickc@redhat.com>
1713 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1714 * testsuite/gas/arm/blx-bl-convert.d
1715 * testsuite/gas/arm/plt-1.d: Likewise.
1716 * testsuite/gas/arm/reloc-bad.d: Likewise.
1717 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1718 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1719 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1720 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1723 * doc/as.texinfo (Errors): Correct documentation describing the
1724 interaction of .file and .line with warning and error messages.
1727 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1728 * testsuite/gas/arm/archv8m-main.d: Likewise.
1729 * testsuite/gas/arm/archv8m-base.d: Likewise.
1731 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1733 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1734 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1735 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1737 2016-01-20 Mickael Guene <mickael.guene@st.com>
1738 Terry Guo <terry.guo@arm.com>
1740 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1741 SHF_ARM_NOREAD section flag.
1742 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1744 (arm_elf_section_letter) : Declare it.
1745 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1746 SHF_ARM_NOREAD section flag.
1747 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1749 * testsuite/gas/arm/section-execute-only.s: New test case.
1750 * testsuite/gas/arm/section-execute-only.d: Expected output.
1752 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1754 * config/tc-mips.c (micromips_insn_length): Remove the mention
1755 of 48-bit microMIPS instructions.
1757 2016-01-18 Alan Modra <amodra@gmail.com>
1759 * configure: Regenerate.
1761 2016-01-17 Alan Modra <amodra@gmail.com>
1763 * configure: Regenerate.
1765 2016-01-17 Alan Modra <amodra@gmail.com>
1767 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1769 2016-01-14 Nick Clifton <nickc@redhat.com>
1771 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1772 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1773 * testsuite/gas/rl78/rl78.exp: Run the new test.
1775 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1777 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1778 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1780 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1782 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1784 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1786 * config/tc-h8300.c (get_operand): Remove spurious condition in
1787 test for closing parenthesis.
1789 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1791 * config/tc-arm.c (arm_ext_v8_2): New.
1793 * testsuite/gas/arm/armv8_2-a.d: New.
1794 * testsuite/gas/arm/armv8_2-a.s: New.
1796 2016-01-12 Alan Modra <amodra@gmail.com>
1798 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1800 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1802 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1803 xvcmpnesp, xvcmpnesp.>: Delete tests.
1804 * testsuite/gas/ppc/power9.s: Likewise.
1805 * testsuite/gas/ppc/vsx3.d: Likewise.
1806 * testsuite/gas/ppc/vsx3.s: Likewise.
1808 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1811 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1812 * testsuite/gas/m68k/p13050-1.s: New file.
1813 * testsuite/gas/m68k/p13050-2.d: New file.
1814 * testsuite/gas/m68k/p13050-2.s: New file.
1816 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1818 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1819 * testsuite/gas/arc/add.d: Likewise.
1820 * testsuite/gas/arc/and.d: Likewise.
1821 * testsuite/gas/arc/asl.d: Likewise.
1822 * testsuite/gas/arc/asr.d: Likewise.
1823 * testsuite/gas/arc/bic.d: Likewise.
1824 * testsuite/gas/arc/extb.d: Likewise.
1825 * testsuite/gas/arc/extw.d: Likewise.
1826 * testsuite/gas/arc/j.d: Likewise.
1827 * testsuite/gas/arc/jl.d: Likewise.
1828 * testsuite/gas/arc/ld2.d: Likewise.
1829 * testsuite/gas/arc/lsr.d: Likewise.
1830 * testsuite/gas/arc/mov.d: Likewise.
1831 * testsuite/gas/arc/or.d: Likewise.
1832 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1833 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1834 * testsuite/gas/arc/pic-relocs.d: Likewise.
1835 * testsuite/gas/arc/plt-relocs.d: Likewise.
1836 * testsuite/gas/arc/rlc.d: Likewise.
1837 * testsuite/gas/arc/ror.d: Likewise.
1838 * testsuite/gas/arc/rrc.d: Likewise.
1839 * testsuite/gas/arc/sbc.d: Likewise.
1840 * testsuite/gas/arc/sda-relocs.d: Likewise.
1841 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1842 * testsuite/gas/arc/sexb.d: Likewise.
1843 * testsuite/gas/arc/sexw.d: Likewise.
1844 * testsuite/gas/arc/st.d: Likewise.
1845 * testsuite/gas/arc/sub.d: Likewise.
1846 * testsuite/gas/arc/tls-relocs.d: Likewise.
1847 * testsuite/gas/arc/xor.d: Likewise.
1849 2016-01-01 Alan Modra <amodra@gmail.com>
1851 Update year range in copyright notice of all files.
1853 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1855 Copyright (C) 2016 Free Software Foundation, Inc.
1857 Copying and distribution of this file, with or without modification,
1858 are permitted in any medium without royalty provided the copyright
1859 notice and this notice are preserved.
1865 version-control: never