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