ARM: Issue a warning when the MRRC and MRRC2 instructions are used with the same...
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 582655e832168a13c89ddf5aedd5635aaf4ea9fe..1744cf878041663adf692af873d172f4e10e6721 100644 (file)
@@ -1,3 +1,405 @@
+2016-08-19  Tamar Christina  <tamar.christina@arm.com>
+
+       * 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  <nickc@redhat.com>
+
+       * 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  <richard.sandiford@arm.com>
+
+       * 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  <nickc@redhat.com>
+
+       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  <stefan.teleman@oracle.com>
+
+       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  <jose.marchesi@oracle.com>
+
+       * 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  <macro@imgtec.com>
+
+       * 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  <graham.markall@embecosm.com>
+
+        * 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  <macro@imgtec.com>
+
+       * 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  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2016-07-20  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * 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  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_force_relocation): Remove
+       R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
+
+2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * 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  <macro@imgtec.com>
+
+       * 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) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
+       <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
+       etc.  Verify the ISA mode and alignment of the jump target.
+       <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
+       with a call to `fix_validate_branch'.
+       <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
+       <BFD_RELOC_16_PCREL_S2>: Likewise.
+       <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
+       <BFD_RELOC_MICROMIPS_16_PCREL_S1>: 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  <tbsaunde+binutils@tbsaunde.org>
+
+       * 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  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-sparc.c (struct pop_entry): Make the type of reloc
+       bfd_reloc_code_real_type.
+
+2016-07-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * 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  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-z8k.c (newfix): Make type of type argument
+       bfd_reloc_code_real_type.
+       (apply_fix): Likewise.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * 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  <amodra@gmail.com>
 
        * config/bfin-parse.y: Don't include libbfd.h.
This page took 0.027252 seconds and 4 git commands to generate.