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