gas: blackfin: gas: blackfin: reject invalid BYTEOP16P insns
[binutils-gdb.git] / gas / ChangeLog
index 6723cd9178c0f0c878a9eac5da68d130044f1cf0..428d26663b8804b46c228c389c8e5125311e5bb6 100644 (file)
@@ -1,3 +1,288 @@
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
+       reg $2 is the same as dest reg $4.
+
+2011-03-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (16bit acc add): Return yyerror when dest
+       reg $1 is the same as dest reg $7.
+
+2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (handle_quad): New.
+       (md_pseudo_table): Add "quad".
+
+2011-03-26  John Marino  <binutils@marino.st>
+
+       * configure.tgt: Fix support for *-*-dragonfly*.
+       * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
+       * config/te-dragonfly.h: New file.
+
+2011-03-24  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
+       atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
+       at90pwm161.
+       * doc/c-avr.texi: Document new device names.
+
+2011-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
+       reg $1 is the same as dest reg $7.
+       (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
+       dest reg $7.
+
+2011-03-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (check_macfuncs): Clarify error message when
+       P is mismatched.  Check destination regno are off by one when P is
+       set, or are equal when P is not set.
+
+2011-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
+       the same as dest reg $4.
+       (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
+
+2011-03-23  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
+       atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
+       * doc/c-avr.texi: Document new device names.
+
+2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
+       (AVR_INSN): Change definition to match.
+       (avr_opcodes): Likewise, change to match.
+       (mcu_types): Add XMEGA architecture names and new XMEGA device names.
+       (md_show_usage): Add XMEGA architecture names.
+       (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
+       Add support for SPM Z+ instruction.
+       * doc/c-avr.texi: Add documentation for XMEGA architectures and
+       devices.
+
+2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
+
+2011-03-18  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
+       on .size expression errors rather than symbols in the size expression.
+
+2011-03-18  Alan Modra  <amodra@gmail.com>
+
+       * input-scrub.c (line_numberT): Delete.
+       (input_scrub_close): Reset line counters.
+       * messages.c (as_show_where): Don't print invalid line number.
+       (as_warn_internal, as_bad_internal): Likewise.
+
+2011-03-18  Alan Modra  <amodra@gmail.com>
+
+       * read.c (read_a_source_file): Remove md_after_pass_hook.
+       Move "quit" label before set of dot_symbol.
+       * config/tc-d10v.h (md_after_pass_hook): Don't define.
+       * config/tc-d30v.h (md_after_pass_hook): Likewise.
+       * config/tc-m32r.h (md_after_pass_hook): Likewise.
+       (md_cleanup): Define to call m32r_fill_insn.
+
+2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/tc-s390.c (md_parse_option): Add -march=all option which
+       switches to the highest available CPU.
+
+2011-03-17  Alan Modra  <amodra@gmail.com>
+
+       PR 12569
+       * expr.c (operand): Correct passing of "mode" to expr.
+       * read.c (do_org): Allow expr_section.
+       (get_known_segmented_expression): Don't assert anything about the
+       segment.
+
+2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * as.c (show_usage): Add --size-check=.
+       (parse_args): Add and handle OPTION_SIZE_CHECK.
+
+       * as.h (flag_size_check): New.
+
+       * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
+       bad .size directive only for --size-check=error.
+
+       * doc/as.texinfo: Document --size-check=.
+
+2011-03-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
+       bf542/bf544/bf547/bf548/bf549.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
+       determine whether a relocation is needed.
+       (md_apply_fix, arm_apply_sym_value): Likewise.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * config/tc-arm.c (arm_adjust_symtab): Set the branch type
+       for Thumb symbols.
+
+2011-03-11  Nick Clifton  <nickc@redhat.com>
+
+       * remap.c (remap_debug_filename): Always allocate a buffer for the
+       returned pointer.
+       * stabs.c (stabs_generate_asm_file): Free the pointer returned by
+       remap_debug_filename.
+
+2011-03-10  Michael Snyder  <msnyder@vmware.com>
+
+       Revert the following change:
+       * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
+       (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
+
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+       * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
+       TARGET_SYMBOL_FIELDS): Don't define.
+       * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
+
+2011-03-09  Michael Snyder  <msnyder@vmware.com>
+
+       * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
+       (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
+       (emit_fixed_inc_line_addr): Assign instead of conditional in
+       assert.
+
+2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
+       non-constant .size expression.
+
+2011-03-02  Nick Clifton  <nickc@redhat.com>
+
+       * ecoff.c: Incldue filenames.h
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * depend.c (register_dependency): Use filename_(n)cmp.
+       * dwarf2dbg.c (get_filenum): Likewise.
+       * ecoff.c (add_file): Likewise.
+       (ecoff_generate_asm_lineno): Likewise.
+       * input-scrub.c (new_logical_line_flags): Likewise.
+       * listing.c (file_info): Likewise.
+       (listing_newline): Likewise.
+       * remap.c (remap_debug_filename): Likewise.
+       * stabs.c (generate_asm_file): Likewise.
+       (stabs_generate_asm_lineno): Likewise.
+
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (append_insn): Disable branch relaxation for
+       DSP instructions.
+
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (macro): Handle M_PREF_AB.
+
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
+       register to use.
+       (RELAX_BRANCH_UNCOND): Adjust accordingly.
+       (RELAX_BRANCH_LIKELY): Likewise.
+       (RELAX_BRANCH_LINK): Likewise.
+       (RELAX_BRANCH_TOOFAR): Likewise.
+       (RELAX_BRANCH_AT): New macro.
+       (append_insn): Encode the temporary register to use in standard
+       MIPS branch relaxation.
+       (relaxed_branch_length): Update according to changes to
+       RELAX_BRANCH_ENCODE.
+       (md_convert_frag): Use the encoded register as the temporary.
+
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (mips_fix_adjustable): On REL targets also
+       reject PC-relative relocations.
+
+2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (md_convert_frag): Correct message
+       capitalization.
+
+2011-02-28  Alan Modra  <amodra@gmail.com>
+
+       * symbols.c (report_op_error): Remove unnecessary forward declaration.
+       Add "op" parameter.  Report operator and operand segments in error
+       message, not operand symbols.
+       (resolve_symbol_value): Always set segment for equated symbols, not
+       just when finalizing.  Adjust report_op_error calls.
+
+2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
+       if 64bit relocations aren't allowed.
+
+2011-02-25  Alan Modra  <amodra@gmail.com>
+
+       PR gas/12519
+       * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
+
+2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
+       initialization of offset_reloc.
+
+2011-02-15  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (dot_cfi_dummy): New.
+       (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
+       * read.c (pobegin): Unconditionally call cfi_pop_insert.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2011-02-13  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
+       * config/bfin-parse.y (BYTEOP2M): Delete token.
+       (asm_1): Remove BYTEOP2M insn matching.
+
+2011-02-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-defs.h: Include opcode/bfin.h.
+       (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
+
+2011-02-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
+       (Modify Registers): Fix subtracted typo.
+       (.byte2): Extend and swap descriptions with .byte4.
+       (.byte4): Extend and swap descriptions with .byte2.
+       (.db, .dw, .dd): Document behavior.
+
+2011-02-11  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
+
+2011-02-11  Alan Modra  <amodra@gmail.com>
+
+       * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
+
+2011-02-10  Alan Modra  <amodra@gmail.com>
+
+       * doc/as.texinfo (Overview): Add missing markup around Blackfin
+       and PowerPC options.
+
+2011-02-10  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
+       * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
+       (Overview <Target PowerPC options>): Add a number of missing options.
+       * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
+
 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/6957