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