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