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