+2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
+
+ PR gas/3041
+ * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
+ located in data section an referencing a weak symbol.
+
+2009-10-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
+ versions slightly more than nothing.
+
+ * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
+
+2009-10-07 Alan Modra <amodra@bigpond.net.au>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/2117
+ * config/tc-ia64.c (parse_operand): Use expression rather than
+ expression_and_evalute.
+ (parse_operand_and_eval): New function. Replace all uses of
+ parse_operand outside of parse_operands with this function.
+ (parse_operans_maybe_eval): New function. Replace uses of
+ parse_operand in parse_operands, except for the dummy, with
+ this function.
+
+2009-10-06 Alan Modra <amodra@bigpond.net.au>
+
+ PR gas/10704
+ * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
+
+2009-10-06 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (s_reloc): Don't use expression_and_evaluate.
+
+2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
+
+ * config/tc-ppc.c (md_show_usage): Document -m476.
+ * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
+
+2009-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ * dw2gencfi.c: Include dwarf2dbg.h.
+ (DWARF2_FORMAT): Define if not defined.
+ (dot_cfi_sections): New function.
+ (cfi_pseudo_table): Handle .cfi_sections.
+ (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
+ (cfi_sections): New variable.
+ (output_cie, output_fde, select_cie_for_fde): Add eh_frame
+ argument, add supporting for outputting .debug_frame
+ section.
+ (cfi_change_reg_numbers): New function or macro.
+ (cfi_finish): Only emit .eh_frame if
+ cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
+ cfi_sections & CFI_EMIT_debug_frame.
+ * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
+ * doc/as.texinfo (CFI directives): Document .cfi_sections.
+
+2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
+
+ * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
+ * doc/c-ppc.texi (PowerPC-Opts): Likewise.
+
+2009-10-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (x86_cons): Reformat.
+
+2009-09-29 DJ Delorie <dj@redhat.com>
+
+ * Makefile.am: Add RX target.
+ * configure.in: Likewise.
+ * configure.tgt: Likewise.
+ * read.c (do_repeat_with_expander): New function.
+ * read.h: Provide a prototype for do_repeat_with_expander.
+ * doc/Makefile.am: Add RX target documentation.
+ * doc/all.texi: Likewise.
+ * doc/as.texinfo: Likewise.
+ * Makefile.in: Regenerate.
+ * NEWS: Mention support for RX architecture.
+ * configure: Regenerate.
+ * doc/Makefile.in: Regenerate.
+ * config/rx-defs.h: New file.
+ * config/rx-parse.y: New file.
+ * config/tc-rx.h: New file.
+ * config/tc-rx.c: New file.
+ * doc/c-rx.texi: New file.
+
+2009-09-25 Martin Thuresson <martint@google.com>
+
+ Update sources to make alpha, arc and arm targets compile cleanly
+ with -Wc++-compat:
+ * config/tc-alpha.c: Add casts.
+ (extended_bfd_reloc_code_real_type): New type. Used to avoid
+ enumeration conversion warnings.
+ (struct alpha_fixup, void assemble_insn, assemble_insn)
+ (assemble_tokens): Use new type.
+ * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
+ * config/obj-elf.c: Add cast
+ * config/tc-arc.c: Add casts.
+ * config/obj-aout.h (text_section,data_section,bss_section):
+ Make extern.
+ * config/obj-elf.c: Add cast.
+ * config/tc-arm.c: Add casts.
+ (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
+ (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
+ need for keywords as arguments.
+
+2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
+
+ * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
+ entries
+
+2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
+ of vex256.
+
+2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/10677
+ * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
+ for BFD_RELOC_X86_64_GOTPCREL.
+
+2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
+ BFD_RELOC_386_GOT32.
+
+2009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
+
+ * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
+ difference of of two symbols.
+ (xtensa_fix_adjustable): Likewise.
+
+2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
+
+ * configure.com: Fix a typo.
+
+2009-09-23 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (define_sym_at_dot): New function, extracted from..
+ (colon): ..here. Define error case cloned symbol.
+
+2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c: Remove white spaces.
+
+2009-09-21 Ben Elliston <bje@au.ibm.com>
+ Peter Bergner <bergner@vnet.ibm.com>
+
+ * config/tc-ppc.c (md_show_usage): Document -mpcca2.
+ * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
+
+2009-09-18 Nick Clifton <nickc@redhat.com>
+
+ * po/es.po: Updated Spanish translation.
+
+2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (offset_in_range): Sign extend offset only
+ if BFD64 is defined.
+
+2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386-intel.c (i386_intel_operand): Initialize
+ intel_state.has_offset to 0.
+
+2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (offset_in_range): Sign extend offset only
+ for 32bit address mode.
+
+2009-09-15 Tristan Gingold <gingold@adacore.com>
+
+ * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
+
+2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/10637
+ * config/tc-i386-intel.c (intel_state): Add has_offset.
+ (i386_intel_simplify): Set intel_state.has_offset to 1 for
+ O_offset.
+ (i386_intel_operand): Turn on intel_state.is_mem if
+ intel_state.has_offset is 0 and the last char is ']'.
+
+2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/10636
+ * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
+ if there is an ADDR_PREFIX.
+ (i386_finalize_displacement): Repor error if signed 32bit
+ displacement is out of range.
+
+2009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
+ Require the target to be a bare symbol on targets with
+ in-place addends.
+ (macro_build_jalr): Update accordingly.
+ (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
+ with in-place addends.
+
+2009-09-11 Nick Clifton <nickc@redhat.com>
+
+ * po/gas.pot: Updated by the Translation project.
+
+2009-09-11 Martin Thuresson <martint@google.com>
+
+ * as.c (main): Call dwarf2_init.
+ * config/obj-elf.c (struct group_list): New field.
+ (build_group_lists): Use hash lookup.
+ (free_section_idx): New function.
+ (elf_frob_file): Adjust.
+ * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
+ (get_line_subseg): Adjust.
+ (dwarf2_init): New function.
+ * dwarf2dbg.h (dwarf2_init): New declaration.
+
+2009-09-11 Martin Thuresson <martint@google.com>
+
+ Updated sources to compile cleanly with -Wc++-compat:
+ * app.c: Add casts.
+ * as.c: Add casts.
+ * config/obj-elf.c: Add casts.
+ (obj_elf_type): Rename variable typename to type_name.
+ * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
+ * config/tc-i386.c: Add casts.
+ (check_cpu_arch_compatible): Rename argument new to new_flag.
+ (gotrel): Update variable to use enum name instead of integer value.
+ * dw2gencfi.c: Add casts.
+ (struct cfi_escape_data): Move to top level.
+ * dwarf2dbg.c: Add cast.
+ * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
+ * ehopt.c Add casts.
+ (enum frame_state): Move to top level.
+ * expr.c (operatorf): Rename function operator to operatorf.
+ (operand): Rename variable operator to op.
+ (expr_set_rank): Rename argument operator to op.
+ * frags.c: Add cast.
+ * hash.c: Add casts.
+ * input-scrub.c: Add cast.
+ * listing.c: Add casts.
+ (enum edict_enum): Move to top level.
+ * macro.c: Add casts.
+ * macro.h (enum formal_type): Move to top level.
+ * read.c: Add casts.
+ (s_include): Rename variable try to try_file.
+ * remap.c: Add cast.
+ * stabs.c: Add casts.
+ * subsegs.c: Add casts.
+ * symbols.c: Add casts.
+ * write.c: Add casts.
+
+2009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
+
+ PR gas/10623
+ * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
+ Allow register operands for SWYM as for TRIP and TRAP. Correct
+ operand handling and error checking. Never emit
+ BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
+
+2009-09-10 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-d10v.c: Include dwarf2dbg.h.
+ (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
+ (d10v_frob_label): New function.
+ * config/tc-d10v.h (d10v_frob_label): Declare.
+ (tc_frob_label): Define as d10v_frob_label.
+
+2009-09-10 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
+ * config/tc-frv.c (frv_frob_label): Likewise.
+
+2009-09-09 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-coff.h (USE_UNIQUE): Don't define.
+ * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
+ * symbols.c (an_external_name): Define when TE_PE.
+ (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
+ * tc.h (an_external_name): Declare when TE_PE.
+
+ * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
+
+2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
+
+2009-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (emit_expr_fix): Handle size 3.
+ * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
+ * config/tc-d30v.c (write_long, write_1_short,
+ write_2_short, md_assemble): Likewise.
+ * config/tc-dlx.c (md_assemble): Likewise.
+ * config/tc-i860.c (md_assemble): Likewise.
+ * config/tc-mn10200.c (md_assemble): Likewise.
+ * config/tc-pj.c (md_assemble): Likewise.
+ * config/tc-vax.c (md_assemble): Likewise.
+
+2009-09-07 Daniel Gutson <dgutson@codesourcery.com>
+
+ * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
+ * doc/c-arm.texi: cortex-r4f CPU added.
+
+2009-09-07 Tristan Gingold <gingold@adacore.com>
+
+ * po/POTFILES.in: Regenerate.
+ * po/gas.pot: Regenerate.
+
+ * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
+ (POTFILES): Add $(TARG_ENV_CFILES) in definition.
+ (EXTRA_as_new_SOURCES): Ditto.
+ * Makefile: Regenerate.
+ * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
+ BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
+ * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
+ st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
+ sys/stat.h headers.
+ Add te-vms.o in extra_objects if te_file is vms.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * config/te-vms.c: New file, from bfd/vmsutil.c
+ (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
+ (vms_dwarf2_file_name): New functions.
+ (vms_file_stats_name): Make it static, add a dirname parameter to
+ locally create the full pathname.
+ * config/te-vms.h: Add a copyright header.
+ Declare the above functions.
+ (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
+ the above functions in the definition.
+ * makefile.vms (OBJS): Add te-vms.obj.
+ (te-vms.obj): Create a specific target.
+ * configure.com: Create targ-env.h using a per target value.
+ Compile te-vms.c for ia64.
+
+2009-09-05 Jie Zhang <jie.zhang@analog.com>
+
+ * doc/as.texinfo: Document that Blackfin GAS does not
+ accept SYMBOL = VALUE.
+
+2009-09-05 Martin Thuresson <martin@mtme.org>
+
+ * config/tc-arc.c (struct syntax_classes): Rename member class
+ to s_class. (arc_extinst): Rename variable class to
+ s_class. Update code to use renamed members.
+ * config/tc-mips.c (insn_uses_reg): Rename argument class to
+ regclass.
+ * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
+ (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
+ (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
+ members.
+ * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
+ from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
+ code to use renamed members.
+ * config/tc-score.c (s3_adjust_paritybit): Rename argument
+ class to i_class.
+ * config/tc-score7.c (s7_adjust_paritybit): Rename argument
+ class to i_class.
+
+2009-09-04 Tristan Gingold <gingold@adacore.com>
+
+ * NEWS: Add marker for 2.20.
+
+2009-09-04 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-parse.y (asm_1): Implement HLT instruction.
+ Fix comments for DBGA, DBGAH and DBGAL.
+ * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
+ to the new encoding of DBGA, DBGAH, and DBGAL.
+
+2009-09-04 Jie Zhang <jie.zhang@analog.com>
+
+ * doc/all.texi: Replace BFIN with Blackfin.
+ * doc/as.texinfo: Likewise.
+ * doc/c-bfin.texi: Likewise.
+ * doc/asconfig.texi: Likewise.
+
+ * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
+ bf516 and bf518.
+
+2009-09-04 Jie Zhang <jie.zhang@analog.com>
+
+ * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
+ the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
+ prerequisite.
+ (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
+ (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
+ (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
+ to the prerequisite.
+ * Makefile.in: Regenerate.
+
+2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
+ (itbl-ops.o, itbl-tops.o): Likewise.
+ (itbl-parse.h): Use separate rule.
+ * Makefile.in: Regenerate.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
+ -mcpu= option.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-lex.l: Remove V as STATUS_REG.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-parse.y: Remove trailing whitespace.
+ (ccstat): Indent.
+ * config/tc-bfin.c (struct bfin_reg_entry): Remove.
+ (bfin_reg_info[]): Remove.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-defs.h (F_REG_ALL): Remove macro.
+ (F_REG_HIGH): Redefine.
+ (F_REG_NONE): New macro.
+ (F_REG_LOW): New macro.
+ (REG_CLASS): Enclose macro argument in parentheses when used.
+ (REG_EVEN): Likewise.
+ (IS_H): Use flags.
+ (IS_HCOMPL): Use flags.
+ * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
+ (parse_reg): Set flags.
+ (parse_halfreg): Set flags.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
+ 05000074 only when both slot1 and slot2 are filled.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/tc-bfin.c (md_assemble): Bump line counters if there is
+ EOL in the instruction.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-defs.h (IS_GENREG): Define.
+ (IS_DAGREG): Define.
+ (IS_SYSREG): Define.
+ * config/bfin-parse.y (asm_1): Check illegal register move
+ instructions.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-parse.y (asm_1): Fix a typo.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
+ * config/tc-bfin.c (bfin_start_line_hook): Remove.
+ (bfin_loop_beginend): New.
+ * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
+ (md_start_line_hook): Don't define.
+ * config/bfin-aux.h (bfin_loop_beginend): Declare.
+
+2009-09-03 Tristan Gingold <gingold@adacore.com>
+
+ * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
+ Call xstrdup on the result and free the buffer after use.
+
+2009-09-03 Tristan Gingold <gingold@adacore.com>
+
+ * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
+
+2009-09-02 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-parse.y (value_match): Use int instead of long.
+
+ From Michael Frysinger <michael.frysinger@analog.com>
+ * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
+ member as long long.
+
+2009-09-02 Jie Zhang <jie.zhang@analog.com>
+
+ From Bernd Schmidt <bernd.schmidt@analog.com>
+ * config/bfin-parse.y (asm_1): Clean up and unify error handling
+ for load and store insns.
+ (neg_value): Delete function.
+