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