Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only...
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 69187bb2fe3f39ce2b06af807546be0795f2a2a9..112b0f55d4f404deeb5bc9b6df7900df77ed22e4 100644 (file)
@@ -1,3 +1,418 @@
+2018-11-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * config/tc-msp430.c (is_dint): New.
+       (is_eint): New.
+       (gen_nop): New.
+       (warn_eint_nop): New.
+       (warn_unsure_interrupt): New.
+       (msp430_operands): Determine the effect MOV #N,SR insns have on
+       interrupt state.
+       Only emit NOP warnings for 430 ISA in certain situations.
+       (msp430_md_end): Only warn about an EINT at the end of the file
+       if NOP warnings are enabled.
+       * testsuite/gas/msp430/bad.l: Adjust expected output for new warnings.
+       * testsuite/gas/msp430/msp430.exp: Run new tests.
+       * testsuite/gas/msp430/nop-dint-430.d: New.
+       * testsuite/gas/msp430/nop-dint-430.l: New.
+       * testsuite/gas/msp430/nop-dint-430x-ignore.d: New.
+       * testsuite/gas/msp430/nop-dint-430x-silent.d: New.
+       * testsuite/gas/msp430/nop-dint-430x.d: New.
+       * testsuite/gas/msp430/nop-dint-430x.l: New.
+       * testsuite/gas/msp430/nop-dint.s: New.
+       * testsuite/gas/msp430/nop-eint-430.d: New.
+       * testsuite/gas/msp430/nop-eint-430.l: New.
+       * testsuite/gas/msp430/nop-eint-430x-ignore.d: New.
+       * testsuite/gas/msp430/nop-eint-430x-silent.d: New.
+       * testsuite/gas/msp430/nop-eint-430x.d: New.
+       * testsuite/gas/msp430/nop-eint-430x.l: New.
+       * testsuite/gas/msp430/nop-eint.s: New.
+       * testsuite/gas/msp430/nop-int-430.d: New.
+       * testsuite/gas/msp430/nop-int-430.l: New.
+       * testsuite/gas/msp430/nop-int-430x-silent.d: New.
+       * testsuite/gas/msp430/nop-int-430x.d: New.
+       * testsuite/gas/msp430/nop-int-430x.l: New.
+       * testsuite/gas/msp430/nop-int.s: New.
+
+2018-11-23  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * testsuite/gas/arm/bl-local-v4t.d: Remove
+       warning check.
+       * testsuite/gas/arm/blx-local-thumb.s: New.
+       * testsuite/gas/arm/blx-local-thumb.d: New.
+
+2018-11-21 John Darrington <john@darrington.wattle.id.au>
+
+       * testsuite/gas/s12z/shift.s: Add new test case.
+       * testsuite/gas/s12z/shift.d: Add expected result.
+
+2018-11-21 John Darrington <john@darrington.wattle.id.au>
+
+       * config/tc-s12z.c (opcodes): bhs, blo: New members.
+       * testsuite/gas/s12z/bra.d: Add tests for aliases.
+       * testsuite/gas/s12z/bra.s: Add tests for aliases.
+
+2018-11-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (arm_archs): Reindent.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * testsuite/gas/aarch64/sysreg-4.s: Test IGVAC, IGSW,
+       CGSW, CIGSW, CGVAC, CGVAP, CGVADP, CIGVAC, GVA,
+       IGDVAC, IGDSW, CGDSW, CIGDSW, CGDVAC, CGDVAP, CGDVADP,
+       CIGDVAC and GZVA with DC.
+       * testsuite/gas/aarch64/sysreg-4.d: Likewise.
+       * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * testsuite/gas/aarch64/sysreg-4.s: Test TCO, TFSRE0_SL1,
+       TFSR_EL1, TFSR_EL2, TFSR_EL3, TFSR_EL12, RGSR_EL1 and
+       GCR_EL1 MSR and MRS.
+       * testsuite/gas/aarch64/sysreg-4.d: Likewise.
+       * testsuite/gas/aarch64/illegal-sysreg-4.l: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * config/tc-aarch64.c (parse_operands): Add switch case for
+       AARCH64_OPND_ADDR_SIMPLE_2 and allow [base]! for it.
+       (warn_unpredictable_ldst): Exempt ldstgv_indexed for ldgv.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for ldgv and stgv.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for ldg.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * config/tc-aarch64.c (parse_operands): Add switch case for
+       AARCH64_OPND_ADDR_SIMM11 and AARCH64_OPND_ADDR_SIMM13.
+       (fix_insn): Likewise.
+       (warn_unpredictable_ldst): Exempt STGP.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for stg, st2g,
+       stzg, stz2g and stgp.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * testsuite/gas/aarch64/armv8_5-a-memtag.s: Add tests for subp,
+       subps and cmpp.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * config/tc-aarch64.c (parse_operands): Add switch case for
+       AARCH64_OPND_UIMM4_ADDG and AARCH64_OPND_UIMM10.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.s: New.
+       * testsuite/gas/aarch64/armv8_5-a-memtag.d: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
+       * testsuite/gas/aarch64/illegal-memtag.d: Likewise.
+
+2018-11-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * config/tc-aarch64.c (aarch64_features): Add "memtag"
+       as a new option.
+       * doc/c-aarch64.texi: Document the same.
+
+2018-11-09  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (fixup_size): New function.
+       (md_assemble): Use it to derive size and pcrel directly
+       from fixup reloc type.
+
+2018-11-07  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2018-11-07  Yoshinori Sato  <ysato@users.sourceforge.jp>
+
+       * configure.tgt: Add rx-*-linux.
+       * config/tc-rx.h (TARGET_FORMAT): Add "elf32-rx-linux".
+
+2018-11-06  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * testsuite/gas/arm/neon-cond-bad_t2.d: Fix testcase for PE target.
+
+2018-11-06  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * config/tc-arm.c (do_neon_cvt_1): Add check for neon and condition
+       codes to half-precision conversion.
+       * testsuite/gas/arm/neon-cond-bad-inc.s: Check vcvteq disallowed.
+       * testsuite/gas/arm/neon-cond-bad.l: Likewise.
+       * testsuite/gas/arm/neon-cond-bad_t2.d: Check vcvteq allowed in IT
+       block.
+       * testsuite/gas/arm/vfp-bad.l: Ensure vcvt doesn't work without neon.
+       * testsuite/gas/arm/vfp-bad.s: Likewise.
+
+2018-11-06  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (insn_validate): Don't ignore mask in
+       PPC_OPSHIFT_INV case.  Call the insert function to calculate
+       a mask.
+
+2018-11-06  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (insn_validate): Check that optional operands
+       are not followed by non-optional operands.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/evex-wig.s: Add vpbroadcastd cases.
+       * testsuite/gas/i386/evex-wig.d,
+       testsuite/gas/i386/evex-wig1-intel.d: Adjust expectations.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/evex-wig.s: Add vmovd cases.
+       * testsuite/gas/i386/evex-wig.d,
+       testsuite/gas/i386/evex-wig1-intel.d: Adjust expectations.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/avx-wig.s: Add kmovd cases.
+       * testsuite/gas/i386/avx-wig.d: Adjust expectations.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/avx-wig.s,
+       testsuite/gas/i386/x86-64-avx-wig.s: Add vpextrb, vpextrw,
+       vpinsrb, and vpinsrw cases.
+       * testsuite/gas/i386/evex-wig.s: Add vpextrd and vpinsrd cases.
+       * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/evex-wig.d,
+       testsuite/gas/i386/evex-wig1-intel.d,
+       testsuite/gas/i386/x86-64-avx-wig.d: Adjust expectations.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (build_vex_prefix, build_evex_prefix):
+       Consider execution mode when .vexw is not set.
+       * testsuite/gas/i386/avx-wig.s,
+       testsuite/gas/i386/x86-64-avx-wig.s: Add BMI, BMI2, TBM, LWP,
+       vcvtsi2s*, vcvt*2si, vmovd, vpcmpestr*, vpextrd, and vpinsrd
+       cases.
+       * testsuite/gas/i386/evex-wig.s: Add vcvt*si2s*, vcvt*2*si,
+       vextractps, vpextrb, vpextrw, vpinsrb, and vpinsrw cases.
+       * testsuite/gas/i386/x86-64-evex-wig.s: Add vpextrb, vpextrw,
+       vpinsrb, and vpinsrw cases.
+       * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/evex-wig.d,
+       testsuite/gas/i386/evex-wig1-intel.d,
+       testsuite/gas/i386/x86-64-evex-wig1.d,
+       testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust expectations.
+       * testsuite/gas/i386/evex-wig2.d,
+       testsuite/gas/i386/evex-wig2.s: Delete.
+       * testsuite/gas/i386/i386.exp: Drop deleted test.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/evex-lig-2.s,
+       testsuite/gas/i386/x86-64-evex-lig-2.s: Add extract and insert
+       cases.
+       * testsuite/gas/i386/evex-lig-2.d,
+       testsuite/gas/i386/x86-64-evex-lig-2.d: Adjust expectations.
+       * testsuite/gas/i386/vex-lig-2.s,
+       testsuite/gas/i386/vex-lig-2.d,
+       testsuite/gas/i386/x86-64-vex-lig-2.s,
+       testsuite/gas/i386/x86-64-vex-lig-2.d: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/pseudos.s,
+       testsuite/gas/i386/x86-64-pseudos.s: Add pextrw / vpextrw cases.
+       * testsuite/gas/i386/pseudos.d,
+       testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
+
+2018-11-06  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/avx-wig.s,
+       testsuite/gas/i386/x86-64-avx-wig.s: Add vandp*, vandnp*, vorp*,
+       vcmpeq*, and vcvtss2sd cases.
+       * testsuite/gas/i386/avx2-wig.s,
+       testsuite/gas/i386/x86-64-avx2-wig.s: Drop redundant vmovntdqa
+       case.
+       * testsuite/gas/i386/avx-wig.d, testsuite/gas/i386/avx2-wig.d,
+       testsuite/gas/i386/x86-64-avx-wig.d,
+       testsuite/gas/i386/x86-64-avx2-wig.d: Adjust expectations.
+
+2018-11-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/23854
+       * config/tc-i386.c (output_disp): Disable GOT relaxation with
+       data prefix.
+       * testsuite/gas/i386/mixed-mode-reloc32.d: Updated.
+
+2018-11-01  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
+
+       * testsuite/config/default.exp: Define LD, LDFLAGS and
+       ld_elf_shared_opt.
+
+2018-10-31  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * testsuite/gas/arm/armv8-a+rdma-warning.d: Remove objdump execution.
+
+2018-10-31  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * testsuite/gas/arm/udf.d: Update expected output.
+
+2018-10-31  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * testsuite/gas/arm/armv1.d: Assemble for Armv1 and disassemble for
+       Armv2.
+
+2018-10-29  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (HFILES): Delete struc-symbol.h.
+       * doc/internals.texi: Delete struc-symbol.h reference and out
+       of date local symbol description.
+       * struc-symbol.h: Delete.  Move contents to..
+       * symbols.c: ..here.
+       (symbol_on_chain, symbol_symbolS): New functions.
+       * symbols.h (symbol_on_chain, symbol_symbolS): Declare.
+       * cgen.c: Don't #include struc-symbol.h.
+       (gas_cgen_parse_operand): Don't test for local_symbol using
+       bsym, instead call symbol_symbolS.  Use symbol_get_bfdsym.
+       (weak_operand_overflow_check, make_right_shifted_expr): Use
+       symbol accessors.
+       * config/obj-coff.c: Don't #include struc-symbol.h.
+       (GET_FILENAME_STRING): Delete.
+       * config/obj-elf.c: Don't #include struc-symbol.h.
+       (elf_file_symbol): Use symbol accessors.
+       (elf_adjust_symtab): Call symbol_on_chain.
+       * config/obj-evax.c: Don't #include struc-symbol.h.
+       * config/tc-nds32.c: Likewise.
+       * config/tc-rl78.c: Likewise.
+       * config/tc-rx.c: Likewise.
+       * config/tc-alpha.c: Likewise.
+       (add_to_link_pool, s_alpha_comm): Use symbol accessors.
+       * config/tc-arc.c: Don't #include struc-symbol.h.
+       (arc_check_relocs): Use symbol accessors, testing gas symbol
+       section rather than bfd symbol section.
+       * config/tc-avr.c: Don't #include struc-symbol.h.
+       (avr_patch_gccisr_frag): Use symbol accessors.
+       * config/tc-bfin.c: Don't #include struc-symbol.h.
+       (bfin_loop_beginend): Use symbol accessors.
+       * config/tc-csky.c: Don't #include struc-symbol.h.
+       (v2_work_movih, v2_work_ori): Use symbol accessors.  Check for
+       absolute symbol as well as O_constant.
+       * config/tc-riscv.c: Don't #include struc-symbol.h.
+       (riscv_pre_output_hook): Use symbol accessors.
+       * config/tc-s390.c: Don't #include struc-symbol.h.
+       (s390_literals): Use symbol accessors.
+       * config/tc-score.c (s3_build_la_pic, s3_build_lwst_pic): Use
+       symbol accessors.
+       (s3_relax_branch_inst16, s3_relax_cmpbranch_inst32): Don't
+       test symbol bsym.
+       * config/tc-score7.c: Don't #include struc-symbol.h.
+       (s7_build_la_pic, s7_build_lwst_pic): Use symbol accessors.
+       (s7_b32_relax_to_b16): Don't test symbol bsym.
+       * config/tc-sh.c: Don't #include struc-symbol.h.
+       (insert_loop_bounds): Use symbol accessors.
+       (sh_frob_section): Remove bogus symbol canonicalization.
+       * config/tc-tic54x.c: Don't #include struc-symbol.h.
+       (tic54x_bss): Use symbol accessors.
+       * config/tc-tilegx.c: Don't #include struc-symbol.h.
+       (emit_tilegx_instruction, tilegx_parse_name): Use symbol accessors.
+       * config/tc-tilepro.c: Don't #include struc-symbol.h.
+       (emit_tilepro_instruction, tilepro_parse_name): Use accessors.
+       * config/tc-xtensa.c: Don't #include struc-symbol.h.
+       (xg_assemble_vliw_tokens): Use symbol accessors.
+       (xg_order_trampoline_chain): Likewise.
+       * ehopt.c: Don't #include struc-symbol.h.
+       (check_eh_frame): Correct local symbol test.  Use symbol accessors.
+       * write.c: Don't #include struc-symbol.h.
+       (create_note_reloc, maybe_generate_build_notes): Use symbol accessors.
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2018-10-28  Alan Modra  <amodra@gmail.com>
+
+       PR 23837
+       * config/tc-hppa.c: Don't include struc-symbol.h.
+       (pa_build_unwind_subspace): Call symbol_get_frag rather than
+       referencing sy_frag.
+
+2018-10-23  John Darrington  <john@darrington.wattle.id.au>
+
+       * config/tc-s12z.c (md_apply_fix): Handle BFD_RELOC_16 for fixups
+       without a symbol.
+
+2018-10-22  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/all/simple-forward.d,
+       * testsuite/gas/all/simple-forward.s: New test.
+       * testsuite/gas/all/gas.exp: Run it.
+       * testsuite/gas/all/eqv-dot.d: xfail tic30 and tic54x.
+
+2018-10-22  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-alpha.c (md_apply_fix): Handle BFD_RELOC_8 for fixups
+       without a symbol.
+       * testsuite/gas/all/gas.exp: Don't xfail forward test here..
+       * testsuite/gas/all/forward.d: ..do so here, removing alpha.
+
+2018-10-22  Alan Modra  <amodra@gmail.com>
+
+       PR 23040
+       * symbols.c (get_real_sym): New function.
+       (symbol_same_p): Use get_real_sym.
+       (symbol_clone_if_forward_ref): Save real original add_symbol and
+       op_symbol for comparison against that returned from lookup or
+       recursive calls.
+       * dwarf2dbg.c (set_or_check_view): Use expr_section for
+       expression symbols, not absolute_section.
+       (dwarf2_directive_loc): Check symbol_equated_p and tidy cloning
+       of view symbols.
+       * read.c (s_leb128): Don't use deferred_expression.
+
+2018-10-20  Alan Modra  <amodra@gmail.com>
+
+       PR 23800
+       * expr.c (expr): Don't simplify expressions involving forward_ref
+       symbols when mode is expr_defer.
+       * config/tc-spu.c (spu_cons): Parse expression using normal
+       expression evaluation if @ppu is not detected.
+       * testsuite/gas/all/eqv-dot.d,
+       * testsuite/gas/all/eqv-dot.s: New test.
+       * testsuite/gas/all/gas.exp: Run it.
+
+2018-10-19  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/gas/arm/undefined-insn-arm.d: Widen pe skip.
+       * testsuite/gas/arm/undefined-insn-thumb.d: Likewise.
+
+2018-10-19  Tamar Christina  <tamar.christina@arm.com>
+
+       * testsuite/gas/arm/undefined-insn-arm.d: New test.
+       * testsuite/gas/arm/undefined-insn-thumb.d: New test.
+       * testsuite/gas/arm/undefined-insn.s: New test.
+
+2018-10-19  Fredrik Noring  <noring@nocrew.org>
+
+       * testsuite/gas/mips/r5900.s: Extend the R5900 short loop fix
+       test with border cases.
+       * testsuite/gas/mips/r5900.d: Add extra expected disassembly.
+       * config/tc-mips.c (can_swap_branch_p): Clarify the R5900 short
+       loop hardware bug conditions.  Correct note on the R5900
+       instruction count short loop fix.
+
+2018-10-16  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * testsuite/gas/aarch64/illegal-dotproduct.d: New test.
+       * testsuite/gas/aarch64/illegal-dotproduct.l: New test.
+       * testsuite/gas/aarch64/illegal-dotproduct.s: New test.
+
+
 2018-10-15  Alan Modra  <amodra@gmail.com>
 
        PR 23534
This page took 0.030175 seconds and 4 git commands to generate.