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