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