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