1 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3 * config/tc-arc.c (is_code_density_p): Compare directly the
5 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
6 (check_cpu_feature): New function.
7 (find_opcode_match): Use check_cpu_feature function.
8 (preprocess_operands): Likewise.
9 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
10 * testsuite/gas/arc/tdpfp.d: New file.
11 * testsuite/gas/arc/tfpuda.d: Likewise.
12 * testsuite/gas/arc/tfpx.s: Likewise.
14 2016-04-05 Jiong Wang <jiong.wang@arm.com>
16 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
17 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
18 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
19 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
20 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
21 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
22 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
23 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise for Thumb.
24 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
26 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
28 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
29 JUMP instructions type.
30 * testsuite/gas/arc/relocs-errors.d: New file.
31 * testsuite/gas/arc/relocs-errors.err: Likewise.
32 * testsuite/gas/arc/relocs-errors.s: Likewise.
34 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
37 * testsuite/gas/i386/i386.exp: Run pr19498.
38 * testsuite/gas/i386/pr19498.d: New file.
39 * testsuite/gas/i386/pr19498.s: Likewise.
41 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
43 * config/tc-arc.h: Include 'opcode/arc.h'.
44 (MAX_INSN_ARGS): Delete.
45 (MAX_INSN_FLGS): Delete.
47 2016-04-04 Alan Modra <amodra@gmail.com>
50 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
51 from function on all paths that set sy_resolving.
53 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
55 * app.c (app_push): use XNEW macro.
57 * config/obj-elf.c (obj_elf_change_section): Likewise.
58 (elf_copy_symbol_attributes): Likewise.
59 (obj_elf_size): Likewise.
60 (build_group_lists): Likewise.
61 * config/tc-aarch64.c (add_operand_error_record): Likewise.
62 (md_assemble): Likewise.
63 (tc_gen_reloc): Likewise.
64 (get_upper_str): Likewise.
65 (aarch64_parse_features): Likewise.
66 * config/tc-arm.c (insert_reg_alias): Likewise.
67 (insert_neon_reg_alias): Likewise.
68 (find_or_make_literal_pool): Likewise.
69 (s_arm_elf_cons): Likewise.
70 (add_unwind_opcode): Likewise.
71 (arm_parse_extension): Likewise.
72 * config/tc-avr.c (create_record_for_frag): Likewise.
73 * config/tc-crx.c: Likewise.
74 * config/tc-d30v.c: Likewise.
75 * config/tc-dlx.c (s_proc): Likewise.
76 * config/tc-ft32.c: Likewise.
77 * config/tc-h8300.c: Likewise.
78 * config/tc-hppa.c (pa_proc): Likewise.
79 (create_new_space): Likewise.
80 (create_new_subspace): Likewise.
81 * config/tc-i860.c: Likewise.
82 * config/tc-i960.c: Likewise.
83 * config/tc-ia64.c: Likewise.
84 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
85 (iq2000_record_hi16): Likewise.
86 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
87 * config/tc-m32r.c (debug_sym): Likewise.
88 (m32r_record_hi16): Likewise.
89 * config/tc-m68k.c (m68k_ip): Likewise.
91 * config/tc-mcore.c: Likewise.
92 * config/tc-microblaze.c (check_got): Likewise.
93 * config/tc-mips.c (append_insn): Likewise.
94 (s_mipsset): Likewise.
95 (mips_record_label): Likewise.
96 (s_mips_end): Likewise.
97 * config/tc-mmix.c (mmix_frob_file): Likewise.
98 * config/tc-mn10200.c: Likewise.
99 * config/tc-mn10300.c: Likewise.
100 * config/tc-moxie.c: Likewise.
101 * config/tc-msp430.c: Likewise.
102 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
103 * config/tc-ns32k.c: Likewise.
104 * config/tc-or1k.c: Likewise.
105 * config/tc-pdp11.c: Likewise.
106 * config/tc-pj.c (fake_opcode): Likewise.
107 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
108 (ppc_macro): Likewise.
109 (ppc_dwsect): Likewise.
110 (ppc_machine): Likewise.
111 * config/tc-rl78.c (rl78_frag_init): Likewise.
112 * config/tc-rx.c (rx_frag_init): Likewise.
113 * config/tc-s390.c (s390_lit_suffix): Likewise.
114 (s390_machine): Likewise.
115 (s390_machinemode): Likewise.
116 * config/tc-score.c (s3_insert_reg): Likewise.
117 (s3_gen_reloc): Likewise.
118 * config/tc-score7.c (s7_insert_reg): Likewise.
119 (s7_gen_reloc): Likewise.
120 * config/tc-tic30.c (tic30_operand): Likewise.
121 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
122 * config/tc-tic54x.c (stag_add_field): Likewise.
123 (tic54x_struct): Likewise.
124 (tic54x_space): Likewise.
125 (tic54x_field): Likewise.
126 (tic54x_mlib): Likewise.
127 (subsym_substitute): Likewise.
128 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
129 * config/tc-vax.c: Likewise.
130 * config/tc-xc16x.c: Likewise.
131 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
132 (directive_push): Likewise.
133 (xtensa_begin_directive): Likewise.
134 (tokenize_arguments): Likewise.
135 (xtensa_add_literal_sym): Likewise.
136 (new_resource_table): Likewise.
137 (resize_resource_table): Likewise.
138 (emit_single_op): Likewise.
139 (xtensa_create_trampoline_frag): Likewise.
140 (xtensa_maybe_create_literal_pool_frag): Likewise.
141 (xtensa_add_config_info): Likewise.
142 (xtensa_realloc_fixup_cache): Likewise.
143 (add_subseg_info): Likewise.
144 (cache_literal_section): Likewise.
145 (add_xt_block_frags): Likewise.
146 (add_xt_prop_frags): Likewise.
147 (init_op_placement_info_table): Likewise.
148 (build_section_rename): Likewise.
149 * config/tc-z80.c: Likewise.
150 * config/tc-z8k.c: Likewise.
151 * depend.c (register_dependency): Likewise.
152 * dwarf2dbg.c (get_line_subseg): Likewise.
153 (dwarf2_gen_line_info_1): Likewise.
154 (get_filenum): Likewise.
155 * ecoff.c (allocate_scope): Likewise.
156 (allocate_vlinks): Likewise.
157 (allocate_shash): Likewise.
158 (allocate_thash): Likewise.
159 (allocate_tag): Likewise.
160 (allocate_forward): Likewise.
161 (allocate_thead): Likewise.
162 (allocate_lineno_list): Likewise.
163 * expr.c (make_expr_symbol): Likewise.
164 * hash.c (hash_new_sized): Likewise.
165 * input-file.c (input_file_push): Likewise.
166 * listing.c (file_info): Likewise.
167 (listing_newline): Likewise.
168 * macro.c (new_formal): Likewise.
169 (define_macro): Likewise.
170 * remap.c (add_debug_prefix_map): Likewise.
171 * symbols.c (symbol_find_noref): Likewise.
172 (define_dollar_label): Likewise.
173 (fb_label_instance_inc): Likewise.
174 (symbol_relc_make_value): Likewise.
176 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
178 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
179 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
180 (ppc_znop): Likewise.
181 (ppc_pe_section): Likewise.
182 (ppc_frob_symbol): Likewise.
183 * config/tc-tic30.c (tic30_operand): Likewise.
184 * config/tc-tic4x.c (tic4x_sect): Likewise.
185 (tic4x_usect): Likewise.
187 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
189 * config/tc-alpha.c: Const qualify FLT_CHARS.
190 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
191 * config/tc-cris.h: Likewise.
193 * config/tc-mmix.c (md_atof): Adjust comment.
194 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
195 * tc.h: Declare FLT_CHARS and EXP_CHARS.
197 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
199 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
200 * config/tc-score7.c (s7_gen_reloc): Likewise.
202 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
204 * config/tc-arm.c (do_t_branch): Change the type of reloc to
205 bfd_reloc_code_real_type.
207 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
209 * config/bfin-parse.y (current_inputline): Remove definition.
210 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
212 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
214 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
217 2016-04-02 Alan Modra <amodra@gmail.com>
220 * read.c (assign_symbol): Consume rest of line after an error
221 rather than continuing to process the line.
223 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
225 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
226 (MAX_FLAG_NAME_LENGTH): ...this.
227 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
228 * config/tc-arc.c (tokenize_flags): Likewise.
230 2016-04-01 Alan Modra <amodra@gmail.com>
232 * cgen.c (weak_operand_overflow_check): Return const char*.
233 * messages.c (as_internal_value_out_of_range): Formatting.
234 (as_warn_value_out_of_range): Consify prefix param.
235 (as_bad_value_out_of_range): Likewise.
236 * read.c (s_errwarn): Constify msg..
237 (s_float_space, float_cons): ..and err.
238 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
239 ieee_md_atof, vax_md_atof): Update prototypes.
240 * tc.h (md_atof): Update prototype.
241 * config/atof-ieee.c (ieee_md_atof): Return const char*.
242 * config/atof-vax.c (vax_md_atof): Likewise.
243 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
244 * config/tc-aarch64.c (md_atof): Return const char*.
245 * config/tc-alpha.c (s_alpha_section_name): Likewise.
246 (s_alpha_comm): Constify sec_name.
247 (section_name): Constify.
248 (s_alpha_section): Consify name..
249 (alpha_elf_section_letter): ..and ptr_msg param..
250 (md_atof): ..and return.
251 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
252 * config/tc-arc.c (md_atof): Return const char*.
253 * config/tc-arm.c (md_atof): Likewise.
254 * config/tc-avr.c (md_atof): Likewise.
255 * config/tc-bfin.c (md_atof): Likewise.
256 * config/tc-cr16.c (md_atof): Likewise.
257 * config/tc-cris.c (md_atof): Likewise.
258 * config/tc-crx.c (md_atof): Likewise.
259 * config/tc-d10v.c (md_atof): Likewise.
260 * config/tc-d30v.c (md_atof): Likewise.
261 * config/tc-dlx.c (md_atof): Likewise.
262 * config/tc-epiphany.c (md_atof): Likewise.
263 * config/tc-fr30.c (md_atof): Likewise.
264 * config/tc-frv.c (md_atof): Likewise.
265 * config/tc-ft32.c (md_atof): Likewise.
266 * config/tc-h8300.c (md_atof): Likewise.
267 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
268 (struct default_space_dict): Likewise.
269 (create_new_space): Constify name param.
270 (create_new_subspace): Likewise.
271 (is_defined_space, is_defined_subspace): Likewise.
272 (pa_parse_space_stmt): Constify space_name param.
273 (md_atof): Return const char*.
274 (pa_spaces_begin): Constify name.
275 * config/tc-i370.c (md_atof): Return const char*.
276 * config/tc-i386.c (md_atof): Likewise.
277 (x86_64_section_letter): Constify ptr_msg param.
278 * config/tc-i386.h (x86_64_section_letter): Update prototype.
279 * config/tc-i860.c (struct i860_it): Constify error.
280 (md_atof): Return const char*.
281 * config/tc-i960.c (md_atof): Likewise.
282 * config/tc-ia64.c (md_atof): Likewise.
283 (ia64_elf_section_letter): Constify ptr_msg param.
284 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
285 * config/tc-ip2k.c (md_atof): Return const char*.
286 * config/tc-iq2000.c (md_atof): Likewise.
287 * config/tc-lm32.c (md_atof): Likewise.
288 * config/tc-m32c.c (md_atof): Likewise.
289 * config/tc-m32r.c (md_atof): Likewise.
290 * config/tc-m68hc11.c (md_atof): Likewise.
291 * config/tc-m68k.c (md_atof): Likewise.
292 * config/tc-mcore.c (md_atof): Likewise.
293 * config/tc-mep.c (md_atof): Likewise.
294 (mep_elf_section_letter): Constify ptr_msg param.
295 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
296 * config/tc-metag.c (md_atof): Return const char*.
297 * config/tc-microblaze.c (md_atof): Likewise.
298 * config/tc-microblaze.h (md_atof): Delete prototype.
299 * config/tc-mips.c (mips_parse_argument_token): Constify err.
300 (md_atof): Return const char*.
301 * config/tc-mmix.c (md_atof): Likewise.
302 * config/tc-mn10200.c (md_atof): Likewise.
303 * config/tc-mn10300.c (md_atof): Likewise.
304 * config/tc-moxie.c (md_atof): Likewise.
305 * config/tc-msp430.c (md_atof): Likewise.
306 * config/tc-mt.c (md_atof): Likewise.
307 * config/tc-nds32.c (md_atof): Likewise.
308 * config/tc-nios2.c (md_atof): Likewise.
309 (nios2_elf_section_letter): Constify ptr_msg param.
310 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
311 * config/tc-ns32k.c (md_atof): Return const char*.
312 * config/tc-or1k.c (md_atof): Likewise.
313 * config/tc-pdp11.c (struct pdp11_code): Constify error.
314 (md_atof): Return const char*.
315 * config/tc-pj.c (md_atof): Likewise.
316 * config/tc-ppc.c (md_atof): Likewise.
317 * config/tc-rl78.c (md_atof): Likewise.
318 * config/tc-rx.c (md_atof): Likewise.
319 * config/tc-s390.c (md_atof): Likewise.
320 * config/tc-score.c (s3_atof, md_atof): Likewise.
321 * config/tc-sh.c (md_atof): Likewise.
322 * config/tc-sparc.c (struct sparc_it): Constify error.
323 (md_atof): Return const char*.
324 * config/tc-spu.c (md_atof): Likewise.
325 * config/tc-tic30.c (md_atof): Likewise.
326 * config/tc-tic4x.c (md_atof): Likewise.
327 * config/tc-tic54x.c (md_atof): Likewise.
328 * config/tc-tic6x.c (md_atof): Likewise.
329 * config/tc-tilegx.c (md_atof): Likewise.
330 * config/tc-tilepro.c (md_atof): Likewise.
331 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
332 * config/tc-vax.c (md_atof): Likewise.
333 * config/tc-visium.c (md_atof): Likewise.
334 * config/tc-xc16x.c (md_atof): Likewise.
335 * config/tc-xgate.c (md_atof): Likewise.
336 * config/tc-xstormy16.c (md_atof): Likewise.
337 * config/tc-xtensa.c (md_atof): Likewise.
338 * config/tc-z80.c (md_atof): Likewise.
339 * config/tc-z8k.c (md_atof): Likewise.
341 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
343 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
345 (xtensa_section_rename): Make argument type const char *.
346 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
348 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
350 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
353 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
355 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
357 (m32c_indirect_operand): Likewise.
358 * config/tc-nds32.c (do_pseudo_b): Likewise.
359 (do_pseudo_bal): Likewise.
360 (do_pseudo_ls_bhw): Likewise.
362 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
364 * as.c (parse_args): Cast literal to char * when assigning to optarg.
366 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
368 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
370 * config/tc-sparc.c (s_register): Cast a literal to char * in
373 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
375 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
377 * config/tc-m32r.c (expand_debug_syms): Likewise.
378 * config/tc-msp430.c (msp430_dstoperand): Likewise.
379 * config/tc-z80.c (md_begin): Likewise.
380 * stabs.c (stabs_generate_asm_func): Likewise.
382 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
384 * cgen.c: Modernize the way functions declare arguments.
385 * config/tc-bfin.c: Likewise.
386 * config/tc-pdp11.c: Likewise.
387 * literal.c: Likewise.
391 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
393 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
394 variables unsigned char[].
395 * config/tc-alpha.c (alpha_handle_align): Likewise.
396 * config/tc-arm.c (arm_handle_align): Likewise.
397 * config/tc-z80.c: Likewise.
399 2016-03-30 Nick Clifton <nickc@redhat.com>
402 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
405 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
407 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
408 * testsuite/gas/elf/elf.exp: Likewise.
409 * testsuite/gas/all/redef3.d: Allow execution for ARC.
411 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
413 * testsuite/gas/arc/warn.exp: Fix matching pattern.
415 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
417 * testsuite/gas/arc/ext2op.d: New file.
418 * testsuite/gas/arc/ext2op.s: Likewise.
419 * testsuite/gas/arc/ext3op.d: Likewise.
420 * testsuite/gas/arc/ext3op.s: Likewise.
422 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
424 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
426 * config/tc-alpha.c (md_parse_option): Likewise.
427 * config/tc-arc.c (md_parse_option): Likewise.
428 * config/tc-arm.c (struct arm_long_option_table): Likewise.
429 (md_parse_option): Likewise.
430 * config/tc-avr.c (md_parse_option): Likewise.
431 * config/tc-bfin.c (md_parse_option): Likewise.
432 * config/tc-cr16.c (md_parse_option): Likewise.
433 * config/tc-cris.c (s_cris_arch): Likewise.
434 (md_parse_option): Likewise.
435 * config/tc-crx.c (md_parse_option): Likewise.
436 * config/tc-d10v.c (md_parse_option): Likewise.
437 * config/tc-d30v.c (md_parse_option): Likewise.
438 * config/tc-dlx.c (md_parse_option): Likewise.
439 * config/tc-epiphany.c (md_parse_option): Likewise.
440 * config/tc-fr30.c (md_parse_option): Likewise.
441 * config/tc-frv.c (md_parse_option): Likewise.
442 * config/tc-ft32.c (md_parse_option): Likewise.
443 * config/tc-h8300.c (md_parse_option): Likewise.
444 * config/tc-hppa.c (md_parse_option): Likewise.
445 * config/tc-i370.c (md_parse_option): Likewise.
446 * config/tc-i386.c (md_parse_option): Likewise.
447 * config/tc-i860.c (md_parse_option): Likewise.
448 * config/tc-i960.c (md_parse_option): Likewise.
449 * config/tc-ia64.c (md_parse_option): Likewise.
450 * config/tc-ip2k.c (md_parse_option): Likewise.
451 * config/tc-iq2000.c (md_parse_option): Likewise.
452 * config/tc-lm32.c (md_parse_option): Likewise.
453 * config/tc-m32c.c (md_parse_option): Likewise.
454 * config/tc-m32r.c (md_parse_option): Likewise.
455 * config/tc-m68hc11.c (md_parse_option): Likewise.
456 * config/tc-m68k.c (md_parse_option): Likewise.
457 * config/tc-mcore.c (md_parse_option): Likewise.
458 * config/tc-mep.c (md_parse_option): Likewise.
459 * config/tc-metag.c (struct metag_long_option): Likewise.
460 (md_parse_option): Likewise.
461 * config/tc-microblaze.c (md_parse_option): Likewise.
462 * config/tc-microblaze.h (md_parse_option): Remove prototype.
463 * config/tc-mips.c (md_parse_option): Adjust.
464 * config/tc-mmix.c (md_parse_option): Likewise.
465 * config/tc-mn10200.c (md_parse_option): Likewise.
466 * config/tc-mn10300.c (md_parse_option): Likewise.
467 * config/tc-moxie.c (md_parse_option): Likewise.
468 * config/tc-msp430.c (md_parse_option): Likewise.
469 * config/tc-mt.c (md_parse_option): Likewise.
470 * config/tc-nds32.c (md_parse_option): Likewise.
471 * config/tc-nds32.h (nds32_parse_option): Likewise.
472 * config/tc-nios2.c (md_parse_option): Likewise.
473 * config/tc-ns32k.c (md_parse_option): Likewise.
474 * config/tc-or1k.c (md_parse_option): Likewise.
475 * config/tc-pdp11.c (md_parse_option): Likewise.
476 * config/tc-pj.c (md_parse_option): Likewise.
477 * config/tc-ppc.c (md_parse_option): Likewise.
478 * config/tc-rl78.c (md_parse_option): Likewise.
479 * config/tc-rx.c (md_parse_option): Likewise.
480 * config/tc-s390.c (s390_parse_cpu): Likewise.
481 * config/tc-score.c (md_parse_option): Likewise.
482 * config/tc-sh.c (md_parse_option): Likewise.
483 * config/tc-sparc.c (md_parse_option): Likewise.
484 * config/tc-spu.c (md_parse_option): Likewise.
485 * config/tc-tic30.c (md_parse_option): Likewise.
486 * config/tc-tic4x.c (md_parse_option): Likewise.
487 * config/tc-tic54x.c (md_parse_option): Likewise.
488 * config/tc-tic6x.c (md_parse_option): Likewise.
489 * config/tc-tilegx.c (md_parse_option): Likewise.
490 * config/tc-tilepro.c (md_parse_option): Likewise.
491 * config/tc-v850.c (md_parse_option): Likewise.
492 * config/tc-vax.c (md_parse_option): Likewise.
493 * config/tc-visium.c (struct visium_long_option_table): Likewise.
494 * config/tc-xc16x.c (md_parse_option): Likewise.
495 * config/tc-xgate.c (md_parse_option): Likewise.
496 * config/tc-xstormy16.c (md_parse_option): Likewise.
497 * config/tc-xtensa.c (md_parse_option): Likewise.
498 * config/tc-z80.c (md_parse_option): Likewise.
499 * config/tc-z8k.c (md_parse_option): Likewise.
500 * tc.h (md_parse_option): Likewise.
502 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
504 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
505 * config/tc-hppa.c (fix_new_hppa): Likewise.
506 (pa_vtable_entry): Likewise.
507 (pa_vtable_inherit): Likewise.
508 * config/tc-m68k.c (md_begin): Likewise.
510 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
512 * config/obj-elf.c (obj_elf_section_name): Return const char *.
513 * config/obj-elf.h (obj_elf_section_name): Adjust.
514 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
515 (aarch64_parse_cpu): Likewise.
516 (aarch64_parse_arch): Likewise.
517 * config/tc-arm.c (arm_parse_extension): Likewise.
518 (arm_parse_cpu): Likewise.
519 (arm_parse_arch): Likewise.
520 * config/tc-nds32.c: Likewise.
521 * config/xtensa-relax.c (parse_special_fn): Likewise.
522 * stabs.c (generate_asm_file): Likewise.
524 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
526 * config/tc-cr16.c (cr16_assemble): New function.
527 (md_assemble): Call cr16_assemble.
529 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
531 * as.c (parse_args): Adjust.
532 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
533 * config/obj-elf.c (elf_frob_symbol): Adjust.
535 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
537 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
538 registers to be in the 16..31 range.
540 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
542 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
545 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
547 * config/tc-visium.c (md_atof): Localize the string returned on
550 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
552 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
553 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
554 * config/tc-m68hc11.c (md_begin): Likewise.
555 (print_opcode_list): Likewise.
556 * config/tc-msp430.c (msp430_section): Likewise.
557 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
558 (s3_build_dependency_insn_hsh): Likewise.
559 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
560 (s7_build_dependency_insn_hsh): Likewise.
561 * config/tc-tic4x.c: Likewise.
562 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
563 (subsym_get_arg): Likewise.
564 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
565 (get_directive): Likewise.
566 (cache_literal_section): Likewise.
567 * config/xtensa-relax.c: Likewise.
568 * symbols.c (symbol_create): Likewise.
569 (local_symbol_make): Likewise.
570 (symbol_relc_make_expr): Likewise.
572 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
574 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
577 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
579 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
582 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
584 * config/tc-ia64.c (ia64_do_align): Remove.
585 (ia64_cons_align): Call do_align () directly.
586 (dot_proc): Likewise.
587 (stmt_float_cons): Likewise.
589 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
591 * listing.c (listing_message): Use XNEW style allocation macros.
592 * read.c (read_a_source_file): Likewise.
593 (read_symbol_name): Likewise.
594 (s_mri_common): Likewise.
595 (assign_symbol): Likewise.
597 (emit_expr_with_reloc): Likewise.
598 (s_incbin): Likewise.
599 (s_include): Likewise.
600 * sb.c (sb_build): Likewise.
601 (sb_check): Likewise.
603 2016-03-22 Alan Modra <amodra@gmail.com>
605 * write.c (record_alignment): Revert 2016-02-18 change.
607 2016-03-22 Alan Modra <amodra@gmail.com>
609 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
610 (emit_jsrjmp, tc_gen_reloc): Likewise.
611 * config/tc-i370.c (i370_macro): Likewise.
613 2016-03-22 Nick Clifton <nickc@redhat.com>
615 * configure: Regenerate.
617 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
619 * testsuite/gas/arc/nps400-0.d: New file.
620 * testsuite/gas/arc/nps400-0.s: New file.
621 * testsuite/gas/arc/nps400-1.d: New file.
622 * testsuite/gas/arc/nps400-1.s: New file.
624 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
626 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
627 declarations to start of block. Reset code on all flags before
628 attempting to match them. Handle multiple hits on the same flag.
630 * testsuite/gas/arc/asm-errors.d: New file.
631 * testsuite/gas/arc/asm-errors.err: New file.
632 * testsuite/gas/arc/asm-errors.s: New file.
634 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
636 * config/tc-arc.c (cpu_types): Add nps400 entry.
637 (check_zol): Handle nps400.
639 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
641 * config/tc-arc.c (arc_select_cpu): Remove use of
644 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
646 * config/tc-arc.c (arc_target): Delay initialisation until
648 (arc_target_name): Likewise.
649 (arc_features): Likewise.
650 (arc_mach_type): Likewise.
651 (cpu_types): Remove "all" entry.
652 (arc_select_cpu): New function, most of the content is from...
653 (md_parse_option): ... here. Call new arc_select_cpu.
654 (md_begin): Call arc_select_cpu if needed, default is now arc700.
656 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
658 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
659 * testsuite/gas/arc/inline-data-2.d: New file.
661 2016-03-21 Nick Clifton <nickc@redhat.com>
663 * atof-generic.c: Replace use of alloca with call to xmalloc.
665 * dwarf2dbg.c: Likewise.
669 * symbols.c: Likewise.
670 * config/obj-elf.c: Likewise.
671 * config/tc-aarch64.c: Likewise.
672 * config/tc-arc.c: Likewise.
673 * config/tc-arm.c: Likewise.
674 * config/tc-avr.c: Likewise.
675 * config/tc-ia64.c: Likewise.
676 * config/tc-mips.c: Likewise.
677 * config/tc-msp430.c: Likewise.
678 * config/tc-nds32.c: Likewise.
679 * config/tc-ppc.c: Likewise.
680 * config/tc-sh.c: Likewise.
681 * config/tc-tic30.c: Likewise.
682 * config/tc-tic54x.c: Likewise.
683 * config/tc-xstormy16.c: Likewise.
684 * config/te-vms.c: Likewise.
685 * configure: Regenerate.
687 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
689 * tc-i386.c (f32_1): Change type to unsigned char[].
710 (f32_patt): Likewise.
711 (f16_patt): Likewise.
720 (alt_patt): Likewise.
722 2016-03-18 Nick Clifton <nickc@redhat.com>
724 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
725 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
726 .tlsdescldr and .xword directives.
729 * testsuite/gas/aarch64/pr19721.s: New test source file.
730 * testsuite/gas/aarch64/pr19721.d: New test driver file.
732 * doc/as.texinfo: Place the target specific command line options
733 into their own man page section.
735 2016-03-16 Jiong Wang <jiong.wang@arm.com>
737 * config/tc-arm.c (N_S_32): New.
738 (N_F_16_32): Likewise.
739 (N_SUF_32): Support N_F16.
741 (neon_dyadic_misc): Likewise.
742 (do_neon_cmp): Likewise.
743 (do_neon_cmp_inv): Likewise.
744 (do_neon_mul): Likewise.
745 (do_neon_fcmp_absolute): Likewise.
746 (do_neon_step): Likewise.
747 (do_neon_abs_neg): Likewise.
748 (CVT_FLAVOR_VAR): Likewise.
749 (do_neon_cvt_1): Likewise.
750 (do_neon_recip_est): Likewise.
751 (do_vmaxnm): Likewise.
752 (do_vrint_1): Likewise.
753 (neon_check_type): Check architecture support for FP16 extension.
754 (insns): Update comments.
755 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
756 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
757 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
758 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
760 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
762 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
765 2016-03-16 Nick Clifton <nickc@redhat.com>
767 * read.c (emit_expr_with_reloc): Add code check a bignum with
769 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
771 * testsuite/gas/elf/bignum.s: New test source file.
772 * testsuite/gas/elf/bignum.d: New test driver file.
773 * testsuite/gas/elf/elf.exp: Run the new test.
775 2016-03-15 Ulrich Drepper <drepper@gmail.com>
777 * doc/c-i386.texi (Register Naming): Update to details of the
778 latest architecture version.
780 2016-03-10 Mickael Guene <mickael.guene@st.com>
783 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
785 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
786 (do_t_mov_cmp): Likewise.
787 (do_t_add_sub): Protect against bad relocations usage.
788 (do_t_mov_cmp): Likewise.
789 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
790 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
791 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
792 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
794 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
796 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
798 (do_neon_ld_st_lane): Likewise.
799 (do_neon_ld_dup): Likewise.
801 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
803 * testsuite/gas/arc/inline-data-1.d: New file.
804 * testsuite/gas/arc/inline-data-1.s: New file.
806 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
808 * config/tc-arm.c (arm_cpus): Add cortex-r8.
809 * doc/c-arm.texi: Add cortex-r8.
811 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
813 * config/tc-arc.c: Add const qualifiers.
814 * config/tc-h8300.c (md_begin): Likewise.
815 * config/tc-ia64.c (print_prmask): Likewise.
816 * config/tc-msp430.c (msp430_operands): Likewise.
817 * config/tc-nds32.c (struct suffix_name): Likewise.
818 (struct nds32_parse_option_table): Likewise.
819 (struct nds32_set_option_table): Likewise.
820 (do_pseudo_pushpopm): Likewise.
821 (do_pseudo_pushpop_stack): Likewise.
822 (nds32_relax_relocs): Likewise.
823 (nds32_flag): Likewise.
824 (struct nds32_hint_map): Likewise.
825 (nds32_find_reloc_table): Likewise.
826 (nds32_match_hint_insn): Likewise.
827 * config/tc-s390.c: Likewise.
828 * config/tc-sh.c (get_specific): Likewise.
829 * config/tc-tic30.c: Likewise.
830 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
831 (tic4x_indirect_parse): Likewise.
832 * config/tc-vax.c (vax_cons): Likewise.
833 * config/tc-z80.c (struct reg_entry): Likewise.
834 * config/tc-epiphany.c (md_assemble): Adjust.
835 (epiphany_assemble): New function.
836 (epiphany_elf_section_rtn): Call do_align directly.
837 (epiphany_elf_section_text): Likewise.
838 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
839 (ip2k_elf_section_text): Likewise.
840 * read.c (do_align): Make it not static.
841 * read.h (do_align): New prototype.
843 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
845 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
846 for ARMv8.1 AdvSIMD use.
847 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
848 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
850 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
852 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
854 (record_feature_use): New.
855 (mark_feature_used): Use record_feature_use.
856 (do_neon_qrdmlah): New.
857 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
859 (arm_extensions): Put into alphabetical order. Re-indent "simd"
860 and "rdma" entries. Fix the incorrect merge value for "+rdma".
861 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
862 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
863 Make source file explicit.
864 * testsuite/gas/arm/armv8-a+rdma.l: New.
865 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
866 directives. Fix white-space.
867 * testsuite/gas/arm/armv8_1-a+simd.d: New.
869 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
871 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
873 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
874 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
876 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
877 (tc_arc_fix_adjustable): Changed default return value to 1.
878 * testsuite/gas/arc/j.d: Updated expected symbol
879 * testsuite/gas/arc/jl.d: Likewise
880 * testsuite/gas/arc/relax-avoid1.d: Likewise
881 * testsuite/gas/arc/st.d: Likewise
883 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
885 * config/tc-arc.c: Enable code density instructions for ARC EM.
887 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
890 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
892 * as.c (flag_use_elf_stt_common): New.
893 (show_usage): Add --elf-stt-common=.
894 (option_values): Add OPTION_ELF_STT_COMMON.
895 (std_longopts): Add --elf-stt-common=.
896 (parse_args): Handle --elf-stt-common=.
897 * as.h (flag_use_elf_stt_common): New.
898 * config.in: Regenerated.
899 * configure: Likewise.
900 * configure.ac: Add --enable-elf-stt-common and define
901 DEFAULT_GENERATE_ELF_STT_COMMON.
902 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
903 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
904 * doc/as.texinfo: Document --elf-stt-common=.
905 * testsuite/gas/elf/common3.s: New file.
906 * testsuite/gas/elf/common3a.d: Likewise.
907 * testsuite/gas/elf/common3b.d: Likewise.
908 * testsuite/gas/elf/common4.s: Likewise.
909 * testsuite/gas/elf/common4a.d: Likewise.
910 * testsuite/gas/elf/common4b.d: Likewise.
911 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
912 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
913 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
915 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
916 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
917 --elf-stt-common=no to as.
918 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
919 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
920 --elf-stt-common=no to as.
921 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
922 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
923 of dw2-compress-3 and dw2-compressed-3.
925 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
927 * as.c (select_emulation_mode): Add const qualifiers.
929 * config/bfin-defs.h: Likewise.
930 * config/bfin-parse.y: Likewise.
931 * config/rx-parse.y: Likewise.
932 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
933 (struct aarch64_cpu_option_table): Likewise.
934 (struct aarch64_arch_option_table): Likewise.
935 (struct aarch64_option_cpu_value_table): Likewise.
936 (struct aarch64_long_option_table): Likewise.
937 (struct aarch64_option_abi_value_table): Likewise.
938 * config/tc-arm.c (struct reloc_entry): Likewise.
939 (tc_gen_reloc): Likewise.
940 (struct arm_option_table): Likewise.
941 (struct arm_legacy_option_table): Likewise.
942 (struct arm_cpu_option_table): Likewise.
943 (struct arm_arch_option_table): Likewise.
944 (struct arm_option_extension_value_table): Likewise.
945 (struct arm_option_fpu_value_table): Likewise.
946 (struct arm_option_value_table): Likewise.
947 (struct arm_long_option_table): Likewise.
948 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
949 (struct mcu_type_s): Likewise.
950 (struct exp_mod_s): Likewise.
951 (avr_operand): Likewise.
952 (avr_operands): Likewise.
953 * config/tc-d10v.c (md_begin): Likewise.
954 * config/tc-dlx.c: Likewise.
955 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
956 * config/tc-ft32.c (parse_condition): Likewise.
957 * config/tc-h8300.c (do_a_fix_imm): Likewise.
958 * config/tc-hppa.c (pa_ip): Likewise.
959 (hppa_regname_to_dw2regnum): Likewise.
960 * config/tc-i370.c (i370_elf_suffix): Likewise.
961 * config/tc-i960.c (struct tabentry): Likewise.
962 * config/tc-m32r.c: Likewise.
963 * config/tc-m68k.c: Likewise.
964 * config/tc-m68k.h: Likewise.
965 * config/tc-mcore.c (parse_psrmod): Likewise.
966 * config/tc-metag.c (struct metag_core_option): Likewise.
967 (struct metag_long_option): Likewise.
968 * config/tc-microblaze.c: Likewise.
969 * config/tc-mips.c (macro): Likewise.
970 * config/tc-mn10200.c: Likewise.
971 * config/tc-mn10300.c: Likewise.
972 * config/tc-msp430.c (struct rcodes_s): Likewise.
973 (struct hcodes_s): Likewise.
974 (md_parse_option): Likewise.
975 * config/tc-ns32k.c (struct ns32k_option): Likewise.
977 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
978 (tc_ppc_regname_to_dw2regnum): Likewise.
979 * config/tc-ppc.h: Likewise.
980 * config/tc-rl78.c: Likewise.
981 * config/tc-rx.c (struct cpu_type): Likewise.
982 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
983 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
984 (sparc_ip): Likewise.
985 * config/tc-spu.c (insn_fmt_string): Likewise.
986 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
987 * config/tc-v850.c: Likewise.
988 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
989 (struct visium_long_option_table): Likewise.
990 * config/tc-xgate.c: Likewise.
991 * config/tc-z8k.c: Likewise.
992 * read.c (add_include_dir): Likewise.
995 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
997 * testsuite/gas/all/gas.exp: Change target pattern to cover
999 * testsuite/gas/all/redef3.d: Likewise.
1000 * testsuite/gas/elf/elf.exp: Likewise.
1002 2016-02-24 Renlin Li <renlin.li@arm.com>
1004 * config/tc-arm.c (BAD_FP16): New error message macro.
1005 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1006 fp16 scalar instructions.
1007 (neon_check_type): Allow different size from key.
1008 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1009 (try_vfp_nsyn): Likewise.
1010 (do_vfp_nsyn_mla_mls): Likewise.
1011 (do_vfp_nsyn_fma_fms): Likewise.
1012 (do_vfp_nsyn_ldm_stm): Likewise
1013 (do_vfp_nsyn_sqrt): Likewise
1014 (do_vfp_nsyn_div): Likewise
1015 (do_vfp_nsyn_nmul): Likewise.
1016 (do_vfp_nsyn_cmp): Likewise.
1017 (do_neon_shll): Likewise.
1018 (do_vfp_nsyn_cvt_fpv8): Likewise.
1019 (do_neon_cvttb_2): Likewise.
1020 (do_neon_mov): Likewise.
1021 (do_neon_rshift_round_imm): Likewise.
1022 (do_neon_ldr_str): Likewise.
1023 (do_vfp_nsyn_fpv8): Likewise.
1024 (do_vmaxnm): Likewise.
1025 (do_vrint_1): Likewise.
1026 (insns): New entry for vins, vmovx.
1027 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1028 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1029 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1030 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1031 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1032 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1033 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1035 2016-02-24 Renlin Li <renlin.li@arm.com>
1037 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1038 (neon_shape_class): New SC_HALF.
1039 (neon_shape_el): New SE_H.
1040 (neon_shape_el_size): New size for SE_H.
1041 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1042 (neon_select_shape): Add SE_H support code.
1043 (el_type_of_type_chk): Use N_F_ALL.
1044 (do_vfp_nsyn_cvt): Add SE_H shape support.
1045 (do_neon_cvtz): Likewise.
1046 (do_neon_cvt_1): Likewise.
1047 (do_neon_cvttb_1): Likewise.
1049 2016-02-24 Renlin Li <renlin.li@arm.com>
1051 * testsuite/gas/arm/copro.d: Adjust output.
1052 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1054 2016-02-24 Renlin Li <renlin.li@arm.com>
1056 * testsuite/gas/arm/mask_1.d: New.
1057 * testsuite/gas/arm/mask_1.s: New.
1059 2016-02-24 Renlin Li <renlin.li@arm.com>
1061 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1062 * testsuite/gas/arm/copro.d: Update.
1064 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1066 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1067 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1069 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1071 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1073 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1075 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1078 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1080 * output-file.c (output_file_create): Make file name argument const.
1081 (output_file_close): Likewise.
1082 * output-file.h (output_file_create): Adjust.
1083 (output_file_close): Likewise.
1084 * depend.c (quote_string_for_make): Make src argument const char *.
1085 (register_dependency): Likewise.
1086 (wrap_output): Likewise.
1087 * as.h (register_dependency): Adjust.
1088 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1090 * symbols.c (S_SET_EXTERNAL): Likewise.
1091 * input-scrub.c (as_where): Return the file name.
1092 * as.h (as_where): Adjust prototype.
1093 * app.c (do_scrub_chars): Adjust.
1094 * cond.c (s_elseif): Likewise.
1096 (initialize_cframe): Likewise.
1097 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1098 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1099 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1100 * config/tc-aarch64.c (output_info): Likewise.
1101 * config/tc-ia64.c (md_assemble): Likewise.
1102 (dot_alias): Likewise.
1103 * config/tc-m68k.c (m68k_frob_label): Likewise.
1104 * config/tc-mmix.c (s_bspec): Likewise.
1105 (mmix_handle_mmixal): Likewise.
1106 * config/tc-rx.c (rx_include): Likewise.
1107 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1108 (tic54x_adjust_symtab): Likewise.
1109 * config/tc-xtensa.c (directive_push): Likewise.
1110 (xtensa_sanity_check): Likewise.
1111 (xtensa_relax_frag): Likewise.
1112 (md_convert_frag): Likewise.
1113 (tinsn_to_slotbuf): Likewise.
1114 * dwarf2dbg.c (dwarf2_where): Likewise.
1115 * ecoff.c (add_file): Likewise.
1116 (ecoff_generate_asm_lineno): Likewise.
1117 * expr.c (make_expr_symbol): Likewise.
1118 * frags.c (frag_new): Likewise.
1119 (frag_var_init): Likewise.
1120 * listing.c (listing_newline): Likewise.
1121 * messages.c (identify): Likewise.
1122 (as_show_where): Likewise.
1123 (as_warn_internal): Likewise.
1124 (as_bad_internal): Likewise.
1125 * read.c (s_irp): Likewise.
1126 (s_macro): Likewise.
1127 (s_reloc): Likewise.
1128 * stabs.c (stabs_generate_asm_file): Likewise.
1129 (stabs_generate_asm_lineno): Likewise.
1130 (stabs_generate_asm_func): Likewise.
1131 * write.c (fix_new_internal): Likewise.
1132 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1133 (as_warn_value_out_of_range): Adjust prototype.
1134 (as_bad_value_out_of_range): Adjust prototype.
1135 * messages.c (identify): Make file name argument const char *.
1136 (as_warn_internal): Likewise.
1137 (as_warn_where): Likewise.
1138 (as_bad_internal): Likewise.
1139 (as_bad_where): Likewise.
1140 (as_internal_value_out_of_range): Likewise.
1141 (as_warn_value_out_of_range): Likewise.
1142 (as_bad_value_out_of_range): Likewise.
1143 * as.h (found_comment_file): Change type to const char *.
1144 * cond.c (file_line::file): Likewise.
1145 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1146 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1147 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1148 * config/tc-aarch64.c (output_info): Likewise.
1149 * config/tc-alpha.c (insert_operand): Likewise.
1150 * config/tc-arc.c (insert_operand): Likewise.
1151 * config/tc-d30v.c (check_size): Likewise.
1152 * config/tc-ia64.c (struct alias): Likewise.
1153 * config/tc-m68k.c (struct label_line): Likewise.
1154 * config/tc-mcore.c (md_apply_fix): Likewise.
1155 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1156 * config/tc-mips.c (mips16_immed): Likewise.
1157 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1158 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1159 * config/tc-rx.c (rx_include): Likewise.
1160 * config/tc-s390.c (s390_insert_operand): Likewise.
1161 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1162 (tic54x_adjust_symtab): Likewise.
1163 * config/tc-tilegx.c (insert_operand): Likewise.
1164 (apply_special_operator): Likewise.
1165 * config/tc-tilepro.c (insert_operand): Likewise.
1166 * config/tc-xtensa.c (directive_push): Likewise.
1167 * ecoff.c (add_file): Likewise.
1168 (ecoff_generate_asm_lineno): Likewise.
1169 * listing.c (listing_newline): Likewise.
1170 * read.c (s_irp): Likewise.
1171 * write.c (install_reloc): Likewise.
1172 * write.h (struct fix): Likewise.
1173 * input-file.c (file_name): Change type to const char *.
1174 (saved_file::file_name): Likewise.
1175 (input_file_open): Change type of argument to const char *.
1176 * input-file.h (input_file_open): Adjust.
1177 * input-scrub.c (logical_input_file): change type to const char *.
1178 (physical_input_file): Likewise.
1179 (struct input_save): Adjust.
1180 (input_scrub_push): Adjust.
1181 (input_scrub_begin): Adjust.
1183 * input-scrub.c (input_scrub_new_file): Make file name argument const.
1184 (input_scrub_include_file): Likewise.
1185 (new_logical_line_flags): Likewise.
1186 (new_logical_line): Likewise.
1188 * frags.h (struct frag): Change type of fr_file to const char *.
1189 * expr.c (expr_symbol_where): Change type of file argument to
1191 * expr.h (expr_symbol_where): Likewise.
1192 * config/tc-i370.c (md_apply_fix): adjust.
1193 * config/tc-mmix.c (mmix_md_end): Likewise.
1194 * config/tc-ppc.c (md_apply_fix): Likewise.
1195 * config/tc-s390.c (md_apply_fix): Likewise.
1196 * symbols.c (report_op_error): Likewise.
1197 (resolve_symbol_value): Likewise.
1198 * config/tc-ia64.c (slot::src_file): Change type to const char *.
1199 (rsrc::file): Likewise.
1200 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
1202 (xtensa_relax_frag): Likewise.
1203 (md_convert_frag): Likewise.
1204 (tinsn_to_slotbuf): Likewise.
1205 * expr.c (expr_symbol_line): Likewise.
1206 * macro.c (define_macro): Likewise.
1207 * macro.h (macro_struct): Likewise.
1208 * messages.c (as_show_where): Likewise.
1209 * read.c (s_macro): Likewise.
1210 * stabs.c (stabs_generate_asm_file): Likewise.
1211 (generate_asm_file): Likewise.
1212 (stabs_generate_asm_lineno): Likewise.
1213 * write.h (struct reloc_list): Likewise.
1214 * input-scrub.c (as_where): Change return type to const char *.
1215 * as.h (as_wheree): Adjust.
1217 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
1219 * write.c (compress_debug): Move BFD compression bits setting
1221 (write_object_file): Here.
1223 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1225 * config/tc-i386.c (register_number): Check RegVRex.
1226 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
1227 with %zmm19 and %zmm3.
1228 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
1229 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
1231 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
1232 Jiong Wang <jiong.wang@arm.com>
1234 * config/tc-arm.c (arm_ext_fp16): New.
1235 (arm_extensions): New entry for "fp16".
1237 2016-02-19 Nick Clifton <nickc@redhat.com>
1240 * read.c (read_a_source_file): Check for assemble_one returning
1241 with input_line_pointer set to NULL.
1243 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1245 * listing.c (rebuffer_line): Change return type to void.
1247 * symbols.c (decode_local_label_name): Make type a const char *.
1248 * listing.c (print_source): Make type of p const char *.
1249 (print_line): Make type of string const char *.
1250 (buffer_line): Return const char *.
1251 (title): Make type const char *.
1252 (subtitle): Likewise.
1253 (listing_listing): Make type of p const char *.
1254 * messages.c (as_internal_value_out_of_range): Make type of prefix
1256 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
1257 and string const char *.
1258 * read.c (_bfd_rel): Make type of name const char *.
1259 * app.c (out_string): Change type to const char *.
1260 (struct app_save::out_string): Likewise.
1262 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
1263 Nick Clifton <nickc@redhat.com>
1265 * read.c (finish_bundle): Avoid recording a negative alignment.
1266 (do_align): Use unsigned values for n, len and max. Only create
1267 a frag if the alignment requirement is greater than the minimum
1268 byte alignment. Avoid recording a negative alignment.
1269 (s_align): Use unsigned values where appropriate.
1270 (bss_alloc): Use an unsigned value for the alignment.
1271 (sizeof_sleb128): Add a comment noting that we encode one octet
1272 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
1273 (emit_leb129_expr): Abort if the emitted encoding was longer than
1275 * read.h (output_leb128): Update prototype.
1276 (sizeof_leb128): Update prototype.
1277 (bss_alloc): Update prototype.
1278 * write.c (record_alignment): Use an unsigned value for the
1279 alignment. Do not record alignments less than the minimum
1280 alignment for a byte.
1281 * write.h (record_alignment): Update prototype.
1283 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1285 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
1286 .init.literal/.fini.literal section name.
1287 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
1288 list of xtensa tests.
1289 * testsuite/gas/xtensa/init-fini-literals.d: New file:
1290 init-fini-literals test result patterns.
1291 * testsuite/gas/xtensa/init-fini-literals.s: New file:
1292 init-fini-literals test.
1294 2016-02-17 Nick Clifton <nickc@redhat.com>
1296 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
1297 devices.csv file as of March 2016.
1299 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
1301 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
1303 (tc_arc_regname_to_dw2regnum): Likewise.
1304 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
1305 (tc_cfi_frame_initial_instructions): Likewise.
1306 (tc_regname_to_dw2regnum): Likewise.
1307 * testsuite/gas/cfi/cfi-arc-1.d: New file.
1308 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
1309 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
1311 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
1313 * doc/internals.texi (S_IS_EXTERN): Remove.
1315 2016-02-16 Nick Clifton <nickc@redhat.com>
1317 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
1320 2016-02-16 Renlin Li <renlin.li@arm.com>
1323 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
1324 * testsuite/gas/aarch64/movw_label.d: New.
1325 * testsuite/gas/aarch64/movw_label.s: New.
1327 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
1330 * config/rx-parse.y (MOV): Opcode generation for index
1331 register addressing mode.
1332 * testsuite/gas/rx/rx.exp: Updated for new testcase.
1333 * testsuite/gas/rx/pr19665.s: New file.
1334 * testsuite/gas/rx/pr19665.s: New file.
1335 * testsuite/gas/rx/mov.d: Update expected output.
1337 2016-02-15 Nick Clifton <nickc@redhat.com>
1339 * doc/as.texinfo (.section): Document that numeric values can now
1340 be used for the flags and type fields of the ELF target's .section
1341 directive. Add notes about the restrictions on setting flags and
1343 * config/obj-elf.c (obj_elf_change_section): Allow known sections
1344 to be given processor specific section types. Allow processor and
1345 application specific flags of a section to be set after
1347 (obj_elf_parse_section_letters): Handle parsing numeric values.
1348 (obj_elf_section_type): Handle parsing numeric values.
1349 (obj_elf_section): Allow numeric type values.
1350 * config/obj-elf.h (obj_elf_change_section): Update prototype.
1351 * testsuite/gas/elf/section10.d: New test.
1352 * testsuite/gas/elf/section10.s: Source file for new test.
1353 * testsuite/gas/elf/elf.exp: Run the new test.
1354 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
1355 the description of the flags produced by readelf.
1356 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
1357 * NEWS: Mention the new feature.
1359 2016-02-11 Nick Clifton <nickc@redhat.com>
1362 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
1363 until it is actually used.
1364 (cfi_set_sections): Set cfi_sections_set to true.
1365 (dot_cfi_startproc): Likewise.
1366 (dot_cfi_endproc): Likewise.
1367 (dot_cfi_fde_data): Likewise.
1368 (cfi_finish): Likewise.
1369 (dot_cfi_sections): Do not set cfi_sections_set.
1370 * doc/as.texinfo (.cfi_sections): Note that targets can provide
1371 their own cfi section name. Also note that the directive can be
1372 reissued provided that CFI generation has not started.
1373 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
1374 .cfi_endproc directives so that the redefinition of .cfi_sections
1375 will trigger the generation of the error message.
1376 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
1377 number of error message.
1379 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
1380 Janek van Oirschot <jvanoirs@synopsys.com>
1382 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
1383 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
1385 (arc_flags, arc_relax_type): New structure.
1386 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
1387 (RELAX_TABLE_ENTRY_MAX): New define.
1388 (relaxation_state, md_relax_table, arc_relaxable_insns)
1389 (arc_num_relaxable_ins): New variable.
1390 (rlx_operand_type, arc_rlx_types): New enums.
1391 (arc_relaxable_ins): New structure.
1392 (OPTION_RELAX): New option.
1393 (arc_insn): New relax member.
1394 (arc_flags): Remove.
1395 (relax_insn_p): New function.
1396 (apply_fixups): Likewise.
1397 (relaxable_operand): Likewise.
1398 (may_relax_expr): Likewise.
1399 (relaxable_flag): Likewise.
1400 (arc_pcrel_adjust): Likewise.
1401 (md_estimate_size_before_relax): Implement.
1402 (md_convert_frag): Likewise.
1403 (md_parse_option): Handle new mrelax option.
1404 (md_show_usage): Likewise.
1405 (assemble_insn): Set relax member.
1406 (emit_insn0): New function.
1407 (emit_insn1): Likewise.
1408 (emit_insn): Handle relaxation case.
1409 * NEWS: Mention the new relaxation option.
1410 * doc/c-arc.texi (ARC Options): Document new mrelax option.
1411 * doc/as.texinfo (Target ARC Options): Likewise.
1412 * testsuite/gas/arc/relax-avoid1.d: New file.
1413 * testsuite/gas/arc/relax-avoid1.s: Likewise.
1414 * testsuite/gas/arc/relax-avoid2.d: Likewise.
1415 * testsuite/gas/arc/relax-avoid2.s: Likewise.
1416 * testsuite/gas/arc/relax-avoid3.d: Likewise.
1417 * testsuite/gas/arc/relax-avoid3.s: Likewise.
1418 * testsuite/gas/arc/relax-b.d: Likewise.
1419 * testsuite/gas/arc/relax-b.s: Likewise.
1421 2016-02-08 Nick Clifton <nickc@redhat.com>
1423 * config/tc-ia64.c (dot_prologue): Fix formatting.
1425 2016-02-04 Nick Clifton <nickc@redhat.com>
1427 * config/obj-elf.c (obj_elf_change_section): Remove support for
1428 ARM NOREAD sections.
1429 * config/tc-arm.c (arm_elf_section_letter): Delete.
1430 * config/tc-arm.h (md_elf_section_letter): Delete.
1431 * doc/c-arm.texi (ARM Section Attribute): Delete section.
1432 * testsuite/gas/arm/section-execute-only.d: Delete.
1433 * testsuite/gas/arm/section-execute-only.s: Delete.
1435 2016-02-04 Nick Clifton <nickc@redhat.com>
1438 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
1439 to handle encoding of RRUX instruction.
1440 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
1442 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
1444 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
1446 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
1447 substitutions for BFD_RELOC_* as unsigned.
1448 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
1449 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
1450 * testsuite/gas/xtensa/loc.s: New file: loc test.
1452 2016-02-03 Kevin Buettner <kevinb@redhat.com>
1454 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
1456 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1459 * NEWS: Mention new command line option -mrelax-relocations and
1460 new configure option --enable-x86-relax-relocations for x86
1462 * config.in: Regenerated.
1463 * configure.ac: Add --enable-x86-relax-relocations.
1464 (ac_default_x86_relax_relocations): New. Default to 1 except
1465 for x86 Solaris targets older than Solaris 12.
1466 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
1467 * configure: Likewise.
1468 * config/tc-i386.c (generate_relax_relocations): New.
1469 (OPTION_MRELAX_RELOCATIONS): Likewise.
1470 (output_disp): Don't generate relax relocations if
1471 generate_relax_relocations is 0.
1472 (md_longopts): Add -mrelax-relocations.
1473 (md_show_usage): Likewise.
1474 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
1475 * doc/c-i386.texi: Document -mrelax-relocations=.
1476 * testsuite/gas/i386/got-no-relax.d: New file.
1477 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
1478 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
1479 * testsuite/gas/i386/localpic.d: Likewise.
1480 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
1481 * testsuite/gas/i386/reloc32.d: Likewise.
1482 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
1483 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
1484 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
1485 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
1486 * testsuite/gas/i386/i386.exp: Run got-no-relax and
1487 x86-64-gotpcrel-no-relax.
1489 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1491 * NEWS: Mention new command line option -mfence-as-lock-add=yes
1494 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1496 * NEWS: Remove duplicated marker for 2.26.
1498 2016-02-02 Renlin Li <renlin.li@arm.com>
1500 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
1502 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1504 * testsuite/gas/ip2k/allinsn.d: New file.
1505 * testsuite/gas/ip2k/allinsn.s: New file.
1506 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
1508 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1510 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
1511 some load instructions.
1512 * testsuite/gas/epiphany/allinsn.d: Likewise.
1513 * testsuite/gas/epiphany/regression.d: Likewise.
1515 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1517 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
1518 suffixes from instruction mnemonics in expected output.
1519 * testsuite/gas/epiphany/allinsn.d: Likewise.
1520 * testsuite/gas/epiphany/regression.d: Likewise.
1521 * testsuite/gas/epiphany/sample.d: Likewise.
1523 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1525 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1527 * testsuite/gas/epiphany/allinsn.d: Likewise.
1528 * testsuite/gas/epiphany/sample.d: Likewise.
1530 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
1532 * testsuite/gas/epiphany/sample.d: Update expected output.
1534 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1536 * config/tc-arc.c (md_apply_fix): Allow addendum.
1537 (arc_reloc_op): Allow complex expressions for tpoff.
1538 (md_apply_fix): Handle resolved TLS local symbol.
1540 * testsuite/gas/arc/tls-relocs1.d: New file.
1541 * testsuite/gas/arc/tls-relocs1.s: Likewise.
1543 2016-02-01 Loria <Loria@phantasia.org>
1546 * config/tc-arm.c (encode_arm_immediate): Recode to improve
1547 efficiency and avoid an LLVM loop optimization bug.
1549 2016-02-01 Nick Clifton <nickc@redhat.com>
1551 * config/tc-microblaze.c (parse_imm): Fix compile time warning
1552 message extending a negative 32-bit value into a larger signed
1553 value on a 32-bit host.
1555 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1558 * configure.ac (compressed_debug_sections): Replace == with =.
1559 * configure: Regenerated.
1561 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
1562 H.J. Lu <hongjiu.lu@intel.com>
1564 * config/tc-i386.c (avoid_fence): New.
1565 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1567 (OPTION_FENCE_AS_LOCK_ADD): New.
1568 (md_longopts): Add -mfence-as-lock-add.
1569 (md_parse_option): Handle -mfence-as-lock-add.
1570 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1571 * doc/c-i386.texi (-mfence-as-lock-add): Document.
1572 * testsuite/gas/i386/i386.exp: Run new tests.
1573 * testsuite/gas/i386/fence-as-lock-add.s: New.
1574 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1575 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1576 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1577 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1579 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1581 * configure.ac (compressed_debug_sections): Remove trailing `]'.
1582 * configure: Regenerated.
1584 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
1586 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1587 (OPTION_MOMIT_LOCK_PREFIX): This.
1588 (md_longopts): Updated.
1589 (md_parse_option): Likewise.
1591 2016-01-25 Catherine Moore <clm@codesourcery.com>
1593 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1594 if abicalls are in effect.
1595 * testsuite/gas/mips/sdata-gp.s: New test.
1596 * testsuite/gas/mips/sdata-gp.d: New expected output
1597 * testsuite/gas/mips/mips.exp: Run new test.
1599 2016-01-25 Renlin Li <renlin.li@arm.com>
1601 * testsuite/gas/arm/thumb2_it_search.d: New.
1602 * testsuite/gas/arm/thumb2_it_search.s: New.
1604 2016-01-21 Nick Clifton <nickc@redhat.com>
1607 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1608 with arm-netbsdelf target.
1609 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1611 2016-01-20 Nick Clifton <nickc@redhat.com>
1614 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1615 * testsuite/gas/arm/blx-bl-convert.d
1616 * testsuite/gas/arm/plt-1.d: Likewise.
1617 * testsuite/gas/arm/reloc-bad.d: Likewise.
1618 * testsuite/gas/arm/thumb-w-good.d: Likewise.
1619 * testsuite/gas/arm/thumb2_pool.d: Likewise.
1620 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1621 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1624 * doc/as.texinfo (Errors): Correct documentation describing the
1625 interaction of .file and .line with warning and error messages.
1628 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1629 * testsuite/gas/arm/archv8m-main.d: Likewise.
1630 * testsuite/gas/arm/archv8m-base.d: Likewise.
1632 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
1634 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1635 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1636 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1638 2016-01-20 Mickael Guene <mickael.guene@st.com>
1639 Terry Guo <terry.guo@arm.com>
1641 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1642 SHF_ARM_NOREAD section flag.
1643 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1645 (arm_elf_section_letter) : Declare it.
1646 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1647 SHF_ARM_NOREAD section flag.
1648 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1650 * testsuite/gas/arm/section-execute-only.s: New test case.
1651 * testsuite/gas/arm/section-execute-only.d: Expected output.
1653 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
1655 * config/tc-mips.c (micromips_insn_length): Remove the mention
1656 of 48-bit microMIPS instructions.
1658 2016-01-18 Alan Modra <amodra@gmail.com>
1660 * configure: Regenerate.
1662 2016-01-17 Alan Modra <amodra@gmail.com>
1664 * configure: Regenerate.
1666 2016-01-17 Alan Modra <amodra@gmail.com>
1668 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1670 2016-01-14 Nick Clifton <nickc@redhat.com>
1672 * testsuite/gas/rl78/sp-relative-movw.s: New test.
1673 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1674 * testsuite/gas/rl78/rl78.exp: Run the new test.
1676 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
1678 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1679 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1681 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
1683 * config/tc-nios2.c (output_movia): Preset `code' to 0.
1685 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
1687 * config/tc-h8300.c (get_operand): Remove spurious condition in
1688 test for closing parenthesis.
1690 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
1692 * config/tc-arm.c (arm_ext_v8_2): New.
1694 * testsuite/gas/arm/armv8_2-a.d: New.
1695 * testsuite/gas/arm/armv8_2-a.s: New.
1697 2016-01-12 Alan Modra <amodra@gmail.com>
1699 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1701 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
1703 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1704 xvcmpnesp, xvcmpnesp.>: Delete tests.
1705 * testsuite/gas/ppc/power9.s: Likewise.
1706 * testsuite/gas/ppc/vsx3.d: Likewise.
1707 * testsuite/gas/ppc/vsx3.s: Likewise.
1709 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
1712 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1713 * testsuite/gas/m68k/p13050-1.s: New file.
1714 * testsuite/gas/m68k/p13050-2.d: New file.
1715 * testsuite/gas/m68k/p13050-2.s: New file.
1717 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1719 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1720 * testsuite/gas/arc/add.d: Likewise.
1721 * testsuite/gas/arc/and.d: Likewise.
1722 * testsuite/gas/arc/asl.d: Likewise.
1723 * testsuite/gas/arc/asr.d: Likewise.
1724 * testsuite/gas/arc/bic.d: Likewise.
1725 * testsuite/gas/arc/extb.d: Likewise.
1726 * testsuite/gas/arc/extw.d: Likewise.
1727 * testsuite/gas/arc/j.d: Likewise.
1728 * testsuite/gas/arc/jl.d: Likewise.
1729 * testsuite/gas/arc/ld2.d: Likewise.
1730 * testsuite/gas/arc/lsr.d: Likewise.
1731 * testsuite/gas/arc/mov.d: Likewise.
1732 * testsuite/gas/arc/or.d: Likewise.
1733 * testsuite/gas/arc/pcl-relocs.d: Likewise.
1734 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1735 * testsuite/gas/arc/pic-relocs.d: Likewise.
1736 * testsuite/gas/arc/plt-relocs.d: Likewise.
1737 * testsuite/gas/arc/rlc.d: Likewise.
1738 * testsuite/gas/arc/ror.d: Likewise.
1739 * testsuite/gas/arc/rrc.d: Likewise.
1740 * testsuite/gas/arc/sbc.d: Likewise.
1741 * testsuite/gas/arc/sda-relocs.d: Likewise.
1742 * testsuite/gas/arc/sda-relocs2.d: Likewise.
1743 * testsuite/gas/arc/sexb.d: Likewise.
1744 * testsuite/gas/arc/sexw.d: Likewise.
1745 * testsuite/gas/arc/st.d: Likewise.
1746 * testsuite/gas/arc/sub.d: Likewise.
1747 * testsuite/gas/arc/tls-relocs.d: Likewise.
1748 * testsuite/gas/arc/xor.d: Likewise.
1750 2016-01-01 Alan Modra <amodra@gmail.com>
1752 Update year range in copyright notice of all files.
1754 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1756 Copyright (C) 2016 Free Software Foundation, Inc.
1758 Copying and distribution of this file, with or without modification,
1759 are permitted in any medium without royalty provided the copyright
1760 notice and this notice are preserved.
1766 version-control: never