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