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