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