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