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