X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=c2e390a0638263942da263150ab0ccaaf699a3f7;hb=d7cd93a718c0ddd67e027e42db819d6f152c3500;hp=db25ef2e73daa6854e066cb09b1d3c52886e08d8;hpb=c07315e0c610e0e3317b4c02266f81793df253d2;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index db25ef2e73..c2e390a063 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,779 @@ +2016-09-15 Jose E. Marchesi + + * testsuite/gas/sparc/sparc.exp (gas_64_check): Run + dcti-couples-v9 only in ELF targets to avoid spurious failures in + sparc-aout and sparc-coff targets. + +2016-09-14 Peter Bergner + + * testsuite/gas/ppc/power9.d New tests. + : Remove tests. + : Update tests. + * testsuite/gas/ppc/power9.s: Likewise. + +2016-09-14 Jose E. Marchesi + + * config/tc-sparc.c (sparc_ip): Print the instruction arguments + in "architecture mismatch" error messages. + +2016-09-14 Jose E. Marchesi + + * config/tc-sparc.c (md_assemble): Detect and warning on + unpredictable DCTI couples in certain arches. + (dcti_couples_detect): New global. + (md_longopts): Add command line option -dcti-couples-detect. + (md_show_usage): Document -dcti-couples-detect. + (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT. + * testsuite/gas/sparc/sparc.exp (gas_64_check): Run + dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests. + * testsuite/gas/sparc/dcti-couples.s: New file. + * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise. + * testsuite/gas/sparc/dcti-couples-v8.d: Likewise. + * testsuite/gas/sparc/dcti-couples-v9.d: Likewise. + * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise. + * testsuite/gas/sparc/dcti-couples-v8.l: Likewise. + * doc/as.texinfo (Overview): Document --dcti-couples-detect. + * doc/c-sparc.texi (Sparc-Opts): Likewise. + +2016-09-14 Claudiu Zissulescu + + * testsuite/gas/arc/tls-relocs2.d: New file. + * testsuite/gas/arc/tls-relocs2.s: Likewise. + * config/tc-arc.c (tokenize_arguments): Accept offsets when base + is used. + +2016-09-12 Andreas Krebbel + + * config/tc-s390.c (s390_parse_cpu): Support alternate arch + strings. + * doc/as.texinfo: Document new arch strings. + * doc/c-s390.texi: Likewise. + +2016-09-12 Andreas Krebbel + + * config/tc-s390.c: Set all facitily bits by default + +2016-09-12 Patrick Steuer + + * testsuite/gas/s390/zarch-z196.d: Adjust testcase. + +2016-09-08 H.J. Lu + + * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU + for Intel MCU. + +2016-09-07 H.J. Lu + + * config/tc-i386.c (valid_iamcu_cpu_flags): Removed. + (set_cpu_arch): Updated. + (md_parse_option): Likewise. + * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove + iamcu-inval-2 and iamcu-inval-3. + * testsuite/gas/i386/iamcu-4.d: New file. + * testsuite/gas/i386/iamcu-4.s: Likewise. + * testsuite/gas/i386/iamcu-5.d: Likewise. + * testsuite/gas/i386/iamcu-5.s: Likewise. + * testsuite/gas/i386/iamcu-inval-2.l: Removed. + * testsuite/gas/i386/iamcu-inval-2.s: Likewise. + * testsuite/gas/i386/iamcu-inval-3.l: Likewise. + * testsuite/gas/i386/iamcu-inval-3.s: Likewise. + +2016-09-07 Richard Earnshaw + + * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all + ARMv8-A CPUs except xgene1. + +2016-08-31 Alan Modra + + * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test + ppc_cpu rather than calling ppc_mach to determine VLE mode. + (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu. + +2016-08-26 Jose E. Marchesi + + * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi + to camellia_fl. + * testsuite/gas/sparc/crypto.s: Likewise. + +2016-08-26 Thomas Preud'homme + + * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS, + PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and + their lowecase counterpart special registers. Write register + identifier in hex. + * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per + operation, special register and then case. Use different register for + each operation. Add tests for new special registers. + * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result + accordingly. + * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise. + +2016-08-25 Thomas Preud'homme + + * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S + special registers. + * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special + registers. + * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise. + * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise. + * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise. + +2016-08-24 H.J. Lu + + * config/tc-i386.c (cpu_arch): Add .ptwrite. + * doc/c-i386.texi: Document ptwrite and .ptwrite. + * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel, + x86-64-ptwrite and x86-64-ptwrite-intel. + * testsuite/gas/i386/ptwrite-intel.d: New file. + * testsuite/gas/i386/ptwrite.d: Likewise. + * testsuite/gas/i386/ptwrite.s: Likewise. + * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise. + * testsuite/gas/i386/x86-64-ptwrite.d: Likewise. + * testsuite/gas/i386/x86-64-ptwrite.s: Likewise. + +2016-08-19 Tamar Christina + + * config/tc-arm.c (do_co_reg2c): Added constraint. + * testsuite/gas/arm/dest-unpredictable.s: New. + * testsuite/gas/arm/dest-unpredictable.l: New. + * testsuite/gas/arm/dest-unpredictable.d: New. + +2016-08-19 Nick Clifton + + * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected + ordering of sections. + * testsuite/gas/i386/x86-64-unwind.d: Likewise. + * testsuite/gas/ia64/alias-ilp32.d: Likewise. + * testsuite/gas/ia64/alias.d: Likewise. + * testsuite/gas/ia64/group-1.d: Likewise. + * testsuite/gas/ia64/group-2.d: Likewise. + * testsuite/gas/ia64/secname-ilp32.d: Likewise. + * testsuite/gas/ia64/secname.d: Likewise. + * testsuite/gas/ia64/unwind-ilp32.d: Likewise. + * testsuite/gas/ia64/unwind.d: Likewise. + * testsuite/gas/ia64/xdata-ilp32.d: Likewise. + * testsuite/gas/ia64/xdata.d: Likewise. + * testsuite/gas/mmix/bspec-1.d: Likewise. + * testsuite/gas/mmix/bspec-2.d: Likewise. + * testsuite/gas/mmix/byte-1.d: Likewise. + * testsuite/gas/mmix/loc-1.d: Likewise. + * testsuite/gas/mmix/loc-2.d: Likewise. + * testsuite/gas/mmix/loc-3.d: Likewise. + * testsuite/gas/mmix/loc-4.d: Likewise. + * testsuite/gas/mmix/loc-5.d: Likewise. + * testsuite/gas/tic6x/scomm-directive-4.d: Likewise. + +2016-08-11 Richard Sandiford + + * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0. + * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l: + Add tests for -0.0. Add an end-of-file comment. + +2016-08-05 Nick Clifton + + PR gas/20429 + * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16 + registers are pushed. + (do_vfp_nsyn_pop): Check that no more than 16 registers are + popped. + * testsuite/gas/arm/pr20429.s: New test. + * testsuite/gas/arm/pr20429.d: New test driver. + * testsuite/gas/arm/pr20429.1: Expected error output. + + PR gas/20364 + * config/tc-aarch64.c (s_ltorg): Change the mapping state after + aligning the frag. + (aarch64_init): Treat rs_align frags in code sections as + containing code, not data. + * testsuite/gas/aarch64/pr20364.s: New test. + * testsuite/gas/aarch64/pr20364.d: New test driver. + +2016-08-04 Stefan Trleman + + PR gas/20427 + * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation + of 64-bit relocation types when assembling for a 32-bit Solaris + target. + +2016-07-27 Jose E. Marchesi + + * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate + ELF targets. + Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm, + pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima, + ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper, + sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF + targets. + (sparc_elf_setup): Delete. + * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the + test's #name entry. + +2016-07-27 Maciej W. Rozycki + + * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag. + (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16) + (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16) + (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32) + (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits. + (get_append_method): Also return APPEND_ADD_COMPACT for + microMIPS instructions. + (find_altered_mips16_opcode): Exclude macros from matching. + Factor code out... + (find_altered_opcode): ... to this new function. + (find_altered_micromips_opcode): New function. + (frag_branch_delay_slot_size): Likewise. + (append_insn): Handle microMIPS branch/jump compaction. + (macro_start): Likewise. + (relaxed_micromips_32bit_branch_length): Likewise. + (md_convert_frag): Likewise. + * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs + for delay slot filling. + * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for + delay slot filling. + * testsuite/gas/mips/micromips-size-1.s: Likewise. + * testsuite/gas/mips/micromips.l: Adjust line numbers. + * testsuite/gas/mips/micromips-warn.l: Likewise. + * testsuite/gas/mips/micromips-size-1.l: Likewise. + * testsuite/gas/mips/micromips.d: Adjust padding. + * testsuite/gas/mips/micromips-trap.d: Likewise. + * testsuite/gas/mips/micromips-insn32.d: Likewise. + * testsuite/gas/mips/micromips-noinsn32.d: Likewise. + * testsuite/gas/mips/micromips@beq.d: Update patterns for + branch/jump compaction. + * testsuite/gas/mips/micromips@bge.d: Likewise. + * testsuite/gas/mips/micromips@bgeu.d: Likewise. + * testsuite/gas/mips/micromips@blt.d: Likewise. + * testsuite/gas/mips/micromips@bltu.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise. + * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise. + * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: + Likewise. + * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: + Likewise. + * testsuite/gas/mips/micromips@loc-swap.d: Likewise. + * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise. + * testsuite/gas/mips/micromips@relax.d: Likewise. + * testsuite/gas/mips/micromips@relax-at.d: Likewise. + * testsuite/gas/mips/micromips@relax-swap3.d: Likewise. + * testsuite/gas/mips/branch-extern-2.d: Likewise. + * testsuite/gas/mips/branch-extern-4.d: Likewise. + * testsuite/gas/mips/branch-section-2.d: Likewise. + * testsuite/gas/mips/branch-section-4.d: Likewise. + * testsuite/gas/mips/branch-weak-2.d: Likewise. + * testsuite/gas/mips/branch-weak-5.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute-addend.d: + Likewise. + * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: + Likewise. + * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: + Likewise. + * testsuite/gas/mips/micromips-compact.d: New test. + * testsuite/gas/mips/mips.exp: Run the new test. + +2016-07-27 Graham Markall + + * config/tc-arc.c: Add new global arc_addrtype_hash. + Define O_colon and O_addrtype. + (debug_exp): Add O_colon and O_addrtype. + (tokenize_arguments): Handle colon and address type + tokens. + (declare_addrtype): New function. + (md_begin): Initialise arc_addrtype_hash. + (arc_parse_name): Add lookup of address types. + (assemble_insn): Handle colons and address types by + ignoring them. + * testsuite/gas/arc/nps400-8.s: New file. + * testsuite/gas/arc/nps400-8.d: New file. + * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests. + * testsuite/gas/arc/nps400-8.d: Add expected PMU + instruction output. + +2016-07-26 Maciej W. Rozycki + + * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag. + (RELAX_MICROMIPS_INSN32): New macro. + (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT) + (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32) + (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16) + (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32) + (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32): + Shift bits. + (append_insn): Record `mips_opts.insn32' with relaxed microMIPS + branches. + (relaxed_micromips_32bit_branch_length): Handle the `insn32' + mode. + (md_convert_frag): Likewise. + * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32' + conditionals. + * testsuite/gas/mips/micromips-branch-relax.l: Update line + numbers accordingly. + * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise. + * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test. + * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New + test. + * testsuite/gas/mips/micromips-branch-relax-insn32.l: New + stderr output. + * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New + stderr output. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-21 H.J. Lu + + * configure: Regenerated. + +2016-07-20 Claudiu Zissulescu + + * testsuite/gas/arc/dsp.d: New file. + * testsuite/gas/arc/dsp.s: Likewise. + * testsuite/gas/arc/fpu.d: Likewise. + * testsuite/gas/arc/fpu.s: Likewise. + * testsuite/gas/arc/ext2op.d: Add specific disassembler option. + * testsuite/gas/arc/ext3op.d: Likewise. + * testsuite/gas/arc/tdpfp.d: Likewise. + * testsuite/gas/arc/tfpuda.d: Likewise. + +2016-07-20 Maciej W. Rozycki + + * config/tc-mips.c (mips_force_relocation): Remove + R_MIPS_PC26_S2 and R_MIPS_PC21_S2. + +2016-07-19 Maciej W. Rozycki + + * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable): + Adjust comments for BAL to JALX linker conversion. + (fix_bad_cross_mode_branch_p): Accept cross-mode BAL. + * testsuite/gas/mips/unaligned-branch-1.l: Update error messages + expected. + * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise. + * testsuite/gas/mips/branch-local-4.d: New test. + * testsuite/gas/mips/branch-local-n32-4.d: New test. + * testsuite/gas/mips/branch-local-n64-4.d: New test. + * testsuite/gas/mips/branch-addend.d: New test. + * testsuite/gas/mips/branch-addend-n32.d: New test. + * testsuite/gas/mips/branch-addend-n64.d: New test. + * testsuite/gas/mips/branch-local-4.s: New test source. + * testsuite/gas/mips/branch-addend.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-19 Maciej W. Rozycki + + * config/tc-mips.c (mips_force_relocation): Also retain branch + relocations against MIPS16 and microMIPS symbols. + (fix_bad_cross_mode_jump_p): New function. + (fix_bad_same_mode_jalx_p): Likewise. + (fix_bad_misaligned_jump_p): Likewise. + (fix_bad_cross_mode_branch_p): Likewise. + (fix_bad_misaligned_branch_p): Likewise. + (fix_validate_branch): Likewise. + (md_apply_fix) + : Separate from BFD_RELOC_MIPS_SHIFT5, + etc. Verify the ISA mode and alignment of the jump target. + : Replace the inline alignment check + with a call to `fix_validate_branch'. + : Likewise. + : Likewise. + + : Retain the original addend. + Verify the ISA mode and alignment of the branch target. + (md_convert_frag): Verify the ISA mode and alignment of resolved + MIPS16 branch targets. + * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction + branch targets with `.insn'. + * testsuite/gas/mips/branch-misc-5.s: Likewise. + * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update + accordingly. + * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise. + * testsuite/gas/mips/micromips-branch-relax.s: Annotate + non-instruction branch target with `.insn'. + * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets + with external symbols. + * testsuite/gas/mips/micromips-insn32.d: Update accordingly. + * testsuite/gas/mips/micromips-noinsn32.d: Likewise. + * testsuite/gas/mips/micromips-trap.d: Likewise. + * testsuite/gas/mips/micromips.d: Likewise. + * testsuite/gas/mips/mips16.s: Annotate non-instruction branch + targets with `.insn'. + * testsuite/gas/mips/mips16.d: Update accordingly. + * testsuite/gas/mips/mips16-64.d: Likewise. + * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction + branch target with `.insn'. + * testsuite/gas/mips/relax-swap3.s: Likewise. + * testsuite/gas/mips/branch-local-2.l: New list test. + * testsuite/gas/mips/branch-local-3.l: New list test. + * testsuite/gas/mips/branch-local-n32-2.l: New list test. + * testsuite/gas/mips/branch-local-n32-3.l: New list test. + * testsuite/gas/mips/branch-local-n64-2.l: New list test. + * testsuite/gas/mips/branch-local-n64-3.l: New list test. + * testsuite/gas/mips/unaligned-jump-1.l: New list test. + * testsuite/gas/mips/unaligned-jump-2.l: New list test. + * testsuite/gas/mips/unaligned-jump-3.d: New test. + * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test. + * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test. + * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test. + * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list + test. + * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list + test. + * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test. + * testsuite/gas/mips/unaligned-branch-1.l: New list test. + * testsuite/gas/mips/unaligned-branch-2.l: New list test. + * testsuite/gas/mips/unaligned-branch-3.d: New test. + * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test. + * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test. + * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test. + * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test. + * testsuite/gas/mips/unaligned-branch-r6-5.d: New test. + * testsuite/gas/mips/unaligned-branch-r6-6.d: New test. + * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test. + * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test. + * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test. + * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list + test. + * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list + test. + * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test. + * testsuite/gas/mips/branch-local-2.s: New test source. + * testsuite/gas/mips/branch-local-3.s: New test source. + * testsuite/gas/mips/branch-local-n32-2.s: New test source. + * testsuite/gas/mips/branch-local-n32-3.s: New test source. + * testsuite/gas/mips/branch-local-n64-2.s: New test source. + * testsuite/gas/mips/branch-local-n64-3.s: New test source. + * testsuite/gas/mips/unaligned-jump-1.s: New test source. + * testsuite/gas/mips/unaligned-jump-2.s: New test source. + * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source. + * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source. + * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test + source. + * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test + source. + * testsuite/gas/mips/unaligned-branch-1.s: New test source. + * testsuite/gas/mips/unaligned-branch-2.s: New test source. + * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source. + * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source. + * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source. + * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source. + * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test + source. + * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test + source. + * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test + source. + * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test + source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-19 Trevor Saunders + + * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val + unsigned int. + (do_pseudo_b): Adjust. + (do_pseudo_bal): Likewise. + (do_pseudo_bge): Likewise. + (do_pseudo_bges): Likewise. + (do_pseudo_bgt): Likewise. + (do_pseudo_bgts): Likewise. + (do_pseudo_ble): Likewise. + (do_pseudo_bles): Likewise. + (do_pseudo_blt): Likewise. + (do_pseudo_blts): Likewise. + (do_pseudo_br): Likewise. + (do_pseudo_bral): Likewise. + (do_pseudo_la): Likewise. + (do_pseudo_li): Likewise. + (do_pseudo_ls_bhw): Likewise. + (do_pseudo_ls_bhwp): Likewise. + (do_pseudo_ls_bhwpc): Likewise. + (do_pseudo_ls_bhwi): Likewise. + (do_pseudo_move): Likewise. + (do_pseudo_neg): Likewise. + (do_pseudo_not): Likewise. + (do_pseudo_pushpopm): Likewise. + (do_pseudo_pushpop): Likewise. + (do_pseudo_v3push): Likewise. + (do_pseudo_v3pop): Likewise. + (do_pseudo_pushpop_stack): Likewise. + (do_pseudo_push_bhwd): Likewise. + (do_pseudo_pop_bhwd): Likewise. + (do_pseudo_pusha): Likewise. + (do_pseudo_pushi): Likewise. + +2016-07-19 Trevor Saunders + + * config/tc-sparc.c (struct pop_entry): Make the type of reloc + bfd_reloc_code_real_type. + +2016-07-19 Trevor Saunders + + * config/tc-sparc.c (pop_table): Remove sentinel. + (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table. + (md_begin): Adjust. + +2016-07-19 Trevor Saunders + + * config/tc-z8k.c (newfix): Make type of type argument + bfd_reloc_code_real_type. + (apply_fix): Likewise. + +2016-07-16 Alan Modra + + * config/tc-epiphany.c: Don't include libbfd.h. + * config/tc-frv.c: Likewise. + * config/tc-ip2k.c: Likewise. + * config/tc-iq2000.c: Likewise. + * config/tc-m32c.c: Likewise. + * config/tc-mep.c: Likewise. + * config/tc-mt.c: Likewise. + * config/tc-nios2.c: Likewise. + +2016-07-16 Alan Modra + + * config/bfin-parse.y: Don't include libbfd.h. + * config/tc-bfin.c: Likewise. + * config/tc-rl78.c: Likewise. + * config/tc-rx.c: Likewise. + * config/tc-metag.c: Likewise. + (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + +2016-07-14 Maciej W. Rozycki + + * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro. + (mips_force_relocation_abs): New prototype. + * config/tc-mips.c (mips_force_relocation_abs): New function. + * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns. + * testsuite/gas/mips/mips16-branch-absolute.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise. + * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: + Likewise. + * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: + Likewise. + * testsuite/gas/mips/branch-absolute-addend.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-addend.d: New + test. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-14 Maciej W. Rozycki + + * config/tc-mips.c (md_apply_fix) + + : Keep the ISA bit in the + addend calculated. + * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit + in `bar', export `foo'. + * testsuite/gas/mips/mips16-branch-absolute.d: Adjust + accordingly. + * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise. + * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise. + * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: + Likewise. + * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: + Likewise. + +2016-07-14 Maciej W. Rozycki + + * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns. + * testsuite/gas/mips/branch-absolute.d: New test. + * testsuite/gas/mips/branch-absolute-n32.d: New test. + * testsuite/gas/mips/branch-absolute-n64.d: New test. + * testsuite/gas/mips/branch-absolute-addend-n32.d: New test. + * testsuite/gas/mips/branch-absolute-addend-n64.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test. + * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New + test. + * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New + test. + * testsuite/gas/mips/micromips-branch-absolute.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test. + * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New + test. + * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New + test. + * testsuite/gas/mips/branch-absolute.s: New test source. + * testsuite/gas/mips/branch-absolute-addend.s: New test source. + * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test + source. + * testsuite/gas/mips/micromips-branch-absolute.s: New test + source. + * testsuite/gas/mips/micromips-branch-absolute-addend.s: New + test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-13 Maciej W. Rozycki + + * testsuite/gas/mips/nal-1.d: New test. + * testsuite/gas/mips/mipsr6@nal-1.d: New test. + * testsuite/gas/mips/nal-2.d: New test. + * testsuite/gas/mips/mipsr6@nal-2.d: New test. + * testsuite/gas/mips/nal.s: New test source. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-12 Jose E. Marchesi + + * testsuite/gas/sparc/ldtxa.s: New file. + * testsuite/gas/sparc/ldtxa.d: Likewise. + * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test. + +2016-07-11 Claudiu Zissulescu + + * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff. + (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum + as it is no longer needed. + +2016-07-08 Maciej W. Rozycki + + * config/tc-mips.c (append_insn): Remove extraneous + `install_insn' call. + +2016-07-04 Jan Beulich + + * config/tc-i386.c (check_qword_reg): Correct register kind + checked. + * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with + 16-bit register cases. + * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations. + + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/ecoff@ld.d: Remove test. + * testsuite/gas/mips/ecoff@ld-forward.d: Remove test. + * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test. + * testsuite/gas/mips/ecoff@sd.d: Remove test. + * testsuite/gas/mips/ecoff@sd-forward.d: Remove test. + * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from + reloc patterns. + * testsuite/gas/mips/mipsr6@beq.d: Likewise. + * testsuite/gas/mips/bge.d: Likewise. + * testsuite/gas/mips/mipsr6@bge.d: Likewise. + * testsuite/gas/mips/bgeu.d: Likewise. + * testsuite/gas/mips/mipsr6@bgeu.d: Likewise. + * testsuite/gas/mips/blt.d: Likewise. + * testsuite/gas/mips/mipsr6@blt.d: Likewise. + * testsuite/gas/mips/bltu.d: Likewise. + * testsuite/gas/mips/mipsr6@bltu.d: Likewise. + * testsuite/gas/mips/branch-likely.d: Likewise. + * testsuite/gas/mips/la.d: Likewise. + * testsuite/gas/mips/lb.d: Likewise. + * testsuite/gas/mips/lifloat.d: Likewise. + * testsuite/gas/mips/sb.d: Likewise. + * testsuite/gas/mips/uld.d: Likewise. + * testsuite/gas/mips/ulh.d: Likewise. + * testsuite/gas/mips/ulw.d: Likewise. + * testsuite/gas/mips/usd.d: Likewise. + * testsuite/gas/mips/ush.d: Likewise. + * testsuite/gas/mips/usw.d: Likewise. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/branch-misc-2.s: Move non + locally-defined-global symbol tests... + * testsuite/gas/mips/branch-misc-5.s: ... to this new test. + * testsuite/gas/mips/branch-misc-2.d: Update accordingly. + * testsuite/gas/mips/branch-misc-2-64.d: Likewise. + * testsuite/gas/mips/branch-misc-2pic.d: Likewise. + * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise. + * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise. + * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise. + * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise. + * testsuite/gas/mips/branch-misc-5.d: New test. + * testsuite/gas/mips/branch-misc-5pic.d: New test. + * testsuite/gas/mips/branch-misc-5-64.d: New test. + * testsuite/gas/mips/branch-misc-5pic-64.d: New test. + * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test. + * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test. + * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test. + * testsuite/gas/mips/mips.exp: Run the new tests. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/beq.s: Uncomment branches to undefined + symbols. + * testsuite/gas/mips/beq.d: Update accordingly. + * testsuite/gas/mips/mipsr6@beq.d: Likewise. + * testsuite/gas/mips/micromips@beq.d: Likewise. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips' + tests to NewABI targets. + +2016-07-02 Maciej W. Rozycki + + * testsuite/gas/mips/mips.exp: Group `branch-misc' tests + together. + +2016-07-01 Szabolcs Nagy + + * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add + require field. + (aarch64_features): Initialize require fields. + (aarch64_parse_features): Handle dependencies. + (aarch64_feature_enable_set, aarch64_feature_disable_set): New. + (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES. + * testsuite/gas/aarch64/illegal-nofp16.s: New. + * testsuite/gas/aarch64/illegal-nofp16.l: New. + * testsuite/gas/aarch64/illegal-nofp16.d: New. + +2016-07-01 Nick Clifton + + * macro.c (macro_expand_body): Use a buffer big enough to hold an + extremely large integer. + +2016-07-01 Jan Beulich + + * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets. + +2016-07-01 Tristan Gingold + + * NEWS: Add marker for 2.27. + +2016-07-01 Jan Beulich + + * tc-i386.c (i386_index_check): Add special checks for bndmk, + bndldx, and bndstx. + * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative + as well as scaling by other than 1 tests. + * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly. + +2016-07-01 Jan Beulich + + * tc-i386.c (md_assemble): Alter address size checking for MPX + instructions. + * testsuite/gas/i386/mpx-inval-2.s: New. + * testsuite/gas/i386/mpx-inval-2.l: New. + * testsuite/gas/i386/i386.exp: Run new test. + +2016-07-01 Jan Beulich + + PR gas/20318 + * config/tc-i386.c (match_template): Add char parameter, + consumed in Intel mode for an extra suffix check. + (md_assemble): New local variable mnem_suffix. + * testsuite/gas/i386/suffix-bad.s: New. + * testsuite/gas/i386/suffix-bad.l: New. + * testsuite/gas/i386/i386.exp: Run new test (twice). + 2016-07-01 Jan Beulich * testsuite/gas/i386/movz.s: New.