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