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