Add support to the ARC disassembler for selecting instruction classes.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 8f51551abc047e5c747e4c603b1ae8d61ac4e2ed..f0e5784cda47a6951c1678a91e4b4423c128480f 100644 (file)
@@ -1,3 +1,294 @@
+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.
+       * 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  <macro@imgtec.com>
+
+       * 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  <macro@imgtec.com>
+
+       * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
+       <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
+       <BFD_RELOC_MICROMIPS_16_PCREL_S1>: 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  <macro@imgtec.com>
+
+       * 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  <macro@imgtec.com>
+
+       * 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  <jose.marchesi@oracle.com>
 
        * testsuite/gas/sparc/ldtxa.s: New file.
This page took 0.037405 seconds and 4 git commands to generate.