1 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
4 Correct entry for RDMA. Alpha sort entries.
6 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
8 * config/tc-arc.c (tokenize_flags): Allow greater range of
9 characters into flag names.
11 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
13 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
15 (preprocess_operands): Delete.
16 (assemble_tokens): Remove call to preprocess_operands.
18 2016-04-07 Nick Clifton <nickc@redhat.com>
21 * config/tc-sparc.c (sparc_ip): Report an error if the expression
22 inside a %-macro could not be fully parsed.
23 * expr.c (integer_constant): Accept and ignore U suffixes to
25 (operand): When a missing closing parenthesis is encountered,
26 report the character that was found instead.
27 * testsuite/gas/mips/tls-ill.l: Update expected error message.
28 * testsuite/gas/sparc/pr19910-1.d: New test driver.
29 * testsuite/gas/sparc/pr19910-1.s: New test.
30 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
31 * testsuite/gas/sparc/pr19910-2.s: New test.
32 * testsuite/gas/sparc/sparc.exp: Run the new tests.
34 2016-04-06 Nick Clifton <nickc@redhat.com>
36 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
37 an EINT instruction. Warn/fix as necessary.
38 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
39 * testsuite/gas/msp430/bad.l: Update expected messages.
41 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
43 * testsuite/gas/arc/nps400-1.d: Update expected results.
44 * testsuite/gas/arc/nps400-1.s: Additional test cases.
46 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
48 * config/tc-arc.c (is_code_density_p): Compare directly the
50 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
51 (check_cpu_feature): New function.
52 (find_opcode_match): Use check_cpu_feature function.
53 (preprocess_operands): Likewise.
54 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
55 * testsuite/gas/arc/tdpfp.d: New file.
56 * testsuite/gas/arc/tfpuda.d: Likewise.
57 * testsuite/gas/arc/tfpx.s: Likewise.
59 2016-04-05 Jiong Wang <jiong.wang@arm.com>
61 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
62 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
63 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
64 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
65 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
66 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
67 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
68 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise for Thumb.
69 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
71 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
73 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
74 JUMP instructions type.
75 * testsuite/gas/arc/relocs-errors.d: New file.
76 * testsuite/gas/arc/relocs-errors.err: Likewise.
77 * testsuite/gas/arc/relocs-errors.s: Likewise.
79 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
82 * testsuite/gas/i386/i386.exp: Run pr19498.
83 * testsuite/gas/i386/pr19498.d: New file.
84 * testsuite/gas/i386/pr19498.s: Likewise.
86 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
88 * config/tc-arc.h: Include 'opcode/arc.h'.
89 (MAX_INSN_ARGS): Delete.
90 (MAX_INSN_FLGS): Delete.
92 2016-04-04 Alan Modra <amodra@gmail.com>
95 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
96 from function on all paths that set sy_resolving.
98 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
100 * app.c (app_push): use XNEW macro.
102 * config/obj-elf.c (obj_elf_change_section): Likewise.
103 (elf_copy_symbol_attributes): Likewise.
104 (obj_elf_size): Likewise.
105 (build_group_lists): Likewise.
106 * config/tc-aarch64.c (add_operand_error_record): Likewise.
107 (md_assemble): Likewise.
108 (tc_gen_reloc): Likewise.
109 (get_upper_str): Likewise.
110 (aarch64_parse_features): Likewise.
111 * config/tc-arm.c (insert_reg_alias): Likewise.
112 (insert_neon_reg_alias): Likewise.
113 (find_or_make_literal_pool): Likewise.
114 (s_arm_elf_cons): Likewise.
115 (add_unwind_opcode): Likewise.
116 (arm_parse_extension): Likewise.
117 * config/tc-avr.c (create_record_for_frag): Likewise.
118 * config/tc-crx.c: Likewise.
119 * config/tc-d30v.c: Likewise.
120 * config/tc-dlx.c (s_proc): Likewise.
121 * config/tc-ft32.c: Likewise.
122 * config/tc-h8300.c: Likewise.
123 * config/tc-hppa.c (pa_proc): Likewise.
124 (create_new_space): Likewise.
125 (create_new_subspace): Likewise.
126 * config/tc-i860.c: Likewise.
127 * config/tc-i960.c: Likewise.
128 * config/tc-ia64.c: Likewise.
129 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
130 (iq2000_record_hi16): Likewise.
131 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
132 * config/tc-m32r.c (debug_sym): Likewise.
133 (m32r_record_hi16): Likewise.
134 * config/tc-m68k.c (m68k_ip): Likewise.
135 (md_begin): Likewise.
136 * config/tc-mcore.c: Likewise.
137 * config/tc-microblaze.c (check_got): Likewise.
138 * config/tc-mips.c (append_insn): Likewise.
139 (s_mipsset): Likewise.
140 (mips_record_label): Likewise.
141 (s_mips_end): Likewise.
142 * config/tc-mmix.c (mmix_frob_file): Likewise.
143 * config/tc-mn10200.c: Likewise.
144 * config/tc-mn10300.c: Likewise.
145 * config/tc-moxie.c: Likewise.
146 * config/tc-msp430.c: Likewise.
147 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
148 * config/tc-ns32k.c: Likewise.
149 * config/tc-or1k.c: Likewise.
150 * config/tc-pdp11.c: Likewise.
151 * config/tc-pj.c (fake_opcode): Likewise.
152 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
153 (ppc_macro): Likewise.
154 (ppc_dwsect): Likewise.
155 (ppc_machine): Likewise.
156 * config/tc-rl78.c (rl78_frag_init): Likewise.
157 * config/tc-rx.c (rx_frag_init): Likewise.
158 * config/tc-s390.c (s390_lit_suffix): Likewise.
159 (s390_machine): Likewise.
160 (s390_machinemode): Likewise.
161 * config/tc-score.c (s3_insert_reg): Likewise.
162 (s3_gen_reloc): Likewise.
163 * config/tc-score7.c (s7_insert_reg): Likewise.
164 (s7_gen_reloc): Likewise.
165 * config/tc-tic30.c (tic30_operand): Likewise.
166 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
167 * config/tc-tic54x.c (stag_add_field): Likewise.
168 (tic54x_struct): Likewise.
169 (tic54x_space): Likewise.
170 (tic54x_field): Likewise.
171 (tic54x_mlib): Likewise.
172 (subsym_substitute): Likewise.
173 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
174 * config/tc-vax.c: Likewise.
175 * config/tc-xc16x.c: Likewise.
176 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
177 (directive_push): Likewise.
178 (xtensa_begin_directive): Likewise.
179 (tokenize_arguments): Likewise.
180 (xtensa_add_literal_sym): Likewise.
181 (new_resource_table): Likewise.
182 (resize_resource_table): Likewise.
183 (emit_single_op): Likewise.
184 (xtensa_create_trampoline_frag): Likewise.
185 (xtensa_maybe_create_literal_pool_frag): Likewise.
186 (xtensa_add_config_info): Likewise.
187 (xtensa_realloc_fixup_cache): Likewise.
188 (add_subseg_info): Likewise.
189 (cache_literal_section): Likewise.
190 (add_xt_block_frags): Likewise.
191 (add_xt_prop_frags): Likewise.
192 (init_op_placement_info_table): Likewise.
193 (build_section_rename): Likewise.
194 * config/tc-z80.c: Likewise.
195 * config/tc-z8k.c: Likewise.
196 * depend.c (register_dependency): Likewise.
197 * dwarf2dbg.c (get_line_subseg): Likewise.
198 (dwarf2_gen_line_info_1): Likewise.
199 (get_filenum): Likewise.
200 * ecoff.c (allocate_scope): Likewise.
201 (allocate_vlinks): Likewise.
202 (allocate_shash): Likewise.
203 (allocate_thash): Likewise.
204 (allocate_tag): Likewise.
205 (allocate_forward): Likewise.
206 (allocate_thead): Likewise.
207 (allocate_lineno_list): Likewise.
208 * expr.c (make_expr_symbol): Likewise.
209 * hash.c (hash_new_sized): Likewise.
210 * input-file.c (input_file_push): Likewise.
211 * listing.c (file_info): Likewise.
212 (listing_newline): Likewise.
213 * macro.c (new_formal): Likewise.
214 (define_macro): Likewise.
215 * remap.c (add_debug_prefix_map): Likewise.
216 * symbols.c (symbol_find_noref): Likewise.
217 (define_dollar_label): Likewise.
218 (fb_label_instance_inc): Likewise.
219 (symbol_relc_make_value): Likewise.
221 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
223 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
224 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
225 (ppc_znop): Likewise.
226 (ppc_pe_section): Likewise.
227 (ppc_frob_symbol): Likewise.
228 * config/tc-tic30.c (tic30_operand): Likewise.
229 * config/tc-tic4x.c (tic4x_sect): Likewise.
230 (tic4x_usect): Likewise.
232 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
234 * config/tc-alpha.c: Const qualify FLT_CHARS.
235 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
236 * config/tc-cris.h: Likewise.
238 * config/tc-mmix.c (md_atof): Adjust comment.
239 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
240 * tc.h: Declare FLT_CHARS and EXP_CHARS.
242 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
244 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
245 * config/tc-score7.c (s7_gen_reloc): Likewise.
247 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
249 * config/tc-arm.c (do_t_branch): Change the type of reloc to
250 bfd_reloc_code_real_type.
252 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
254 * config/bfin-parse.y (current_inputline): Remove definition.
255 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
257 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
259 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
262 2016-04-02 Alan Modra <amodra@gmail.com>
265 * read.c (assign_symbol): Consume rest of line after an error
266 rather than continuing to process the line.
268 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
270 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
271 (MAX_FLAG_NAME_LENGTH): ...this.
272 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
273 * config/tc-arc.c (tokenize_flags): Likewise.
275 2016-04-01 Alan Modra <amodra@gmail.com>
277 * cgen.c (weak_operand_overflow_check): Return const char*.
278 * messages.c (as_internal_value_out_of_range): Formatting.
279 (as_warn_value_out_of_range): Consify prefix param.
280 (as_bad_value_out_of_range): Likewise.
281 * read.c (s_errwarn): Constify msg..
282 (s_float_space, float_cons): ..and err.
283 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
284 ieee_md_atof, vax_md_atof): Update prototypes.
285 * tc.h (md_atof): Update prototype.
286 * config/atof-ieee.c (ieee_md_atof): Return const char*.
287 * config/atof-vax.c (vax_md_atof): Likewise.
288 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
289 * config/tc-aarch64.c (md_atof): Return const char*.
290 * config/tc-alpha.c (s_alpha_section_name): Likewise.
291 (s_alpha_comm): Constify sec_name.
292 (section_name): Constify.
293 (s_alpha_section): Consify name..
294 (alpha_elf_section_letter): ..and ptr_msg param..
295 (md_atof): ..and return.
296 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
297 * config/tc-arc.c (md_atof): Return const char*.
298 * config/tc-arm.c (md_atof): Likewise.
299 * config/tc-avr.c (md_atof): Likewise.
300 * config/tc-bfin.c (md_atof): Likewise.
301 * config/tc-cr16.c (md_atof): Likewise.
302 * config/tc-cris.c (md_atof): Likewise.
303 * config/tc-crx.c (md_atof): Likewise.
304 * config/tc-d10v.c (md_atof): Likewise.
305 * config/tc-d30v.c (md_atof): Likewise.
306 * config/tc-dlx.c (md_atof): Likewise.
307 * config/tc-epiphany.c (md_atof): Likewise.
308 * config/tc-fr30.c (md_atof): Likewise.
309 * config/tc-frv.c (md_atof): Likewise.
310 * config/tc-ft32.c (md_atof): Likewise.
311 * config/tc-h8300.c (md_atof): Likewise.
312 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
313 (struct default_space_dict): Likewise.
314 (create_new_space): Constify name param.
315 (create_new_subspace): Likewise.
316 (is_defined_space, is_defined_subspace): Likewise.
317 (pa_parse_space_stmt): Constify space_name param.
318 (md_atof): Return const char*.
319 (pa_spaces_begin): Constify name.
320 * config/tc-i370.c (md_atof): Return const char*.
321 * config/tc-i386.c (md_atof): Likewise.
322 (x86_64_section_letter): Constify ptr_msg param.
323 * config/tc-i386.h (x86_64_section_letter): Update prototype.
324 * config/tc-i860.c (struct i860_it): Constify error.
325 (md_atof): Return const char*.
326 * config/tc-i960.c (md_atof): Likewise.
327 * config/tc-ia64.c (md_atof): Likewise.
328 (ia64_elf_section_letter): Constify ptr_msg param.
329 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
330 * config/tc-ip2k.c (md_atof): Return const char*.
331 * config/tc-iq2000.c (md_atof): Likewise.
332 * config/tc-lm32.c (md_atof): Likewise.
333 * config/tc-m32c.c (md_atof): Likewise.
334 * config/tc-m32r.c (md_atof): Likewise.
335 * config/tc-m68hc11.c (md_atof): Likewise.
336 * config/tc-m68k.c (md_atof): Likewise.
337 * config/tc-mcore.c (md_atof): Likewise.
338 * config/tc-mep.c (md_atof): Likewise.
339 (mep_elf_section_letter): Constify ptr_msg param.
340 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
341 * config/tc-metag.c (md_atof): Return const char*.
342 * config/tc-microblaze.c (md_atof): Likewise.
343 * config/tc-microblaze.h (md_atof): Delete prototype.
344 * config/tc-mips.c (mips_parse_argument_token): Constify err.
345 (md_atof): Return const char*.
346 * config/tc-mmix.c (md_atof): Likewise.
347 * config/tc-mn10200.c (md_atof): Likewise.
348 * config/tc-mn10300.c (md_atof): Likewise.
349 * config/tc-moxie.c (md_atof): Likewise.
350 * config/tc-msp430.c (md_atof): Likewise.
351 * config/tc-mt.c (md_atof): Likewise.
352 * config/tc-nds32.c (md_atof): Likewise.
353 * config/tc-nios2.c (md_atof): Likewise.
354 (nios2_elf_section_letter): Constify ptr_msg param.
355 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
356 * config/tc-ns32k.c (md_atof): Return const char*.
357 * config/tc-or1k.c (md_atof): Likewise.
358 * config/tc-pdp11.c (struct pdp11_code): Constify error.
359 (md_atof): Return const char*.
360 * config/tc-pj.c (md_atof): Likewise.
361 * config/tc-ppc.c (md_atof): Likewise.
362 * config/tc-rl78.c (md_atof): Likewise.
363 * config/tc-rx.c (md_atof): Likewise.
364 * config/tc-s390.c (md_atof): Likewise.
365 * config/tc-score.c (s3_atof, md_atof): Likewise.
366 * config/tc-sh.c (md_atof): Likewise.
367 * config/tc-sparc.c (struct sparc_it): Constify error.
368 (md_atof): Return const char*.
369 * config/tc-spu.c (md_atof): Likewise.
370 * config/tc-tic30.c (md_atof): Likewise.
371 * config/tc-tic4x.c (md_atof): Likewise.
372 * config/tc-tic54x.c (md_atof): Likewise.
373 * config/tc-tic6x.c (md_atof): Likewise.
374 * config/tc-tilegx.c (md_atof): Likewise.
375 * config/tc-tilepro.c (md_atof): Likewise.
376 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
377 * config/tc-vax.c (md_atof): Likewise.
378 * config/tc-visium.c (md_atof): Likewise.
379 * config/tc-xc16x.c (md_atof): Likewise.
380 * config/tc-xgate.c (md_atof): Likewise.
381 * config/tc-xstormy16.c (md_atof): Likewise.
382 * config/tc-xtensa.c (md_atof): Likewise.
383 * config/tc-z80.c (md_atof): Likewise.
384 * config/tc-z8k.c (md_atof): Likewise.
386 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
388 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
390 (xtensa_section_rename): Make argument type const char *.
391 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
393 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
395 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
398 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
400 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
402 (m32c_indirect_operand): Likewise.
403 * config/tc-nds32.c (do_pseudo_b): Likewise.
404 (do_pseudo_bal): Likewise.
405 (do_pseudo_ls_bhw): Likewise.
407 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
409 * as.c (parse_args): Cast literal to char * when assigning to optarg.
411 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
413 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
415 * config/tc-sparc.c (s_register): Cast a literal to char * in
418 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
420 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
422 * config/tc-m32r.c (expand_debug_syms): Likewise.
423 * config/tc-msp430.c (msp430_dstoperand): Likewise.
424 * config/tc-z80.c (md_begin): Likewise.
425 * stabs.c (stabs_generate_asm_func): Likewise.
427 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
429 * cgen.c: Modernize the way functions declare arguments.
430 * config/tc-bfin.c: Likewise.
431 * config/tc-pdp11.c: Likewise.
432 * literal.c: Likewise.
436 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
438 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
439 variables unsigned char[].
440 * config/tc-alpha.c (alpha_handle_align): Likewise.
441 * config/tc-arm.c (arm_handle_align): Likewise.
442 * config/tc-z80.c: Likewise.
444 2016-03-30 Nick Clifton <nickc@redhat.com>
447 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
450 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
452 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
453 * testsuite/gas/elf/elf.exp: Likewise.
454 * testsuite/gas/all/redef3.d: Allow execution for ARC.
456 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
458 * testsuite/gas/arc/warn.exp: Fix matching pattern.
460 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
462 * testsuite/gas/arc/ext2op.d: New file.
463 * testsuite/gas/arc/ext2op.s: Likewise.
464 * testsuite/gas/arc/ext3op.d: Likewise.
465 * testsuite/gas/arc/ext3op.s: Likewise.
467 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
469 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
471 * config/tc-alpha.c (md_parse_option): Likewise.
472 * config/tc-arc.c (md_parse_option): Likewise.
473 * config/tc-arm.c (struct arm_long_option_table): Likewise.
474 (md_parse_option): Likewise.
475 * config/tc-avr.c (md_parse_option): Likewise.
476 * config/tc-bfin.c (md_parse_option): Likewise.
477 * config/tc-cr16.c (md_parse_option): Likewise.
478 * config/tc-cris.c (s_cris_arch): Likewise.
479 (md_parse_option): Likewise.
480 * config/tc-crx.c (md_parse_option): Likewise.
481 * config/tc-d10v.c (md_parse_option): Likewise.
482 * config/tc-d30v.c (md_parse_option): Likewise.
483 * config/tc-dlx.c (md_parse_option): Likewise.
484 * config/tc-epiphany.c (md_parse_option): Likewise.
485 * config/tc-fr30.c (md_parse_option): Likewise.
486 * config/tc-frv.c (md_parse_option): Likewise.
487 * config/tc-ft32.c (md_parse_option): Likewise.
488 * config/tc-h8300.c (md_parse_option): Likewise.
489 * config/tc-hppa.c (md_parse_option): Likewise.
490 * config/tc-i370.c (md_parse_option): Likewise.
491 * config/tc-i386.c (md_parse_option): Likewise.
492 * config/tc-i860.c (md_parse_option): Likewise.
493 * config/tc-i960.c (md_parse_option): Likewise.
494 * config/tc-ia64.c (md_parse_option): Likewise.
495 * config/tc-ip2k.c (md_parse_option): Likewise.
496 * config/tc-iq2000.c (md_parse_option): Likewise.
497 * config/tc-lm32.c (md_parse_option): Likewise.
498 * config/tc-m32c.c (md_parse_option): Likewise.
499 * config/tc-m32r.c (md_parse_option): Likewise.
500 * config/tc-m68hc11.c (md_parse_option): Likewise.
501 * config/tc-m68k.c (md_parse_option): Likewise.
502 * config/tc-mcore.c (md_parse_option): Likewise.
503 * config/tc-mep.c (md_parse_option): Likewise.
504 * config/tc-metag.c (struct metag_long_option): Likewise.
505 (md_parse_option): Likewise.
506 * config/tc-microblaze.c (md_parse_option): Likewise.
507 * config/tc-microblaze.h (md_parse_option): Remove prototype.
508 * config/tc-mips.c (md_parse_option): Adjust.
509 * config/tc-mmix.c (md_parse_option): Likewise.
510 * config/tc-mn10200.c (md_parse_option): Likewise.
511 * config/tc-mn10300.c (md_parse_option): Likewise.
512 * config/tc-moxie.c (md_parse_option): Likewise.
513 * config/tc-msp430.c (md_parse_option): Likewise.
514 * config/tc-mt.c (md_parse_option): Likewise.
515 * config/tc-nds32.c (md_parse_option): Likewise.
516 * config/tc-nds32.h (nds32_parse_option): Likewise.
517 * config/tc-nios2.c (md_parse_option): Likewise.
518 * config/tc-ns32k.c (md_parse_option): Likewise.
519 * config/tc-or1k.c (md_parse_option): Likewise.
520 * config/tc-pdp11.c (md_parse_option): Likewise.
521 * config/tc-pj.c (md_parse_option): Likewise.
522 * config/tc-ppc.c (md_parse_option): Likewise.
523 * config/tc-rl78.c (md_parse_option): Likewise.
524 * config/tc-rx.c (md_parse_option): Likewise.
525 * config/tc-s390.c (s390_parse_cpu): Likewise.
526 * config/tc-score.c (md_parse_option): Likewise.
527 * config/tc-sh.c (md_parse_option): Likewise.
528 * config/tc-sparc.c (md_parse_option): Likewise.
529 * config/tc-spu.c (md_parse_option): Likewise.
530 * config/tc-tic30.c (md_parse_option): Likewise.
531 * config/tc-tic4x.c (md_parse_option): Likewise.
532 * config/tc-tic54x.c (md_parse_option): Likewise.
533 * config/tc-tic6x.c (md_parse_option): Likewise.
534 * config/tc-tilegx.c (md_parse_option): Likewise.
535 * config/tc-tilepro.c (md_parse_option): Likewise.
536 * config/tc-v850.c (md_parse_option): Likewise.
537 * config/tc-vax.c (md_parse_option): Likewise.
538 * config/tc-visium.c (struct visium_long_option_table): Likewise.
539 * config/tc-xc16x.c (md_parse_option): Likewise.
540 * config/tc-xgate.c (md_parse_option): Likewise.
541 * config/tc-xstormy16.c (md_parse_option): Likewise.
542 * config/tc-xtensa.c (md_parse_option): Likewise.
543 * config/tc-z80.c (md_parse_option): Likewise.
544 * config/tc-z8k.c (md_parse_option): Likewise.
545 * tc.h (md_parse_option): Likewise.
547 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
549 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
550 * config/tc-hppa.c (fix_new_hppa): Likewise.
551 (pa_vtable_entry): Likewise.
552 (pa_vtable_inherit): Likewise.
553 * config/tc-m68k.c (md_begin): Likewise.
555 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
557 * config/obj-elf.c (obj_elf_section_name): Return const char *.
558 * config/obj-elf.h (obj_elf_section_name): Adjust.
559 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
560 (aarch64_parse_cpu): Likewise.
561 (aarch64_parse_arch): Likewise.
562 * config/tc-arm.c (arm_parse_extension): Likewise.
563 (arm_parse_cpu): Likewise.
564 (arm_parse_arch): Likewise.
565 * config/tc-nds32.c: Likewise.
566 * config/xtensa-relax.c (parse_special_fn): Likewise.
567 * stabs.c (generate_asm_file): Likewise.
569 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
571 * config/tc-cr16.c (cr16_assemble): New function.
572 (md_assemble): Call cr16_assemble.
574 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
576 * as.c (parse_args): Adjust.
577 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
578 * config/obj-elf.c (elf_frob_symbol): Adjust.
580 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
582 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
583 registers to be in the 16..31 range.
585 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
587 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
590 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
592 * config/tc-visium.c (md_atof): Localize the string returned on
595 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
597 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
598 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
599 * config/tc-m68hc11.c (md_begin): Likewise.
600 (print_opcode_list): Likewise.
601 * config/tc-msp430.c (msp430_section): Likewise.
602 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
603 (s3_build_dependency_insn_hsh): Likewise.
604 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
605 (s7_build_dependency_insn_hsh): Likewise.
606 * config/tc-tic4x.c: Likewise.
607 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
608 (subsym_get_arg): Likewise.
609 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
610 (get_directive): Likewise.
611 (cache_literal_section): Likewise.
612 * config/xtensa-relax.c: Likewise.
613 * symbols.c (symbol_create): Likewise.
614 (local_symbol_make): Likewise.
615 (symbol_relc_make_expr): Likewise.
617 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
619 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
622 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
624 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
627 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
629 * config/tc-ia64.c (ia64_do_align): Remove.
630 (ia64_cons_align): Call do_align () directly.
631 (dot_proc): Likewise.
632 (stmt_float_cons): Likewise.
634 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
636 * listing.c (listing_message): Use XNEW style allocation macros.
637 * read.c (read_a_source_file): Likewise.
638 (read_symbol_name): Likewise.
639 (s_mri_common): Likewise.
640 (assign_symbol): Likewise.
642 (emit_expr_with_reloc): Likewise.
643 (s_incbin): Likewise.
644 (s_include): Likewise.
645 * sb.c (sb_build): Likewise.
646 (sb_check): Likewise.
648 2016-03-22 Alan Modra <amodra@gmail.com>
650 * write.c (record_alignment): Revert 2016-02-18 change.
652 2016-03-22 Alan Modra <amodra@gmail.com>
654 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
655 (emit_jsrjmp, tc_gen_reloc): Likewise.
656 * config/tc-i370.c (i370_macro): Likewise.
658 2016-03-22 Nick Clifton <nickc@redhat.com>
660 * configure: Regenerate.
662 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
664 * testsuite/gas/arc/nps400-0.d: New file.
665 * testsuite/gas/arc/nps400-0.s: New file.
666 * testsuite/gas/arc/nps400-1.d: New file.
667 * testsuite/gas/arc/nps400-1.s: New file.
669 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
671 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
672 declarations to start of block. Reset code on all flags before
673 attempting to match them. Handle multiple hits on the same flag.
675 * testsuite/gas/arc/asm-errors.d: New file.
676 * testsuite/gas/arc/asm-errors.err: New file.
677 * testsuite/gas/arc/asm-errors.s: New file.
679 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
681 * config/tc-arc.c (cpu_types): Add nps400 entry.
682 (check_zol): Handle nps400.
684 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
686 * config/tc-arc.c (arc_select_cpu): Remove use of
689 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
691 * config/tc-arc.c (arc_target): Delay initialisation until
693 (arc_target_name): Likewise.
694 (arc_features): Likewise.
695 (arc_mach_type): Likewise.
696 (cpu_types): Remove "all" entry.
697 (arc_select_cpu): New function, most of the content is from...
698 (md_parse_option): ... here. Call new arc_select_cpu.
699 (md_begin): Call arc_select_cpu if needed, default is now arc700.
701 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
703 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
704 * testsuite/gas/arc/inline-data-2.d: New file.
706 2016-03-21 Nick Clifton <nickc@redhat.com>
708 * atof-generic.c: Replace use of alloca with call to xmalloc.
710 * dwarf2dbg.c: Likewise.
714 * symbols.c: Likewise.
715 * config/obj-elf.c: Likewise.
716 * config/tc-aarch64.c: Likewise.
717 * config/tc-arc.c: Likewise.
718 * config/tc-arm.c: Likewise.
719 * config/tc-avr.c: Likewise.
720 * config/tc-ia64.c: Likewise.
721 * config/tc-mips.c: Likewise.
722 * config/tc-msp430.c: Likewise.
723 * config/tc-nds32.c: Likewise.
724 * config/tc-ppc.c: Likewise.
725 * config/tc-sh.c: Likewise.
726 * config/tc-tic30.c: Likewise.
727 * config/tc-tic54x.c: Likewise.
728 * config/tc-xstormy16.c: Likewise.
729 * config/te-vms.c: Likewise.
730 * configure: Regenerate.
732 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
734 * tc-i386.c (f32_1): Change type to unsigned char[].
755 (f32_patt): Likewise.
756 (f16_patt): Likewise.
765 (alt_patt): Likewise.
767 2016-03-18 Nick Clifton <nickc@redhat.com>
769 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
770 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
771 .tlsdescldr and .xword directives.
774 * testsuite/gas/aarch64/pr19721.s: New test source file.
775 * testsuite/gas/aarch64/pr19721.d: New test driver file.
777 * doc/as.texinfo: Place the target specific command line options
778 into their own man page section.
780 2016-03-16 Jiong Wang <jiong.wang@arm.com>
782 * config/tc-arm.c (N_S_32): New.
783 (N_F_16_32): Likewise.
784 (N_SUF_32): Support N_F16.
786 (neon_dyadic_misc): Likewise.
787 (do_neon_cmp): Likewise.
788 (do_neon_cmp_inv): Likewise.
789 (do_neon_mul): Likewise.
790 (do_neon_fcmp_absolute): Likewise.
791 (do_neon_step): Likewise.
792 (do_neon_abs_neg): Likewise.
793 (CVT_FLAVOR_VAR): Likewise.
794 (do_neon_cvt_1): Likewise.
795 (do_neon_recip_est): Likewise.
796 (do_vmaxnm): Likewise.
797 (do_vrint_1): Likewise.
798 (neon_check_type): Check architecture support for FP16 extension.
799 (insns): Update comments.
800 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
801 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
802 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
803 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
805 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
807 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
810 2016-03-16 Nick Clifton <nickc@redhat.com>
812 * read.c (emit_expr_with_reloc): Add code check a bignum with
814 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
816 * testsuite/gas/elf/bignum.s: New test source file.
817 * testsuite/gas/elf/bignum.d: New test driver file.
818 * testsuite/gas/elf/elf.exp: Run the new test.
820 2016-03-15 Ulrich Drepper <drepper@gmail.com>
822 * doc/c-i386.texi (Register Naming): Update to details of the
823 latest architecture version.
825 2016-03-10 Mickael Guene <mickael.guene@st.com>
828 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
830 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
831 (do_t_mov_cmp): Likewise.
832 (do_t_add_sub): Protect against bad relocations usage.
833 (do_t_mov_cmp): Likewise.
834 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
835 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
836 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
837 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
839 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
841 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
843 (do_neon_ld_st_lane): Likewise.
844 (do_neon_ld_dup): Likewise.
846 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
848 * testsuite/gas/arc/inline-data-1.d: New file.
849 * testsuite/gas/arc/inline-data-1.s: New file.
851 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
853 * config/tc-arm.c (arm_cpus): Add cortex-r8.
854 * doc/c-arm.texi: Add cortex-r8.
856 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
858 * config/tc-arc.c: Add const qualifiers.
859 * config/tc-h8300.c (md_begin): Likewise.
860 * config/tc-ia64.c (print_prmask): Likewise.
861 * config/tc-msp430.c (msp430_operands): Likewise.
862 * config/tc-nds32.c (struct suffix_name): Likewise.
863 (struct nds32_parse_option_table): Likewise.
864 (struct nds32_set_option_table): Likewise.
865 (do_pseudo_pushpopm): Likewise.
866 (do_pseudo_pushpop_stack): Likewise.
867 (nds32_relax_relocs): Likewise.
868 (nds32_flag): Likewise.
869 (struct nds32_hint_map): Likewise.
870 (nds32_find_reloc_table): Likewise.
871 (nds32_match_hint_insn): Likewise.
872 * config/tc-s390.c: Likewise.
873 * config/tc-sh.c (get_specific): Likewise.
874 * config/tc-tic30.c: Likewise.
875 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
876 (tic4x_indirect_parse): Likewise.
877 * config/tc-vax.c (vax_cons): Likewise.
878 * config/tc-z80.c (struct reg_entry): Likewise.
879 * config/tc-epiphany.c (md_assemble): Adjust.
880 (epiphany_assemble): New function.
881 (epiphany_elf_section_rtn): Call do_align directly.
882 (epiphany_elf_section_text): Likewise.
883 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
884 (ip2k_elf_section_text): Likewise.
885 * read.c (do_align): Make it not static.
886 * read.h (do_align): New prototype.
888 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
890 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
891 for ARMv8.1 AdvSIMD use.
892 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
893 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
895 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
897 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
899 (record_feature_use): New.
900 (mark_feature_used): Use record_feature_use.
901 (do_neon_qrdmlah): New.
902 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
904 (arm_extensions): Put into alphabetical order. Re-indent "simd"
905 and "rdma" entries. Fix the incorrect merge value for "+rdma".
906 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
907 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
908 Make source file explicit.
909 * testsuite/gas/arm/armv8-a+rdma.l: New.
910 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
911 directives. Fix white-space.
912 * testsuite/gas/arm/armv8_1-a+simd.d: New.
914 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
916 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
918 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
919 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
921 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
922 (tc_arc_fix_adjustable): Changed default return value to 1.
923 * testsuite/gas/arc/j.d: Updated expected symbol
924 * testsuite/gas/arc/jl.d: Likewise
925 * testsuite/gas/arc/relax-avoid1.d: Likewise
926 * testsuite/gas/arc/st.d: Likewise
928 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
930 * config/tc-arc.c: Enable code density instructions for ARC EM.
932 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
935 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
937 * as.c (flag_use_elf_stt_common): New.
938 (show_usage): Add --elf-stt-common=.
939 (option_values): Add OPTION_ELF_STT_COMMON.
940 (std_longopts): Add --elf-stt-common=.
941 (parse_args): Handle --elf-stt-common=.
942 * as.h (flag_use_elf_stt_common): New.
943 * config.in: Regenerated.
944 * configure: Likewise.
945 * configure.ac: Add --enable-elf-stt-common and define
946 DEFAULT_GENERATE_ELF_STT_COMMON.
947 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
948 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
949 * doc/as.texinfo: Document --elf-stt-common=.
950 * testsuite/gas/elf/common3.s: New file.
951 * testsuite/gas/elf/common3a.d: Likewise.
952 * testsuite/gas/elf/common3b.d: Likewise.
953 * testsuite/gas/elf/common4.s: Likewise.
954 * testsuite/gas/elf/common4a.d: Likewise.
955 * testsuite/gas/elf/common4b.d: Likewise.
956 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
957 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
958 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
960 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
961 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
962 --elf-stt-common=no to as.
963 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
964 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
965 --elf-stt-common=no to as.
966 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
967 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
968 of dw2-compress-3 and dw2-compressed-3.
970 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
972 * as.c (select_emulation_mode): Add const qualifiers.
974 * config/bfin-defs.h: Likewise.
975 * config/bfin-parse.y: Likewise.
976 * config/rx-parse.y: Likewise.
977 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
978 (struct aarch64_cpu_option_table): Likewise.
979 (struct aarch64_arch_option_table): Likewise.
980 (struct aarch64_option_cpu_value_table): Likewise.
981 (struct aarch64_long_option_table): Likewise.
982 (struct aarch64_option_abi_value_table): Likewise.
983 * config/tc-arm.c (struct reloc_entry): Likewise.
984 (tc_gen_reloc): Likewise.
985 (struct arm_option_table): Likewise.
986 (struct arm_legacy_option_table): Likewise.
987 (struct arm_cpu_option_table): Likewise.
988 (struct arm_arch_option_table): Likewise.
989 (struct arm_option_extension_value_table): Likewise.
990 (struct arm_option_fpu_value_table): Likewise.
991 (struct arm_option_value_table): Likewise.
992 (struct arm_long_option_table): Likewise.
993 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
994 (struct mcu_type_s): Likewise.
995 (struct exp_mod_s): Likewise.
996 (avr_operand): Likewise.
997 (avr_operands): Likewise.
998 * config/tc-d10v.c (md_begin): Likewise.
999 * config/tc-dlx.c: Likewise.
1000 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1001 * config/tc-ft32.c (parse_condition): Likewise.
1002 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1003 * config/tc-hppa.c (pa_ip): Likewise.
1004 (hppa_regname_to_dw2regnum): Likewise.
1005 * config/tc-i370.c (i370_elf_suffix): Likewise.
1006 * config/tc-i960.c (struct tabentry): Likewise.
1007 * config/tc-m32r.c: Likewise.
1008 * config/tc-m68k.c: Likewise.
1009 * config/tc-m68k.h: Likewise.
1010 * config/tc-mcore.c (parse_psrmod): Likewise.
1011 * config/tc-metag.c (struct metag_core_option): Likewise.
1012 (struct metag_long_option): Likewise.
1013 * config/tc-microblaze.c: Likewise.
1014 * config/tc-mips.c (macro): Likewise.
1015 * config/tc-mn10200.c: Likewise.
1016 * config/tc-mn10300.c: Likewise.
1017 * config/tc-msp430.c (struct rcodes_s): Likewise.
1018 (struct hcodes_s): Likewise.
1019 (md_parse_option): Likewise.
1020 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1021 (optlist): Likewise.
1022 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1023 (tc_ppc_regname_to_dw2regnum): Likewise.
1024 * config/tc-ppc.h: Likewise.
1025 * config/tc-rl78.c: Likewise.
1026 * config/tc-rx.c (struct cpu_type): Likewise.
1027 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1028 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1029 (sparc_ip): Likewise.
1030 * config/tc-spu.c (insn_fmt_string): Likewise.
1031 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1032 * config/tc-v850.c: Likewise.
1033 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1034 (struct visium_long_option_table): Likewise.
1035 * config/tc-xgate.c: Likewise.
1036 * config/tc-z8k.c: Likewise.
1037 * read.c (add_include_dir): Likewise.
1040 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1042 * testsuite/gas/all/gas.exp: Change target pattern to cover
1044 * testsuite/gas/all/redef3.d: Likewise.
1045 * testsuite/gas/elf/elf.exp: Likewise.
1047 2016-02-24 Renlin Li <renlin.li@arm.com>
1049 * config/tc-arm.c (BAD_FP16): New error message macro.
1050 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1051 fp16 scalar instructions.
1052 (neon_check_type): Allow different size from key.
1053 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1054 (try_vfp_nsyn): Likewise.
1055 (do_vfp_nsyn_mla_mls): Likewise.
1056 (do_vfp_nsyn_fma_fms): Likewise.
1057 (do_vfp_nsyn_ldm_stm): Likewise
1058 (do_vfp_nsyn_sqrt): Likewise
1059 (do_vfp_nsyn_div): Likewise
1060 (do_vfp_nsyn_nmul): Likewise.
1061 (do_vfp_nsyn_cmp): Likewise.
1062 (do_neon_shll): Likewise.
1063 (do_vfp_nsyn_cvt_fpv8): Likewise.
1064 (do_neon_cvttb_2): Likewise.
1065 (do_neon_mov): Likewise.
1066 (do_neon_rshift_round_imm): Likewise.
1067 (do_neon_ldr_str): Likewise.
1068 (do_vfp_nsyn_fpv8): Likewise.
1069 (do_vmaxnm): Likewise.
1070 (do_vrint_1): Likewise.
1071 (insns): New entry for vins, vmovx.
1072 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1073 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1074 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1075 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1076 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1077 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1078 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1080 2016-02-24 Renlin Li <renlin.li@arm.com>
1082 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1083 (neon_shape_class): New SC_HALF.
1084 (neon_shape_el): New SE_H.
1085 (neon_shape_el_size): New size for SE_H.
1086 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1087 (neon_select_shape): Add SE_H support code.
1088 (el_type_of_type_chk): Use N_F_ALL.
1089 (do_vfp_nsyn_cvt): Add SE_H shape support.
1090 (do_neon_cvtz): Likewise.
1091 (do_neon_cvt_1): Likewise.
1092 (do_neon_cvttb_1): Likewise.
1094 2016-02-24 Renlin Li <renlin.li@arm.com>
1096 * testsuite/gas/arm/copro.d: Adjust output.
1097 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1099 2016-02-24 Renlin Li <renlin.li@arm.com>
1101 * testsuite/gas/arm/mask_1.d: New.
1102 * testsuite/gas/arm/mask_1.s: New.
1104 2016-02-24 Renlin Li <renlin.li@arm.com>
1106 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1107 * testsuite/gas/arm/copro.d: Update.
1109 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1111 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1112 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1114 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1116 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1118 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1120 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1123 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1125 * output-file.c (output_file_create): Make file name argument const.
1126 (output_file_close): Likewise.
1127 * output-file.h (output_file_create): Adjust.
1128 (output_file_close): Likewise.
1129 * depend.c (quote_string_for_make): Make src argument const char *.
1130 (register_dependency): Likewise.
1131 (wrap_output): Likewise.
1132 * as.h (register_dependency): Adjust.
1133 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1135 * symbols.c (S_SET_EXTERNAL): Likewise.
1136 * input-scrub.c (as_where): Return the file name.
1137 * as.h (as_where): Adjust prototype.
1138 * app.c (do_scrub_chars): Adjust.
1139 * cond.c (s_elseif): Likewise.
1141 (initialize_cframe): Likewise.
1142 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1143 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1144 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1145 * config/tc-aarch64.c (output_info): Likewise.
1146 * config/tc-ia64.c (md_assemble): Likewise.
1147 (dot_alias): Likewise.
1148 * config/tc-m68k.c (m68k_frob_label): Likewise.
1149 * config/tc-mmix.c (s_bspec): Likewise.
1150 (mmix_handle_mmixal): Likewise.
1151 * config/tc-rx.c (rx_include): Likewise.
1152 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1153 (tic54x_adjust_symtab): Likewise.
1154 * config/tc-xtensa.c (directive_push): Likewise.
1155 (xtensa_sanity_check): Likewise.
1156 (xtensa_relax_frag): Likewise.
1157 (md_convert_frag): Likewise.
1158 (tinsn_to_slotbuf): Likewise.
1159 * dwarf2dbg.c (dwarf2_where): Likewise.
1160 * ecoff.c (add_file): Likewise.
1161 (ecoff_generate_asm_lineno): Likewise.
1162 * expr.c (make_expr_symbol): Likewise.
1163 * frags.c (frag_new): Likewise.
1164 (frag_var_init): Likewise.
1165 * listing.c (listing_newline): Likewise.
1166 * messages.c (identify): Likewise.
1167 (as_show_where): Likewise.
1168 (as_warn_internal): Likewise.
1169 (as_bad_internal): Likewise.
1170 * read.c (s_irp): Likewise.
1171 (s_macro): Likewise.
1172 (s_reloc): Likewise.
1173 * stabs.c (stabs_generate_asm_file): Likewise.
1174 (stabs_generate_asm_lineno): Likewise.
1175 (stabs_generate_asm_func): Likewise.
1176 * write.c (fix_new_internal): Likewise.
1177 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1178 (as_warn_value_out_of_range): Adjust prototype.
1179 (as_bad_value_out_of_range): Adjust prototype.
1180 * messages.c (identify): Make file name argument const char *.
1181 (as_warn_internal): Likewise.
1182 (as_warn_where): Likewise.
1183 (as_bad_internal): Likewise.
1184 (as_bad_where): Likewise.
1185 (as_internal_value_out_of_range): Likewise.
1186 (as_warn_value_out_of_range): Likewise.
1187 (as_bad_value_out_of_range): Likewise.
1188 * as.h (found_comment_file): Change type to const char *.
1189 * cond.c (file_line::file): Likewise.
1190 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1191 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1192 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1193 * config/tc-aarch64.c (output_info): Likewise.
1194 * config/tc-alpha.c (insert_operand): Likewise.
1195 * config/tc-arc.c (insert_operand): Likewise.
1196 * config/tc-d30v.c (check_size): Likewise.
1197 * config/tc-ia64.c (struct alias): Likewise.
1198 * config/tc-m68k.c (struct label_line): Likewise.
1199 * config/tc-mcore.c (md_apply_fix): Likewise.
1200 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1201 * config/tc-mips.c (mips16_immed): Likewise.
1202 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1203 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1204 * config/tc-rx.c (rx_include): Likewise.
1205 * config/tc-s390.c (s390_insert_operand): Likewise.
1206 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1207 (tic54x_adjust_symtab): Likewise.
1208 * config/tc-tilegx.c (insert_operand): Likewise.
1209 (apply_special_operator): Likewise.
1210 * config/tc-tilepro.c (insert_operand): Likewise.
1211 * config/tc-xtensa.c (directive_push): Likewise.
1212 * ecoff.c (add_file): Likewise.
1213 (ecoff_generate_asm_lineno): Likewise.
1214 * listing.c (listing_newline): Likewise.
1215 * read.c (s_irp): Likewise.
1216 * write.c (install_reloc): Likewise.
1217 * write.h (struct fix): Likewise.
1218 * input-file.c (file_name): Change type to const char *.
1219 (saved_file::file_name): Likewise.
1220 (input_file_open): Change type of argument to const char *.
1221 * input-file.h (input_file_open): Adjust.
1222 * input-scrub.c (logical_input_file): change type to const char *.
1223 (physical_input_file): Likewise.
1224 (struct input_save): Adjust.
1225 (input_scrub_push): Adjust.
1226 (input_scrub_begin): Adjust.
1228 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1229 (input_scrub_include_file): Likewise.
1230 (new_logical_line_flags): Likewise.
1231 (new_logical_line): Likewise.
1233 * frags.h (struct frag): Change type of fr_file to const char *.
1234 * expr.c (expr_symbol_where): Change type of file argument to
1236 * expr.h (expr_symbol_where): Likewise.
1237 * config/tc-i370.c (md_apply_fix): adjust.
1238 * config/tc-mmix.c (mmix_md_end): Likewise.
1239 * config/tc-ppc.c (md_apply_fix): Likewise.
1240 * config/tc-s390.c (md_apply_fix): Likewise.
1241 * symbols.c (report_op_error): Likewise.
1242 (resolve_symbol_value): Likewise.
1243 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1244 (rsrc::file): Likewise.
1245 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1247 (xtensa_relax_frag): Likewise.
1248 (md_convert_frag): Likewise.
1249 (tinsn_to_slotbuf): Likewise.
1250 * expr.c (expr_symbol_line): Likewise.
1251 * macro.c (define_macro): Likewise.
1252 * macro.h (macro_struct): Likewise.
1253 * messages.c (as_show_where): Likewise.
1254 * read.c (s_macro): Likewise.
1255 * stabs.c (stabs_generate_asm_file): Likewise.
1256 (generate_asm_file): Likewise.
1257 (stabs_generate_asm_lineno): Likewise.
1258 * write.h (struct reloc_list): Likewise.
1259 * input-scrub.c (as_where): Change return type to const char *.
1260 * as.h (as_wheree): Adjust.
1262 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1264 * write.c (compress_debug): Move BFD compression bits setting
1266 (write_object_file): Here.
1268 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1270 * config/tc-i386.c (register_number): Check RegVRex.
1271 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1272 with %zmm19 and %zmm3.
1273 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1274 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1276 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1277 Jiong Wang <jiong.wang@arm.com>
1279 * config/tc-arm.c (arm_ext_fp16): New.
1280 (arm_extensions): New entry for "fp16".
1282 2016-02-19 Nick Clifton <nickc@redhat.com>
1285 * read.c (read_a_source_file): Check for assemble_one returning
1286 with input_line_pointer set to NULL.
1288 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1290 * listing.c (rebuffer_line): Change return type to void.
1292 * symbols.c (decode_local_label_name): Make type a const char *.
1293 * listing.c (print_source): Make type of p const char *.
1294 (print_line): Make type of string const char *.
1295 (buffer_line): Return const char *.
1296 (title): Make type const char *.
1297 (subtitle): Likewise.
1298 (listing_listing): Make type of p const char *.
1299 * messages.c (as_internal_value_out_of_range): Make type of prefix
1301 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1302 and string const char *.
1303 * read.c (_bfd_rel): Make type of name const char *.
1304 * app.c (out_string): Change type to const char *.
1305 (struct app_save::out_string): Likewise.
1307 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1308 Nick Clifton <nickc@redhat.com>
1310 * read.c (finish_bundle): Avoid recording a negative alignment.
1311 (do_align): Use unsigned values for n, len and max. Only create
1312 a frag if the alignment requirement is greater than the minimum
1313 byte alignment. Avoid recording a negative alignment.
1314 (s_align): Use unsigned values where appropriate.
1315 (bss_alloc): Use an unsigned value for the alignment.
1316 (sizeof_sleb128): Add a comment noting that we encode one octet
1317 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1318 (emit_leb129_expr): Abort if the emitted encoding was longer than
1320 * read.h (output_leb128): Update prototype.
1321 (sizeof_leb128): Update prototype.
1322 (bss_alloc): Update prototype.
1323 * write.c (record_alignment): Use an unsigned value for the
1324 alignment. Do not record alignments less than the minimum
1325 alignment for a byte.
1326 * write.h (record_alignment): Update prototype.
1328 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1330 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1331 .init.literal/.fini.literal section name.
1332 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1333 list of xtensa tests.
1334 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1335 init-fini-literals test result patterns.
1336 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1337 init-fini-literals test.
1339 2016-02-17 Nick Clifton <nickc@redhat.com>
1341 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1342 devices.csv file as of March 2016.
1344 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1346 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1348 (tc_arc_regname_to_dw2regnum): Likewise.
1349 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1350 (tc_cfi_frame_initial_instructions): Likewise.
1351 (tc_regname_to_dw2regnum): Likewise.
1352 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1353 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1354 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1356 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1358 * doc/internals.texi (S_IS_EXTERN): Remove.
1360 2016-02-16 Nick Clifton <nickc@redhat.com>
1362 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1365 2016-02-16 Renlin Li <renlin.li@arm.com>
1368 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1369 * testsuite/gas/aarch64/movw_label.d: New.
1370 * testsuite/gas/aarch64/movw_label.s: New.
1372 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1375 * config/rx-parse.y (MOV): Opcode generation for index
1376 register addressing mode.
1377 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1378 * testsuite/gas/rx/pr19665.s: New file.
1379 * testsuite/gas/rx/pr19665.s: New file.
1380 * testsuite/gas/rx/mov.d: Update expected output.
1382 2016-02-15 Nick Clifton <nickc@redhat.com>
1384 * doc/as.texinfo (.section): Document that numeric values can now
1385 be used for the flags and type fields of the ELF target's .section
1386 directive. Add notes about the restrictions on setting flags and
1388 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1389 to be given processor specific section types. Allow processor and
1390 application specific flags of a section to be set after
1392 (obj_elf_parse_section_letters): Handle parsing numeric values.
1393 (obj_elf_section_type): Handle parsing numeric values.
1394 (obj_elf_section): Allow numeric type values.
1395 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1396 * testsuite/gas/elf/section10.d: New test.
1397 * testsuite/gas/elf/section10.s: Source file for new test.
1398 * testsuite/gas/elf/elf.exp: Run the new test.
1399 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1400 the description of the flags produced by readelf.
1401 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1402 * NEWS: Mention the new feature.
1404 2016-02-11 Nick Clifton <nickc@redhat.com>
1407 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1408 until it is actually used.
1409 (cfi_set_sections): Set cfi_sections_set to true.
1410 (dot_cfi_startproc): Likewise.
1411 (dot_cfi_endproc): Likewise.
1412 (dot_cfi_fde_data): Likewise.
1413 (cfi_finish): Likewise.
1414 (dot_cfi_sections): Do not set cfi_sections_set.
1415 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1416 their own cfi section name. Also note that the directive can be
1417 reissued provided that CFI generation has not started.
1418 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1419 .cfi_endproc directives so that the redefinition of .cfi_sections
1420 will trigger the generation of the error message.
1421 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1422 number of error message.
1424 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1425 Janek van Oirschot <jvanoirs@synopsys.com>
1427 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1428 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1430 (arc_flags, arc_relax_type): New structure.
1431 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1432 (RELAX_TABLE_ENTRY_MAX): New define.
1433 (relaxation_state, md_relax_table, arc_relaxable_insns)
1434 (arc_num_relaxable_ins): New variable.
1435 (rlx_operand_type, arc_rlx_types): New enums.
1436 (arc_relaxable_ins): New structure.
1437 (OPTION_RELAX): New option.
1438 (arc_insn): New relax member.
1439 (arc_flags): Remove.
1440 (relax_insn_p): New function.
1441 (apply_fixups): Likewise.
1442 (relaxable_operand): Likewise.
1443 (may_relax_expr): Likewise.
1444 (relaxable_flag): Likewise.
1445 (arc_pcrel_adjust): Likewise.
1446 (md_estimate_size_before_relax): Implement.
1447 (md_convert_frag): Likewise.
1448 (md_parse_option): Handle new mrelax option.
1449 (md_show_usage): Likewise.
1450 (assemble_insn): Set relax member.
1451 (emit_insn0): New function.
1452 (emit_insn1): Likewise.
1453 (emit_insn): Handle relaxation case.
1454 * NEWS: Mention the new relaxation option.
1455 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1456 * doc/as.texinfo (Target ARC Options): Likewise.
1457 * testsuite/gas/arc/relax-avoid1.d: New file.
1458 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1459 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1460 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1461 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1462 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1463 * testsuite/gas/arc/relax-b.d: Likewise.
1464 * testsuite/gas/arc/relax-b.s: Likewise.
1466 2016-02-08 Nick Clifton <nickc@redhat.com>
1468 * config/tc-ia64.c (dot_prologue): Fix formatting.
1470 2016-02-04 Nick Clifton <nickc@redhat.com>
1472 * config/obj-elf.c (obj_elf_change_section): Remove support for
1473 ARM NOREAD sections.
1474 * config/tc-arm.c (arm_elf_section_letter): Delete.
1475 * config/tc-arm.h (md_elf_section_letter): Delete.
1476 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1477 * testsuite/gas/arm/section-execute-only.d: Delete.
1478 * testsuite/gas/arm/section-execute-only.s: Delete.
1480 2016-02-04 Nick Clifton <nickc@redhat.com>
1483 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1484 to handle encoding of RRUX instruction.
1485 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1487 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1489 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1491 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1492 substitutions for BFD_RELOC_* as unsigned.
1493 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1494 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1495 * testsuite/gas/xtensa/loc.s: New file: loc test.
1497 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1499 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1501 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1504 * NEWS: Mention new command line option -mrelax-relocations and
1505 new configure option --enable-x86-relax-relocations for x86
1507 * config.in: Regenerated.
1508 * configure.ac: Add --enable-x86-relax-relocations.
1509 (ac_default_x86_relax_relocations): New. Default to 1 except
1510 for x86 Solaris targets older than Solaris 12.
1511 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1512 * configure: Likewise.
1513 * config/tc-i386.c (generate_relax_relocations): New.
1514 (OPTION_MRELAX_RELOCATIONS): Likewise.
1515 (output_disp): Don't generate relax relocations if
1516 generate_relax_relocations is 0.
1517 (md_longopts): Add -mrelax-relocations.
1518 (md_show_usage): Likewise.
1519 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1520 * doc/c-i386.texi: Document -mrelax-relocations=.
1521 * testsuite/gas/i386/got-no-relax.d: New file.
1522 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1523 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1524 * testsuite/gas/i386/localpic.d: Likewise.
1525 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1526 * testsuite/gas/i386/reloc32.d: Likewise.
1527 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1528 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1529 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1530 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1531 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1532 x86-64-gotpcrel-no-relax.
1534 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1536 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1539 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1541 * NEWS: Remove duplicated marker for 2.26.
1543 2016-02-02 Renlin Li <renlin.li@arm.com>
1545 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1547 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1549 * testsuite/gas/ip2k/allinsn.d: New file.
1550 * testsuite/gas/ip2k/allinsn.s: New file.
1551 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1553 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1555 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1556 some load instructions.
1557 * testsuite/gas/epiphany/allinsn.d: Likewise.
1558 * testsuite/gas/epiphany/regression.d: Likewise.
1560 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1562 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1563 suffixes from instruction mnemonics in expected output.
1564 * testsuite/gas/epiphany/allinsn.d: Likewise.
1565 * testsuite/gas/epiphany/regression.d: Likewise.
1566 * testsuite/gas/epiphany/sample.d: Likewise.
1568 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1570 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1572 * testsuite/gas/epiphany/allinsn.d: Likewise.
1573 * testsuite/gas/epiphany/sample.d: Likewise.
1575 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1577 * testsuite/gas/epiphany/sample.d: Update expected output.
1579 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1581 * config/tc-arc.c (md_apply_fix): Allow addendum.
1582 (arc_reloc_op): Allow complex expressions for tpoff.
1583 (md_apply_fix): Handle resolved TLS local symbol.
1585 * testsuite/gas/arc/tls-relocs1.d: New file.
1586 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1588 2016-02-01 Loria <Loria@phantasia.org>
1591 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1592 efficiency and avoid an LLVM loop optimization bug.
1594 2016-02-01 Nick Clifton <nickc@redhat.com>
1596 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1597 message extending a negative 32-bit value into a larger signed
1598 value on a 32-bit host.
1600 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1603 * configure.ac (compressed_debug_sections): Replace == with =.
1604 * configure: Regenerated.
1606 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1607 H.J. Lu <hongjiu.lu@intel.com>
1609 * config/tc-i386.c (avoid_fence): New.
1610 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1612 (OPTION_FENCE_AS_LOCK_ADD): New.
1613 (md_longopts): Add -mfence-as-lock-add.
1614 (md_parse_option): Handle -mfence-as-lock-add.
1615 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1616 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1617 * testsuite/gas/i386/i386.exp: Run new tests.
1618 * testsuite/gas/i386/fence-as-lock-add.s: New.
1619 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1620 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1621 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1622 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1624 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1626 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1627 * configure: Regenerated.
1629 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1631 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1632 (OPTION_MOMIT_LOCK_PREFIX): This.
1633 (md_longopts): Updated.
1634 (md_parse_option): Likewise.
1636 2016-01-25 Catherine Moore <clm@codesourcery.com>
1638 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1639 if abicalls are in effect.
1640 * testsuite/gas/mips/sdata-gp.s: New test.
1641 * testsuite/gas/mips/sdata-gp.d: New expected output
1642 * testsuite/gas/mips/mips.exp: Run new test.
1644 2016-01-25 Renlin Li <renlin.li@arm.com>
1646 * testsuite/gas/arm/thumb2_it_search.d: New.
1647 * testsuite/gas/arm/thumb2_it_search.s: New.
1649 2016-01-21 Nick Clifton <nickc@redhat.com>
1652 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1653 with arm-netbsdelf target.
1654 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1656 2016-01-20 Nick Clifton <nickc@redhat.com>
1659 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1660 * testsuite/gas/arm/blx-bl-convert.d
1661 * testsuite/gas/arm/plt-1.d: Likewise.
1662 * testsuite/gas/arm/reloc-bad.d: Likewise.
1663 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1664 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1665 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1666 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1669 * doc/as.texinfo (Errors): Correct documentation describing the
1670 interaction of .file and .line with warning and error messages.
1673 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1674 * testsuite/gas/arm/archv8m-main.d: Likewise.
1675 * testsuite/gas/arm/archv8m-base.d: Likewise.
1677 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1679 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1680 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1681 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1683 2016-01-20 Mickael Guene <mickael.guene@st.com>
1684 Terry Guo <terry.guo@arm.com>
1686 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1687 SHF_ARM_NOREAD section flag.
1688 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1690 (arm_elf_section_letter) : Declare it.
1691 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1692 SHF_ARM_NOREAD section flag.
1693 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1695 * testsuite/gas/arm/section-execute-only.s: New test case.
1696 * testsuite/gas/arm/section-execute-only.d: Expected output.
1698 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1700 * config/tc-mips.c (micromips_insn_length): Remove the mention
1701 of 48-bit microMIPS instructions.
1703 2016-01-18 Alan Modra <amodra@gmail.com>
1705 * configure: Regenerate.
1707 2016-01-17 Alan Modra <amodra@gmail.com>
1709 * configure: Regenerate.
1711 2016-01-17 Alan Modra <amodra@gmail.com>
1713 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1715 2016-01-14 Nick Clifton <nickc@redhat.com>
1717 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1718 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1719 * testsuite/gas/rl78/rl78.exp: Run the new test.
1721 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1723 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1724 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1726 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1728 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1730 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1732 * config/tc-h8300.c (get_operand): Remove spurious condition in
1733 test for closing parenthesis.
1735 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1737 * config/tc-arm.c (arm_ext_v8_2): New.
1739 * testsuite/gas/arm/armv8_2-a.d: New.
1740 * testsuite/gas/arm/armv8_2-a.s: New.
1742 2016-01-12 Alan Modra <amodra@gmail.com>
1744 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1746 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1748 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1749 xvcmpnesp, xvcmpnesp.>: Delete tests.
1750 * testsuite/gas/ppc/power9.s: Likewise.
1751 * testsuite/gas/ppc/vsx3.d: Likewise.
1752 * testsuite/gas/ppc/vsx3.s: Likewise.
1754 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1757 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1758 * testsuite/gas/m68k/p13050-1.s: New file.
1759 * testsuite/gas/m68k/p13050-2.d: New file.
1760 * testsuite/gas/m68k/p13050-2.s: New file.
1762 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1764 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1765 * testsuite/gas/arc/add.d: Likewise.
1766 * testsuite/gas/arc/and.d: Likewise.
1767 * testsuite/gas/arc/asl.d: Likewise.
1768 * testsuite/gas/arc/asr.d: Likewise.
1769 * testsuite/gas/arc/bic.d: Likewise.
1770 * testsuite/gas/arc/extb.d: Likewise.
1771 * testsuite/gas/arc/extw.d: Likewise.
1772 * testsuite/gas/arc/j.d: Likewise.
1773 * testsuite/gas/arc/jl.d: Likewise.
1774 * testsuite/gas/arc/ld2.d: Likewise.
1775 * testsuite/gas/arc/lsr.d: Likewise.
1776 * testsuite/gas/arc/mov.d: Likewise.
1777 * testsuite/gas/arc/or.d: Likewise.
1778 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1779 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1780 * testsuite/gas/arc/pic-relocs.d: Likewise.
1781 * testsuite/gas/arc/plt-relocs.d: Likewise.
1782 * testsuite/gas/arc/rlc.d: Likewise.
1783 * testsuite/gas/arc/ror.d: Likewise.
1784 * testsuite/gas/arc/rrc.d: Likewise.
1785 * testsuite/gas/arc/sbc.d: Likewise.
1786 * testsuite/gas/arc/sda-relocs.d: Likewise.
1787 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1788 * testsuite/gas/arc/sexb.d: Likewise.
1789 * testsuite/gas/arc/sexw.d: Likewise.
1790 * testsuite/gas/arc/st.d: Likewise.
1791 * testsuite/gas/arc/sub.d: Likewise.
1792 * testsuite/gas/arc/tls-relocs.d: Likewise.
1793 * testsuite/gas/arc/xor.d: Likewise.
1795 2016-01-01 Alan Modra <amodra@gmail.com>
1797 Update year range in copyright notice of all files.
1799 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1801 Copyright (C) 2016 Free Software Foundation, Inc.
1803 Copying and distribution of this file, with or without modification,
1804 are permitted in any medium without royalty provided the copyright
1805 notice and this notice are preserved.
1811 version-control: never