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