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