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