X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=a3e6b3ec6ce1e1b43d7869f6a05ce852ba60306e;hb=29a2809e4210d5055291e95de861b493c55b9c0a;hp=90ed4aee8c2f75da1adf21c4631d7313e6f4d2f2;hpb=e2c7dcae81a7da1353b7c3d5db210fca479c9c4c;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 90ed4aee8c..a3e6b3ec6c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,968 @@ +2016-05-13 Trevor Saunders + + * config/obj-coff.c (obj_coff_def): Simplify string copying. + (weak_name2altname): Likewise. + (weak_uniquify): Likewise. + (obj_coff_section): Likewise. + (obj_coff_init_stab_section): Likewise. + * config/obj-elf.c (obj_elf_section_name): Likewise. + (obj_elf_init_stab_section): Likewise. + * config/obj-evax.c (evax_shorten_name): Likewise. + * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise. + * config/tc-aarch64.c (create_register_alias): Likewise. + * config/tc-alpha.c (load_expression): Likewise. + (s_alpha_file): Likewise. + (s_alpha_section_name): Likewise. + (tc_gen_reloc): Likewise. + * config/tc-arc.c (md_assemble): Likewise. + * config/tc-arm.c (create_neon_reg_alias): Likewise. + (start_unwind_section): Likewise. + * config/tc-hppa.c (pa_build_unwind_subspace): Likewise. + (hppa_elf_mark_end_of_function): Likewise. + * config/tc-nios2.c (nios2_modify_arg): Likewise. + (nios2_negate_arg): Likewise. + * config/tc-rx.c (rx_section): Likewise. + * config/tc-sh64.c (sh64_consume_datalabel): Likewise. + * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. + * config/tc-tic54x.c (tic54x_include): Likewise. + (tic54x_macro_info): Likewise. + (subsym_get_arg): Likewise. + (subsym_substitute): Likewise. + (tic54x_start_line_hook): Likewise. + * config/tc-xtensa.c (xtensa_literal_prefix): Likewise. + (xg_reverse_shift_count): Likewise. + * config/xtensa-relax.c (enter_opname_n): Likewise. + (split_string): Likewise. + * dwarf2dbg.c (get_filenum): Likewise. + (process_entries): Likewise. + * expr.c (operand): Likewise. + * itbl-ops.c (alloc_entry): Likewise. + * listing.c (listing_message): Likewise. + (listing_title): Likewise. + * macro.c (check_macro): Likewise. + * stabs.c (s_xstab): Likewise. + * symbols.c (symbol_relc_make_expr): Likewise. + * write.c (compress_debug): Likewise. + +2016-05-12 Nick Clifton + + PR target/20068 + * testsuite/gas/arm/pr20068.d: Use correct regexp syntax. + +2016-05-11 Nick Clifton + + PR target/20068 + * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for + big endian ARM configurations. + +2016-05-11 Andrew Bennett + Matthew Fortune + + * config/tc-mips.c (options): Add OPTION_DSPR3 and + OPTION_NO_DSPR3. + (md_longopts): Likewise. + (md_show_usage): Add help for -mdspr3 and -mno-dspr3. + (mips_ases): Define availability for DSPr3. + (mips_ase_groups): Add ASE_DSPR3 to the DSP group. + (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3. + * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2 + formatting. + * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and + .set nodspr3. Fix -mdspr2 formatting. + * testsuite/gas/mips/mips32-dspr3.d: New file. + * testsuite/gas/mips/mips32-dspr3.s: Likewise. + * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test. + +2016-05-11 Nick Clifton + + PR target/20068 + * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added + to the pool uses O_constant. + * testsuite/gas/arm/pr20068.s: New test. + * testsuite/gas/arm/pr20068.d: Test driver. + +2016-05-11 Nick Clifton + + * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets. + * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise. + +2016-05-10 Alexander Fomin + + * testsuite/gas/i386/i386.exp: Run RDPID tests. + * testsuite/gas/i386/prefix.d: Adjust. + * testsuite/gas/i386/rdpid.s: New test. + * testsuite/gas/i386/rdpid.d: Ditto. + * testsuite/gas/i386/rdpid-intel.d: Ditto. + * testsuite/gas/i386/x86-64-rdpid.s: Ditto. + * testsuite/gas/i386/x86-64-rdpid.d: Ditto. + * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto. + +2016-05-10 Alexander Fomin + + * config/tc-i386.c (cpu_arch): Add RDPID. + * doc/c-i386.texi: Document RDPID. + +2016-05-10 Thomas Preud'homme + + * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to + set branch type of a symbol. + +2016-05-10 Thomas Preud'homme + + * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions. + * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP + instructions. + (arm_extensions): Add dsp extension for ARMv8-M Mainline. + (aeabi_set_public_attributes): Memorize the feature bits of the + architecture selected for Tag_CPU_arch. Use it to set + Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension. + (arm_convert_symbolic_attribute): Define Tag_DSP_extension. + * testsuite/gas/arm/arch7em-bad.d: Rename to ... + * testsuite/gas/arm/arch7em-bad-1.d: This. + * testsuite/gas/arm/arch7em-bad-2.d: New file. + * testsuite/gas/arm/arch7em-bad-3.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise. + * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise. + +2016-05-10 Thomas Preud'homme + + * config/tc-arm.c (struct arm_option_extension_value_table): Make + allowed_archs an array with 2 entries. + (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs. + (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs. + (arm_extensions): Use separate entries in allowed_archs when several + archs are allowed to use an extension and change ARCH_ANY in + ARM_ARCH_NONE in allowed_archs. + (arm_parse_extension): Check that, for each allowed_archs entry, all + bits are set in the current architecture, ignoring ARM_ANY entries. + (s_arm_arch_extension): Likewise. + +2016-05-10 Thomas Preud'homme + + * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN. + (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN. + (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not + shared with a non M profile architecture. + (do_rn): New function. + (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather + than arm_ext_v8m. + (v7m_psrs): Add ARMv8-M security extensions new special registers. + (insns): Add ARMv8-M Security Extensions instructions. + (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of + arm_ext_v8m_m to decide the profile and the Thumb ISA. + * testsuite/gas/arm/archv8m-cmse.s: New file. + * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.. + * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise. + * testsuite/gas/arm/any-cmse.d: Likewise. + * testsuite/gas/arm/any-cmse-main.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-base.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise. + +2016-05-09 Jose E. Marchesi + + * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai. + * testsuite/gas/sparc/sparc5vis4.d: Likewise. + +2016-05-04 Kyrylo Tkachov + + * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED. + (fpu_arch_vfp_v3): Likewise. + (fpu_arch_neon_v1): Likewise. + (arm_arch_full): Likewise. + (parse_neon_el_struct_list): Initialize fields of firsttype. + +2016-05-03 Claudiu Zissulescu + + * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP. + (arc_extinsn): Handle new introduced syntax. + * testsuite/gas/arc/textinsn1op.d: New file. + * testsuite/gas/arc/textinsn1op.s: Likewise. + * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP. + +2016-05-03 Pitchumani Sivanupandi + + * testsuite/gas/lns/lns.exp: Add avr to list of targets using + DW_LNS_fixed_advance_pc. + +2016-04-27 Alan Modra + + * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define. + (xmemdup0): New inline function. + +2016-04-22 Maciej W. Rozycki + + * config/tc-mips.c (code_option_type): New enum. + (parse_code_option): Return status indicating option type. + (s_mipsset): Update `parse_code_option' call site accordingly. + Always set register sizes from the ISA with ISA overrides. + (s_module): Update `parse_code_option' call site. + * testsuite/gas/mips/isa-override-1.d: New test. + * testsuite/gas/mips/micromips@isa-override-1.d: New test. + * testsuite/gas/mips/mips1@isa-override-1.d: New test. + * testsuite/gas/mips/mips2@isa-override-1.d: New test. + * testsuite/gas/mips/mips32@isa-override-1.d: New test. + * testsuite/gas/mips/mips32r2@isa-override-1.d: New test. + * testsuite/gas/mips/mips32r3@isa-override-1.d: New test. + * testsuite/gas/mips/mips32r5@isa-override-1.d: New test. + * testsuite/gas/mips/mips32r6@isa-override-1.d: New test. + * testsuite/gas/mips/mips64r2@isa-override-1.d: New test. + * testsuite/gas/mips/mips64r3@isa-override-1.d: New test. + * testsuite/gas/mips/mips64r5@isa-override-1.d: New test. + * testsuite/gas/mips/mips64r6@isa-override-1.d: New test. + * testsuite/gas/mips/r3000@isa-override-1.d: New test. + * testsuite/gas/mips/r3900@isa-override-1.d: New test. + * testsuite/gas/mips/r5900@isa-override-1.d: New test. + * testsuite/gas/mips/octeon@isa-override-1.d: New test. + * testsuite/gas/mips/octeon3@isa-override-1.d: New test. + * testsuite/gas/mips/isa-override-2.l: New list test. + * testsuite/gas/mips/mips1@isa-override-2.l: New list test. + * testsuite/gas/mips/mips2@isa-override-2.l: New list test. + * testsuite/gas/mips/mips32@isa-override-2.l: New list test. + * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test. + * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test. + * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test. + * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test. + * testsuite/gas/mips/r3000@isa-override-2.l: New list test. + * testsuite/gas/mips/r3900@isa-override-2.l: New list test. + * testsuite/gas/mips/octeon3@isa-override-2.l: New list test. + * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr + output. + * testsuite/gas/mips/isa-override-1.s: New test source. + * testsuite/gas/mips/r5900@isa-override-1.s: New test source. + * testsuite/gas/mips/isa-override-2.s: New test source. + * testsuite/gas/mips/mips1@isa-override-2.s: New test source. + * testsuite/gas/mips/mips2@isa-override-2.s: New test source. + * testsuite/gas/mips/mips32@isa-override-2.s: New test source. + * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source. + * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source. + * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source. + * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source. + * testsuite/gas/mips/r3000@isa-override-2.s: New test source. + * testsuite/gas/mips/r3900@isa-override-2.s: New test source. + * testsuite/gas/mips/octeon3@isa-override-2.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-04-20 Trevor Saunders + + * cgen.c: Likewise. + * config/tc-bfin.c: Likewise. + * config/tc-ia64.c: Likewise. + * config/tc-mep.c: Likewise. + * config/tc-metag.c: Likewise. + * config/tc-nios2.c: Likewise. + * config/tc-rl78.c: Likewise. + +2016-04-20 Andrew Burgess + + * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for + -mcpu. Add cross reference to .cpu directive from -mcpu option. + (ARC Directives): Add NPS400 to .cpu directive list. + +2016-04-20 Matthew Wahab + + * config/tc-aarch64.c (aarch64_features): Add "ras". + * doc/c-aarch64.texi (AArch64 Extensions): Add "ras". + * testsuite/gas/aarch64/armv8-ras-1.d: New. + * testsuite/gas/aarch64/armv8-ras-1.s: New. + * testsuite/gas/aarch64/illegal-ras-1.d: New. + * testsuite/gas/aarch64/illegal-ras-1.s: New. + +2016-04-19 Andrew Burgess + + * testsuite/gas/arc/nps400-6.d: New file. + * testsuite/gas/arc/nps400-6.s: New file. + +2016-04-19 Andrew Burgess + + * testsuite/gas/arc/nps400-4.d: New file. + * testsuite/gas/arc/nps400-4.s: New file. + * testsuite/gas/arc/nps400-5.d: New file. + * testsuite/gas/arc/nps400-5.s: New file. + +2016-04-19 Martin Galvan + + * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve + documentation. + +2016-04-17 Andrew Burgess + + Revert prevous change. + * config/tc-arc.c (arc_option): Make .cpu directive + case-sensitive again. + +2016-04-16 Andrew Burgess + + * config/tc-arc.c (arc_option): Make .cpu directive + case-insensitive. + +2016-04-16 Andrew Burgess + + * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive. + +2016-04-15 Trevor Saunders + + * config/tc-mips.c (md_begin): Remove useless assignment. + +2016-04-15 H.J. Lu + + * Makefile.in: Regenerated with automake 1.11.6. + * aclocal.m4: Likewise. + * doc/Makefile.in: Likewise. + +2016-04-15 Alan Modra + + * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF + +2016-04-14 Trevor Saunders + + * config/tc-nios2.c (nios2_as_options): Make file static. + * config/tc-ppc.c (toc_reloc_ypes): Likewise. + * config/tc-sparc.c (native_op_table): Likewise. + +2016-04-14 Trevor Saunders + + * config/tc-m32c.c (M32C_Macros): Remove. + * config/tc-msp430.c (option_numbers): Likewise. + +2016-04-14 Andrew Burgess + + * testsuite/gas/arc/nps400-3.d: New file. + * testsuite/gas/arc/nps400-3.s: New file. + +2016-04-14 Andrew Burgess + + * testsuite/gas/arc/add_s-err.s: Update target pattern. + * testsuite/gas/arc/warn.s: Likewise. + * testsuite/gas/elf/elf.exp: Run test for arc. + +2016-04-14 Nick Clifton + + PR target/19938 + * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string + sections possibly having the SHF_STRINGS flag bit set. + * testsuite/gas/i386/x86-64-unwind.d: Likewise. + +2016-04-12 Claudiu Zissulescu + + * config/tc-arc.c (mach_type_specified_p): Change type to + bfd_boolean. + (arc_option): Set private flags when parsing cpu pseudo-op. + (md_parse_option): Set mach_type_specified_p to TRUE. + +2016-04-13 Nick Clifton + + PR target/19937 + * testsuite/gas/v850/pr19937.s: New test. + * testsuite/gas/v850/pr19937.d: New test control file. + * testsuite/gas/v850/basic.exp: Run the new test. + +2016-04-13 Maciej W. Rozycki + Andrew Bennett + + * config/tc-mips.c (relaxed_branch_length): Use the long + sequence where the target is a weak symbol. + (relaxed_micromips_32bit_branch_length): Likewise. + (relaxed_micromips_16bit_branch_length): Likewise. + * testsuite/gas/mips/branch-weak-1.d: New test. + * testsuite/gas/mips/branch-weak-2.d: New test. + * testsuite/gas/mips/branch-weak-3.d: New test. + * testsuite/gas/mips/branch-weak-4.d: New test. + * testsuite/gas/mips/branch-weak-5.d: New test. + * testsuite/gas/mips/branch-weak.l: New stderr output. + * testsuite/gas/mips/branch-weak.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-04-13 Maciej W. Rozycki + + * config/tc-mips.c (relaxed_branch_length): Use the long + sequence where the distance cannot be determined. + (relaxed_micromips_32bit_branch_length): Likewise. + * testsuite/gas/mips/branch-extern-1.d: New test. + * testsuite/gas/mips/branch-extern-2.d: New test. + * testsuite/gas/mips/branch-extern-3.d: New test. + * testsuite/gas/mips/branch-extern-4.d: New test. + * testsuite/gas/mips/branch-extern.l: New stderr output. + * testsuite/gas/mips/branch-extern.s: New test source. + * testsuite/gas/mips/branch-section-1.d: New test. + * testsuite/gas/mips/branch-section-2.d: New test. + * testsuite/gas/mips/branch-section-3.d: New test. + * testsuite/gas/mips/branch-section-4.d: New test. + * testsuite/gas/mips/branch-section.l: New stderr output. + * testsuite/gas/mips/branch-section.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-04-12 Claudiu Zissulescu + + * testsuite/gas/arc/textauxregister.d: New file. + * testsuite/gas/arc/textauxregister.s: Likewise. + * testsuite/gas/arc/textcondcode.d: Likewise. + * testsuite/gas/arc/textcondcode.s: Likewise. + * testsuite/gas/arc/textcoreregister.d: Likewise. + * testsuite/gas/arc/textcoreregister.s: Likewise. + * testsuite/gas/arc/textpseudoop.d: Likewise. + * testsuite/gas/arc/textpseudoop.s: Likewise. + * testsuite/gas/arc/ld2.d: Update test. + * testsuite/gas/arc/st.d: Likewise. + * testsuite/gas/arc/taux.d: Likewise. + * doc/c-arc.texi (ARC Directives): Add .extCondCode, + .extCoreRegister and .extAuxRegister documentation. + * config/tc-arc.c (arc_extcorereg): New function. + (md_pseudo_table): Add .extCondCode, .extCoreRegister and + .extAuxRegister pseudo-ops. + (extRegister_t): New type. + (ext_condcode, arc_aux_hash): New global variable. + (find_opcode_match): Check for extensions. + (preprocess_operands): Likewise. + (md_begin): Add aux registers in a hash. + (assemble_insn): Update use arc_flags member. + (tokenize_extregister): New function. + (create_extcore_section): Likewise. + * config/tc-arc.h (arc_flags): Delete code, add flgp. + +2016-04-12 Claudiu Zissulescu + + * testsuite/gas/arc/noargs_a7.d: New file. + * testsuite/gas/arc/noargs_a7.s: Likewise. + * testsuite/gas/arc/noargs_hs.d: Likewise. + * testsuite/gas/arc/noargs_hs.s: Likewise. + +2016-04-12 Claudiu Zissulescu + + * 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. + +2016-04-12 Claudiu Zissulescu + + * 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. + +2016-04-09 Maciej W. Rozycki + + * 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. + +2016-04-09 Maciej W. Rozycki + + * 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. + +2016-04-09 Maciej W. Rozycki + + * config/tc-mips.c (can_swap_branch_p): Correct call formatting. + +2016-04-09 Maciej W. Rozycki + + * messages.c (as_bad): Fix a typo in description. + +2016-04-09 Maciej W. Rozycki + + * config/tc-mips.c (mips_check_options): Unify messages. + +2016-04-09 Maciej W. Rozycki + + * config/tc-mips.c (mips_check_options): Use `opts->isa' + consistently. + +2016-04-08 Nick Clifton + + PR target/19910 + * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with + COFF and AOUT sparc targets. + +2016-04-07 Andrew Burgess + + * 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. + +2016-04-07 Andrew Burgess + + * 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. + +2016-04-07 Andrew Burgess + + * 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. + +2016-04-07 Andrew Burgess + + * 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. + +2016-04-07 Claudiu Zissulescu + + * config/tc-arc.c (arc_option): Prepare string for automatic + translation. + (declare_register): Likewise. + +2016-04-06 James Greenhalgh + + * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE. + Correct entry for RDMA. Alpha sort entries. + +2016-04-07 Andrew Burgess + + * config/tc-arc.c (tokenize_flags): Allow greater range of + characters into flag names. + +2016-04-07 Andrew Burgess + + * 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. + +2016-04-07 Nick Clifton + + 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. + +2016-04-06 Nick Clifton + + * 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. + +2016-04-05 Andrew Burgess + + * testsuite/gas/arc/nps400-1.d: Update expected results. + * testsuite/gas/arc/nps400-1.s: Additional test cases. + +2016-04-05 Claudiu Zissulescu + + * 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. + +2016-04-05 Jiong Wang + + * 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. + +2016-04-05 Claudiu Zissulescu + + * 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. + +2016-04-04 H.J. Lu + + PR gas/19909 + * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding + only if i.disp_encoding != disp_encoding_32bit. + * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32. + * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise. + * gas/testsuite/gas/i386/disp32.d: Updated. + * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise. + +2016-04-04 H.J. Lu + + PR gas/19498 + * testsuite/gas/i386/i386.exp: Run pr19498. + * testsuite/gas/i386/pr19498.d: New file. + * testsuite/gas/i386/pr19498.s: Likewise. + +2016-04-04 Andrew Burgess + + * config/tc-arc.h: Include 'opcode/arc.h'. + (MAX_INSN_ARGS): Delete. + (MAX_INSN_FLGS): Delete. + +2016-04-04 Alan Modra + + PR 19498 + * symbols.c (resolve_symbol_value): Clear sy_resolving on exit + from function on all paths that set sy_resolving. + +2016-04-03 Trevor Saunders + + * 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. + +2016-04-03 Trevor Saunders + + * 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. + +2016-04-03 Trevor Saunders + + * 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. + +2016-04-03 Trevor Saunders + + * config/tc-score.c (s3_gen_reloc): Add const qualifiers. + * config/tc-score7.c (s7_gen_reloc): Likewise. + +2016-04-03 Trevor Saunders + + * config/tc-arm.c (do_t_branch): Change the type of reloc to + bfd_reloc_code_real_type. + +2016-04-03 Trevor Saunders + + * config/bfin-parse.y (current_inputline): Remove definition. + * config/tc-bfin.c (md_assemble): Simplify use of current_inputline. + +2016-04-03 Trevor Saunders + + * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare + strings. + +2016-04-02 Alan Modra + + PR 19896 + * read.c (assign_symbol): Consume rest of line after an error + rather than continuing to process the line. + +2016-04-01 Andrew Burgess + + * 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. + +2016-04-01 Alan Modra + + * 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. + +2016-03-31 Trevor Saunders + + * 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. + 2016-03-31 Trevor Saunders * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to @@ -57,20 +1022,20 @@ 2016-03-30 Claudiu Zissulescu - * 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/all/gas.exp: Don't xfail on ARC. + * testsuite/gas/elf/elf.exp: Likewise. + * testsuite/gas/all/redef3.d: Allow execution for ARC. 2016-03-30 Claudiu Zissulescu - * testsuite/gas/arc/warn.exp: Fix matching pattern. + * testsuite/gas/arc/warn.exp: Fix matching pattern. 2016-03-29 Claudiu Zissulescu - * 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. + * 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. 2016-03-29 Trevor Saunders @@ -428,7 +1393,7 @@ 2016-03-15 Ulrich Drepper * doc/c-i386.texi (Register Naming): Update to details of the - latest architecture version. + latest architecture version. 2016-03-10 Mickael Guene @@ -526,12 +1491,12 @@ 2016-02-29 Cupertino Miranda Claudiu Zissulescu - * 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 (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 2016-02-29 Claudiu Zissulescu @@ -721,7 +1686,7 @@ 2016-02-24 Kyrylo Tkachov - * doc/c-arm.texi (ARM Options): Document cortex-a17. + * doc/c-arm.texi (ARM Options): Document cortex-a17. 2016-02-23 H.J. Lu @@ -829,7 +1794,7 @@ * 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. @@ -910,7 +1875,7 @@ 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. 2016-02-18 Dan Gisselquist Nick Clifton @@ -1104,7 +2069,7 @@ 2016-02-03 Kevin Buettner - * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4. + * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4. 2016-02-03 H.J. Lu @@ -1186,10 +2151,9 @@ 2016-01-26 Claudiu Zissulescu - * 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.