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