aa507703ff0dea3347563d1d742a3405d1c2fb8d
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2
3 * config/tc-rx.c (struct cpu_type): Change the type of a field from
4 int to enum rx_cpu_types.
5
6 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
7
8 * config/tc-dlx.c (struct machine_it): change the type of a field from
9 int to bfd_reloc_code_real_type.
10 * config/tc-tic4x.c: Likewise.
11
12 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
13
14 * config/tc-v850.c (v850_target_arch): change type to enum
15 bfd_architecture.
16 * config/tc-v850.h (v850_target_arch): Likewise.
17
18 2016-05-18 Alan Modra <amodra@gmail.com>
19
20 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
21 allowed negative range.
22 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
23 * testsuite/gas/ppc/power9.d: Update.
24
25 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
26
27 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
28 disassembling and stop skipping targets.
29 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
30 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
31 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
32 instruction for targets that have stronger alignment requirement.
33 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
34 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
35 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
36 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
37 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
38 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
39 * testsuite/gas/arm/archv8m-main.d: Likewise.
40 * testsuite/gas/arm/archv8m.s: Add label.
41 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
42 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
43 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
44
45 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
46
47 * config/tc-m32r.c (mach_table): Make static and const.
48
49 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
50
51 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
52 definition.
53
54 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
55
56 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
57 defining it.
58 * config/tc-msp430.c (md_begin): Likewise.
59
60 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
61
62 * config/tc-m68hc11.c (fixup8): Change variables type from int to
63 bfd_reloc_code_real_type where appropriate.
64 (fixup16): Likewise.
65 (fixup8_xg): Likewise.
66
67 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
68
69 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
70
71 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
72
73 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
74 * testsuite/gas/ppc/power9.s: Likewise.
75
76 2016-05-13 Alan Modra <amodra@gmail.com>
77
78 * config/obj-coff.c (weak_uniquify): Delete unused var.
79
80 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
81
82 * app.c (app_push): Use XNEW and related macros.
83 * as.c (parse_args): Likewise.
84 * cgen.c (make_right_shifted_expr): Likewise.
85 (gas_cgen_tc_gen_reloc): Likewise.
86 * config/bfin-defs.h: Likewise.
87 * config/bfin-parse.y: Likewise.
88 * config/obj-coff.c (stack_init): Likewise.
89 (stack_push): Likewise.
90 (coff_obj_symbol_new_hook): Likewise.
91 (coff_obj_symbol_clone_hook): Likewise.
92 (add_lineno): Likewise.
93 (coff_frob_symbol): Likewise.
94 * config/obj-elf.c (obj_elf_section_name): Likewise.
95 (build_group_lists): Likewise.
96 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
97 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
98 * config/tc-aarch64.c (insert_reg_alias): Likewise.
99 (find_or_make_literal_pool): Likewise.
100 (add_to_lit_pool): Likewise.
101 (fill_instruction_hash_table): Likewise.
102 * config/tc-alpha.c (load_expression): Likewise.
103 (emit_jsrjmp): Likewise.
104 (s_alpha_ent): Likewise.
105 (s_alpha_end): Likewise.
106 (s_alpha_linkage): Likewise.
107 (md_begin): Likewise.
108 (tc_gen_reloc): Likewise.
109 * config/tc-arc.c (arc_insert_opcode): Likewise.
110 (arc_extcorereg): Likewise.
111 * config/tc-bfin.c: Likewise.
112 * config/tc-cr16.c: Likewise.
113 * config/tc-cris.c: Likewise.
114 * config/tc-crx.c (preprocess_reglist): Likewise.
115 * config/tc-d10v.c: Likewise.
116 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
117 (frv_tomcat_shuffle): Likewise.
118 * config/tc-h8300.c: Likewise.
119 * config/tc-i370.c (i370_macro): Likewise.
120 * config/tc-i386.c (lex_got): Likewise.
121 (md_parse_option): Likewise.
122 * config/tc-ia64.c (alloc_record): Likewise.
123 (set_imask): Likewise.
124 (save_prologue_count): Likewise.
125 (dot_proc): Likewise.
126 (dot_endp): Likewise.
127 (ia64_frob_label): Likewise.
128 (add_qp_imply): Likewise.
129 (add_qp_mutex): Likewise.
130 (mark_resource): Likewise.
131 (dot_alias): Likewise.
132 * config/tc-m68hc11.c: Likewise.
133 * config/tc-m68k.c (m68k_frob_label): Likewise.
134 (s_save): Likewise.
135 (mri_control_label): Likewise.
136 (push_mri_control): Likewise.
137 (build_mri_control_operand): Likewise.
138 (s_mri_else): Likewise.
139 (s_mri_break): Likewise.
140 (s_mri_next): Likewise.
141 (s_mri_for): Likewise.
142 (s_mri_endw): Likewise.
143 * config/tc-metag.c (create_mnemonic_htab): Likewise.
144 * config/tc-microblaze.c: Likewise.
145 * config/tc-mmix.c (s_loc): Likewise.
146 * config/tc-nds32.c (nds32_relax_hint): Likewise.
147 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
148 * config/tc-rl78.c: Likewise.
149 * config/tc-rx.c (rx_include): Likewise.
150 * config/tc-sh.c: Likewise.
151 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
152 * config/tc-sparc.c: Likewise.
153 * config/tc-spu.c: Likewise.
154 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
155 (tic6x_start_unwind_section): Likewise.
156 * config/tc-tilegx.c: Likewise.
157 * config/tc-tilepro.c: Likewise.
158 * config/tc-v850.c: Likewise.
159 * config/tc-visium.c: Likewise.
160 * config/tc-xgate.c: Likewise.
161 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
162 (new_resource_table): Likewise.
163 (resize_resource_table): Likewise.
164 (xtensa_create_trampoline_frag): Likewise.
165 (xtensa_maybe_create_literal_pool_frag): Likewise.
166 (cache_literal_section): Likewise.
167 * config/xtensa-relax.c (append_transition): Likewise.
168 (append_condition): Likewise.
169 (append_value_condition): Likewise.
170 (append_constant_value_condition): Likewise.
171 (append_literal_op): Likewise.
172 (append_label_op): Likewise.
173 (append_constant_op): Likewise.
174 (append_field_op): Likewise.
175 (append_user_fn_field_op): Likewise.
176 (enter_opname_n): Likewise.
177 (enter_opname): Likewise.
178 (split_string): Likewise.
179 (parse_insn_templ): Likewise.
180 (clone_req_or_option_list): Likewise.
181 (clone_req_option_list): Likewise.
182 (parse_option_cond): Likewise.
183 (parse_insn_pattern): Likewise.
184 (parse_insn_repl): Likewise.
185 (build_transition): Likewise.
186 (build_transition_table): Likewise.
187 * dw2gencfi.c (alloc_fde_entry): Likewise.
188 (alloc_cfi_insn_data): Likewise.
189 (cfi_add_CFA_remember_state): Likewise.
190 (dot_cfi_escape): Likewise.
191 (dot_cfi_fde_data): Likewise.
192 (select_cie_for_fde): Likewise.
193 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
194 * ecoff.c (ecoff_add_bytes): Likewise.
195 (ecoff_build_debug): Likewise.
196 * input-scrub.c (input_scrub_push): Likewise.
197 (input_scrub_begin): Likewise.
198 (input_scrub_next_buffer): Likewise.
199 * itbl-ops.c (append_insns_as_macros): Likewise.
200 (alloc_entry): Likewise.
201 (alloc_field): Likewise.
202 * listing.c (listing_newline): Likewise.
203 (listing_listing): Likewise.
204 * macro.c (get_any_string): Likewise.
205 (delete_macro): Likewise.
206 * stabs.c (generate_asm_file): Likewise.
207 (stabs_generate_asm_lineno): Likewise.
208 * subsegs.c (subseg_change): Likewise.
209 (subseg_get): Likewise.
210 * symbols.c (define_dollar_label): Likewise.
211 (symbol_relc_make_sym): Likewise.
212 * write.c (write_relocs): Likewise.
213
214 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
215
216 * config/obj-coff.c (obj_coff_def): Simplify string copying.
217 (weak_name2altname): Likewise.
218 (weak_uniquify): Likewise.
219 (obj_coff_section): Likewise.
220 (obj_coff_init_stab_section): Likewise.
221 * config/obj-elf.c (obj_elf_section_name): Likewise.
222 (obj_elf_init_stab_section): Likewise.
223 * config/obj-evax.c (evax_shorten_name): Likewise.
224 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
225 * config/tc-aarch64.c (create_register_alias): Likewise.
226 * config/tc-alpha.c (load_expression): Likewise.
227 (s_alpha_file): Likewise.
228 (s_alpha_section_name): Likewise.
229 (tc_gen_reloc): Likewise.
230 * config/tc-arc.c (md_assemble): Likewise.
231 * config/tc-arm.c (create_neon_reg_alias): Likewise.
232 (start_unwind_section): Likewise.
233 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
234 (hppa_elf_mark_end_of_function): Likewise.
235 * config/tc-nios2.c (nios2_modify_arg): Likewise.
236 (nios2_negate_arg): Likewise.
237 * config/tc-rx.c (rx_section): Likewise.
238 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
239 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
240 * config/tc-tic54x.c (tic54x_include): Likewise.
241 (tic54x_macro_info): Likewise.
242 (subsym_get_arg): Likewise.
243 (subsym_substitute): Likewise.
244 (tic54x_start_line_hook): Likewise.
245 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
246 (xg_reverse_shift_count): Likewise.
247 * config/xtensa-relax.c (enter_opname_n): Likewise.
248 (split_string): Likewise.
249 * dwarf2dbg.c (get_filenum): Likewise.
250 (process_entries): Likewise.
251 * expr.c (operand): Likewise.
252 * itbl-ops.c (alloc_entry): Likewise.
253 * listing.c (listing_message): Likewise.
254 (listing_title): Likewise.
255 * macro.c (check_macro): Likewise.
256 * stabs.c (s_xstab): Likewise.
257 * symbols.c (symbol_relc_make_expr): Likewise.
258 * write.c (compress_debug): Likewise.
259
260 2016-05-12 Nick Clifton <nickc@redhat.com>
261
262 PR target/20068
263 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
264
265 2016-05-11 Nick Clifton <nickc@redhat.com>
266
267 PR target/20068
268 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
269 big endian ARM configurations.
270
271 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
272 Matthew Fortune <matthew.fortune@imgtec.com>
273
274 * config/tc-mips.c (options): Add OPTION_DSPR3 and
275 OPTION_NO_DSPR3.
276 (md_longopts): Likewise.
277 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
278 (mips_ases): Define availability for DSPr3.
279 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
280 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
281 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
282 formatting.
283 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
284 .set nodspr3. Fix -mdspr2 formatting.
285 * testsuite/gas/mips/mips32-dspr3.d: New file.
286 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
287 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
288
289 2016-05-11 Nick Clifton <nickc@redhat.com>
290
291 PR target/20068
292 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
293 to the pool uses O_constant.
294 * testsuite/gas/arm/pr20068.s: New test.
295 * testsuite/gas/arm/pr20068.d: Test driver.
296
297 2016-05-11 Nick Clifton <nickc@redhat.com>
298
299 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
300 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
301 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
302 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
303 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
304 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
305 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
306 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
307 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
308
309 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
310
311 * testsuite/gas/i386/i386.exp: Run RDPID tests.
312 * testsuite/gas/i386/prefix.d: Adjust.
313 * testsuite/gas/i386/rdpid.s: New test.
314 * testsuite/gas/i386/rdpid.d: Ditto.
315 * testsuite/gas/i386/rdpid-intel.d: Ditto.
316 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
317 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
318 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
319
320 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
321
322 * config/tc-i386.c (cpu_arch): Add RDPID.
323 * doc/c-i386.texi: Document RDPID.
324
325 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
326
327 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
328 set branch type of a symbol.
329
330 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
331
332 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
333 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
334 instructions.
335 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
336 (aeabi_set_public_attributes): Memorize the feature bits of the
337 architecture selected for Tag_CPU_arch. Use it to set
338 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
339 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
340 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
341 * testsuite/gas/arm/arch7em-bad-1.d: This.
342 * testsuite/gas/arm/arch7em-bad-2.d: New file.
343 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
344 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
345 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
346 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
347 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
348 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
349 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
350
351 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
352
353 * config/tc-arm.c (struct arm_option_extension_value_table): Make
354 allowed_archs an array with 2 entries.
355 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
356 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
357 (arm_extensions): Use separate entries in allowed_archs when several
358 archs are allowed to use an extension and change ARCH_ANY in
359 ARM_ARCH_NONE in allowed_archs.
360 (arm_parse_extension): Check that, for each allowed_archs entry, all
361 bits are set in the current architecture, ignoring ARM_ANY entries.
362 (s_arm_arch_extension): Likewise.
363
364 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
365
366 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
367 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
368 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
369 shared with a non M profile architecture.
370 (do_rn): New function.
371 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
372 than arm_ext_v8m.
373 (v7m_psrs): Add ARMv8-M security extensions new special registers.
374 (insns): Add ARMv8-M Security Extensions instructions.
375 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
376 arm_ext_v8m_m to decide the profile and the Thumb ISA.
377 * testsuite/gas/arm/archv8m-cmse.s: New file.
378 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
379 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
380 * testsuite/gas/arm/any-cmse.d: Likewise.
381 * testsuite/gas/arm/any-cmse-main.d: Likewise.
382 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
383 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
384 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
385 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
386 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
387
388 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
389
390 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
391 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
392
393 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
394
395 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
396 (fpu_arch_vfp_v3): Likewise.
397 (fpu_arch_neon_v1): Likewise.
398 (arm_arch_full): Likewise.
399 (parse_neon_el_struct_list): Initialize fields of firsttype.
400
401 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
402
403 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
404 (arc_extinsn): Handle new introduced syntax.
405 * testsuite/gas/arc/textinsn1op.d: New file.
406 * testsuite/gas/arc/textinsn1op.s: Likewise.
407 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
408
409 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
410
411 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
412 DW_LNS_fixed_advance_pc.
413
414 2016-04-27 Alan Modra <amodra@gmail.com>
415
416 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
417 (xmemdup0): New inline function.
418
419 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
420
421 * config/tc-mips.c (code_option_type): New enum.
422 (parse_code_option): Return status indicating option type.
423 (s_mipsset): Update `parse_code_option' call site accordingly.
424 Always set register sizes from the ISA with ISA overrides.
425 (s_module): Update `parse_code_option' call site.
426 * testsuite/gas/mips/isa-override-1.d: New test.
427 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
428 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
429 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
430 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
431 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
432 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
433 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
434 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
435 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
436 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
437 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
438 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
439 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
440 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
441 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
442 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
443 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
444 * testsuite/gas/mips/isa-override-2.l: New list test.
445 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
446 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
447 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
448 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
449 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
450 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
451 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
452 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
453 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
454 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
455 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
456 output.
457 * testsuite/gas/mips/isa-override-1.s: New test source.
458 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
459 * testsuite/gas/mips/isa-override-2.s: New test source.
460 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
461 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
462 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
463 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
464 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
465 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
466 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
467 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
468 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
469 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
470 * testsuite/gas/mips/mips.exp: Run the new tests.
471
472 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
473
474 * cgen.c: Likewise.
475 * config/tc-bfin.c: Likewise.
476 * config/tc-ia64.c: Likewise.
477 * config/tc-mep.c: Likewise.
478 * config/tc-metag.c: Likewise.
479 * config/tc-nios2.c: Likewise.
480 * config/tc-rl78.c: Likewise.
481
482 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
483
484 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
485 -mcpu. Add cross reference to .cpu directive from -mcpu option.
486 (ARC Directives): Add NPS400 to .cpu directive list.
487
488 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
489
490 * config/tc-aarch64.c (aarch64_features): Add "ras".
491 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
492 * testsuite/gas/aarch64/armv8-ras-1.d: New.
493 * testsuite/gas/aarch64/armv8-ras-1.s: New.
494 * testsuite/gas/aarch64/illegal-ras-1.d: New.
495 * testsuite/gas/aarch64/illegal-ras-1.s: New.
496
497 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
498
499 * testsuite/gas/arc/nps400-6.d: New file.
500 * testsuite/gas/arc/nps400-6.s: New file.
501
502 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
503
504 * testsuite/gas/arc/nps400-4.d: New file.
505 * testsuite/gas/arc/nps400-4.s: New file.
506 * testsuite/gas/arc/nps400-5.d: New file.
507 * testsuite/gas/arc/nps400-5.s: New file.
508
509 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
510
511 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
512 documentation.
513
514 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
515
516 Revert prevous change.
517 * config/tc-arc.c (arc_option): Make .cpu directive
518 case-sensitive again.
519
520 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
521
522 * config/tc-arc.c (arc_option): Make .cpu directive
523 case-insensitive.
524
525 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
526
527 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
528
529 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
530
531 * config/tc-mips.c (md_begin): Remove useless assignment.
532
533 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
534
535 * Makefile.in: Regenerated with automake 1.11.6.
536 * aclocal.m4: Likewise.
537 * doc/Makefile.in: Likewise.
538
539 2016-04-15 Alan Modra <amodra@gmail.com>
540
541 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
542
543 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
544
545 * config/tc-nios2.c (nios2_as_options): Make file static.
546 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
547 * config/tc-sparc.c (native_op_table): Likewise.
548
549 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
550
551 * config/tc-m32c.c (M32C_Macros): Remove.
552 * config/tc-msp430.c (option_numbers): Likewise.
553
554 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
555
556 * testsuite/gas/arc/nps400-3.d: New file.
557 * testsuite/gas/arc/nps400-3.s: New file.
558
559 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 * testsuite/gas/arc/add_s-err.s: Update target pattern.
562 * testsuite/gas/arc/warn.s: Likewise.
563 * testsuite/gas/elf/elf.exp: Run test for arc.
564
565 2016-04-14 Nick Clifton <nickc@redhat.com>
566
567 PR target/19938
568 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
569 sections possibly having the SHF_STRINGS flag bit set.
570 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
571
572 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
573
574 * config/tc-arc.c (mach_type_specified_p): Change type to
575 bfd_boolean.
576 (arc_option): Set private flags when parsing cpu pseudo-op.
577 (md_parse_option): Set mach_type_specified_p to TRUE.
578
579 2016-04-13 Nick Clifton <nickc@redhat.com>
580
581 PR target/19937
582 * testsuite/gas/v850/pr19937.s: New test.
583 * testsuite/gas/v850/pr19937.d: New test control file.
584 * testsuite/gas/v850/basic.exp: Run the new test.
585
586 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
587 Andrew Bennett <andrew.bennett@imgtec.com>
588
589 * config/tc-mips.c (relaxed_branch_length): Use the long
590 sequence where the target is a weak symbol.
591 (relaxed_micromips_32bit_branch_length): Likewise.
592 (relaxed_micromips_16bit_branch_length): Likewise.
593 * testsuite/gas/mips/branch-weak-1.d: New test.
594 * testsuite/gas/mips/branch-weak-2.d: New test.
595 * testsuite/gas/mips/branch-weak-3.d: New test.
596 * testsuite/gas/mips/branch-weak-4.d: New test.
597 * testsuite/gas/mips/branch-weak-5.d: New test.
598 * testsuite/gas/mips/branch-weak.l: New stderr output.
599 * testsuite/gas/mips/branch-weak.s: New test source.
600 * testsuite/gas/mips/mips.exp: Run the new tests.
601
602 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
603
604 * config/tc-mips.c (relaxed_branch_length): Use the long
605 sequence where the distance cannot be determined.
606 (relaxed_micromips_32bit_branch_length): Likewise.
607 * testsuite/gas/mips/branch-extern-1.d: New test.
608 * testsuite/gas/mips/branch-extern-2.d: New test.
609 * testsuite/gas/mips/branch-extern-3.d: New test.
610 * testsuite/gas/mips/branch-extern-4.d: New test.
611 * testsuite/gas/mips/branch-extern.l: New stderr output.
612 * testsuite/gas/mips/branch-extern.s: New test source.
613 * testsuite/gas/mips/branch-section-1.d: New test.
614 * testsuite/gas/mips/branch-section-2.d: New test.
615 * testsuite/gas/mips/branch-section-3.d: New test.
616 * testsuite/gas/mips/branch-section-4.d: New test.
617 * testsuite/gas/mips/branch-section.l: New stderr output.
618 * testsuite/gas/mips/branch-section.s: New test source.
619 * testsuite/gas/mips/mips.exp: Run the new tests.
620
621 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
622
623 * testsuite/gas/arc/textauxregister.d: New file.
624 * testsuite/gas/arc/textauxregister.s: Likewise.
625 * testsuite/gas/arc/textcondcode.d: Likewise.
626 * testsuite/gas/arc/textcondcode.s: Likewise.
627 * testsuite/gas/arc/textcoreregister.d: Likewise.
628 * testsuite/gas/arc/textcoreregister.s: Likewise.
629 * testsuite/gas/arc/textpseudoop.d: Likewise.
630 * testsuite/gas/arc/textpseudoop.s: Likewise.
631 * testsuite/gas/arc/ld2.d: Update test.
632 * testsuite/gas/arc/st.d: Likewise.
633 * testsuite/gas/arc/taux.d: Likewise.
634 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
635 .extCoreRegister and .extAuxRegister documentation.
636 * config/tc-arc.c (arc_extcorereg): New function.
637 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
638 .extAuxRegister pseudo-ops.
639 (extRegister_t): New type.
640 (ext_condcode, arc_aux_hash): New global variable.
641 (find_opcode_match): Check for extensions.
642 (preprocess_operands): Likewise.
643 (md_begin): Add aux registers in a hash.
644 (assemble_insn): Update use arc_flags member.
645 (tokenize_extregister): New function.
646 (create_extcore_section): Likewise.
647 * config/tc-arc.h (arc_flags): Delete code, add flgp.
648
649 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
650
651 * testsuite/gas/arc/noargs_a7.d: New file.
652 * testsuite/gas/arc/noargs_a7.s: Likewise.
653 * testsuite/gas/arc/noargs_hs.d: Likewise.
654 * testsuite/gas/arc/noargs_hs.s: Likewise.
655
656 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
657
658 * testsuite/gas/arc/textinsn-errors.d: New File.
659 * testsuite/gas/arc/textinsn-errors.err: Likewise.
660 * testsuite/gas/arc/textinsn-errors.s: Likewise.
661 * testsuite/gas/arc/textinsn2op.d: Likewise.
662 * testsuite/gas/arc/textinsn2op.s: Likewise.
663 * testsuite/gas/arc/textinsn2op01.d: Likewise.
664 * testsuite/gas/arc/textinsn2op01.s: Likewise.
665 * testsuite/gas/arc/textinsn3op.d: Likewise.
666 * testsuite/gas/arc/textinsn3op.s: Likewise.
667 * doc/c-arc.texi (ARC Directives): Add .extInstruction
668 documentation.
669 * config/tc-arc.c (arcext_section): New variable.
670 (arc_extinsn): New function.
671 (md_pseudo_table): Add .extInstruction pseudo op.
672 (attributes_t): New type.
673 (suffixclass, syntaxclass, syntaxclassmod): New constant
674 structures.
675 (find_opcode_match): Remove arc_num_opcodes.
676 (md_begin): Likewise.
677 (tokenize_extinsn): New function.
678 (arc_set_ext_seg): Likewise.
679 (create_extinst_section): Likewise.
680
681 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
682
683 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
684 (arc_adjust_symtab): New function.
685 * config/tc-arc.h (ARC_FLAG_AUX): Define.
686 (obj_adjust_symtab): Likewise.
687 * testsuite/gas/arc/taux.d: New file.
688 * testsuite/gas/arc/taux.s: Likewise.
689
690 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
691
692 * config/tc-mips.c (s_option): Sanitize `.option picX'
693 pseudo-op.
694 * testsuite/gas/mips/option-pic-1.d: New test.
695 * testsuite/gas/mips/option-pic-2.l: New list test.
696 * testsuite/gas/mips/option-pic-1.s: New test source.
697 * testsuite/gas/mips/option-pic-2.s: New test source.
698 * testsuite/gas/mips/mips.exp: Run the new tests.
699
700 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
701
702 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
703 PIC.
704 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
705 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
706 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
707 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
708 * testsuite/gas/mips/mips.exp: Run the new tests.
709
710 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
711
712 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
713
714 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
715
716 * messages.c (as_bad): Fix a typo in description.
717
718 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
719
720 * config/tc-mips.c (mips_check_options): Unify messages.
721
722 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
723
724 * config/tc-mips.c (mips_check_options): Use `opts->isa'
725 consistently.
726
727 2016-04-08 Nick Clifton <nickc@redhat.com>
728
729 PR target/19910
730 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
731 COFF and AOUT sparc targets.
732
733 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
734
735 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
736 * testsuite/gas/arc/nps400-2.d: New file.
737 * testsuite/gas/arc/nps400-2.s: New file.
738
739 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
742 structure.
743 (arc_opcode_hash_entry_iterator_init): New function.
744 (arc_opcode_hash_entry_iterator_next): New function.
745 (find_opcode_match): Iterate over all arc_opcode entries
746 referenced by the arc_opcode_hash_entry passed in as a parameter.
747
748 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
749
750 * config/tc-arc.c (arc_find_opcode): Now returns
751 arc_opcode_hash_entry pointer.
752 (find_opcode_match): Update argument type, extract arc_opcode from
753 incoming arc_opcode_hash_entry.
754 (find_special_case_pseudo): Update return type.
755 (find_special_case_flag): Update return type.
756 (find_special_case): Update return type.
757 (assemble_tokens): Lookup arc_opcode_hash_entry based on
758 instruction mnemonic, then use find_opcode_match to identify
759 specific arc_opcode.
760
761 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
762
763 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
764 (arc_find_opcode): New function.
765 (find_special_case_pseudo): Use arc_find_opcode.
766 (find_special_case_flag): Likewise.
767 (assemble_tokens): Likewise.
768 (md_begin): Build hash using struct arc_opcode_hash_entry.
769
770 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
771
772 * config/tc-arc.c (arc_option): Prepare string for automatic
773 translation.
774 (declare_register): Likewise.
775
776 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
777
778 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
779 Correct entry for RDMA. Alpha sort entries.
780
781 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
782
783 * config/tc-arc.c (tokenize_flags): Allow greater range of
784 characters into flag names.
785
786 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
787
788 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
789 new de_fault label.
790 (preprocess_operands): Delete.
791 (assemble_tokens): Remove call to preprocess_operands.
792
793 2016-04-07 Nick Clifton <nickc@redhat.com>
794
795 PR gas/19910
796 * config/tc-sparc.c (sparc_ip): Report an error if the expression
797 inside a %-macro could not be fully parsed.
798 * expr.c (integer_constant): Accept and ignore U suffixes to
799 integers.
800 (operand): When a missing closing parenthesis is encountered,
801 report the character that was found instead.
802 * testsuite/gas/mips/tls-ill.l: Update expected error message.
803 * testsuite/gas/sparc/pr19910-1.d: New test driver.
804 * testsuite/gas/sparc/pr19910-1.s: New test.
805 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
806 * testsuite/gas/sparc/pr19910-2.s: New test.
807 * testsuite/gas/sparc/sparc.exp: Run the new tests.
808
809 2016-04-06 Nick Clifton <nickc@redhat.com>
810
811 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
812 an EINT instruction. Warn/fix as necessary.
813 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
814 * testsuite/gas/msp430/bad.l: Update expected messages.
815
816 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
817
818 * testsuite/gas/arc/nps400-1.d: Update expected results.
819 * testsuite/gas/arc/nps400-1.s: Additional test cases.
820
821 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
822
823 * config/tc-arc.c (is_code_density_p): Compare directly the
824 subclass field.
825 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
826 (check_cpu_feature): New function.
827 (find_opcode_match): Use check_cpu_feature function.
828 (preprocess_operands): Likewise.
829 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
830 * testsuite/gas/arc/tdpfp.d: New file.
831 * testsuite/gas/arc/tfpuda.d: Likewise.
832 * testsuite/gas/arc/tfpx.s: Likewise.
833
834 2016-04-05 Jiong Wang <jiong.wang@arm.com>
835
836 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
837 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
838 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
839 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
840 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
841 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
842 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
843 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
844 for Thumb.
845 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
846
847 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
848
849 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
850 JUMP instructions type.
851 * testsuite/gas/arc/relocs-errors.d: New file.
852 * testsuite/gas/arc/relocs-errors.err: Likewise.
853 * testsuite/gas/arc/relocs-errors.s: Likewise.
854
855 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
856
857 PR gas/19909
858 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
859 only if i.disp_encoding != disp_encoding_32bit.
860 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
861 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
862 * gas/testsuite/gas/i386/disp32.d: Updated.
863 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
864
865 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
866
867 PR gas/19498
868 * testsuite/gas/i386/i386.exp: Run pr19498.
869 * testsuite/gas/i386/pr19498.d: New file.
870 * testsuite/gas/i386/pr19498.s: Likewise.
871
872 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
873
874 * config/tc-arc.h: Include 'opcode/arc.h'.
875 (MAX_INSN_ARGS): Delete.
876 (MAX_INSN_FLGS): Delete.
877
878 2016-04-04 Alan Modra <amodra@gmail.com>
879
880 PR 19498
881 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
882 from function on all paths that set sy_resolving.
883
884 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
885
886 * app.c (app_push): use XNEW macro.
887 * as.c: Likewise.
888 * config/obj-elf.c (obj_elf_change_section): Likewise.
889 (elf_copy_symbol_attributes): Likewise.
890 (obj_elf_size): Likewise.
891 (build_group_lists): Likewise.
892 * config/tc-aarch64.c (add_operand_error_record): Likewise.
893 (md_assemble): Likewise.
894 (tc_gen_reloc): Likewise.
895 (get_upper_str): Likewise.
896 (aarch64_parse_features): Likewise.
897 * config/tc-arm.c (insert_reg_alias): Likewise.
898 (insert_neon_reg_alias): Likewise.
899 (find_or_make_literal_pool): Likewise.
900 (s_arm_elf_cons): Likewise.
901 (add_unwind_opcode): Likewise.
902 (arm_parse_extension): Likewise.
903 * config/tc-avr.c (create_record_for_frag): Likewise.
904 * config/tc-crx.c: Likewise.
905 * config/tc-d30v.c: Likewise.
906 * config/tc-dlx.c (s_proc): Likewise.
907 * config/tc-ft32.c: Likewise.
908 * config/tc-h8300.c: Likewise.
909 * config/tc-hppa.c (pa_proc): Likewise.
910 (create_new_space): Likewise.
911 (create_new_subspace): Likewise.
912 * config/tc-i860.c: Likewise.
913 * config/tc-i960.c: Likewise.
914 * config/tc-ia64.c: Likewise.
915 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
916 (iq2000_record_hi16): Likewise.
917 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
918 * config/tc-m32r.c (debug_sym): Likewise.
919 (m32r_record_hi16): Likewise.
920 * config/tc-m68k.c (m68k_ip): Likewise.
921 (md_begin): Likewise.
922 * config/tc-mcore.c: Likewise.
923 * config/tc-microblaze.c (check_got): Likewise.
924 * config/tc-mips.c (append_insn): Likewise.
925 (s_mipsset): Likewise.
926 (mips_record_label): Likewise.
927 (s_mips_end): Likewise.
928 * config/tc-mmix.c (mmix_frob_file): Likewise.
929 * config/tc-mn10200.c: Likewise.
930 * config/tc-mn10300.c: Likewise.
931 * config/tc-moxie.c: Likewise.
932 * config/tc-msp430.c: Likewise.
933 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
934 * config/tc-ns32k.c: Likewise.
935 * config/tc-or1k.c: Likewise.
936 * config/tc-pdp11.c: Likewise.
937 * config/tc-pj.c (fake_opcode): Likewise.
938 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
939 (ppc_macro): Likewise.
940 (ppc_dwsect): Likewise.
941 (ppc_machine): Likewise.
942 * config/tc-rl78.c (rl78_frag_init): Likewise.
943 * config/tc-rx.c (rx_frag_init): Likewise.
944 * config/tc-s390.c (s390_lit_suffix): Likewise.
945 (s390_machine): Likewise.
946 (s390_machinemode): Likewise.
947 * config/tc-score.c (s3_insert_reg): Likewise.
948 (s3_gen_reloc): Likewise.
949 * config/tc-score7.c (s7_insert_reg): Likewise.
950 (s7_gen_reloc): Likewise.
951 * config/tc-tic30.c (tic30_operand): Likewise.
952 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
953 * config/tc-tic54x.c (stag_add_field): Likewise.
954 (tic54x_struct): Likewise.
955 (tic54x_space): Likewise.
956 (tic54x_field): Likewise.
957 (tic54x_mlib): Likewise.
958 (subsym_substitute): Likewise.
959 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
960 * config/tc-vax.c: Likewise.
961 * config/tc-xc16x.c: Likewise.
962 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
963 (directive_push): Likewise.
964 (xtensa_begin_directive): Likewise.
965 (tokenize_arguments): Likewise.
966 (xtensa_add_literal_sym): Likewise.
967 (new_resource_table): Likewise.
968 (resize_resource_table): Likewise.
969 (emit_single_op): Likewise.
970 (xtensa_create_trampoline_frag): Likewise.
971 (xtensa_maybe_create_literal_pool_frag): Likewise.
972 (xtensa_add_config_info): Likewise.
973 (xtensa_realloc_fixup_cache): Likewise.
974 (add_subseg_info): Likewise.
975 (cache_literal_section): Likewise.
976 (add_xt_block_frags): Likewise.
977 (add_xt_prop_frags): Likewise.
978 (init_op_placement_info_table): Likewise.
979 (build_section_rename): Likewise.
980 * config/tc-z80.c: Likewise.
981 * config/tc-z8k.c: Likewise.
982 * depend.c (register_dependency): Likewise.
983 * dwarf2dbg.c (get_line_subseg): Likewise.
984 (dwarf2_gen_line_info_1): Likewise.
985 (get_filenum): Likewise.
986 * ecoff.c (allocate_scope): Likewise.
987 (allocate_vlinks): Likewise.
988 (allocate_shash): Likewise.
989 (allocate_thash): Likewise.
990 (allocate_tag): Likewise.
991 (allocate_forward): Likewise.
992 (allocate_thead): Likewise.
993 (allocate_lineno_list): Likewise.
994 * expr.c (make_expr_symbol): Likewise.
995 * hash.c (hash_new_sized): Likewise.
996 * input-file.c (input_file_push): Likewise.
997 * listing.c (file_info): Likewise.
998 (listing_newline): Likewise.
999 * macro.c (new_formal): Likewise.
1000 (define_macro): Likewise.
1001 * remap.c (add_debug_prefix_map): Likewise.
1002 * symbols.c (symbol_find_noref): Likewise.
1003 (define_dollar_label): Likewise.
1004 (fb_label_instance_inc): Likewise.
1005 (symbol_relc_make_value): Likewise.
1006
1007 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1008
1009 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1010 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1011 (ppc_znop): Likewise.
1012 (ppc_pe_section): Likewise.
1013 (ppc_frob_symbol): Likewise.
1014 * config/tc-tic30.c (tic30_operand): Likewise.
1015 * config/tc-tic4x.c (tic4x_sect): Likewise.
1016 (tic4x_usect): Likewise.
1017
1018 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1019
1020 * config/tc-alpha.c: Const qualify FLT_CHARS.
1021 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1022 * config/tc-cris.h: Likewise.
1023 * expr.c: Likewise.
1024 * config/tc-mmix.c (md_atof): Adjust comment.
1025 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1026 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1027
1028 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1029
1030 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1031 * config/tc-score7.c (s7_gen_reloc): Likewise.
1032
1033 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1034
1035 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1036 bfd_reloc_code_real_type.
1037
1038 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1039
1040 * config/bfin-parse.y (current_inputline): Remove definition.
1041 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1042
1043 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1044
1045 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1046 strings.
1047
1048 2016-04-02 Alan Modra <amodra@gmail.com>
1049
1050 PR 19896
1051 * read.c (assign_symbol): Consume rest of line after an error
1052 rather than continuing to process the line.
1053
1054 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1055
1056 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1057 (MAX_FLAG_NAME_LENGTH): ...this.
1058 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1059 * config/tc-arc.c (tokenize_flags): Likewise.
1060
1061 2016-04-01 Alan Modra <amodra@gmail.com>
1062
1063 * cgen.c (weak_operand_overflow_check): Return const char*.
1064 * messages.c (as_internal_value_out_of_range): Formatting.
1065 (as_warn_value_out_of_range): Consify prefix param.
1066 (as_bad_value_out_of_range): Likewise.
1067 * read.c (s_errwarn): Constify msg..
1068 (s_float_space, float_cons): ..and err.
1069 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1070 ieee_md_atof, vax_md_atof): Update prototypes.
1071 * tc.h (md_atof): Update prototype.
1072 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1073 * config/atof-vax.c (vax_md_atof): Likewise.
1074 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1075 * config/tc-aarch64.c (md_atof): Return const char*.
1076 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1077 (s_alpha_comm): Constify sec_name.
1078 (section_name): Constify.
1079 (s_alpha_section): Consify name..
1080 (alpha_elf_section_letter): ..and ptr_msg param..
1081 (md_atof): ..and return.
1082 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1083 * config/tc-arc.c (md_atof): Return const char*.
1084 * config/tc-arm.c (md_atof): Likewise.
1085 * config/tc-avr.c (md_atof): Likewise.
1086 * config/tc-bfin.c (md_atof): Likewise.
1087 * config/tc-cr16.c (md_atof): Likewise.
1088 * config/tc-cris.c (md_atof): Likewise.
1089 * config/tc-crx.c (md_atof): Likewise.
1090 * config/tc-d10v.c (md_atof): Likewise.
1091 * config/tc-d30v.c (md_atof): Likewise.
1092 * config/tc-dlx.c (md_atof): Likewise.
1093 * config/tc-epiphany.c (md_atof): Likewise.
1094 * config/tc-fr30.c (md_atof): Likewise.
1095 * config/tc-frv.c (md_atof): Likewise.
1096 * config/tc-ft32.c (md_atof): Likewise.
1097 * config/tc-h8300.c (md_atof): Likewise.
1098 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1099 (struct default_space_dict): Likewise.
1100 (create_new_space): Constify name param.
1101 (create_new_subspace): Likewise.
1102 (is_defined_space, is_defined_subspace): Likewise.
1103 (pa_parse_space_stmt): Constify space_name param.
1104 (md_atof): Return const char*.
1105 (pa_spaces_begin): Constify name.
1106 * config/tc-i370.c (md_atof): Return const char*.
1107 * config/tc-i386.c (md_atof): Likewise.
1108 (x86_64_section_letter): Constify ptr_msg param.
1109 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1110 * config/tc-i860.c (struct i860_it): Constify error.
1111 (md_atof): Return const char*.
1112 * config/tc-i960.c (md_atof): Likewise.
1113 * config/tc-ia64.c (md_atof): Likewise.
1114 (ia64_elf_section_letter): Constify ptr_msg param.
1115 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1116 * config/tc-ip2k.c (md_atof): Return const char*.
1117 * config/tc-iq2000.c (md_atof): Likewise.
1118 * config/tc-lm32.c (md_atof): Likewise.
1119 * config/tc-m32c.c (md_atof): Likewise.
1120 * config/tc-m32r.c (md_atof): Likewise.
1121 * config/tc-m68hc11.c (md_atof): Likewise.
1122 * config/tc-m68k.c (md_atof): Likewise.
1123 * config/tc-mcore.c (md_atof): Likewise.
1124 * config/tc-mep.c (md_atof): Likewise.
1125 (mep_elf_section_letter): Constify ptr_msg param.
1126 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1127 * config/tc-metag.c (md_atof): Return const char*.
1128 * config/tc-microblaze.c (md_atof): Likewise.
1129 * config/tc-microblaze.h (md_atof): Delete prototype.
1130 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1131 (md_atof): Return const char*.
1132 * config/tc-mmix.c (md_atof): Likewise.
1133 * config/tc-mn10200.c (md_atof): Likewise.
1134 * config/tc-mn10300.c (md_atof): Likewise.
1135 * config/tc-moxie.c (md_atof): Likewise.
1136 * config/tc-msp430.c (md_atof): Likewise.
1137 * config/tc-mt.c (md_atof): Likewise.
1138 * config/tc-nds32.c (md_atof): Likewise.
1139 * config/tc-nios2.c (md_atof): Likewise.
1140 (nios2_elf_section_letter): Constify ptr_msg param.
1141 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1142 * config/tc-ns32k.c (md_atof): Return const char*.
1143 * config/tc-or1k.c (md_atof): Likewise.
1144 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1145 (md_atof): Return const char*.
1146 * config/tc-pj.c (md_atof): Likewise.
1147 * config/tc-ppc.c (md_atof): Likewise.
1148 * config/tc-rl78.c (md_atof): Likewise.
1149 * config/tc-rx.c (md_atof): Likewise.
1150 * config/tc-s390.c (md_atof): Likewise.
1151 * config/tc-score.c (s3_atof, md_atof): Likewise.
1152 * config/tc-sh.c (md_atof): Likewise.
1153 * config/tc-sparc.c (struct sparc_it): Constify error.
1154 (md_atof): Return const char*.
1155 * config/tc-spu.c (md_atof): Likewise.
1156 * config/tc-tic30.c (md_atof): Likewise.
1157 * config/tc-tic4x.c (md_atof): Likewise.
1158 * config/tc-tic54x.c (md_atof): Likewise.
1159 * config/tc-tic6x.c (md_atof): Likewise.
1160 * config/tc-tilegx.c (md_atof): Likewise.
1161 * config/tc-tilepro.c (md_atof): Likewise.
1162 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1163 * config/tc-vax.c (md_atof): Likewise.
1164 * config/tc-visium.c (md_atof): Likewise.
1165 * config/tc-xc16x.c (md_atof): Likewise.
1166 * config/tc-xgate.c (md_atof): Likewise.
1167 * config/tc-xstormy16.c (md_atof): Likewise.
1168 * config/tc-xtensa.c (md_atof): Likewise.
1169 * config/tc-z80.c (md_atof): Likewise.
1170 * config/tc-z8k.c (md_atof): Likewise.
1171
1172 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1173
1174 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1175 const.
1176 (xtensa_section_rename): Make argument type const char *.
1177 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1178
1179 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1180
1181 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1182 args[0].
1183
1184 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1185
1186 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1187 char *.
1188 (m32c_indirect_operand): Likewise.
1189 * config/tc-nds32.c (do_pseudo_b): Likewise.
1190 (do_pseudo_bal): Likewise.
1191 (do_pseudo_ls_bhw): Likewise.
1192
1193 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1194
1195 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1196
1197 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1198
1199 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1200 get_symbol_name ().
1201 * config/tc-sparc.c (s_register): Cast a literal to char * in
1202 assignment.
1203
1204 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1205
1206 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1207 input_line_pointer.
1208 * config/tc-m32r.c (expand_debug_syms): Likewise.
1209 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1210 * config/tc-z80.c (md_begin): Likewise.
1211 * stabs.c (stabs_generate_asm_func): Likewise.
1212
1213 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1214
1215 * cgen.c: Modernize the way functions declare arguments.
1216 * config/tc-bfin.c: Likewise.
1217 * config/tc-pdp11.c: Likewise.
1218 * literal.c: Likewise.
1219 * read.c: Likewise.
1220 * stabs.c: Likewise.
1221
1222 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1223
1224 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1225 variables unsigned char[].
1226 * config/tc-alpha.c (alpha_handle_align): Likewise.
1227 * config/tc-arm.c (arm_handle_align): Likewise.
1228 * config/tc-z80.c: Likewise.
1229
1230 2016-03-30 Nick Clifton <nickc@redhat.com>
1231
1232 PR target/19880
1233 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1234 shifting.
1235
1236 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1237
1238 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1239 * testsuite/gas/elf/elf.exp: Likewise.
1240 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1241
1242 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1243
1244 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1245
1246 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1247
1248 * testsuite/gas/arc/ext2op.d: New file.
1249 * testsuite/gas/arc/ext2op.s: Likewise.
1250 * testsuite/gas/arc/ext3op.d: Likewise.
1251 * testsuite/gas/arc/ext3op.s: Likewise.
1252
1253 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1254
1255 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1256 qualifier.
1257 * config/tc-alpha.c (md_parse_option): Likewise.
1258 * config/tc-arc.c (md_parse_option): Likewise.
1259 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1260 (md_parse_option): Likewise.
1261 * config/tc-avr.c (md_parse_option): Likewise.
1262 * config/tc-bfin.c (md_parse_option): Likewise.
1263 * config/tc-cr16.c (md_parse_option): Likewise.
1264 * config/tc-cris.c (s_cris_arch): Likewise.
1265 (md_parse_option): Likewise.
1266 * config/tc-crx.c (md_parse_option): Likewise.
1267 * config/tc-d10v.c (md_parse_option): Likewise.
1268 * config/tc-d30v.c (md_parse_option): Likewise.
1269 * config/tc-dlx.c (md_parse_option): Likewise.
1270 * config/tc-epiphany.c (md_parse_option): Likewise.
1271 * config/tc-fr30.c (md_parse_option): Likewise.
1272 * config/tc-frv.c (md_parse_option): Likewise.
1273 * config/tc-ft32.c (md_parse_option): Likewise.
1274 * config/tc-h8300.c (md_parse_option): Likewise.
1275 * config/tc-hppa.c (md_parse_option): Likewise.
1276 * config/tc-i370.c (md_parse_option): Likewise.
1277 * config/tc-i386.c (md_parse_option): Likewise.
1278 * config/tc-i860.c (md_parse_option): Likewise.
1279 * config/tc-i960.c (md_parse_option): Likewise.
1280 * config/tc-ia64.c (md_parse_option): Likewise.
1281 * config/tc-ip2k.c (md_parse_option): Likewise.
1282 * config/tc-iq2000.c (md_parse_option): Likewise.
1283 * config/tc-lm32.c (md_parse_option): Likewise.
1284 * config/tc-m32c.c (md_parse_option): Likewise.
1285 * config/tc-m32r.c (md_parse_option): Likewise.
1286 * config/tc-m68hc11.c (md_parse_option): Likewise.
1287 * config/tc-m68k.c (md_parse_option): Likewise.
1288 * config/tc-mcore.c (md_parse_option): Likewise.
1289 * config/tc-mep.c (md_parse_option): Likewise.
1290 * config/tc-metag.c (struct metag_long_option): Likewise.
1291 (md_parse_option): Likewise.
1292 * config/tc-microblaze.c (md_parse_option): Likewise.
1293 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1294 * config/tc-mips.c (md_parse_option): Adjust.
1295 * config/tc-mmix.c (md_parse_option): Likewise.
1296 * config/tc-mn10200.c (md_parse_option): Likewise.
1297 * config/tc-mn10300.c (md_parse_option): Likewise.
1298 * config/tc-moxie.c (md_parse_option): Likewise.
1299 * config/tc-msp430.c (md_parse_option): Likewise.
1300 * config/tc-mt.c (md_parse_option): Likewise.
1301 * config/tc-nds32.c (md_parse_option): Likewise.
1302 * config/tc-nds32.h (nds32_parse_option): Likewise.
1303 * config/tc-nios2.c (md_parse_option): Likewise.
1304 * config/tc-ns32k.c (md_parse_option): Likewise.
1305 * config/tc-or1k.c (md_parse_option): Likewise.
1306 * config/tc-pdp11.c (md_parse_option): Likewise.
1307 * config/tc-pj.c (md_parse_option): Likewise.
1308 * config/tc-ppc.c (md_parse_option): Likewise.
1309 * config/tc-rl78.c (md_parse_option): Likewise.
1310 * config/tc-rx.c (md_parse_option): Likewise.
1311 * config/tc-s390.c (s390_parse_cpu): Likewise.
1312 * config/tc-score.c (md_parse_option): Likewise.
1313 * config/tc-sh.c (md_parse_option): Likewise.
1314 * config/tc-sparc.c (md_parse_option): Likewise.
1315 * config/tc-spu.c (md_parse_option): Likewise.
1316 * config/tc-tic30.c (md_parse_option): Likewise.
1317 * config/tc-tic4x.c (md_parse_option): Likewise.
1318 * config/tc-tic54x.c (md_parse_option): Likewise.
1319 * config/tc-tic6x.c (md_parse_option): Likewise.
1320 * config/tc-tilegx.c (md_parse_option): Likewise.
1321 * config/tc-tilepro.c (md_parse_option): Likewise.
1322 * config/tc-v850.c (md_parse_option): Likewise.
1323 * config/tc-vax.c (md_parse_option): Likewise.
1324 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1325 * config/tc-xc16x.c (md_parse_option): Likewise.
1326 * config/tc-xgate.c (md_parse_option): Likewise.
1327 * config/tc-xstormy16.c (md_parse_option): Likewise.
1328 * config/tc-xtensa.c (md_parse_option): Likewise.
1329 * config/tc-z80.c (md_parse_option): Likewise.
1330 * config/tc-z8k.c (md_parse_option): Likewise.
1331 * tc.h (md_parse_option): Likewise.
1332
1333 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1334
1335 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1336 * config/tc-hppa.c (fix_new_hppa): Likewise.
1337 (pa_vtable_entry): Likewise.
1338 (pa_vtable_inherit): Likewise.
1339 * config/tc-m68k.c (md_begin): Likewise.
1340
1341 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1342
1343 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1344 * config/obj-elf.h (obj_elf_section_name): Adjust.
1345 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1346 (aarch64_parse_cpu): Likewise.
1347 (aarch64_parse_arch): Likewise.
1348 * config/tc-arm.c (arm_parse_extension): Likewise.
1349 (arm_parse_cpu): Likewise.
1350 (arm_parse_arch): Likewise.
1351 * config/tc-nds32.c: Likewise.
1352 * config/xtensa-relax.c (parse_special_fn): Likewise.
1353 * stabs.c (generate_asm_file): Likewise.
1354
1355 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1356
1357 * config/tc-cr16.c (cr16_assemble): New function.
1358 (md_assemble): Call cr16_assemble.
1359
1360 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1361
1362 * as.c (parse_args): Adjust.
1363 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1364 * config/obj-elf.c (elf_frob_symbol): Adjust.
1365
1366 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1367
1368 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1369 registers to be in the 16..31 range.
1370
1371 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1372
1373 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1374 frag_var ().
1375
1376 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1377
1378 * config/tc-visium.c (md_atof): Localize the string returned on
1379 failure.
1380
1381 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1382
1383 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1384 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1385 * config/tc-m68hc11.c (md_begin): Likewise.
1386 (print_opcode_list): Likewise.
1387 * config/tc-msp430.c (msp430_section): Likewise.
1388 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1389 (s3_build_dependency_insn_hsh): Likewise.
1390 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1391 (s7_build_dependency_insn_hsh): Likewise.
1392 * config/tc-tic4x.c: Likewise.
1393 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1394 (subsym_get_arg): Likewise.
1395 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1396 (get_directive): Likewise.
1397 (cache_literal_section): Likewise.
1398 * config/xtensa-relax.c: Likewise.
1399 * symbols.c (symbol_create): Likewise.
1400 (local_symbol_make): Likewise.
1401 (symbol_relc_make_expr): Likewise.
1402
1403 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1404
1405 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1406 str.
1407
1408 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1409
1410 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1411 call with a switch.
1412
1413 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1414
1415 * config/tc-ia64.c (ia64_do_align): Remove.
1416 (ia64_cons_align): Call do_align () directly.
1417 (dot_proc): Likewise.
1418 (stmt_float_cons): Likewise.
1419
1420 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1421
1422 * listing.c (listing_message): Use XNEW style allocation macros.
1423 * read.c (read_a_source_file): Likewise.
1424 (read_symbol_name): Likewise.
1425 (s_mri_common): Likewise.
1426 (assign_symbol): Likewise.
1427 (s_reloc): Likewise.
1428 (emit_expr_with_reloc): Likewise.
1429 (s_incbin): Likewise.
1430 (s_include): Likewise.
1431 * sb.c (sb_build): Likewise.
1432 (sb_check): Likewise.
1433
1434 2016-03-22 Alan Modra <amodra@gmail.com>
1435
1436 * write.c (record_alignment): Revert 2016-02-18 change.
1437
1438 2016-03-22 Alan Modra <amodra@gmail.com>
1439
1440 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
1441 (emit_jsrjmp, tc_gen_reloc): Likewise.
1442 * config/tc-i370.c (i370_macro): Likewise.
1443
1444 2016-03-22 Nick Clifton <nickc@redhat.com>
1445
1446 * configure: Regenerate.
1447
1448 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1449
1450 * testsuite/gas/arc/nps400-0.d: New file.
1451 * testsuite/gas/arc/nps400-0.s: New file.
1452 * testsuite/gas/arc/nps400-1.d: New file.
1453 * testsuite/gas/arc/nps400-1.s: New file.
1454
1455 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1456
1457 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
1458 declarations to start of block. Reset code on all flags before
1459 attempting to match them. Handle multiple hits on the same flag.
1460 Handle flag class.
1461 * testsuite/gas/arc/asm-errors.d: New file.
1462 * testsuite/gas/arc/asm-errors.err: New file.
1463 * testsuite/gas/arc/asm-errors.s: New file.
1464
1465 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1466
1467 * config/tc-arc.c (cpu_types): Add nps400 entry.
1468 (check_zol): Handle nps400.
1469
1470 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1471
1472 * config/tc-arc.c (arc_select_cpu): Remove use of
1473 EF_ARC_CPU_GENERIC.
1474
1475 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1476
1477 * config/tc-arc.c (arc_target): Delay initialisation until
1478 arc_select_cpu.
1479 (arc_target_name): Likewise.
1480 (arc_features): Likewise.
1481 (arc_mach_type): Likewise.
1482 (cpu_types): Remove "all" entry.
1483 (arc_select_cpu): New function, most of the content is from...
1484 (md_parse_option): ... here. Call new arc_select_cpu.
1485 (md_begin): Call arc_select_cpu if needed, default is now arc700.
1486
1487 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
1488
1489 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
1490 * testsuite/gas/arc/inline-data-2.d: New file.
1491
1492 2016-03-21 Nick Clifton <nickc@redhat.com>
1493
1494 * atof-generic.c: Replace use of alloca with call to xmalloc.
1495 * cgen.c: Likewise.
1496 * dwarf2dbg.c: Likewise.
1497 * macro.c: Likewise.
1498 * remap.c: Likewise.
1499 * stabs.c: Likewise.
1500 * symbols.c: Likewise.
1501 * config/obj-elf.c: Likewise.
1502 * config/tc-aarch64.c: Likewise.
1503 * config/tc-arc.c: Likewise.
1504 * config/tc-arm.c: Likewise.
1505 * config/tc-avr.c: Likewise.
1506 * config/tc-ia64.c: Likewise.
1507 * config/tc-mips.c: Likewise.
1508 * config/tc-msp430.c: Likewise.
1509 * config/tc-nds32.c: Likewise.
1510 * config/tc-ppc.c: Likewise.
1511 * config/tc-sh.c: Likewise.
1512 * config/tc-tic30.c: Likewise.
1513 * config/tc-tic54x.c: Likewise.
1514 * config/tc-xstormy16.c: Likewise.
1515 * config/te-vms.c: Likewise.
1516 * configure: Regenerate.
1517
1518 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1519
1520 * tc-i386.c (f32_1): Change type to unsigned char[].
1521 (f32_2): Likewise.
1522 (f32_3): Likewise.
1523 (f32_4): Likewise.
1524 (f32_5): Likewise.
1525 (f32_6): Likewise.
1526 (f32_7): Likewise.
1527 (f32_8): Likewise.
1528 (f32_9): Likewise.
1529 (f32_10): Likewise.
1530 (f32_11): Likewise.
1531 (f32_12): Likewise.
1532 (f32_13): Likewise.
1533 (f32_14): Likewise.
1534 (f16_3): Likewise.
1535 (f16_4): Likewise.
1536 (f16_5): Likewise.
1537 (f16_6): Likewise.
1538 (f16_7): Likewise.
1539 (f16_8): Likewise.
1540 (jump_31): Likewise.
1541 (f32_patt): Likewise.
1542 (f16_patt): Likewise.
1543 (alt_3): Likewise.
1544 (alt_4): Likewise.
1545 (alt_5): Likewise.
1546 (alt_6): Likewise.
1547 (alt_7): Likewise.
1548 (alt_8): Likewise.
1549 (alt_9): Likewise.
1550 (alt_10): Likewise.
1551 (alt_patt): Likewise.
1552
1553 2016-03-18 Nick Clifton <nickc@redhat.com>
1554
1555 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
1556 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
1557 .tlsdescldr and .xword directives.
1558
1559 PR target/19721
1560 * testsuite/gas/aarch64/pr19721.s: New test source file.
1561 * testsuite/gas/aarch64/pr19721.d: New test driver file.
1562
1563 * doc/as.texinfo: Place the target specific command line options
1564 into their own man page section.
1565
1566 2016-03-16 Jiong Wang <jiong.wang@arm.com>
1567
1568 * config/tc-arm.c (N_S_32): New.
1569 (N_F_16_32): Likewise.
1570 (N_SUF_32): Support N_F16.
1571 (N_IF_32): Likewise.
1572 (neon_dyadic_misc): Likewise.
1573 (do_neon_cmp): Likewise.
1574 (do_neon_cmp_inv): Likewise.
1575 (do_neon_mul): Likewise.
1576 (do_neon_fcmp_absolute): Likewise.
1577 (do_neon_step): Likewise.
1578 (do_neon_abs_neg): Likewise.
1579 (CVT_FLAVOR_VAR): Likewise.
1580 (do_neon_cvt_1): Likewise.
1581 (do_neon_recip_est): Likewise.
1582 (do_vmaxnm): Likewise.
1583 (do_vrint_1): Likewise.
1584 (neon_check_type): Check architecture support for FP16 extension.
1585 (insns): Update comments.
1586 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
1587 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
1588 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
1589 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
1590 arm mode.
1591 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
1592 thumb mode.
1593 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
1594 error file.
1595
1596 2016-03-16 Nick Clifton <nickc@redhat.com>
1597
1598 * read.c (emit_expr_with_reloc): Add code check a bignum with
1599 nbytes == 1.
1600 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
1601 other than 32-bits.
1602 * testsuite/gas/elf/bignum.s: New test source file.
1603 * testsuite/gas/elf/bignum.d: New test driver file.
1604 * testsuite/gas/elf/elf.exp: Run the new test.
1605
1606 2016-03-15 Ulrich Drepper <drepper@gmail.com>
1607
1608 * doc/c-i386.texi (Register Naming): Update to details of the
1609 latest architecture version.
1610
1611 2016-03-10 Mickael Guene <mickael.guene@st.com>
1612
1613 PR gas/19744
1614 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
1615 (do_mov): Likewise.
1616 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
1617 (do_t_mov_cmp): Likewise.
1618 (do_t_add_sub): Protect against bad relocations usage.
1619 (do_t_mov_cmp): Likewise.
1620 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
1621 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
1622 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
1623 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
1624
1625 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1626
1627 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
1628 do_alignment.
1629 (do_neon_ld_st_lane): Likewise.
1630 (do_neon_ld_dup): Likewise.
1631
1632 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
1633
1634 * testsuite/gas/arc/inline-data-1.d: New file.
1635 * testsuite/gas/arc/inline-data-1.s: New file.
1636
1637 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
1638
1639 * config/tc-arm.c (arm_cpus): Add cortex-r8.
1640 * doc/c-arm.texi: Add cortex-r8.
1641
1642 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1643
1644 * config/tc-arc.c: Add const qualifiers.
1645 * config/tc-h8300.c (md_begin): Likewise.
1646 * config/tc-ia64.c (print_prmask): Likewise.
1647 * config/tc-msp430.c (msp430_operands): Likewise.
1648 * config/tc-nds32.c (struct suffix_name): Likewise.
1649 (struct nds32_parse_option_table): Likewise.
1650 (struct nds32_set_option_table): Likewise.
1651 (do_pseudo_pushpopm): Likewise.
1652 (do_pseudo_pushpop_stack): Likewise.
1653 (nds32_relax_relocs): Likewise.
1654 (nds32_flag): Likewise.
1655 (struct nds32_hint_map): Likewise.
1656 (nds32_find_reloc_table): Likewise.
1657 (nds32_match_hint_insn): Likewise.
1658 * config/tc-s390.c: Likewise.
1659 * config/tc-sh.c (get_specific): Likewise.
1660 * config/tc-tic30.c: Likewise.
1661 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
1662 (tic4x_indirect_parse): Likewise.
1663 * config/tc-vax.c (vax_cons): Likewise.
1664 * config/tc-z80.c (struct reg_entry): Likewise.
1665 * config/tc-epiphany.c (md_assemble): Adjust.
1666 (epiphany_assemble): New function.
1667 (epiphany_elf_section_rtn): Call do_align directly.
1668 (epiphany_elf_section_text): Likewise.
1669 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
1670 (ip2k_elf_section_text): Likewise.
1671 * read.c (do_align): Make it not static.
1672 * read.h (do_align): New prototype.
1673
1674 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1675
1676 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
1677 for ARMv8.1 AdvSIMD use.
1678 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
1679 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
1680
1681 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
1682
1683 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
1684 feature.
1685 (record_feature_use): New.
1686 (mark_feature_used): Use record_feature_use.
1687 (do_neon_qrdmlah): New.
1688 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
1689 variants.
1690 (arm_extensions): Put into alphabetical order. Re-indent "simd"
1691 and "rdma" entries. Fix the incorrect merge value for "+rdma".
1692 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
1693 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
1694 Make source file explicit.
1695 * testsuite/gas/arm/armv8-a+rdma.l: New.
1696 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
1697 directives. Fix white-space.
1698 * testsuite/gas/arm/armv8_1-a+simd.d: New.
1699
1700 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
1703
1704 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1705 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1706
1707 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
1708 (tc_arc_fix_adjustable): Changed default return value to 1.
1709 * testsuite/gas/arc/j.d: Updated expected symbol
1710 * testsuite/gas/arc/jl.d: Likewise
1711 * testsuite/gas/arc/relax-avoid1.d: Likewise
1712 * testsuite/gas/arc/st.d: Likewise
1713
1714 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
1715
1716 * config/tc-arc.c: Enable code density instructions for ARC EM.
1717
1718 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 PR ld/19645
1721 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
1722 for ELF assemblers.
1723 * as.c (flag_use_elf_stt_common): New.
1724 (show_usage): Add --elf-stt-common=.
1725 (option_values): Add OPTION_ELF_STT_COMMON.
1726 (std_longopts): Add --elf-stt-common=.
1727 (parse_args): Handle --elf-stt-common=.
1728 * as.h (flag_use_elf_stt_common): New.
1729 * config.in: Regenerated.
1730 * configure: Likewise.
1731 * configure.ac: Add --enable-elf-stt-common and define
1732 DEFAULT_GENERATE_ELF_STT_COMMON.
1733 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
1734 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
1735 * doc/as.texinfo: Document --elf-stt-common=.
1736 * testsuite/gas/elf/common3.s: New file.
1737 * testsuite/gas/elf/common3a.d: Likewise.
1738 * testsuite/gas/elf/common3b.d: Likewise.
1739 * testsuite/gas/elf/common4.s: Likewise.
1740 * testsuite/gas/elf/common4a.d: Likewise.
1741 * testsuite/gas/elf/common4b.d: Likewise.
1742 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
1743 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
1744 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
1745 and common4b.
1746 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
1747 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
1748 --elf-stt-common=no to as.
1749 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
1750 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
1751 --elf-stt-common=no to as.
1752 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
1753 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
1754 of dw2-compress-3 and dw2-compressed-3.
1755
1756 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1757
1758 * as.c (select_emulation_mode): Add const qualifiers.
1759 * as.h: Likewise.
1760 * config/bfin-defs.h: Likewise.
1761 * config/bfin-parse.y: Likewise.
1762 * config/rx-parse.y: Likewise.
1763 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
1764 (struct aarch64_cpu_option_table): Likewise.
1765 (struct aarch64_arch_option_table): Likewise.
1766 (struct aarch64_option_cpu_value_table): Likewise.
1767 (struct aarch64_long_option_table): Likewise.
1768 (struct aarch64_option_abi_value_table): Likewise.
1769 * config/tc-arm.c (struct reloc_entry): Likewise.
1770 (tc_gen_reloc): Likewise.
1771 (struct arm_option_table): Likewise.
1772 (struct arm_legacy_option_table): Likewise.
1773 (struct arm_cpu_option_table): Likewise.
1774 (struct arm_arch_option_table): Likewise.
1775 (struct arm_option_extension_value_table): Likewise.
1776 (struct arm_option_fpu_value_table): Likewise.
1777 (struct arm_option_value_table): Likewise.
1778 (struct arm_long_option_table): Likewise.
1779 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
1780 (struct mcu_type_s): Likewise.
1781 (struct exp_mod_s): Likewise.
1782 (avr_operand): Likewise.
1783 (avr_operands): Likewise.
1784 * config/tc-d10v.c (md_begin): Likewise.
1785 * config/tc-dlx.c: Likewise.
1786 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
1787 * config/tc-ft32.c (parse_condition): Likewise.
1788 * config/tc-h8300.c (do_a_fix_imm): Likewise.
1789 * config/tc-hppa.c (pa_ip): Likewise.
1790 (hppa_regname_to_dw2regnum): Likewise.
1791 * config/tc-i370.c (i370_elf_suffix): Likewise.
1792 * config/tc-i960.c (struct tabentry): Likewise.
1793 * config/tc-m32r.c: Likewise.
1794 * config/tc-m68k.c: Likewise.
1795 * config/tc-m68k.h: Likewise.
1796 * config/tc-mcore.c (parse_psrmod): Likewise.
1797 * config/tc-metag.c (struct metag_core_option): Likewise.
1798 (struct metag_long_option): Likewise.
1799 * config/tc-microblaze.c: Likewise.
1800 * config/tc-mips.c (macro): Likewise.
1801 * config/tc-mn10200.c: Likewise.
1802 * config/tc-mn10300.c: Likewise.
1803 * config/tc-msp430.c (struct rcodes_s): Likewise.
1804 (struct hcodes_s): Likewise.
1805 (md_parse_option): Likewise.
1806 * config/tc-ns32k.c (struct ns32k_option): Likewise.
1807 (optlist): Likewise.
1808 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
1809 (tc_ppc_regname_to_dw2regnum): Likewise.
1810 * config/tc-ppc.h: Likewise.
1811 * config/tc-rl78.c: Likewise.
1812 * config/tc-rx.c (struct cpu_type): Likewise.
1813 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
1814 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
1815 (sparc_ip): Likewise.
1816 * config/tc-spu.c (insn_fmt_string): Likewise.
1817 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1818 * config/tc-v850.c: Likewise.
1819 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
1820 (struct visium_long_option_table): Likewise.
1821 * config/tc-xgate.c: Likewise.
1822 * config/tc-z8k.c: Likewise.
1823 * read.c (add_include_dir): Likewise.
1824 * read.h: Likewise.
1825
1826 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1827
1828 * testsuite/gas/all/gas.exp: Change target pattern to cover
1829 arceb-*.
1830 * testsuite/gas/all/redef3.d: Likewise.
1831 * testsuite/gas/elf/elf.exp: Likewise.
1832
1833 2016-02-24 Renlin Li <renlin.li@arm.com>
1834
1835 * config/tc-arm.c (BAD_FP16): New error message macro.
1836 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
1837 fp16 scalar instructions.
1838 (neon_check_type): Allow different size from key.
1839 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
1840 (try_vfp_nsyn): Likewise.
1841 (do_vfp_nsyn_mla_mls): Likewise.
1842 (do_vfp_nsyn_fma_fms): Likewise.
1843 (do_vfp_nsyn_ldm_stm): Likewise
1844 (do_vfp_nsyn_sqrt): Likewise
1845 (do_vfp_nsyn_div): Likewise
1846 (do_vfp_nsyn_nmul): Likewise.
1847 (do_vfp_nsyn_cmp): Likewise.
1848 (do_neon_shll): Likewise.
1849 (do_vfp_nsyn_cvt_fpv8): Likewise.
1850 (do_neon_cvttb_2): Likewise.
1851 (do_neon_mov): Likewise.
1852 (do_neon_rshift_round_imm): Likewise.
1853 (do_neon_ldr_str): Likewise.
1854 (do_vfp_nsyn_fpv8): Likewise.
1855 (do_vmaxnm): Likewise.
1856 (do_vrint_1): Likewise.
1857 (insns): New entry for vins, vmovx.
1858 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
1859 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
1860 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
1861 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
1862 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
1863 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
1864 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
1865
1866 2016-02-24 Renlin Li <renlin.li@arm.com>
1867
1868 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
1869 (neon_shape_class): New SC_HALF.
1870 (neon_shape_el): New SE_H.
1871 (neon_shape_el_size): New size for SE_H.
1872 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
1873 (neon_select_shape): Add SE_H support code.
1874 (el_type_of_type_chk): Use N_F_ALL.
1875 (do_vfp_nsyn_cvt): Add SE_H shape support.
1876 (do_neon_cvtz): Likewise.
1877 (do_neon_cvt_1): Likewise.
1878 (do_neon_cvttb_1): Likewise.
1879
1880 2016-02-24 Renlin Li <renlin.li@arm.com>
1881
1882 * testsuite/gas/arm/copro.d: Adjust output.
1883 * testsuite/gas/arm/copro.s: Adjust co-processor num.
1884
1885 2016-02-24 Renlin Li <renlin.li@arm.com>
1886
1887 * testsuite/gas/arm/mask_1.d: New.
1888 * testsuite/gas/arm/mask_1.s: New.
1889
1890 2016-02-24 Renlin Li <renlin.li@arm.com>
1891
1892 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
1893 * testsuite/gas/arm/copro.d: Update.
1894
1895 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1896
1897 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
1898 * doc/c-arm.texi (ARM Options): Document cortex-a32.
1899
1900 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1901
1902 * doc/c-arm.texi (ARM Options): Document cortex-a17.
1903
1904 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
1907 hpux.
1908
1909 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1910
1911 * output-file.c (output_file_create): Make file name argument const.
1912 (output_file_close): Likewise.
1913 * output-file.h (output_file_create): Adjust.
1914 (output_file_close): Likewise.
1915 * depend.c (quote_string_for_make): Make src argument const char *.
1916 (register_dependency): Likewise.
1917 (wrap_output): Likewise.
1918 * as.h (register_dependency): Adjust.
1919 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
1920 as_where ();
1921 * symbols.c (S_SET_EXTERNAL): Likewise.
1922 * input-scrub.c (as_where): Return the file name.
1923 * as.h (as_where): Adjust prototype.
1924 * app.c (do_scrub_chars): Adjust.
1925 * cond.c (s_elseif): Likewise.
1926 (s_else): Likewise.
1927 (initialize_cframe): Likewise.
1928 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
1929 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1930 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1931 * config/tc-aarch64.c (output_info): Likewise.
1932 * config/tc-ia64.c (md_assemble): Likewise.
1933 (dot_alias): Likewise.
1934 * config/tc-m68k.c (m68k_frob_label): Likewise.
1935 * config/tc-mmix.c (s_bspec): Likewise.
1936 (mmix_handle_mmixal): Likewise.
1937 * config/tc-rx.c (rx_include): Likewise.
1938 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1939 (tic54x_adjust_symtab): Likewise.
1940 * config/tc-xtensa.c (directive_push): Likewise.
1941 (xtensa_sanity_check): Likewise.
1942 (xtensa_relax_frag): Likewise.
1943 (md_convert_frag): Likewise.
1944 (tinsn_to_slotbuf): Likewise.
1945 * dwarf2dbg.c (dwarf2_where): Likewise.
1946 * ecoff.c (add_file): Likewise.
1947 (ecoff_generate_asm_lineno): Likewise.
1948 * expr.c (make_expr_symbol): Likewise.
1949 * frags.c (frag_new): Likewise.
1950 (frag_var_init): Likewise.
1951 * listing.c (listing_newline): Likewise.
1952 * messages.c (identify): Likewise.
1953 (as_show_where): Likewise.
1954 (as_warn_internal): Likewise.
1955 (as_bad_internal): Likewise.
1956 * read.c (s_irp): Likewise.
1957 (s_macro): Likewise.
1958 (s_reloc): Likewise.
1959 * stabs.c (stabs_generate_asm_file): Likewise.
1960 (stabs_generate_asm_lineno): Likewise.
1961 (stabs_generate_asm_func): Likewise.
1962 * write.c (fix_new_internal): Likewise.
1963 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
1964 (as_warn_value_out_of_range): Adjust prototype.
1965 (as_bad_value_out_of_range): Adjust prototype.
1966 * messages.c (identify): Make file name argument const char *.
1967 (as_warn_internal): Likewise.
1968 (as_warn_where): Likewise.
1969 (as_bad_internal): Likewise.
1970 (as_bad_where): Likewise.
1971 (as_internal_value_out_of_range): Likewise.
1972 (as_warn_value_out_of_range): Likewise.
1973 (as_bad_value_out_of_range): Likewise.
1974 * as.h (found_comment_file): Change type to const char *.
1975 * cond.c (file_line::file): Likewise.
1976 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
1977 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
1978 * config/obj-som.c (obj_som_init_stab_section): Likewise.
1979 * config/tc-aarch64.c (output_info): Likewise.
1980 * config/tc-alpha.c (insert_operand): Likewise.
1981 * config/tc-arc.c (insert_operand): Likewise.
1982 * config/tc-d30v.c (check_size): Likewise.
1983 * config/tc-ia64.c (struct alias): Likewise.
1984 * config/tc-m68k.c (struct label_line): Likewise.
1985 * config/tc-mcore.c (md_apply_fix): Likewise.
1986 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
1987 * config/tc-mips.c (mips16_immed): Likewise.
1988 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
1989 * config/tc-ppc.c (ppc_insert_operand): Likewise.
1990 * config/tc-rx.c (rx_include): Likewise.
1991 * config/tc-s390.c (s390_insert_operand): Likewise.
1992 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1993 (tic54x_adjust_symtab): Likewise.
1994 * config/tc-tilegx.c (insert_operand): Likewise.
1995 (apply_special_operator): Likewise.
1996 * config/tc-tilepro.c (insert_operand): Likewise.
1997 * config/tc-xtensa.c (directive_push): Likewise.
1998 * ecoff.c (add_file): Likewise.
1999 (ecoff_generate_asm_lineno): Likewise.
2000 * listing.c (listing_newline): Likewise.
2001 * read.c (s_irp): Likewise.
2002 * write.c (install_reloc): Likewise.
2003 * write.h (struct fix): Likewise.
2004 * input-file.c (file_name): Change type to const char *.
2005 (saved_file::file_name): Likewise.
2006 (input_file_open): Change type of argument to const char *.
2007 * input-file.h (input_file_open): Adjust.
2008 * input-scrub.c (logical_input_file): change type to const char *.
2009 (physical_input_file): Likewise.
2010 (struct input_save): Adjust.
2011 (input_scrub_push): Adjust.
2012 (input_scrub_begin): Adjust.
2013 (as_where): Adjust.
2014 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2015 (input_scrub_include_file): Likewise.
2016 (new_logical_line_flags): Likewise.
2017 (new_logical_line): Likewise.
2018 * as.h: Adjust.
2019 * frags.h (struct frag): Change type of fr_file to const char *.
2020 * expr.c (expr_symbol_where): Change type of file argument to
2021 const char **.
2022 * expr.h (expr_symbol_where): Likewise.
2023 * config/tc-i370.c (md_apply_fix): adjust.
2024 * config/tc-mmix.c (mmix_md_end): Likewise.
2025 * config/tc-ppc.c (md_apply_fix): Likewise.
2026 * config/tc-s390.c (md_apply_fix): Likewise.
2027 * symbols.c (report_op_error): Likewise.
2028 (resolve_symbol_value): Likewise.
2029 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2030 (rsrc::file): Likewise.
2031 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2032 const char *.
2033 (xtensa_relax_frag): Likewise.
2034 (md_convert_frag): Likewise.
2035 (tinsn_to_slotbuf): Likewise.
2036 * expr.c (expr_symbol_line): Likewise.
2037 * macro.c (define_macro): Likewise.
2038 * macro.h (macro_struct): Likewise.
2039 * messages.c (as_show_where): Likewise.
2040 * read.c (s_macro): Likewise.
2041 * stabs.c (stabs_generate_asm_file): Likewise.
2042 (generate_asm_file): Likewise.
2043 (stabs_generate_asm_lineno): Likewise.
2044 * write.h (struct reloc_list): Likewise.
2045 * input-scrub.c (as_where): Change return type to const char *.
2046 * as.h (as_wheree): Adjust.
2047
2048 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 * write.c (compress_debug): Move BFD compression bits setting
2051 to ...
2052 (write_object_file): Here.
2053
2054 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * config/tc-i386.c (register_number): Check RegVRex.
2057 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2058 with %zmm19 and %zmm3.
2059 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2060 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2061
2062 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2063 Jiong Wang <jiong.wang@arm.com>
2064
2065 * config/tc-arm.c (arm_ext_fp16): New.
2066 (arm_extensions): New entry for "fp16".
2067
2068 2016-02-19 Nick Clifton <nickc@redhat.com>
2069
2070 PR 19630
2071 * read.c (read_a_source_file): Check for assemble_one returning
2072 with input_line_pointer set to NULL.
2073
2074 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2075
2076 * listing.c (rebuffer_line): Change return type to void.
2077
2078 * symbols.c (decode_local_label_name): Make type a const char *.
2079 * listing.c (print_source): Make type of p const char *.
2080 (print_line): Make type of string const char *.
2081 (buffer_line): Return const char *.
2082 (title): Make type const char *.
2083 (subtitle): Likewise.
2084 (listing_listing): Make type of p const char *.
2085 * messages.c (as_internal_value_out_of_range): Make type of prefix
2086 const char *.
2087 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2088 and string const char *.
2089 * read.c (_bfd_rel): Make type of name const char *.
2090 * app.c (out_string): Change type to const char *.
2091 (struct app_save::out_string): Likewise.
2092
2093 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2094 Nick Clifton <nickc@redhat.com>
2095
2096 * read.c (finish_bundle): Avoid recording a negative alignment.
2097 (do_align): Use unsigned values for n, len and max. Only create
2098 a frag if the alignment requirement is greater than the minimum
2099 byte alignment. Avoid recording a negative alignment.
2100 (s_align): Use unsigned values where appropriate.
2101 (bss_alloc): Use an unsigned value for the alignment.
2102 (sizeof_sleb128): Add a comment noting that we encode one octet
2103 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2104 (emit_leb129_expr): Abort if the emitted encoding was longer than
2105 expected.
2106 * read.h (output_leb128): Update prototype.
2107 (sizeof_leb128): Update prototype.
2108 (bss_alloc): Update prototype.
2109 * write.c (record_alignment): Use an unsigned value for the
2110 alignment. Do not record alignments less than the minimum
2111 alignment for a byte.
2112 * write.h (record_alignment): Update prototype.
2113
2114 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2115
2116 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2117 .init.literal/.fini.literal section name.
2118 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2119 list of xtensa tests.
2120 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2121 init-fini-literals test result patterns.
2122 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2123 init-fini-literals test.
2124
2125 2016-02-17 Nick Clifton <nickc@redhat.com>
2126
2127 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2128 devices.csv file as of March 2016.
2129
2130 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2131
2132 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2133 function.
2134 (tc_arc_regname_to_dw2regnum): Likewise.
2135 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2136 (tc_cfi_frame_initial_instructions): Likewise.
2137 (tc_regname_to_dw2regnum): Likewise.
2138 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2139 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2140 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2141
2142 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2143
2144 * doc/internals.texi (S_IS_EXTERN): Remove.
2145
2146 2016-02-16 Nick Clifton <nickc@redhat.com>
2147
2148 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2149 update.
2150
2151 2016-02-16 Renlin Li <renlin.li@arm.com>
2152
2153 PR gas/19620
2154 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2155 * testsuite/gas/aarch64/movw_label.d: New.
2156 * testsuite/gas/aarch64/movw_label.s: New.
2157
2158 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2159
2160 PR gas/19556
2161 * config/rx-parse.y (MOV): Opcode generation for index
2162 register addressing mode.
2163 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2164 * testsuite/gas/rx/pr19665.s: New file.
2165 * testsuite/gas/rx/pr19665.s: New file.
2166 * testsuite/gas/rx/mov.d: Update expected output.
2167
2168 2016-02-15 Nick Clifton <nickc@redhat.com>
2169
2170 * doc/as.texinfo (.section): Document that numeric values can now
2171 be used for the flags and type fields of the ELF target's .section
2172 directive. Add notes about the restrictions on setting flags and
2173 types.
2174 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2175 to be given processor specific section types. Allow processor and
2176 application specific flags of a section to be set after
2177 definition.
2178 (obj_elf_parse_section_letters): Handle parsing numeric values.
2179 (obj_elf_section_type): Handle parsing numeric values.
2180 (obj_elf_section): Allow numeric type values.
2181 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2182 * testsuite/gas/elf/section10.d: New test.
2183 * testsuite/gas/elf/section10.s: Source file for new test.
2184 * testsuite/gas/elf/elf.exp: Run the new test.
2185 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2186 the description of the flags produced by readelf.
2187 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2188 * NEWS: Mention the new feature.
2189
2190 2016-02-11 Nick Clifton <nickc@redhat.com>
2191
2192 PR gas/19614
2193 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2194 until it is actually used.
2195 (cfi_set_sections): Set cfi_sections_set to true.
2196 (dot_cfi_startproc): Likewise.
2197 (dot_cfi_endproc): Likewise.
2198 (dot_cfi_fde_data): Likewise.
2199 (cfi_finish): Likewise.
2200 (dot_cfi_sections): Do not set cfi_sections_set.
2201 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2202 their own cfi section name. Also note that the directive can be
2203 reissued provided that CFI generation has not started.
2204 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2205 .cfi_endproc directives so that the redefinition of .cfi_sections
2206 will trigger the generation of the error message.
2207 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2208 number of error message.
2209
2210 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2211 Janek van Oirschot <jvanoirs@synopsys.com>
2212
2213 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2214 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2215 Define.
2216 (arc_flags, arc_relax_type): New structure.
2217 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2218 (RELAX_TABLE_ENTRY_MAX): New define.
2219 (relaxation_state, md_relax_table, arc_relaxable_insns)
2220 (arc_num_relaxable_ins): New variable.
2221 (rlx_operand_type, arc_rlx_types): New enums.
2222 (arc_relaxable_ins): New structure.
2223 (OPTION_RELAX): New option.
2224 (arc_insn): New relax member.
2225 (arc_flags): Remove.
2226 (relax_insn_p): New function.
2227 (apply_fixups): Likewise.
2228 (relaxable_operand): Likewise.
2229 (may_relax_expr): Likewise.
2230 (relaxable_flag): Likewise.
2231 (arc_pcrel_adjust): Likewise.
2232 (md_estimate_size_before_relax): Implement.
2233 (md_convert_frag): Likewise.
2234 (md_parse_option): Handle new mrelax option.
2235 (md_show_usage): Likewise.
2236 (assemble_insn): Set relax member.
2237 (emit_insn0): New function.
2238 (emit_insn1): Likewise.
2239 (emit_insn): Handle relaxation case.
2240 * NEWS: Mention the new relaxation option.
2241 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2242 * doc/as.texinfo (Target ARC Options): Likewise.
2243 * testsuite/gas/arc/relax-avoid1.d: New file.
2244 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2245 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2246 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2247 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2248 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2249 * testsuite/gas/arc/relax-b.d: Likewise.
2250 * testsuite/gas/arc/relax-b.s: Likewise.
2251
2252 2016-02-08 Nick Clifton <nickc@redhat.com>
2253
2254 * config/tc-ia64.c (dot_prologue): Fix formatting.
2255
2256 2016-02-04 Nick Clifton <nickc@redhat.com>
2257
2258 * config/obj-elf.c (obj_elf_change_section): Remove support for
2259 ARM NOREAD sections.
2260 * config/tc-arm.c (arm_elf_section_letter): Delete.
2261 * config/tc-arm.h (md_elf_section_letter): Delete.
2262 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2263 * testsuite/gas/arm/section-execute-only.d: Delete.
2264 * testsuite/gas/arm/section-execute-only.s: Delete.
2265
2266 2016-02-04 Nick Clifton <nickc@redhat.com>
2267
2268 PR target/19561
2269 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2270 to handle encoding of RRUX instruction.
2271 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2272 shift instructions.
2273 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2274
2275 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2276
2277 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2278 substitutions for BFD_RELOC_* as unsigned.
2279 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2280 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2281 * testsuite/gas/xtensa/loc.s: New file: loc test.
2282
2283 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2284
2285 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2286
2287 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2288
2289 PR gas/19520
2290 * NEWS: Mention new command line option -mrelax-relocations and
2291 new configure option --enable-x86-relax-relocations for x86
2292 target.
2293 * config.in: Regenerated.
2294 * configure.ac: Add --enable-x86-relax-relocations.
2295 (ac_default_x86_relax_relocations): New. Default to 1 except
2296 for x86 Solaris targets older than Solaris 12.
2297 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2298 * configure: Likewise.
2299 * config/tc-i386.c (generate_relax_relocations): New.
2300 (OPTION_MRELAX_RELOCATIONS): Likewise.
2301 (output_disp): Don't generate relax relocations if
2302 generate_relax_relocations is 0.
2303 (md_longopts): Add -mrelax-relocations.
2304 (md_show_usage): Likewise.
2305 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2306 * doc/c-i386.texi: Document -mrelax-relocations=.
2307 * testsuite/gas/i386/got-no-relax.d: New file.
2308 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2309 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2310 * testsuite/gas/i386/localpic.d: Likewise.
2311 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2312 * testsuite/gas/i386/reloc32.d: Likewise.
2313 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2314 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2315 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2316 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2317 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2318 x86-64-gotpcrel-no-relax.
2319
2320 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2321
2322 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2323 for x86 target.
2324
2325 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * NEWS: Remove duplicated marker for 2.26.
2328
2329 2016-02-02 Renlin Li <renlin.li@arm.com>
2330
2331 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2332
2333 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2334
2335 * testsuite/gas/ip2k/allinsn.d: New file.
2336 * testsuite/gas/ip2k/allinsn.s: New file.
2337 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2338
2339 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2340
2341 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2342 some load instructions.
2343 * testsuite/gas/epiphany/allinsn.d: Likewise.
2344 * testsuite/gas/epiphany/regression.d: Likewise.
2345
2346 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2347
2348 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2349 suffixes from instruction mnemonics in expected output.
2350 * testsuite/gas/epiphany/allinsn.d: Likewise.
2351 * testsuite/gas/epiphany/regression.d: Likewise.
2352 * testsuite/gas/epiphany/sample.d: Likewise.
2353
2354 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2355
2356 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2357 names.
2358 * testsuite/gas/epiphany/allinsn.d: Likewise.
2359 * testsuite/gas/epiphany/sample.d: Likewise.
2360
2361 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2362
2363 * testsuite/gas/epiphany/sample.d: Update expected output.
2364
2365 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2366
2367 * config/tc-arc.c (md_apply_fix): Allow addendum.
2368 (arc_reloc_op): Allow complex expressions for tpoff.
2369 (md_apply_fix): Handle resolved TLS local symbol.
2370 * testsuite/gas/arc/tls-relocs1.d: New file.
2371 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2372
2373 2016-02-01 Loria <Loria@phantasia.org>
2374
2375 PR target/19311
2376 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2377 efficiency and avoid an LLVM loop optimization bug.
2378
2379 2016-02-01 Nick Clifton <nickc@redhat.com>
2380
2381 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2382 message extending a negative 32-bit value into a larger signed
2383 value on a 32-bit host.
2384
2385 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 PR gas/19532
2388 * configure.ac (compressed_debug_sections): Replace == with =.
2389 * configure: Regenerated.
2390
2391 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2392 H.J. Lu <hongjiu.lu@intel.com>
2393
2394 * config/tc-i386.c (avoid_fence): New.
2395 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2396 is true.
2397 (OPTION_FENCE_AS_LOCK_ADD): New.
2398 (md_longopts): Add -mfence-as-lock-add.
2399 (md_parse_option): Handle -mfence-as-lock-add.
2400 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2401 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2402 * testsuite/gas/i386/i386.exp: Run new tests.
2403 * testsuite/gas/i386/fence-as-lock-add.s: New.
2404 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2405 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2406 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2407 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2408
2409 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2412 * configure: Regenerated.
2413
2414 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2417 (OPTION_MOMIT_LOCK_PREFIX): This.
2418 (md_longopts): Updated.
2419 (md_parse_option): Likewise.
2420
2421 2016-01-25 Catherine Moore <clm@codesourcery.com>
2422
2423 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
2424 if abicalls are in effect.
2425 * testsuite/gas/mips/sdata-gp.s: New test.
2426 * testsuite/gas/mips/sdata-gp.d: New expected output
2427 * testsuite/gas/mips/mips.exp: Run new test.
2428
2429 2016-01-25 Renlin Li <renlin.li@arm.com>
2430
2431 * testsuite/gas/arm/thumb2_it_search.d: New.
2432 * testsuite/gas/arm/thumb2_it_search.s: New.
2433
2434 2016-01-21 Nick Clifton <nickc@redhat.com>
2435
2436 PR gas/19454
2437 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
2438 with arm-netbsdelf target.
2439 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
2440
2441 2016-01-20 Nick Clifton <nickc@redhat.com>
2442
2443 PR 19456
2444 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
2445 * testsuite/gas/arm/blx-bl-convert.d
2446 * testsuite/gas/arm/plt-1.d: Likewise.
2447 * testsuite/gas/arm/reloc-bad.d: Likewise.
2448 * testsuite/gas/arm/thumb-w-good.d: Likewise.
2449 * testsuite/gas/arm/thumb2_pool.d: Likewise.
2450 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
2451 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
2452
2453 PR 19499
2454 * doc/as.texinfo (Errors): Correct documentation describing the
2455 interaction of .file and .line with warning and error messages.
2456
2457 PR 19458
2458 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
2459 * testsuite/gas/arm/archv8m-main.d: Likewise.
2460 * testsuite/gas/arm/archv8m-base.d: Likewise.
2461
2462 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
2463
2464 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
2465 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
2466 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
2467
2468 2016-01-20 Mickael Guene <mickael.guene@st.com>
2469 Terry Guo <terry.guo@arm.com>
2470
2471 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
2472 SHF_ARM_NOREAD section flag.
2473 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
2474 handle letter 'y'.
2475 (arm_elf_section_letter) : Declare it.
2476 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
2477 SHF_ARM_NOREAD section flag.
2478 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
2479
2480 * testsuite/gas/arm/section-execute-only.s: New test case.
2481 * testsuite/gas/arm/section-execute-only.d: Expected output.
2482
2483 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
2484
2485 * config/tc-mips.c (micromips_insn_length): Remove the mention
2486 of 48-bit microMIPS instructions.
2487
2488 2016-01-18 Alan Modra <amodra@gmail.com>
2489
2490 * configure: Regenerate.
2491
2492 2016-01-17 Alan Modra <amodra@gmail.com>
2493
2494 * configure: Regenerate.
2495
2496 2016-01-17 Alan Modra <amodra@gmail.com>
2497
2498 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
2499
2500 2016-01-14 Nick Clifton <nickc@redhat.com>
2501
2502 * testsuite/gas/rl78/sp-relative-movw.s: New test.
2503 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
2504 * testsuite/gas/rl78/rl78.exp: Run the new test.
2505
2506 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
2507
2508 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
2509 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
2510
2511 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
2512
2513 * config/tc-nios2.c (output_movia): Preset `code' to 0.
2514
2515 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
2516
2517 * config/tc-h8300.c (get_operand): Remove spurious condition in
2518 test for closing parenthesis.
2519
2520 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
2521
2522 * config/tc-arm.c (arm_ext_v8_2): New.
2523 (insns): Add "esb".
2524 * testsuite/gas/arm/armv8_2-a.d: New.
2525 * testsuite/gas/arm/armv8_2-a.s: New.
2526
2527 2016-01-12 Alan Modra <amodra@gmail.com>
2528
2529 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
2530
2531 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
2532
2533 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
2534 xvcmpnesp, xvcmpnesp.>: Delete tests.
2535 * testsuite/gas/ppc/power9.s: Likewise.
2536 * testsuite/gas/ppc/vsx3.d: Likewise.
2537 * testsuite/gas/ppc/vsx3.s: Likewise.
2538
2539 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
2540
2541 PR gas/13050
2542 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
2543 * testsuite/gas/m68k/p13050-1.s: New file.
2544 * testsuite/gas/m68k/p13050-2.d: New file.
2545 * testsuite/gas/m68k/p13050-2.s: New file.
2546
2547 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2548
2549 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
2550 * testsuite/gas/arc/add.d: Likewise.
2551 * testsuite/gas/arc/and.d: Likewise.
2552 * testsuite/gas/arc/asl.d: Likewise.
2553 * testsuite/gas/arc/asr.d: Likewise.
2554 * testsuite/gas/arc/bic.d: Likewise.
2555 * testsuite/gas/arc/extb.d: Likewise.
2556 * testsuite/gas/arc/extw.d: Likewise.
2557 * testsuite/gas/arc/j.d: Likewise.
2558 * testsuite/gas/arc/jl.d: Likewise.
2559 * testsuite/gas/arc/ld2.d: Likewise.
2560 * testsuite/gas/arc/lsr.d: Likewise.
2561 * testsuite/gas/arc/mov.d: Likewise.
2562 * testsuite/gas/arc/or.d: Likewise.
2563 * testsuite/gas/arc/pcl-relocs.d: Likewise.
2564 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
2565 * testsuite/gas/arc/pic-relocs.d: Likewise.
2566 * testsuite/gas/arc/plt-relocs.d: Likewise.
2567 * testsuite/gas/arc/rlc.d: Likewise.
2568 * testsuite/gas/arc/ror.d: Likewise.
2569 * testsuite/gas/arc/rrc.d: Likewise.
2570 * testsuite/gas/arc/sbc.d: Likewise.
2571 * testsuite/gas/arc/sda-relocs.d: Likewise.
2572 * testsuite/gas/arc/sda-relocs2.d: Likewise.
2573 * testsuite/gas/arc/sexb.d: Likewise.
2574 * testsuite/gas/arc/sexw.d: Likewise.
2575 * testsuite/gas/arc/st.d: Likewise.
2576 * testsuite/gas/arc/sub.d: Likewise.
2577 * testsuite/gas/arc/tls-relocs.d: Likewise.
2578 * testsuite/gas/arc/xor.d: Likewise.
2579
2580 2016-01-01 Alan Modra <amodra@gmail.com>
2581
2582 Update year range in copyright notice of all files.
2583
2584 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2585 \f
2586 Copyright (C) 2016 Free Software Foundation, Inc.
2587
2588 Copying and distribution of this file, with or without modification,
2589 are permitted in any medium without royalty provided the copyright
2590 notice and this notice are preserved.
2591
2592 Local Variables:
2593 mode: change-log
2594 left-margin: 8
2595 fill-column: 74
2596 version-control: never
2597 End:
This page took 0.08014 seconds and 3 git commands to generate.