+
+ * testsuite/gas/arc/textinsn-errors.d: New File.
+ * testsuite/gas/arc/textinsn-errors.err: Likewise.
+ * testsuite/gas/arc/textinsn-errors.s: Likewise.
+ * testsuite/gas/arc/textinsn2op.d: Likewise.
+ * testsuite/gas/arc/textinsn2op.s: Likewise.
+ * testsuite/gas/arc/textinsn2op01.d: Likewise.
+ * testsuite/gas/arc/textinsn2op01.s: Likewise.
+ * testsuite/gas/arc/textinsn3op.d: Likewise.
+ * testsuite/gas/arc/textinsn3op.s: Likewise.
+ * doc/c-arc.texi (ARC Directives): Add .extInstruction
+ documentation.
+ * config/tc-arc.c (arcext_section): New variable.
+ (arc_extinsn): New function.
+ (md_pseudo_table): Add .extInstruction pseudo op.
+ (attributes_t): New type.
+ (suffixclass, syntaxclass, syntaxclassmod): New constant
+ structures.
+ (find_opcode_match): Remove arc_num_opcodes.
+ (md_begin): Likewise.
+ (tokenize_extinsn): New function.
+ (arc_set_ext_seg): Likewise.
+ (create_extinst_section): Likewise.
+
+
+ * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
+ (arc_adjust_symtab): New function.
+ * config/tc-arc.h (ARC_FLAG_AUX): Define.
+ (obj_adjust_symtab): Likewise.
+ * testsuite/gas/arc/taux.d: New file.
+ * testsuite/gas/arc/taux.s: Likewise.
+
+
+ * config/tc-mips.c (s_option): Sanitize `.option picX'
+ pseudo-op.
+ * testsuite/gas/mips/option-pic-1.d: New test.
+ * testsuite/gas/mips/option-pic-2.l: New list test.
+ * testsuite/gas/mips/option-pic-1.s: New test source.
+ * testsuite/gas/mips/option-pic-2.s: New test source.
+ * testsuite/gas/mips/mips.exp: Run the new tests.
+
+
+ * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
+ PIC.
+ * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
+ * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
+ * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
+ * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
+ * testsuite/gas/mips/mips.exp: Run the new tests.
+
+
+ * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
+
+
+ * messages.c (as_bad): Fix a typo in description.
+
+
+ * config/tc-mips.c (mips_check_options): Unify messages.
+
+
+ * config/tc-mips.c (mips_check_options): Use `opts->isa'
+ consistently.
+
+
+ PR target/19910
+ * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
+ COFF and AOUT sparc targets.
+
+
+ * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
+ * testsuite/gas/arc/nps400-2.d: New file.
+ * testsuite/gas/arc/nps400-2.s: New file.
+
+
+ * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
+ structure.
+ (arc_opcode_hash_entry_iterator_init): New function.
+ (arc_opcode_hash_entry_iterator_next): New function.
+ (find_opcode_match): Iterate over all arc_opcode entries
+ referenced by the arc_opcode_hash_entry passed in as a parameter.
+
+
+ * config/tc-arc.c (arc_find_opcode): Now returns
+ arc_opcode_hash_entry pointer.
+ (find_opcode_match): Update argument type, extract arc_opcode from
+ incoming arc_opcode_hash_entry.
+ (find_special_case_pseudo): Update return type.
+ (find_special_case_flag): Update return type.
+ (find_special_case): Update return type.
+ (assemble_tokens): Lookup arc_opcode_hash_entry based on
+ instruction mnemonic, then use find_opcode_match to identify
+ specific arc_opcode.
+
+
+ * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
+ (arc_find_opcode): New function.
+ (find_special_case_pseudo): Use arc_find_opcode.
+ (find_special_case_flag): Likewise.
+ (assemble_tokens): Likewise.
+ (md_begin): Build hash using struct arc_opcode_hash_entry.
+
+
+ * config/tc-arc.c (arc_option): Prepare string for automatic
+ translation.
+ (declare_register): Likewise.
+
+
+ * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
+ Correct entry for RDMA. Alpha sort entries.
+
+
+ * config/tc-arc.c (tokenize_flags): Allow greater range of
+ characters into flag names.
+
+
+ * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
+ new de_fault label.
+ (preprocess_operands): Delete.
+ (assemble_tokens): Remove call to preprocess_operands.
+
+
+ PR gas/19910
+ * config/tc-sparc.c (sparc_ip): Report an error if the expression
+ inside a %-macro could not be fully parsed.
+ * expr.c (integer_constant): Accept and ignore U suffixes to
+ integers.
+ (operand): When a missing closing parenthesis is encountered,
+ report the character that was found instead.
+ * testsuite/gas/mips/tls-ill.l: Update expected error message.
+ * testsuite/gas/sparc/pr19910-1.d: New test driver.
+ * testsuite/gas/sparc/pr19910-1.s: New test.
+ * testsuite/gas/sparc/pr19910-2.l: Expected error output.
+ * testsuite/gas/sparc/pr19910-2.s: New test.
+ * testsuite/gas/sparc/sparc.exp: Run the new tests.
+
+
+ * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
+ an EINT instruction. Warn/fix as necessary.
+ * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
+ * testsuite/gas/msp430/bad.l: Update expected messages.
+
+
+ * testsuite/gas/arc/nps400-1.d: Update expected results.
+ * testsuite/gas/arc/nps400-1.s: Additional test cases.
+
+
+ * config/tc-arc.c (is_code_density_p): Compare directly the
+ subclass field.
+ (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
+ (check_cpu_feature): New function.
+ (find_opcode_match): Use check_cpu_feature function.
+ (preprocess_operands): Likewise.
+ (md_parse_option): Use mfpuda, mdpfp, mspfp options.
+ * testsuite/gas/arc/tdpfp.d: New file.
+ * testsuite/gas/arc/tfpuda.d: Likewise.
+ * testsuite/gas/arc/tfpx.s: Likewise.
+
+
+ * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
+ * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
+ * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
+ * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
+ * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
+ * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
+ * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
+ * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
+ for Thumb.
+ * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
+
+
+ * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
+ JUMP instructions type.
+ * testsuite/gas/arc/relocs-errors.d: New file.
+ * testsuite/gas/arc/relocs-errors.err: Likewise.
+ * testsuite/gas/arc/relocs-errors.s: Likewise.
+
+
+ PR gas/19498
+ * testsuite/gas/i386/i386.exp: Run pr19498.
+ * testsuite/gas/i386/pr19498.d: New file.
+ * testsuite/gas/i386/pr19498.s: Likewise.
+
+
+ * config/tc-arc.h: Include 'opcode/arc.h'.
+ (MAX_INSN_ARGS): Delete.
+ (MAX_INSN_FLGS): Delete.
+
+
+ PR 19498
+ * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
+ from function on all paths that set sy_resolving.
+
+
+ * app.c (app_push): use XNEW macro.
+ * as.c: Likewise.
+ * config/obj-elf.c (obj_elf_change_section): Likewise.
+ (elf_copy_symbol_attributes): Likewise.
+ (obj_elf_size): Likewise.
+ (build_group_lists): Likewise.
+ * config/tc-aarch64.c (add_operand_error_record): Likewise.
+ (md_assemble): Likewise.
+ (tc_gen_reloc): Likewise.
+ (get_upper_str): Likewise.
+ (aarch64_parse_features): Likewise.
+ * config/tc-arm.c (insert_reg_alias): Likewise.
+ (insert_neon_reg_alias): Likewise.
+ (find_or_make_literal_pool): Likewise.
+ (s_arm_elf_cons): Likewise.
+ (add_unwind_opcode): Likewise.
+ (arm_parse_extension): Likewise.
+ * config/tc-avr.c (create_record_for_frag): Likewise.
+ * config/tc-crx.c: Likewise.
+ * config/tc-d30v.c: Likewise.
+ * config/tc-dlx.c (s_proc): Likewise.
+ * config/tc-ft32.c: Likewise.
+ * config/tc-h8300.c: Likewise.
+ * config/tc-hppa.c (pa_proc): Likewise.
+ (create_new_space): Likewise.
+ (create_new_subspace): Likewise.
+ * config/tc-i860.c: Likewise.
+ * config/tc-i960.c: Likewise.
+ * config/tc-ia64.c: Likewise.
+ * config/tc-iq2000.c (iq2000_add_macro): Likewise.
+ (iq2000_record_hi16): Likewise.
+ * config/tc-m32c.c (m32c_indirect_operand): Likewise.
+ * config/tc-m32r.c (debug_sym): Likewise.
+ (m32r_record_hi16): Likewise.
+ * config/tc-m68k.c (m68k_ip): Likewise.
+ (md_begin): Likewise.
+ * config/tc-mcore.c: Likewise.
+ * config/tc-microblaze.c (check_got): Likewise.
+ * config/tc-mips.c (append_insn): Likewise.
+ (s_mipsset): Likewise.
+ (mips_record_label): Likewise.
+ (s_mips_end): Likewise.
+ * config/tc-mmix.c (mmix_frob_file): Likewise.
+ * config/tc-mn10200.c: Likewise.
+ * config/tc-mn10300.c: Likewise.
+ * config/tc-moxie.c: Likewise.
+ * config/tc-msp430.c: Likewise.
+ * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
+ * config/tc-ns32k.c: Likewise.
+ * config/tc-or1k.c: Likewise.
+ * config/tc-pdp11.c: Likewise.
+ * config/tc-pj.c (fake_opcode): Likewise.
+ * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
+ (ppc_macro): Likewise.
+ (ppc_dwsect): Likewise.
+ (ppc_machine): Likewise.
+ * config/tc-rl78.c (rl78_frag_init): Likewise.
+ * config/tc-rx.c (rx_frag_init): Likewise.
+ * config/tc-s390.c (s390_lit_suffix): Likewise.
+ (s390_machine): Likewise.
+ (s390_machinemode): Likewise.
+ * config/tc-score.c (s3_insert_reg): Likewise.
+ (s3_gen_reloc): Likewise.
+ * config/tc-score7.c (s7_insert_reg): Likewise.
+ (s7_gen_reloc): Likewise.
+ * config/tc-tic30.c (tic30_operand): Likewise.
+ * config/tc-tic4x.c (tic4x_inst_make): Likewise.
+ * config/tc-tic54x.c (stag_add_field): Likewise.
+ (tic54x_struct): Likewise.
+ (tic54x_space): Likewise.
+ (tic54x_field): Likewise.
+ (tic54x_mlib): Likewise.
+ (subsym_substitute): Likewise.
+ * config/tc-tic6x.c (tic6x_frob_label): Likewise.
+ * config/tc-vax.c: Likewise.
+ * config/tc-xc16x.c: Likewise.
+ * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
+ (directive_push): Likewise.
+ (xtensa_begin_directive): Likewise.
+ (tokenize_arguments): Likewise.
+ (xtensa_add_literal_sym): Likewise.
+ (new_resource_table): Likewise.
+ (resize_resource_table): Likewise.
+ (emit_single_op): Likewise.
+ (xtensa_create_trampoline_frag): Likewise.
+ (xtensa_maybe_create_literal_pool_frag): Likewise.
+ (xtensa_add_config_info): Likewise.
+ (xtensa_realloc_fixup_cache): Likewise.
+ (add_subseg_info): Likewise.
+ (cache_literal_section): Likewise.
+ (add_xt_block_frags): Likewise.
+ (add_xt_prop_frags): Likewise.
+ (init_op_placement_info_table): Likewise.
+ (build_section_rename): Likewise.
+ * config/tc-z80.c: Likewise.
+ * config/tc-z8k.c: Likewise.
+ * depend.c (register_dependency): Likewise.
+ * dwarf2dbg.c (get_line_subseg): Likewise.
+ (dwarf2_gen_line_info_1): Likewise.
+ (get_filenum): Likewise.
+ * ecoff.c (allocate_scope): Likewise.
+ (allocate_vlinks): Likewise.
+ (allocate_shash): Likewise.
+ (allocate_thash): Likewise.
+ (allocate_tag): Likewise.
+ (allocate_forward): Likewise.
+ (allocate_thead): Likewise.
+ (allocate_lineno_list): Likewise.
+ * expr.c (make_expr_symbol): Likewise.
+ * hash.c (hash_new_sized): Likewise.
+ * input-file.c (input_file_push): Likewise.
+ * listing.c (file_info): Likewise.
+ (listing_newline): Likewise.
+ * macro.c (new_formal): Likewise.
+ (define_macro): Likewise.
+ * remap.c (add_debug_prefix_map): Likewise.
+ * symbols.c (symbol_find_noref): Likewise.
+ (define_dollar_label): Likewise.
+ (fb_label_instance_inc): Likewise.
+ (symbol_relc_make_value): Likewise.
+
+
+ * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
+ * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
+ (ppc_znop): Likewise.
+ (ppc_pe_section): Likewise.
+ (ppc_frob_symbol): Likewise.
+ * config/tc-tic30.c (tic30_operand): Likewise.
+ * config/tc-tic4x.c (tic4x_sect): Likewise.
+ (tic4x_usect): Likewise.
+
+
+ * config/tc-alpha.c: Const qualify FLT_CHARS.
+ * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
+ * config/tc-cris.h: Likewise.
+ * expr.c: Likewise.
+ * config/tc-mmix.c (md_atof): Adjust comment.
+ * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
+ * tc.h: Declare FLT_CHARS and EXP_CHARS.
+
+
+ * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
+ * config/tc-score7.c (s7_gen_reloc): Likewise.
+
+
+ * config/tc-arm.c (do_t_branch): Change the type of reloc to
+ bfd_reloc_code_real_type.
+
+
+ * config/bfin-parse.y (current_inputline): Remove definition.
+ * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
+
+
+ * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
+ strings.
+
+
+ PR 19896
+ * read.c (assign_symbol): Consume rest of line after an error
+ rather than continuing to process the line.
+
+
+ * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
+ (MAX_FLAG_NAME_LENGTH): ...this.
+ (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
+ * config/tc-arc.c (tokenize_flags): Likewise.
+
+
+ * cgen.c (weak_operand_overflow_check): Return const char*.
+ * messages.c (as_internal_value_out_of_range): Formatting.
+ (as_warn_value_out_of_range): Consify prefix param.
+ (as_bad_value_out_of_range): Likewise.
+ * read.c (s_errwarn): Constify msg..
+ (s_float_space, float_cons): ..and err.
+ * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
+ ieee_md_atof, vax_md_atof): Update prototypes.
+ * tc.h (md_atof): Update prototype.
+ * config/atof-ieee.c (ieee_md_atof): Return const char*.
+ * config/atof-vax.c (vax_md_atof): Likewise.
+ * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
+ * config/tc-aarch64.c (md_atof): Return const char*.
+ * config/tc-alpha.c (s_alpha_section_name): Likewise.
+ (s_alpha_comm): Constify sec_name.
+ (section_name): Constify.
+ (s_alpha_section): Consify name..
+ (alpha_elf_section_letter): ..and ptr_msg param..
+ (md_atof): ..and return.
+ * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
+ * config/tc-arc.c (md_atof): Return const char*.
+ * config/tc-arm.c (md_atof): Likewise.
+ * config/tc-avr.c (md_atof): Likewise.
+ * config/tc-bfin.c (md_atof): Likewise.
+ * config/tc-cr16.c (md_atof): Likewise.
+ * config/tc-cris.c (md_atof): Likewise.
+ * config/tc-crx.c (md_atof): Likewise.
+ * config/tc-d10v.c (md_atof): Likewise.
+ * config/tc-d30v.c (md_atof): Likewise.
+ * config/tc-dlx.c (md_atof): Likewise.
+ * config/tc-epiphany.c (md_atof): Likewise.
+ * config/tc-fr30.c (md_atof): Likewise.
+ * config/tc-frv.c (md_atof): Likewise.
+ * config/tc-ft32.c (md_atof): Likewise.
+ * config/tc-h8300.c (md_atof): Likewise.
+ * config/tc-hppa.c (struct default_subspace_dict): Constify name.
+ (struct default_space_dict): Likewise.
+ (create_new_space): Constify name param.
+ (create_new_subspace): Likewise.
+ (is_defined_space, is_defined_subspace): Likewise.
+ (pa_parse_space_stmt): Constify space_name param.
+ (md_atof): Return const char*.
+ (pa_spaces_begin): Constify name.
+ * config/tc-i370.c (md_atof): Return const char*.
+ * config/tc-i386.c (md_atof): Likewise.
+ (x86_64_section_letter): Constify ptr_msg param.
+ * config/tc-i386.h (x86_64_section_letter): Update prototype.
+ * config/tc-i860.c (struct i860_it): Constify error.
+ (md_atof): Return const char*.
+ * config/tc-i960.c (md_atof): Likewise.
+ * config/tc-ia64.c (md_atof): Likewise.
+ (ia64_elf_section_letter): Constify ptr_msg param.
+ * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
+ * config/tc-ip2k.c (md_atof): Return const char*.
+ * config/tc-iq2000.c (md_atof): Likewise.
+ * config/tc-lm32.c (md_atof): Likewise.
+ * config/tc-m32c.c (md_atof): Likewise.
+ * config/tc-m32r.c (md_atof): Likewise.
+ * config/tc-m68hc11.c (md_atof): Likewise.
+ * config/tc-m68k.c (md_atof): Likewise.
+ * config/tc-mcore.c (md_atof): Likewise.
+ * config/tc-mep.c (md_atof): Likewise.
+ (mep_elf_section_letter): Constify ptr_msg param.
+ * config/tc-mep.h (mep_elf_section_letter): Update prototype.
+ * config/tc-metag.c (md_atof): Return const char*.
+ * config/tc-microblaze.c (md_atof): Likewise.
+ * config/tc-microblaze.h (md_atof): Delete prototype.
+ * config/tc-mips.c (mips_parse_argument_token): Constify err.
+ (md_atof): Return const char*.
+ * config/tc-mmix.c (md_atof): Likewise.
+ * config/tc-mn10200.c (md_atof): Likewise.
+ * config/tc-mn10300.c (md_atof): Likewise.
+ * config/tc-moxie.c (md_atof): Likewise.
+ * config/tc-msp430.c (md_atof): Likewise.
+ * config/tc-mt.c (md_atof): Likewise.
+ * config/tc-nds32.c (md_atof): Likewise.
+ * config/tc-nios2.c (md_atof): Likewise.
+ (nios2_elf_section_letter): Constify ptr_msg param.
+ * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
+ * config/tc-ns32k.c (md_atof): Return const char*.
+ * config/tc-or1k.c (md_atof): Likewise.
+ * config/tc-pdp11.c (struct pdp11_code): Constify error.
+ (md_atof): Return const char*.
+ * config/tc-pj.c (md_atof): Likewise.
+ * config/tc-ppc.c (md_atof): Likewise.
+ * config/tc-rl78.c (md_atof): Likewise.
+ * config/tc-rx.c (md_atof): Likewise.
+ * config/tc-s390.c (md_atof): Likewise.
+ * config/tc-score.c (s3_atof, md_atof): Likewise.
+ * config/tc-sh.c (md_atof): Likewise.
+ * config/tc-sparc.c (struct sparc_it): Constify error.
+ (md_atof): Return const char*.
+ * config/tc-spu.c (md_atof): Likewise.
+ * config/tc-tic30.c (md_atof): Likewise.
+ * config/tc-tic4x.c (md_atof): Likewise.
+ * config/tc-tic54x.c (md_atof): Likewise.
+ * config/tc-tic6x.c (md_atof): Likewise.
+ * config/tc-tilegx.c (md_atof): Likewise.
+ * config/tc-tilepro.c (md_atof): Likewise.
+ * config/tc-v850.c (parse_register_list, md_atof): Likewise.
+ * config/tc-vax.c (md_atof): Likewise.
+ * config/tc-visium.c (md_atof): Likewise.
+ * config/tc-xc16x.c (md_atof): Likewise.
+ * config/tc-xgate.c (md_atof): Likewise.
+ * config/tc-xstormy16.c (md_atof): Likewise.
+ * config/tc-xtensa.c (md_atof): Likewise.
+ * config/tc-z80.c (md_atof): Likewise.
+ * config/tc-z8k.c (md_atof): Likewise.
+
+
+ * config/tc-xtensa.c (struct rename_section_struct): Make old_name
+ const.
+ (xtensa_section_rename): Make argument type const char *.
+ * config/tc-xtensa.h (xtensa_section_rename): Adjust.
+
+
+ * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
+ args[0].
+
+
+ * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
+ char *.
+ (m32c_indirect_operand): Likewise.
+ * config/tc-nds32.c (do_pseudo_b): Likewise.
+ (do_pseudo_bal): Likewise.
+ (do_pseudo_ls_bhw): Likewise.
+
+
+ * as.c (parse_args): Cast literal to char * when assigning to optarg.
+
+
+ * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
+ get_symbol_name ().
+ * config/tc-sparc.c (s_register): Cast a literal to char * in
+ assignment.
+
+
+ * config/tc-i960.c (parse_expr): Cast to char * when assigning to
+ input_line_pointer.
+ * config/tc-m32r.c (expand_debug_syms): Likewise.
+ * config/tc-msp430.c (msp430_dstoperand): Likewise.
+ * config/tc-z80.c (md_begin): Likewise.
+ * stabs.c (stabs_generate_asm_func): Likewise.
+
+
+ * cgen.c: Modernize the way functions declare arguments.
+ * config/tc-bfin.c: Likewise.
+ * config/tc-pdp11.c: Likewise.
+ * literal.c: Likewise.
+ * read.c: Likewise.
+ * stabs.c: Likewise.
+
+
+ * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
+ variables unsigned char[].
+ * config/tc-alpha.c (alpha_handle_align): Likewise.
+ * config/tc-arm.c (arm_handle_align): Likewise.
+ * config/tc-z80.c: Likewise.
+
+
+ PR target/19880
+ * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
+ shifting.
+
+
+ * testsuite/gas/all/gas.exp: Don't xfail on ARC.
+ * testsuite/gas/elf/elf.exp: Likewise.
+ * testsuite/gas/all/redef3.d: Allow execution for ARC.
+
+
+ * testsuite/gas/arc/warn.exp: Fix matching pattern.
+
+
+ * testsuite/gas/arc/ext2op.d: New file.
+ * testsuite/gas/arc/ext2op.s: Likewise.
+ * testsuite/gas/arc/ext3op.d: Likewise.
+ * testsuite/gas/arc/ext3op.s: Likewise.
+
+
+ * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
+ qualifier.
+ * config/tc-alpha.c (md_parse_option): Likewise.
+ * config/tc-arc.c (md_parse_option): Likewise.
+ * config/tc-arm.c (struct arm_long_option_table): Likewise.
+ (md_parse_option): Likewise.
+ * config/tc-avr.c (md_parse_option): Likewise.
+ * config/tc-bfin.c (md_parse_option): Likewise.
+ * config/tc-cr16.c (md_parse_option): Likewise.
+ * config/tc-cris.c (s_cris_arch): Likewise.
+ (md_parse_option): Likewise.
+ * config/tc-crx.c (md_parse_option): Likewise.
+ * config/tc-d10v.c (md_parse_option): Likewise.
+ * config/tc-d30v.c (md_parse_option): Likewise.
+ * config/tc-dlx.c (md_parse_option): Likewise.
+ * config/tc-epiphany.c (md_parse_option): Likewise.
+ * config/tc-fr30.c (md_parse_option): Likewise.
+ * config/tc-frv.c (md_parse_option): Likewise.
+ * config/tc-ft32.c (md_parse_option): Likewise.
+ * config/tc-h8300.c (md_parse_option): Likewise.
+ * config/tc-hppa.c (md_parse_option): Likewise.
+ * config/tc-i370.c (md_parse_option): Likewise.
+ * config/tc-i386.c (md_parse_option): Likewise.
+ * config/tc-i860.c (md_parse_option): Likewise.
+ * config/tc-i960.c (md_parse_option): Likewise.
+ * config/tc-ia64.c (md_parse_option): Likewise.
+ * config/tc-ip2k.c (md_parse_option): Likewise.
+ * config/tc-iq2000.c (md_parse_option): Likewise.
+ * config/tc-lm32.c (md_parse_option): Likewise.
+ * config/tc-m32c.c (md_parse_option): Likewise.
+ * config/tc-m32r.c (md_parse_option): Likewise.
+ * config/tc-m68hc11.c (md_parse_option): Likewise.
+ * config/tc-m68k.c (md_parse_option): Likewise.
+ * config/tc-mcore.c (md_parse_option): Likewise.
+ * config/tc-mep.c (md_parse_option): Likewise.
+ * config/tc-metag.c (struct metag_long_option): Likewise.
+ (md_parse_option): Likewise.
+ * config/tc-microblaze.c (md_parse_option): Likewise.
+ * config/tc-microblaze.h (md_parse_option): Remove prototype.
+ * config/tc-mips.c (md_parse_option): Adjust.
+ * config/tc-mmix.c (md_parse_option): Likewise.
+ * config/tc-mn10200.c (md_parse_option): Likewise.
+ * config/tc-mn10300.c (md_parse_option): Likewise.
+ * config/tc-moxie.c (md_parse_option): Likewise.
+ * config/tc-msp430.c (md_parse_option): Likewise.
+ * config/tc-mt.c (md_parse_option): Likewise.
+ * config/tc-nds32.c (md_parse_option): Likewise.
+ * config/tc-nds32.h (nds32_parse_option): Likewise.
+ * config/tc-nios2.c (md_parse_option): Likewise.
+ * config/tc-ns32k.c (md_parse_option): Likewise.
+ * config/tc-or1k.c (md_parse_option): Likewise.
+ * config/tc-pdp11.c (md_parse_option): Likewise.
+ * config/tc-pj.c (md_parse_option): Likewise.
+ * config/tc-ppc.c (md_parse_option): Likewise.
+ * config/tc-rl78.c (md_parse_option): Likewise.
+ * config/tc-rx.c (md_parse_option): Likewise.
+ * config/tc-s390.c (s390_parse_cpu): Likewise.
+ * config/tc-score.c (md_parse_option): Likewise.
+ * config/tc-sh.c (md_parse_option): Likewise.
+ * config/tc-sparc.c (md_parse_option): Likewise.
+ * config/tc-spu.c (md_parse_option): Likewise.
+ * config/tc-tic30.c (md_parse_option): Likewise.
+ * config/tc-tic4x.c (md_parse_option): Likewise.
+ * config/tc-tic54x.c (md_parse_option): Likewise.
+ * config/tc-tic6x.c (md_parse_option): Likewise.
+ * config/tc-tilegx.c (md_parse_option): Likewise.
+ * config/tc-tilepro.c (md_parse_option): Likewise.
+ * config/tc-v850.c (md_parse_option): Likewise.
+ * config/tc-vax.c (md_parse_option): Likewise.
+ * config/tc-visium.c (struct visium_long_option_table): Likewise.
+ * config/tc-xc16x.c (md_parse_option): Likewise.
+ * config/tc-xgate.c (md_parse_option): Likewise.
+ * config/tc-xstormy16.c (md_parse_option): Likewise.
+ * config/tc-xtensa.c (md_parse_option): Likewise.
+ * config/tc-z80.c (md_parse_option): Likewise.
+ * config/tc-z8k.c (md_parse_option): Likewise.
+ * tc.h (md_parse_option): Likewise.
+
+
+ * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
+ * config/tc-hppa.c (fix_new_hppa): Likewise.
+ (pa_vtable_entry): Likewise.
+ (pa_vtable_inherit): Likewise.
+ * config/tc-m68k.c (md_begin): Likewise.
+
+
+ * config/obj-elf.c (obj_elf_section_name): Return const char *.
+ * config/obj-elf.h (obj_elf_section_name): Adjust.
+ * config/tc-aarch64.c (aarch64_parse_features): Likewise.
+ (aarch64_parse_cpu): Likewise.
+ (aarch64_parse_arch): Likewise.
+ * config/tc-arm.c (arm_parse_extension): Likewise.
+ (arm_parse_cpu): Likewise.
+ (arm_parse_arch): Likewise.
+ * config/tc-nds32.c: Likewise.
+ * config/xtensa-relax.c (parse_special_fn): Likewise.
+ * stabs.c (generate_asm_file): Likewise.
+
+
+ * config/tc-cr16.c (cr16_assemble): New function.
+ (md_assemble): Call cr16_assemble.
+
+
+ * as.c (parse_args): Adjust.
+ * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
+ * config/obj-elf.c (elf_frob_symbol): Adjust.
+
+
+ * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
+ registers to be in the 16..31 range.
+
+
+ * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
+ frag_var ().
+
+
+ * config/tc-visium.c (md_atof): Localize the string returned on
+ failure.
+
+
+ * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
+ * config/tc-ia64.c (obj_elf_vms_common): Likewise.
+ * config/tc-m68hc11.c (md_begin): Likewise.
+ (print_opcode_list): Likewise.
+ * config/tc-msp430.c (msp430_section): Likewise.
+ * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
+ (s3_build_dependency_insn_hsh): Likewise.
+ * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
+ (s7_build_dependency_insn_hsh): Likewise.
+ * config/tc-tic4x.c: Likewise.
+ * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
+ (subsym_get_arg): Likewise.
+ * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
+ (get_directive): Likewise.
+ (cache_literal_section): Likewise.
+ * config/xtensa-relax.c: Likewise.
+ * symbols.c (symbol_create): Likewise.
+ (local_symbol_make): Likewise.
+ (symbol_relc_make_expr): Likewise.
+
+
+ * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
+ str.
+
+
+ * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
+ call with a switch.
+
+
+ * config/tc-ia64.c (ia64_do_align): Remove.
+ (ia64_cons_align): Call do_align () directly.
+ (dot_proc): Likewise.
+ (stmt_float_cons): Likewise.
+
+
+ * listing.c (listing_message): Use XNEW style allocation macros.
+ * read.c (read_a_source_file): Likewise.
+ (read_symbol_name): Likewise.
+ (s_mri_common): Likewise.
+ (assign_symbol): Likewise.
+ (s_reloc): Likewise.
+ (emit_expr_with_reloc): Likewise.
+ (s_incbin): Likewise.
+ (s_include): Likewise.
+ * sb.c (sb_build): Likewise.
+ (sb_check): Likewise.
+
+
+ * write.c (record_alignment): Revert 2016-02-18 change.
+
+
+ * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
+ (emit_jsrjmp, tc_gen_reloc): Likewise.
+ * config/tc-i370.c (i370_macro): Likewise.
+
+
+ * configure: Regenerate.
+
+
+ * testsuite/gas/arc/nps400-0.d: New file.
+ * testsuite/gas/arc/nps400-0.s: New file.
+ * testsuite/gas/arc/nps400-1.d: New file.
+ * testsuite/gas/arc/nps400-1.s: New file.
+
+
+ * config/tc-arc.c (find_opcode_match): Move lnflg, and i
+ declarations to start of block. Reset code on all flags before
+ attempting to match them. Handle multiple hits on the same flag.
+ Handle flag class.
+ * testsuite/gas/arc/asm-errors.d: New file.
+ * testsuite/gas/arc/asm-errors.err: New file.
+ * testsuite/gas/arc/asm-errors.s: New file.
+
+
+ * config/tc-arc.c (cpu_types): Add nps400 entry.
+ (check_zol): Handle nps400.
+
+
+ * config/tc-arc.c (arc_select_cpu): Remove use of
+ EF_ARC_CPU_GENERIC.
+
+
+ * config/tc-arc.c (arc_target): Delay initialisation until
+ arc_select_cpu.
+ (arc_target_name): Likewise.
+ (arc_features): Likewise.
+ (arc_mach_type): Likewise.
+ (cpu_types): Remove "all" entry.
+ (arc_select_cpu): New function, most of the content is from...
+ (md_parse_option): ... here. Call new arc_select_cpu.
+ (md_begin): Call arc_select_cpu if needed, default is now arc700.
+
+
+ * testsuite/gas/arc/inline-data-1.d: Add target restriction.
+ * testsuite/gas/arc/inline-data-2.d: New file.
+
+
+ * atof-generic.c: Replace use of alloca with call to xmalloc.
+ * cgen.c: Likewise.
+ * dwarf2dbg.c: Likewise.
+ * macro.c: Likewise.
+ * remap.c: Likewise.
+ * stabs.c: Likewise.
+ * symbols.c: Likewise.
+ * config/obj-elf.c: Likewise.
+ * config/tc-aarch64.c: Likewise.
+ * config/tc-arc.c: Likewise.
+ * config/tc-arm.c: Likewise.
+ * config/tc-avr.c: Likewise.
+ * config/tc-ia64.c: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-msp430.c: Likewise.
+ * config/tc-nds32.c: Likewise.
+ * config/tc-ppc.c: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-tic30.c: Likewise.
+ * config/tc-tic54x.c: Likewise.
+ * config/tc-xstormy16.c: Likewise.
+ * config/te-vms.c: Likewise.
+ * configure: Regenerate.
+
+
+ * tc-i386.c (f32_1): Change type to unsigned char[].
+ (f32_2): Likewise.
+ (f32_3): Likewise.
+ (f32_4): Likewise.
+ (f32_5): Likewise.
+ (f32_6): Likewise.
+ (f32_7): Likewise.
+ (f32_8): Likewise.
+ (f32_9): Likewise.
+ (f32_10): Likewise.
+ (f32_11): Likewise.
+ (f32_12): Likewise.
+ (f32_13): Likewise.
+ (f32_14): Likewise.
+ (f16_3): Likewise.
+ (f16_4): Likewise.
+ (f16_5): Likewise.
+ (f16_6): Likewise.
+ (f16_7): Likewise.
+ (f16_8): Likewise.
+ (jump_31): Likewise.
+ (f32_patt): Likewise.
+ (f16_patt): Likewise.
+ (alt_3): Likewise.
+ (alt_4): Likewise.
+ (alt_5): Likewise.
+ (alt_6): Likewise.
+ (alt_7): Likewise.
+ (alt_8): Likewise.
+ (alt_9): Likewise.
+ (alt_10): Likewise.
+ (alt_patt): Likewise.
+
+
+ * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
+ .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
+ .tlsdescldr and .xword directives.
+
+ PR target/19721
+ * testsuite/gas/aarch64/pr19721.s: New test source file.
+ * testsuite/gas/aarch64/pr19721.d: New test driver file.
+
+ * doc/as.texinfo: Place the target specific command line options
+ into their own man page section.
+
+
+ * config/tc-arm.c (N_S_32): New.
+ (N_F_16_32): Likewise.
+ (N_SUF_32): Support N_F16.
+ (N_IF_32): Likewise.
+ (neon_dyadic_misc): Likewise.
+ (do_neon_cmp): Likewise.
+ (do_neon_cmp_inv): Likewise.
+ (do_neon_mul): Likewise.
+ (do_neon_fcmp_absolute): Likewise.
+ (do_neon_step): Likewise.
+ (do_neon_abs_neg): Likewise.
+ (CVT_FLAVOR_VAR): Likewise.
+ (do_neon_cvt_1): Likewise.
+ (do_neon_recip_est): Likewise.
+ (do_vmaxnm): Likewise.
+ (do_vrint_1): Likewise.
+ (neon_check_type): Check architecture support for FP16 extension.
+ (insns): Update comments.
+ * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
+ * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
+ * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
+ * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
+ arm mode.
+ * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
+ thumb mode.
+ * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
+ error file.
+
+
+ * read.c (emit_expr_with_reloc): Add code check a bignum with
+ nbytes == 1.
+ * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
+ other than 32-bits.
+ * testsuite/gas/elf/bignum.s: New test source file.
+ * testsuite/gas/elf/bignum.d: New test driver file.
+ * testsuite/gas/elf/elf.exp: Run the new test.
+
+
+ * doc/c-i386.texi (Register Naming): Update to details of the
+ latest architecture version.
+
+
+ PR gas/19744
+ * config/tc-arm.c (do_arit): Protect against bad relocations usage.
+ (do_mov): Likewise.
+ (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
+ (do_t_mov_cmp): Likewise.
+ (do_t_add_sub): Protect against bad relocations usage.
+ (do_t_mov_cmp): Likewise.
+ * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
+ * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
+ * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
+ * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
+
+
+ * config/tc-arm.c (neon_alignment_bit): Rename do_align to
+ do_alignment.
+ (do_neon_ld_st_lane): Likewise.
+ (do_neon_ld_dup): Likewise.
+
+
+ * testsuite/gas/arc/inline-data-1.d: New file.
+ * testsuite/gas/arc/inline-data-1.s: New file.
+
+
+ * config/tc-arm.c (arm_cpus): Add cortex-r8.
+ * doc/c-arm.texi: Add cortex-r8.
+
+
+ * config/tc-arc.c: Add const qualifiers.
+ * config/tc-h8300.c (md_begin): Likewise.
+ * config/tc-ia64.c (print_prmask): Likewise.
+ * config/tc-msp430.c (msp430_operands): Likewise.
+ * config/tc-nds32.c (struct suffix_name): Likewise.
+ (struct nds32_parse_option_table): Likewise.
+ (struct nds32_set_option_table): Likewise.
+ (do_pseudo_pushpopm): Likewise.
+ (do_pseudo_pushpop_stack): Likewise.
+ (nds32_relax_relocs): Likewise.
+ (nds32_flag): Likewise.
+ (struct nds32_hint_map): Likewise.
+ (nds32_find_reloc_table): Likewise.
+ (nds32_match_hint_insn): Likewise.
+ * config/tc-s390.c: Likewise.
+ * config/tc-sh.c (get_specific): Likewise.
+ * config/tc-tic30.c: Likewise.
+ * config/tc-tic4x.c (tic4x_inst_add): Likewise.
+ (tic4x_indirect_parse): Likewise.
+ * config/tc-vax.c (vax_cons): Likewise.
+ * config/tc-z80.c (struct reg_entry): Likewise.
+ * config/tc-epiphany.c (md_assemble): Adjust.
+ (epiphany_assemble): New function.
+ (epiphany_elf_section_rtn): Call do_align directly.
+ (epiphany_elf_section_text): Likewise.
+ * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
+ (ip2k_elf_section_text): Likewise.
+ * read.c (do_align): Make it not static.
+ * read.h (do_align): New prototype.
+
+
+ * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
+ for ARMv8.1 AdvSIMD use.
+ * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
+ * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
+
+
+ * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
+ feature.
+ (record_feature_use): New.
+ (mark_feature_used): Use record_feature_use.
+ (do_neon_qrdmlah): New.
+ (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
+ variants.
+ (arm_extensions): Put into alphabetical order. Re-indent "simd"
+ and "rdma" entries. Fix the incorrect merge value for "+rdma".
+ * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
+ * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
+ Make source file explicit.
+ * testsuite/gas/arm/armv8-a+rdma.l: New.
+ * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
+ directives. Fix white-space.
+ * testsuite/gas/arm/armv8_1-a+simd.d: New.
+
+
+ * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
+
+
+ * config/tc-arc.c (arc_extra_reloc): Change size to 0.
+ (tc_arc_fix_adjustable): Changed default return value to 1.
+ * testsuite/gas/arc/j.d: Updated expected symbol
+ * testsuite/gas/arc/jl.d: Likewise
+ * testsuite/gas/arc/relax-avoid1.d: Likewise
+ * testsuite/gas/arc/st.d: Likewise
+
+
+ * config/tc-arc.c: Enable code density instructions for ARC EM.
+
+
+ PR ld/19645
+ * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
+ for ELF assemblers.
+ * as.c (flag_use_elf_stt_common): New.
+ (show_usage): Add --elf-stt-common=.
+ (option_values): Add OPTION_ELF_STT_COMMON.
+ (std_longopts): Add --elf-stt-common=.
+ (parse_args): Handle --elf-stt-common=.
+ * as.h (flag_use_elf_stt_common): New.
+ * config.in: Regenerated.
+ * configure: Likewise.
+ * configure.ac: Add --enable-elf-stt-common and define
+ DEFAULT_GENERATE_ELF_STT_COMMON.
+ * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
+ and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
+ * doc/as.texinfo: Document --elf-stt-common=.
+ * testsuite/gas/elf/common3.s: New file.
+ * testsuite/gas/elf/common3a.d: Likewise.
+ * testsuite/gas/elf/common3b.d: Likewise.
+ * testsuite/gas/elf/common4.s: Likewise.
+ * testsuite/gas/elf/common4a.d: Likewise.
+ * testsuite/gas/elf/common4b.d: Likewise.
+ * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
+ * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
+ * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
+ and common4b.
+ * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
+ * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
+ --elf-stt-common=no to as.
+ * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
+ * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
+ --elf-stt-common=no to as.
+ * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
+ dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
+ of dw2-compress-3 and dw2-compressed-3.
+
+
+ * as.c (select_emulation_mode): Add const qualifiers.
+ * as.h: Likewise.
+ * config/bfin-defs.h: Likewise.
+ * config/bfin-parse.y: Likewise.
+ * config/rx-parse.y: Likewise.
+ * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
+ (struct aarch64_cpu_option_table): Likewise.
+ (struct aarch64_arch_option_table): Likewise.
+ (struct aarch64_option_cpu_value_table): Likewise.
+ (struct aarch64_long_option_table): Likewise.
+ (struct aarch64_option_abi_value_table): Likewise.
+ * config/tc-arm.c (struct reloc_entry): Likewise.
+ (tc_gen_reloc): Likewise.
+ (struct arm_option_table): Likewise.
+ (struct arm_legacy_option_table): Likewise.
+ (struct arm_cpu_option_table): Likewise.
+ (struct arm_arch_option_table): Likewise.
+ (struct arm_option_extension_value_table): Likewise.
+ (struct arm_option_fpu_value_table): Likewise.
+ (struct arm_option_value_table): Likewise.
+ (struct arm_long_option_table): Likewise.
+ * config/tc-avr.c (struct avr_opcodes_s): Likewise.
+ (struct mcu_type_s): Likewise.
+ (struct exp_mod_s): Likewise.
+ (avr_operand): Likewise.
+ (avr_operands): Likewise.
+ * config/tc-d10v.c (md_begin): Likewise.
+ * config/tc-dlx.c: Likewise.
+ * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
+ * config/tc-ft32.c (parse_condition): Likewise.
+ * config/tc-h8300.c (do_a_fix_imm): Likewise.
+ * config/tc-hppa.c (pa_ip): Likewise.
+ (hppa_regname_to_dw2regnum): Likewise.
+ * config/tc-i370.c (i370_elf_suffix): Likewise.
+ * config/tc-i960.c (struct tabentry): Likewise.
+ * config/tc-m32r.c: Likewise.
+ * config/tc-m68k.c: Likewise.
+ * config/tc-m68k.h: Likewise.
+ * config/tc-mcore.c (parse_psrmod): Likewise.
+ * config/tc-metag.c (struct metag_core_option): Likewise.
+ (struct metag_long_option): Likewise.
+ * config/tc-microblaze.c: Likewise.
+ * config/tc-mips.c (macro): Likewise.
+ * config/tc-mn10200.c: Likewise.
+ * config/tc-mn10300.c: Likewise.
+ * config/tc-msp430.c (struct rcodes_s): Likewise.
+ (struct hcodes_s): Likewise.
+ (md_parse_option): Likewise.
+ * config/tc-ns32k.c (struct ns32k_option): Likewise.
+ (optlist): Likewise.
+ * config/tc-ppc.c (ppc_elf_suffix): Likewise.
+ (tc_ppc_regname_to_dw2regnum): Likewise.
+ * config/tc-ppc.h: Likewise.
+ * config/tc-rl78.c: Likewise.
+ * config/tc-rx.c (struct cpu_type): Likewise.
+ * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
+ * config/tc-sparc.c (struct priv_reg_entry): Likewise.
+ (sparc_ip): Likewise.
+ * config/tc-spu.c (insn_fmt_string): Likewise.
+ * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
+ * config/tc-v850.c: Likewise.
+ * config/tc-visium.c (struct visium_arch_option_table): Likewise.
+ (struct visium_long_option_table): Likewise.
+ * config/tc-xgate.c: Likewise.
+ * config/tc-z8k.c: Likewise.
+ * read.c (add_include_dir): Likewise.
+ * read.h: Likewise.
+
+
+ * testsuite/gas/all/gas.exp: Change target pattern to cover
+ arceb-*.
+ * testsuite/gas/all/redef3.d: Likewise.
+ * testsuite/gas/elf/elf.exp: Likewise.
+
+
+ * config/tc-arm.c (BAD_FP16): New error message macro.
+ (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
+ fp16 scalar instructions.
+ (neon_check_type): Allow different size from key.
+ (do_vfp_nsyn_add_sub): Add support SE_H shape support.
+ (try_vfp_nsyn): Likewise.
+ (do_vfp_nsyn_mla_mls): Likewise.
+ (do_vfp_nsyn_fma_fms): Likewise.
+ (do_vfp_nsyn_ldm_stm): Likewise
+ (do_vfp_nsyn_sqrt): Likewise
+ (do_vfp_nsyn_div): Likewise
+ (do_vfp_nsyn_nmul): Likewise.
+ (do_vfp_nsyn_cmp): Likewise.
+ (do_neon_shll): Likewise.
+ (do_vfp_nsyn_cvt_fpv8): Likewise.
+ (do_neon_cvttb_2): Likewise.
+ (do_neon_mov): Likewise.
+ (do_neon_rshift_round_imm): Likewise.
+ (do_neon_ldr_str): Likewise.
+ (do_vfp_nsyn_fpv8): Likewise.
+ (do_vmaxnm): Likewise.
+ (do_vrint_1): Likewise.
+ (insns): New entry for vins, vmovx.
+ (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
+ * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
+ * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
+ * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
+ * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
+ * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
+ * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
+
+
+ * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
+ (neon_shape_class): New SC_HALF.
+ (neon_shape_el): New SE_H.
+ (neon_shape_el_size): New size for SE_H.
+ (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
+ (neon_select_shape): Add SE_H support code.
+ (el_type_of_type_chk): Use N_F_ALL.
+ (do_vfp_nsyn_cvt): Add SE_H shape support.
+ (do_neon_cvtz): Likewise.
+ (do_neon_cvt_1): Likewise.
+ (do_neon_cvttb_1): Likewise.
+
+
+ * testsuite/gas/arm/copro.d: Adjust output.
+ * testsuite/gas/arm/copro.s: Adjust co-processor num.
+
+
+ * testsuite/gas/arm/mask_1.d: New.
+ * testsuite/gas/arm/mask_1.s: New.
+
+
+ * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
+ * testsuite/gas/arm/copro.d: Update.
+
* config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
- * doc/c-arm.texi (ARM Options): Document cortex-a17.
+ * doc/c-arm.texi (ARM Options): Document cortex-a17.
* input-file.h (input_file_open): Adjust.
* input-scrub.c (logical_input_file): change type to const char *.
(physical_input_file): Likewise.
- (struct input_save): Adjust.
+ (struct input_save): Adjust.
(input_scrub_push): Adjust.
(input_scrub_begin): Adjust.
(as_where): Adjust.
and string const char *.
* read.c (_bfd_rel): Make type of name const char *.
* app.c (out_string): Change type to const char *.
- (struct app_save::out_string): Likewise.
+ (struct app_save::out_string): Likewise.
* config/tc-arc.h (TARGET_USE_CFIPOP): Define
(tc_cfi_frame_initial_instructions): Likewise.
(tc_regname_to_dw2regnum): Likewise.
+ * testsuite/gas/cfi/cfi-arc-1.d: New file.
+ * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
+ * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
- * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
+ * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
- * config/tc-arc.c (md_apply_fix): Allow addendum.
- (arc_reloc_op): Allow complex expressions for tpoff.
- (md_apply_fix): Handle resolved TLS local symbol.
-
+ * config/tc-arc.c (md_apply_fix): Allow addendum.
+ (arc_reloc_op): Allow complex expressions for tpoff.
+ (md_apply_fix): Handle resolved TLS local symbol.
* testsuite/gas/arc/tls-relocs1.d: New file.
* testsuite/gas/arc/tls-relocs1.s: Likewise.