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