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