split up cr16s md_assemble ()
[external/binutils.git] / gas / ChangeLog
1 2016-03-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
2
3         * config/tc-cr16.c (cr16_assemble): New function.
4         (md_assemble): Call cr16_assemble.
5
6 2016-03-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
7
8         * as.c (parse_args): Adjust.
9         * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
10         * config/obj-elf.c (elf_frob_symbol): Adjust.
11
12 2016-03-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
13
14         * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
15         registers to be in the 16..31 range.
16
17 2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
18
19         * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
20         frag_var ().
21
22 2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
23
24         * config/tc-visium.c (md_atof): Localize the string returned on
25         failure.
26
27 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
28
29         * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
30         * config/tc-ia64.c (obj_elf_vms_common): Likewise.
31         * config/tc-m68hc11.c (md_begin): Likewise.
32         (print_opcode_list): Likewise.
33         * config/tc-msp430.c (msp430_section): Likewise.
34         * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
35         (s3_build_dependency_insn_hsh): Likewise.
36         * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
37         (s7_build_dependency_insn_hsh): Likewise.
38         * config/tc-tic4x.c: Likewise.
39         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
40         (subsym_get_arg): Likewise.
41         * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
42         (get_directive): Likewise.
43         (cache_literal_section): Likewise.
44         * config/xtensa-relax.c: Likewise.
45         * symbols.c (symbol_create): Likewise.
46         (local_symbol_make): Likewise.
47         (symbol_relc_make_expr): Likewise.
48
49 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
50
51         * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
52         str.
53
54 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
55
56         * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
57         call with a switch.
58
59 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
60
61         * config/tc-ia64.c (ia64_do_align): Remove.
62         (ia64_cons_align): Call do_align () directly.
63         (dot_proc): Likewise.
64         (stmt_float_cons): Likewise.
65
66 2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
67
68         * listing.c (listing_message): Use XNEW style allocation macros.
69         * read.c (read_a_source_file): Likewise.
70         (read_symbol_name): Likewise.
71         (s_mri_common): Likewise.
72         (assign_symbol): Likewise.
73         (s_reloc): Likewise.
74         (emit_expr_with_reloc): Likewise.
75         (s_incbin): Likewise.
76         (s_include): Likewise.
77         * sb.c (sb_build): Likewise.
78         (sb_check): Likewise.
79
80 2016-03-22  Alan Modra  <amodra@gmail.com>
81
82         * write.c (record_alignment): Revert 2016-02-18 change.
83
84 2016-03-22  Alan Modra  <amodra@gmail.com>
85
86         * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
87         (emit_jsrjmp, tc_gen_reloc): Likewise.
88         * config/tc-i370.c (i370_macro): Likewise.
89
90 2016-03-22  Nick Clifton  <nickc@redhat.com>
91
92         * configure: Regenerate.
93
94 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
95
96         * testsuite/gas/arc/nps400-0.d: New file.
97         * testsuite/gas/arc/nps400-0.s: New file.
98         * testsuite/gas/arc/nps400-1.d: New file.
99         * testsuite/gas/arc/nps400-1.s: New file.
100
101 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
102
103         * config/tc-arc.c (find_opcode_match): Move lnflg, and i
104         declarations to start of block.  Reset code on all flags before
105         attempting to match them.  Handle multiple hits on the same flag.
106         Handle flag class.
107         * testsuite/gas/arc/asm-errors.d: New file.
108         * testsuite/gas/arc/asm-errors.err: New file.
109         * testsuite/gas/arc/asm-errors.s: New file.
110
111 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
112
113         * config/tc-arc.c (cpu_types): Add nps400 entry.
114         (check_zol): Handle nps400.
115
116 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
117
118         * config/tc-arc.c (arc_select_cpu): Remove use of
119         EF_ARC_CPU_GENERIC.
120
121 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
122
123         * config/tc-arc.c (arc_target): Delay initialisation until
124         arc_select_cpu.
125         (arc_target_name): Likewise.
126         (arc_features): Likewise.
127         (arc_mach_type): Likewise.
128         (cpu_types): Remove "all" entry.
129         (arc_select_cpu): New function, most of the content is from...
130         (md_parse_option): ... here.  Call new arc_select_cpu.
131         (md_begin): Call arc_select_cpu if needed, default is now arc700.
132
133 2016-03-21  Andrew Burgess  <andrew.burgess@embecosm.com>
134
135         * testsuite/gas/arc/inline-data-1.d: Add target restriction.
136         * testsuite/gas/arc/inline-data-2.d: New file.
137
138 2016-03-21  Nick Clifton  <nickc@redhat.com>
139
140         * atof-generic.c: Replace use of alloca with call to xmalloc.
141         * cgen.c: Likewise.
142         * dwarf2dbg.c: Likewise.
143         * macro.c: Likewise.
144         * remap.c: Likewise.
145         * stabs.c: Likewise.
146         * symbols.c: Likewise.
147         * config/obj-elf.c: Likewise.
148         * config/tc-aarch64.c: Likewise.
149         * config/tc-arc.c: Likewise.
150         * config/tc-arm.c: Likewise.
151         * config/tc-avr.c: Likewise.
152         * config/tc-ia64.c: Likewise.
153         * config/tc-mips.c: Likewise.
154         * config/tc-msp430.c: Likewise.
155         * config/tc-nds32.c: Likewise.
156         * config/tc-ppc.c: Likewise.
157         * config/tc-sh.c: Likewise.
158         * config/tc-tic30.c: Likewise.
159         * config/tc-tic54x.c: Likewise.
160         * config/tc-xstormy16.c: Likewise.
161         * config/te-vms.c: Likewise.
162         * configure: Regenerate.
163
164 2016-03-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
165
166         * tc-i386.c (f32_1): Change type to unsigned char[].
167         (f32_2): Likewise.
168         (f32_3): Likewise.
169         (f32_4): Likewise.
170         (f32_5): Likewise.
171         (f32_6): Likewise.
172         (f32_7): Likewise.
173         (f32_8): Likewise.
174         (f32_9): Likewise.
175         (f32_10): Likewise.
176         (f32_11): Likewise.
177         (f32_12): Likewise.
178         (f32_13): Likewise.
179         (f32_14): Likewise.
180         (f16_3): Likewise.
181         (f16_4): Likewise.
182         (f16_5): Likewise.
183         (f16_6): Likewise.
184         (f16_7): Likewise.
185         (f16_8): Likewise.
186         (jump_31): Likewise.
187         (f32_patt): Likewise.
188         (f16_patt): Likewise.
189         (alt_3): Likewise.
190         (alt_4): Likewise.
191         (alt_5): Likewise.
192         (alt_6): Likewise.
193         (alt_7): Likewise.
194         (alt_8): Likewise.
195         (alt_9): Likewise.
196         (alt_10): Likewise.
197         (alt_patt): Likewise.
198
199 2016-03-18  Nick Clifton  <nickc@redhat.com>
200
201         * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
202         .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
203         .tlsdescldr and .xword directives.
204
205         PR target/19721
206         * testsuite/gas/aarch64/pr19721.s: New test source file.
207         * testsuite/gas/aarch64/pr19721.d: New test driver file.
208
209         * doc/as.texinfo: Place the target specific command line options
210         into their own man page section.
211
212 2016-03-16  Jiong Wang  <jiong.wang@arm.com>
213
214         * config/tc-arm.c (N_S_32): New.
215         (N_F_16_32): Likewise.
216         (N_SUF_32): Support N_F16.
217         (N_IF_32): Likewise.
218         (neon_dyadic_misc): Likewise.
219         (do_neon_cmp): Likewise.
220         (do_neon_cmp_inv): Likewise.
221         (do_neon_mul): Likewise.
222         (do_neon_fcmp_absolute): Likewise.
223         (do_neon_step): Likewise.
224         (do_neon_abs_neg): Likewise.
225         (CVT_FLAVOR_VAR): Likewise.
226         (do_neon_cvt_1): Likewise.
227         (do_neon_recip_est): Likewise.
228         (do_vmaxnm): Likewise.
229         (do_vrint_1): Likewise.
230         (neon_check_type): Check architecture support for FP16 extension.
231         (insns): Update comments.
232         * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
233         * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
234         * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
235         * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
236         arm mode.
237         * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
238         thumb mode.
239         * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
240         error file.
241
242 2016-03-16  Nick Clifton  <nickc@redhat.com>
243
244         * read.c (emit_expr_with_reloc): Add code check a bignum with
245         nbytes == 1.
246         * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
247         other than 32-bits.
248         * testsuite/gas/elf/bignum.s: New test source file.
249         * testsuite/gas/elf/bignum.d: New test driver file.
250         * testsuite/gas/elf/elf.exp: Run the new test.
251
252 2016-03-15  Ulrich Drepper  <drepper@gmail.com>
253
254         * doc/c-i386.texi (Register Naming): Update to details of the
255         latest architecture version.
256
257 2016-03-10  Mickael Guene  <mickael.guene@st.com>
258
259         PR gas/19744
260         * config/tc-arm.c (do_arit): Protect against bad relocations usage.
261         (do_mov): Likewise.
262         (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
263         (do_t_mov_cmp): Likewise.
264         (do_t_add_sub): Protect against bad relocations usage.
265         (do_t_mov_cmp): Likewise.
266         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
267         * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
268         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
269         * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
270
271 2016-03-09  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
272
273         * config/tc-arm.c (neon_alignment_bit): Rename do_align to
274         do_alignment.
275         (do_neon_ld_st_lane): Likewise.
276         (do_neon_ld_dup): Likewise.
277
278 2016-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>
279
280         * testsuite/gas/arc/inline-data-1.d: New file.
281         * testsuite/gas/arc/inline-data-1.s: New file.
282
283 2016-03-07  Andre Vieira  <andre.simoesdiasvieira@arm.com>
284
285         * config/tc-arm.c (arm_cpus): Add cortex-r8.
286         * doc/c-arm.texi: Add cortex-r8.
287
288 2016-03-07  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
289
290         * config/tc-arc.c: Add const qualifiers.
291         * config/tc-h8300.c (md_begin): Likewise.
292         * config/tc-ia64.c (print_prmask): Likewise.
293         * config/tc-msp430.c (msp430_operands): Likewise.
294         * config/tc-nds32.c (struct suffix_name): Likewise.
295         (struct nds32_parse_option_table): Likewise.
296         (struct nds32_set_option_table): Likewise.
297         (do_pseudo_pushpopm): Likewise.
298         (do_pseudo_pushpop_stack): Likewise.
299         (nds32_relax_relocs): Likewise.
300         (nds32_flag): Likewise.
301         (struct nds32_hint_map): Likewise.
302         (nds32_find_reloc_table): Likewise.
303         (nds32_match_hint_insn): Likewise.
304         * config/tc-s390.c: Likewise.
305         * config/tc-sh.c (get_specific): Likewise.
306         * config/tc-tic30.c: Likewise.
307         * config/tc-tic4x.c (tic4x_inst_add): Likewise.
308         (tic4x_indirect_parse): Likewise.
309         * config/tc-vax.c (vax_cons): Likewise.
310         * config/tc-z80.c (struct reg_entry): Likewise.
311         * config/tc-epiphany.c (md_assemble): Adjust.
312         (epiphany_assemble): New function.
313         (epiphany_elf_section_rtn): Call do_align directly.
314         (epiphany_elf_section_text): Likewise.
315         * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
316         (ip2k_elf_section_text): Likewise.
317         * read.c (do_align): Make it not static.
318         * read.h (do_align): New prototype.
319
320 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
321
322         * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
323         for ARMv8.1 AdvSIMD use.
324         * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
325         * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
326
327 2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>
328
329         * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
330         feature.
331         (record_feature_use): New.
332         (mark_feature_used): Use record_feature_use.
333         (do_neon_qrdmlah): New.
334         (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
335         variants.
336         (arm_extensions): Put into alphabetical order.  Re-indent "simd"
337         and "rdma" entries.  Fix the incorrect merge value for "+rdma".
338         * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
339         * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
340         Make source file explicit.
341         * testsuite/gas/arm/armv8-a+rdma.l: New.
342         * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
343         directives.  Fix white-space.
344         * testsuite/gas/arm/armv8_1-a+simd.d: New.
345
346 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
347
348         * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
349
350 2016-02-29  Cupertino Miranda  <cmiranda@synopsys.com>
351             Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
352
353         * config/tc-arc.c (arc_extra_reloc): Change size to 0.
354         (tc_arc_fix_adjustable): Changed default return value to 1.
355         * testsuite/gas/arc/j.d: Updated expected symbol
356         * testsuite/gas/arc/jl.d: Likewise
357         * testsuite/gas/arc/relax-avoid1.d: Likewise
358         * testsuite/gas/arc/st.d: Likewise
359
360 2016-02-29  Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
361
362         * config/tc-arc.c: Enable code density instructions for ARC EM.
363
364 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
365
366         PR ld/19645
367         * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
368         for ELF assemblers.
369         * as.c (flag_use_elf_stt_common): New.
370         (show_usage): Add --elf-stt-common=.
371         (option_values): Add OPTION_ELF_STT_COMMON.
372         (std_longopts): Add --elf-stt-common=.
373         (parse_args): Handle --elf-stt-common=.
374         * as.h (flag_use_elf_stt_common): New.
375         * config.in: Regenerated.
376         * configure: Likewise.
377         * configure.ac: Add --enable-elf-stt-common and define
378         DEFAULT_GENERATE_ELF_STT_COMMON.
379         * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
380         and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
381         * doc/as.texinfo: Document --elf-stt-common=.
382         * testsuite/gas/elf/common3.s: New file.
383         * testsuite/gas/elf/common3a.d: Likewise.
384         * testsuite/gas/elf/common3b.d: Likewise.
385         * testsuite/gas/elf/common4.s: Likewise.
386         * testsuite/gas/elf/common4a.d: Likewise.
387         * testsuite/gas/elf/common4b.d: Likewise.
388         * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
389         * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
390         * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
391         and common4b.
392         * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
393         * testsuite/gas/i386/dw2-compress-3a.d: This.  Pass
394         --elf-stt-common=no to as.
395         * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
396         * testsuite/gas/i386/dw2-compressed-3a.d: This.  Pass
397         --elf-stt-common=no to as.
398         * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
399         dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
400         of dw2-compress-3 and dw2-compressed-3.
401
402 2016-02-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
403
404         * as.c (select_emulation_mode): Add const qualifiers.
405         * as.h: Likewise.
406         * config/bfin-defs.h: Likewise.
407         * config/bfin-parse.y: Likewise.
408         * config/rx-parse.y: Likewise.
409         * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
410         (struct aarch64_cpu_option_table): Likewise.
411         (struct aarch64_arch_option_table): Likewise.
412         (struct aarch64_option_cpu_value_table): Likewise.
413         (struct aarch64_long_option_table): Likewise.
414         (struct aarch64_option_abi_value_table): Likewise.
415         * config/tc-arm.c (struct reloc_entry): Likewise.
416         (tc_gen_reloc): Likewise.
417         (struct arm_option_table): Likewise.
418         (struct arm_legacy_option_table): Likewise.
419         (struct arm_cpu_option_table): Likewise.
420         (struct arm_arch_option_table): Likewise.
421         (struct arm_option_extension_value_table): Likewise.
422         (struct arm_option_fpu_value_table): Likewise.
423         (struct arm_option_value_table): Likewise.
424         (struct arm_long_option_table): Likewise.
425         * config/tc-avr.c (struct avr_opcodes_s): Likewise.
426         (struct mcu_type_s): Likewise.
427         (struct exp_mod_s): Likewise.
428         (avr_operand): Likewise.
429         (avr_operands): Likewise.
430         * config/tc-d10v.c (md_begin): Likewise.
431         * config/tc-dlx.c: Likewise.
432         * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
433         * config/tc-ft32.c (parse_condition): Likewise.
434         * config/tc-h8300.c (do_a_fix_imm): Likewise.
435         * config/tc-hppa.c (pa_ip): Likewise.
436         (hppa_regname_to_dw2regnum): Likewise.
437         * config/tc-i370.c (i370_elf_suffix): Likewise.
438         * config/tc-i960.c (struct tabentry): Likewise.
439         * config/tc-m32r.c: Likewise.
440         * config/tc-m68k.c: Likewise.
441         * config/tc-m68k.h: Likewise.
442         * config/tc-mcore.c (parse_psrmod): Likewise.
443         * config/tc-metag.c (struct metag_core_option): Likewise.
444         (struct metag_long_option): Likewise.
445         * config/tc-microblaze.c: Likewise.
446         * config/tc-mips.c (macro): Likewise.
447         * config/tc-mn10200.c: Likewise.
448         * config/tc-mn10300.c: Likewise.
449         * config/tc-msp430.c (struct rcodes_s): Likewise.
450         (struct hcodes_s): Likewise.
451         (md_parse_option): Likewise.
452         * config/tc-ns32k.c (struct ns32k_option): Likewise.
453         (optlist): Likewise.
454         * config/tc-ppc.c (ppc_elf_suffix): Likewise.
455         (tc_ppc_regname_to_dw2regnum): Likewise.
456         * config/tc-ppc.h: Likewise.
457         * config/tc-rl78.c: Likewise.
458         * config/tc-rx.c (struct cpu_type): Likewise.
459         * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
460         * config/tc-sparc.c (struct priv_reg_entry): Likewise.
461         (sparc_ip): Likewise.
462         * config/tc-spu.c (insn_fmt_string): Likewise.
463         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
464         * config/tc-v850.c: Likewise.
465         * config/tc-visium.c (struct visium_arch_option_table): Likewise.
466         (struct visium_long_option_table): Likewise.
467         * config/tc-xgate.c: Likewise.
468         * config/tc-z8k.c: Likewise.
469         * read.c (add_include_dir): Likewise.
470         * read.h: Likewise.
471
472 2016-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
473
474         * testsuite/gas/all/gas.exp: Change target pattern to cover
475         arceb-*.
476         * testsuite/gas/all/redef3.d: Likewise.
477         * testsuite/gas/elf/elf.exp: Likewise.
478
479 2016-02-24  Renlin Li  <renlin.li@arm.com>
480
481         * config/tc-arm.c (BAD_FP16): New error message macro.
482         (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
483         fp16 scalar instructions.
484         (neon_check_type): Allow different size from key.
485         (do_vfp_nsyn_add_sub): Add support SE_H shape support.
486         (try_vfp_nsyn): Likewise.
487         (do_vfp_nsyn_mla_mls): Likewise.
488         (do_vfp_nsyn_fma_fms): Likewise.
489         (do_vfp_nsyn_ldm_stm): Likewise
490         (do_vfp_nsyn_sqrt): Likewise
491         (do_vfp_nsyn_div): Likewise
492         (do_vfp_nsyn_nmul): Likewise.
493         (do_vfp_nsyn_cmp): Likewise.
494         (do_neon_shll): Likewise.
495         (do_vfp_nsyn_cvt_fpv8): Likewise.
496         (do_neon_cvttb_2): Likewise.
497         (do_neon_mov): Likewise.
498         (do_neon_rshift_round_imm): Likewise.
499         (do_neon_ldr_str): Likewise.
500         (do_vfp_nsyn_fpv8): Likewise.
501         (do_vmaxnm): Likewise.
502         (do_vrint_1): Likewise.
503         (insns): New entry for vins, vmovx.
504         (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
505         * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
506         * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
507         * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
508         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
509         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
510         * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
511
512 2016-02-24  Renlin Li  <renlin.li@arm.com>
513
514         * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
515         (neon_shape_class): New SC_HALF.
516         (neon_shape_el): New SE_H.
517         (neon_shape_el_size): New size for SE_H.
518         (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
519         (neon_select_shape): Add SE_H support code.
520         (el_type_of_type_chk): Use N_F_ALL.
521         (do_vfp_nsyn_cvt): Add SE_H shape support.
522         (do_neon_cvtz): Likewise.
523         (do_neon_cvt_1): Likewise.
524         (do_neon_cvttb_1): Likewise.
525
526 2016-02-24  Renlin Li  <renlin.li@arm.com>
527
528         * testsuite/gas/arm/copro.d: Adjust output.
529         * testsuite/gas/arm/copro.s: Adjust co-processor num.
530
531 2016-02-24  Renlin Li  <renlin.li@arm.com>
532
533         * testsuite/gas/arm/mask_1.d: New.
534         * testsuite/gas/arm/mask_1.s: New.
535
536 2016-02-24  Renlin Li  <renlin.li@arm.com>
537
538         * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
539         * testsuite/gas/arm/copro.d: Update.
540
541 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
542
543         * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
544         * doc/c-arm.texi (ARM Options): Document cortex-a32.
545
546 2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
547
548     * doc/c-arm.texi (ARM Options): Document cortex-a17.
549
550 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
551
552         * testsuite/gas/elf/elf.exp: Skip tests for common directive on
553         hpux.
554
555 2016-02-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
556
557         * output-file.c (output_file_create): Make file name argument const.
558         (output_file_close): Likewise.
559         * output-file.h (output_file_create): Adjust.
560         (output_file_close): Likewise.
561         * depend.c (quote_string_for_make): Make src argument const char *.
562         (register_dependency): Likewise.
563         (wrap_output): Likewise.
564         * as.h (register_dependency): Adjust.
565         * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
566         as_where ();
567         * symbols.c (S_SET_EXTERNAL): Likewise.
568         * input-scrub.c (as_where): Return the file name.
569         * as.h (as_where): Adjust prototype.
570         * app.c (do_scrub_chars): Adjust.
571         * cond.c (s_elseif): Likewise.
572         (s_else): Likewise.
573         (initialize_cframe): Likewise.
574         * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
575         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
576         * config/obj-som.c (obj_som_init_stab_section): Likewise.
577         * config/tc-aarch64.c (output_info): Likewise.
578         * config/tc-ia64.c (md_assemble): Likewise.
579         (dot_alias): Likewise.
580         * config/tc-m68k.c (m68k_frob_label): Likewise.
581         * config/tc-mmix.c (s_bspec): Likewise.
582         (mmix_handle_mmixal): Likewise.
583         * config/tc-rx.c (rx_include): Likewise.
584         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
585         (tic54x_adjust_symtab): Likewise.
586         * config/tc-xtensa.c (directive_push): Likewise.
587         (xtensa_sanity_check): Likewise.
588         (xtensa_relax_frag): Likewise.
589         (md_convert_frag): Likewise.
590         (tinsn_to_slotbuf): Likewise.
591         * dwarf2dbg.c (dwarf2_where): Likewise.
592         * ecoff.c (add_file): Likewise.
593         (ecoff_generate_asm_lineno): Likewise.
594         * expr.c (make_expr_symbol): Likewise.
595         * frags.c (frag_new): Likewise.
596         (frag_var_init): Likewise.
597         * listing.c (listing_newline): Likewise.
598         * messages.c (identify): Likewise.
599         (as_show_where): Likewise.
600         (as_warn_internal): Likewise.
601         (as_bad_internal): Likewise.
602         * read.c (s_irp): Likewise.
603         (s_macro): Likewise.
604         (s_reloc): Likewise.
605         * stabs.c (stabs_generate_asm_file): Likewise.
606         (stabs_generate_asm_lineno): Likewise.
607         (stabs_generate_asm_func): Likewise.
608         * write.c (fix_new_internal): Likewise.
609         * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
610         (as_warn_value_out_of_range): Adjust prototype.
611         (as_bad_value_out_of_range): Adjust prototype.
612         * messages.c (identify): Make file name argument const char *.
613         (as_warn_internal): Likewise.
614         (as_warn_where): Likewise.
615         (as_bad_internal): Likewise.
616         (as_bad_where): Likewise.
617         (as_internal_value_out_of_range): Likewise.
618         (as_warn_value_out_of_range): Likewise.
619         (as_bad_value_out_of_range): Likewise.
620         * as.h (found_comment_file): Change type to const char *.
621         * cond.c (file_line::file): Likewise.
622         * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
623         * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
624         * config/obj-som.c (obj_som_init_stab_section): Likewise.
625         * config/tc-aarch64.c (output_info): Likewise.
626         * config/tc-alpha.c (insert_operand): Likewise.
627         * config/tc-arc.c (insert_operand): Likewise.
628         * config/tc-d30v.c (check_size): Likewise.
629         * config/tc-ia64.c (struct alias): Likewise.
630         * config/tc-m68k.c (struct label_line): Likewise.
631         * config/tc-mcore.c (md_apply_fix): Likewise.
632         * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
633         * config/tc-mips.c (mips16_immed): Likewise.
634         * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
635         * config/tc-ppc.c (ppc_insert_operand): Likewise.
636         * config/tc-rx.c (rx_include): Likewise.
637         * config/tc-s390.c (s390_insert_operand): Likewise.
638         * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
639         (tic54x_adjust_symtab): Likewise.
640         * config/tc-tilegx.c (insert_operand): Likewise.
641         (apply_special_operator): Likewise.
642         * config/tc-tilepro.c (insert_operand): Likewise.
643         * config/tc-xtensa.c (directive_push): Likewise.
644         * ecoff.c (add_file): Likewise.
645         (ecoff_generate_asm_lineno): Likewise.
646         * listing.c (listing_newline): Likewise.
647         * read.c (s_irp): Likewise.
648         * write.c (install_reloc): Likewise.
649         * write.h (struct fix): Likewise.
650         * input-file.c (file_name): Change type to const char *.
651         (saved_file::file_name): Likewise.
652         (input_file_open): Change type of argument to const char *.
653         * input-file.h (input_file_open): Adjust.
654         * input-scrub.c (logical_input_file): change type to const char *.
655         (physical_input_file): Likewise.
656         (struct input_save): Adjust.
657         (input_scrub_push): Adjust.
658         (input_scrub_begin): Adjust.
659         (as_where): Adjust.
660         * input-scrub.c (input_scrub_new_file): Make file name argument const.
661         (input_scrub_include_file): Likewise.
662         (new_logical_line_flags): Likewise.
663         (new_logical_line): Likewise.
664         * as.h: Adjust.
665         * frags.h (struct frag): Change type of fr_file to const char *.
666         * expr.c (expr_symbol_where): Change type of file argument to
667         const char **.
668         * expr.h (expr_symbol_where): Likewise.
669         * config/tc-i370.c (md_apply_fix): adjust.
670         * config/tc-mmix.c (mmix_md_end): Likewise.
671         * config/tc-ppc.c (md_apply_fix): Likewise.
672         * config/tc-s390.c (md_apply_fix): Likewise.
673         * symbols.c (report_op_error): Likewise.
674         (resolve_symbol_value): Likewise.
675         * config/tc-ia64.c (slot::src_file): Change type to const char *.
676         (rsrc::file): Likewise.
677         * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
678         const char *.
679         (xtensa_relax_frag): Likewise.
680         (md_convert_frag): Likewise.
681         (tinsn_to_slotbuf): Likewise.
682         * expr.c (expr_symbol_line): Likewise.
683         * macro.c (define_macro): Likewise.
684         * macro.h (macro_struct): Likewise.
685         * messages.c (as_show_where): Likewise.
686         * read.c (s_macro): Likewise.
687         * stabs.c (stabs_generate_asm_file): Likewise.
688         (generate_asm_file): Likewise.
689         (stabs_generate_asm_lineno): Likewise.
690         * write.h (struct reloc_list): Likewise.
691         * input-scrub.c (as_where): Change return type to const char *.
692         * as.h (as_wheree): Adjust.
693
694 2016-02-21  H.J. Lu  <hongjiu.lu@intel.com>
695
696         * write.c (compress_debug): Move BFD compression bits setting
697         to ...
698         (write_object_file): Here.
699
700 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
701
702         * config/tc-i386.c (register_number): Check RegVRex.
703         * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
704         with %zmm19 and %zmm3.
705         * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
706         * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
707
708 2016-02-19  Matthew Wahab  <matthew.wahab@arm.com>
709             Jiong Wang  <jiong.wang@arm.com>
710
711         * config/tc-arm.c (arm_ext_fp16): New.
712         (arm_extensions): New entry for "fp16".
713
714 2016-02-19  Nick Clifton  <nickc@redhat.com>
715
716         PR 19630
717         * read.c (read_a_source_file): Check for assemble_one returning
718         with input_line_pointer set to NULL.
719
720 2016-02-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
721
722         * listing.c (rebuffer_line): Change return type to void.
723
724         * symbols.c (decode_local_label_name): Make type a const char *.
725         * listing.c (print_source): Make type of p const char *.
726         (print_line): Make type of string const char *.
727         (buffer_line): Return const char *.
728         (title): Make type const char *.
729         (subtitle): Likewise.
730         (listing_listing): Make type of p const char *.
731         * messages.c (as_internal_value_out_of_range): Make type of prefix
732         const char *.
733         * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
734         and string const char *.
735         * read.c (_bfd_rel): Make type of name const char *.
736         * app.c (out_string): Change type to const char *.
737         (struct app_save::out_string): Likewise.
738
739 2016-02-18  Dan Gisselquist  <dgisselq@verizon.net>
740             Nick Clifton  <nickc@redhat.com>
741
742         * read.c (finish_bundle): Avoid recording a negative alignment.
743         (do_align): Use unsigned values for n, len and max.  Only create
744         a frag if the alignment requirement is greater than the minimum
745         byte alignment.  Avoid recording a negative alignment.
746         (s_align): Use unsigned values where appropriate.
747         (bss_alloc): Use an unsigned value for the alignment.
748         (sizeof_sleb128): Add a comment noting that we encode one octet
749         per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
750         (emit_leb129_expr): Abort if the emitted encoding was longer than
751         expected.
752         * read.h (output_leb128): Update prototype.
753         (sizeof_leb128): Update prototype.
754         (bss_alloc): Update prototype.
755         * write.c (record_alignment): Use an unsigned value for the
756         alignment.  Do not record alignments less than the minimum
757         alignment for a byte.
758         * write.h (record_alignment): Update prototype.
759
760 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
761
762         * config/tc-xtensa.c (xtensa_move_literals): Fix check for
763         .init.literal/.fini.literal section name.
764         * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
765         list of xtensa tests.
766         * testsuite/gas/xtensa/init-fini-literals.d: New file:
767         init-fini-literals test result patterns.
768         * testsuite/gas/xtensa/init-fini-literals.s: New file:
769         init-fini-literals test.
770
771 2016-02-17  Nick Clifton  <nickc@redhat.com>
772
773         * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
774         devices.csv file as of March 2016.
775
776 2016-02-16  Claudiu Zissulescu  <claziss@synopsys.com>
777
778         * config/tc-arc.c (tc_arc_frame_initial_instructions): New
779         function.
780         (tc_arc_regname_to_dw2regnum): Likewise.
781         * config/tc-arc.h (TARGET_USE_CFIPOP): Define
782         (tc_cfi_frame_initial_instructions): Likewise.
783         (tc_regname_to_dw2regnum): Likewise.
784         * testsuite/gas/cfi/cfi-arc-1.d: New file.
785         * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
786         * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
787
788 2016-02-16  Trevor Saunders  <tbsaunde@tbsaunde.org>
789
790         * doc/internals.texi (S_IS_EXTERN): Remove.
791
792 2016-02-16  Nick Clifton  <nickc@redhat.com>
793
794         * doc/as.texinfo (Section): Fix up texinfo snafus in previous
795         update.
796
797 2016-02-16  Renlin Li  <renlin.li@arm.com>
798
799         PR gas/19620
800         * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
801         * testsuite/gas/aarch64/movw_label.d: New.
802         * testsuite/gas/aarch64/movw_label.s: New.
803
804 2016-02-15  Vinay Kumar G. <Vinay.G@kpit.com>
805
806         PR gas/19556
807         * config/rx-parse.y (MOV):  Opcode generation for index
808         register addressing mode.
809         * testsuite/gas/rx/rx.exp: Updated for new testcase.
810         * testsuite/gas/rx/pr19665.s: New file.
811         * testsuite/gas/rx/pr19665.s: New file.
812         * testsuite/gas/rx/mov.d: Update expected output.
813
814 2016-02-15  Nick Clifton  <nickc@redhat.com>
815
816         * doc/as.texinfo (.section): Document that numeric values can now
817         be used for the flags and type fields of the ELF target's .section
818         directive.  Add notes about the restrictions on setting flags and
819         types.
820         * config/obj-elf.c (obj_elf_change_section): Allow known sections
821         to be given processor specific section types.  Allow processor and
822         application specific flags of a section to be set after
823         definition.
824         (obj_elf_parse_section_letters): Handle parsing numeric values.
825         (obj_elf_section_type): Handle parsing numeric values.
826         (obj_elf_section): Allow numeric type values.
827         * config/obj-elf.h (obj_elf_change_section): Update prototype.
828         * testsuite/gas/elf/section10.d: New test.
829         * testsuite/gas/elf/section10.s: Source file for new test.
830         * testsuite/gas/elf/elf.exp: Run the new test.
831         * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
832         the description of the flags produced by readelf.
833         * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
834         * NEWS: Mention the new feature.
835
836 2016-02-11  Nick Clifton  <nickc@redhat.com>
837
838         PR gas/19614
839         * dw2gencfi.c (cfi_sections_set): Delay setting this variable
840         until it is actually used.
841         (cfi_set_sections): Set cfi_sections_set to true.
842         (dot_cfi_startproc): Likewise.
843         (dot_cfi_endproc): Likewise.
844         (dot_cfi_fde_data): Likewise.
845         (cfi_finish): Likewise.
846         (dot_cfi_sections): Do not set cfi_sections_set.
847         * doc/as.texinfo (.cfi_sections): Note that targets can provide
848         their own cfi section name.  Also note that the directive can be
849         reissued provided that CFI generation has not started.
850         * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
851         .cfi_endproc directives so that the redefinition of .cfi_sections
852         will trigger the generation of the error message.
853         * testsuite/gas/mips/compact-eh-err2.l: Update expected line
854         number of error message.
855
856 2016-02-10  Claudiu Zissulescu  <claziss@synopsys.com>
857             Janek van Oirschot <jvanoirs@synopsys.com>
858
859         * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
860         (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
861         Define.
862         (arc_flags, arc_relax_type): New structure.
863         * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
864         (RELAX_TABLE_ENTRY_MAX): New define.
865         (relaxation_state, md_relax_table, arc_relaxable_insns)
866         (arc_num_relaxable_ins): New variable.
867         (rlx_operand_type, arc_rlx_types): New enums.
868         (arc_relaxable_ins): New structure.
869         (OPTION_RELAX): New option.
870         (arc_insn): New relax member.
871         (arc_flags): Remove.
872         (relax_insn_p): New function.
873         (apply_fixups): Likewise.
874         (relaxable_operand): Likewise.
875         (may_relax_expr): Likewise.
876         (relaxable_flag): Likewise.
877         (arc_pcrel_adjust): Likewise.
878         (md_estimate_size_before_relax): Implement.
879         (md_convert_frag): Likewise.
880         (md_parse_option): Handle new mrelax option.
881         (md_show_usage): Likewise.
882         (assemble_insn): Set relax member.
883         (emit_insn0): New function.
884         (emit_insn1): Likewise.
885         (emit_insn): Handle relaxation case.
886         * NEWS: Mention the new relaxation option.
887         * doc/c-arc.texi (ARC Options): Document new mrelax option.
888         * doc/as.texinfo (Target ARC Options): Likewise.
889         * testsuite/gas/arc/relax-avoid1.d: New file.
890         * testsuite/gas/arc/relax-avoid1.s: Likewise.
891         * testsuite/gas/arc/relax-avoid2.d: Likewise.
892         * testsuite/gas/arc/relax-avoid2.s: Likewise.
893         * testsuite/gas/arc/relax-avoid3.d: Likewise.
894         * testsuite/gas/arc/relax-avoid3.s: Likewise.
895         * testsuite/gas/arc/relax-b.d: Likewise.
896         * testsuite/gas/arc/relax-b.s: Likewise.
897
898 2016-02-08  Nick Clifton  <nickc@redhat.com>
899
900         * config/tc-ia64.c (dot_prologue): Fix formatting.
901
902 2016-02-04  Nick Clifton  <nickc@redhat.com>
903
904         * config/obj-elf.c (obj_elf_change_section): Remove support for
905         ARM NOREAD sections.
906         * config/tc-arm.c (arm_elf_section_letter): Delete.
907         * config/tc-arm.h (md_elf_section_letter): Delete.
908         * doc/c-arm.texi (ARM Section Attribute): Delete section.
909         * testsuite/gas/arm/section-execute-only.d: Delete.
910         * testsuite/gas/arm/section-execute-only.s: Delete.
911
912 2016-02-04  Nick Clifton  <nickc@redhat.com>
913
914         PR target/19561
915         * config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
916         to handle encoding of RRUX instruction.
917         * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
918         shift instructions.
919         * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
920
921 2016-02-03  Max Filippov  <jcmvbkbc@gmail.com>
922
923         * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
924         substitutions for BFD_RELOC_* as unsigned.
925         * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
926         * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
927         * testsuite/gas/xtensa/loc.s: New file: loc test.
928
929 2016-02-03  Kevin Buettner  <kevinb@redhat.com>
930
931         * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
932
933 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
934
935         PR gas/19520
936         * NEWS: Mention new command line option -mrelax-relocations and
937         new configure option --enable-x86-relax-relocations for x86
938         target.
939         * config.in: Regenerated.
940         * configure.ac: Add --enable-x86-relax-relocations.
941         (ac_default_x86_relax_relocations): New.  Default to 1 except
942         for x86 Solaris targets older than Solaris 12.
943         (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
944         * configure: Likewise.
945         * config/tc-i386.c (generate_relax_relocations): New.
946         (OPTION_MRELAX_RELOCATIONS): Likewise.
947         (output_disp): Don't generate relax relocations if
948         generate_relax_relocations is 0.
949         (md_longopts): Add -mrelax-relocations.
950         (md_show_usage): Likewise.
951         (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
952         * doc/c-i386.texi: Document -mrelax-relocations=.
953         * testsuite/gas/i386/got-no-relax.d: New file.
954         * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
955         * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
956         * testsuite/gas/i386/localpic.d: Likewise.
957         * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
958         * testsuite/gas/i386/reloc32.d: Likewise.
959         * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
960         * testsuite/gas/i386/x86-64-localpic.d: Likewise.
961         * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
962         * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
963         * testsuite/gas/i386/i386.exp: Run got-no-relax and
964         x86-64-gotpcrel-no-relax.
965
966 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
967
968         * NEWS: Mention new command line option -mfence-as-lock-add=yes
969         for x86 target.
970
971 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
972
973         * NEWS: Remove duplicated marker for 2.26.
974
975 2016-02-02  Renlin Li  <renlin.li@arm.com>
976
977         * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
978
979 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
980
981         * testsuite/gas/ip2k/allinsn.d: New file.
982         * testsuite/gas/ip2k/allinsn.s: New file.
983         * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
984
985 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
986
987         * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
988         some load instructions.
989         * testsuite/gas/epiphany/allinsn.d: Likewise.
990         * testsuite/gas/epiphany/regression.d: Likewise.
991
992 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
993
994         * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
995         suffixes from instruction mnemonics in expected output.
996         * testsuite/gas/epiphany/allinsn.d: Likewise.
997         * testsuite/gas/epiphany/regression.d: Likewise.
998         * testsuite/gas/epiphany/sample.d: Likewise.
999
1000 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
1001
1002         * testsuite/gas/epiphany/addr-syntax.d: Update expected register
1003         names.
1004         * testsuite/gas/epiphany/allinsn.d: Likewise.
1005         * testsuite/gas/epiphany/sample.d: Likewise.
1006
1007 2016-02-02  Andrew Burgess  <andrew.burgess@embecosm.com>
1008
1009         * testsuite/gas/epiphany/sample.d: Update expected output.
1010
1011 2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
1012
1013         * config/tc-arc.c (md_apply_fix): Allow addendum.
1014         (arc_reloc_op): Allow complex expressions for tpoff.
1015         (md_apply_fix): Handle resolved TLS local symbol.
1016
1017         * testsuite/gas/arc/tls-relocs1.d: New file.
1018         * testsuite/gas/arc/tls-relocs1.s: Likewise.
1019
1020 2016-02-01  Loria  <Loria@phantasia.org>
1021
1022         PR target/19311
1023         * config/tc-arm.c (encode_arm_immediate): Recode to improve
1024         efficiency and avoid an LLVM loop optimization bug.
1025
1026 2016-02-01  Nick Clifton  <nickc@redhat.com>
1027
1028         * config/tc-microblaze.c (parse_imm): Fix compile time warning
1029         message extending a negative 32-bit value into a larger signed
1030         value on a 32-bit host.
1031
1032 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1033
1034         PR gas/19532
1035         * configure.ac (compressed_debug_sections): Replace == with =.
1036         * configure: Regenerated.
1037
1038 2016-01-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1039             H.J. Lu  <hongjiu.lu@intel.com>
1040
1041         * config/tc-i386.c (avoid_fence): New.
1042         (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
1043         is true.
1044         (OPTION_FENCE_AS_LOCK_ADD): New.
1045         (md_longopts): Add -mfence-as-lock-add.
1046         (md_parse_option): Handle -mfence-as-lock-add.
1047         (md_show_usage): Add -mfence-as-lock-add=[no|yes].
1048         * doc/c-i386.texi (-mfence-as-lock-add): Document.
1049         * testsuite/gas/i386/i386.exp: Run new tests.
1050         * testsuite/gas/i386/fence-as-lock-add.s: New.
1051         * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
1052         * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
1053         * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
1054         * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
1055
1056 2016-01-27  H.J. Lu  <hongjiu.lu@intel.com>
1057
1058         * configure.ac (compressed_debug_sections): Remove trailing `]'.
1059         * configure: Regenerated.
1060
1061 2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
1062
1063         * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
1064         (OPTION_MOMIT_LOCK_PREFIX): This.
1065         (md_longopts): Updated.
1066         (md_parse_option): Likewise.
1067
1068 2016-01-25  Catherine Moore  <clm@codesourcery.com>
1069
1070         * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
1071         if abicalls are in effect.
1072         * testsuite/gas/mips/sdata-gp.s: New test.
1073         * testsuite/gas/mips/sdata-gp.d: New expected output
1074         * testsuite/gas/mips/mips.exp: Run new test.
1075
1076 2016-01-25  Renlin Li  <renlin.li@arm.com>
1077
1078         * testsuite/gas/arm/thumb2_it_search.d: New.
1079         * testsuite/gas/arm/thumb2_it_search.s: New.
1080
1081 2016-01-21  Nick Clifton  <nickc@redhat.com>
1082
1083         PR gas/19454
1084         * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
1085         with arm-netbsdelf target.
1086         * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
1087
1088 2016-01-20  Nick Clifton  <nickc@redhat.com>
1089
1090         PR 19456
1091         * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
1092         * testsuite/gas/arm/blx-bl-convert.d
1093         * testsuite/gas/arm/plt-1.d: Likewise.
1094         * testsuite/gas/arm/reloc-bad.d: Likewise.
1095         * testsuite/gas/arm/thumb-w-good.d: Likewise.
1096         * testsuite/gas/arm/thumb2_pool.d: Likewise.
1097         * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
1098         * testsuite/gas/arm/tls_vxworks.d: Update expected output.
1099
1100         PR 19499
1101         * doc/as.texinfo (Errors): Correct documentation describing the
1102         interaction of .file and .line with warning and error messages.
1103
1104         PR 19458
1105         * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
1106         * testsuite/gas/arm/archv8m-main.d: Likewise.
1107         * testsuite/gas/arm/archv8m-base.d: Likewise.
1108
1109 2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>
1110
1111         * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
1112         * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
1113         * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
1114
1115 2016-01-20  Mickael Guene  <mickael.guene@st.com>
1116             Terry Guo  <terry.guo@arm.com>
1117
1118         * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
1119         SHF_ARM_NOREAD section flag.
1120         * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
1121         handle letter 'y'.
1122         (arm_elf_section_letter) : Declare it.
1123         * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
1124         SHF_ARM_NOREAD section flag.
1125         * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
1126
1127         * testsuite/gas/arm/section-execute-only.s: New test case.
1128         * testsuite/gas/arm/section-execute-only.d: Expected output.
1129
1130 2016-01-18  Maciej W. Rozycki  <macro@imgtec.com>
1131
1132         * config/tc-mips.c (micromips_insn_length): Remove the mention
1133         of 48-bit microMIPS instructions.
1134
1135 2016-01-18  Alan Modra  <amodra@gmail.com>
1136
1137         * configure: Regenerate.
1138
1139 2016-01-17  Alan Modra  <amodra@gmail.com>
1140
1141         * configure: Regenerate.
1142
1143 2016-01-17  Alan Modra  <amodra@gmail.com>
1144
1145         * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
1146
1147 2016-01-14  Nick Clifton  <nickc@redhat.com>
1148
1149         * testsuite/gas/rl78/sp-relative-movw.s: New test.
1150         * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
1151         * testsuite/gas/rl78/rl78.exp: Run the new test.
1152
1153 2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>
1154
1155         * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
1156         * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
1157
1158 2016-01-13  Maciej W. Rozycki  <macro@imgtec.com>
1159
1160         * config/tc-nios2.c (output_movia): Preset `code' to 0.
1161
1162 2016-01-13  Yoshinori Sato  <ysato@users.sourceforge.jp>
1163
1164         * config/tc-h8300.c (get_operand): Remove spurious condition in
1165         test for closing parenthesis.
1166
1167 2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>
1168
1169         * config/tc-arm.c (arm_ext_v8_2): New.
1170         (insns): Add "esb".
1171         * testsuite/gas/arm/armv8_2-a.d: New.
1172         * testsuite/gas/arm/armv8_2-a.s: New.
1173
1174 2016-01-12  Alan Modra  <amodra@gmail.com>
1175
1176         * testsuite/gas/ppc/vsx3.d: Accept nop padding.
1177
1178 2016-01-11  Peter Bergner <bergner@vnet.ibm.com>
1179
1180         * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
1181         xvcmpnesp, xvcmpnesp.>: Delete tests.
1182         * testsuite/gas/ppc/power9.s: Likewise.
1183         * testsuite/gas/ppc/vsx3.d: Likewise.
1184         * testsuite/gas/ppc/vsx3.s: Likewise.
1185
1186 2016-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1187
1188         PR gas/13050
1189         * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
1190         * testsuite/gas/m68k/p13050-1.s: New file.
1191         * testsuite/gas/m68k/p13050-2.d: New file.
1192         * testsuite/gas/m68k/p13050-2.s: New file.
1193
1194 2016-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1195
1196         * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
1197         * testsuite/gas/arc/add.d: Likewise.
1198         * testsuite/gas/arc/and.d: Likewise.
1199         * testsuite/gas/arc/asl.d: Likewise.
1200         * testsuite/gas/arc/asr.d: Likewise.
1201         * testsuite/gas/arc/bic.d: Likewise.
1202         * testsuite/gas/arc/extb.d: Likewise.
1203         * testsuite/gas/arc/extw.d: Likewise.
1204         * testsuite/gas/arc/j.d: Likewise.
1205         * testsuite/gas/arc/jl.d: Likewise.
1206         * testsuite/gas/arc/ld2.d: Likewise.
1207         * testsuite/gas/arc/lsr.d: Likewise.
1208         * testsuite/gas/arc/mov.d: Likewise.
1209         * testsuite/gas/arc/or.d: Likewise.
1210         * testsuite/gas/arc/pcl-relocs.d: Likewise.
1211         * testsuite/gas/arc/pcrel-relocs.d: Likewise.
1212         * testsuite/gas/arc/pic-relocs.d: Likewise.
1213         * testsuite/gas/arc/plt-relocs.d: Likewise.
1214         * testsuite/gas/arc/rlc.d: Likewise.
1215         * testsuite/gas/arc/ror.d: Likewise.
1216         * testsuite/gas/arc/rrc.d: Likewise.
1217         * testsuite/gas/arc/sbc.d: Likewise.
1218         * testsuite/gas/arc/sda-relocs.d: Likewise.
1219         * testsuite/gas/arc/sda-relocs2.d: Likewise.
1220         * testsuite/gas/arc/sexb.d: Likewise.
1221         * testsuite/gas/arc/sexw.d: Likewise.
1222         * testsuite/gas/arc/st.d: Likewise.
1223         * testsuite/gas/arc/sub.d: Likewise.
1224         * testsuite/gas/arc/tls-relocs.d: Likewise.
1225         * testsuite/gas/arc/xor.d: Likewise.
1226
1227 2016-01-01  Alan Modra  <amodra@gmail.com>
1228
1229         Update year range in copyright notice of all files.
1230
1231 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1232 \f
1233 Copyright (C) 2016 Free Software Foundation, Inc.
1234
1235 Copying and distribution of this file, with or without modification,
1236 are permitted in any medium without royalty provided the copyright
1237 notice and this notice are preserved.
1238
1239 Local Variables:
1240 mode: change-log
1241 left-margin: 8
1242 fill-column: 74
1243 version-control: never
1244 End: