2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
index e6b08706b887d373d32062bacc288b7382e50383..0f4d02456ad59e801b372acd8029b6990953818f 100644 (file)
@@ -1,3 +1,378 @@
+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.
+
+2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
+       Supply correct source file name for generated files which may be
+       in $(srcdir).
+       * Makefile.in: Regenerate.
+
+2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * version.c (parse_args): Change to "Copyright 2009".
+
+2009-09-01  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms: Adjust include pathes.  Remove useless vaxctrl
+       library.
+       * configure.com: Ported to Itanium VMS.  Create build.com DCL script.
+       Make edit silent.
+
+2009-09-01  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
+       in comparison.
+
+2009-09-01  Jie Zhang  <jie.zhang@analog.com>
+
+       2007-09-28  Bernd Schmidt  <bernd.schmidt@analog.com>
+       * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
+       2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
+
+       2007-08-23  Jie Zhang  <jie.zhang@analog.com>
+       * config/tc-bfin.c (bfin_fix_adjustable): Adjust
+       BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
+       BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
+
 2009-09-01  Jie Zhang  <jie.zhang@analog.com>
 
        * read.c (TC_START_LABEL): Add a new argument.
        Remove.
        (mkdep section): Remove.
        * Makefile.in: Regenerate.
-       * gas/po/POTFILES.in, gas/po/gas.pot: Regenerate.
+       * po/POTFILES.in, po/gas.pot: Regenerate.
 
        * Makefile.am (install-pdf, install-pdf-recursive, install-html)
        (install-html-recursive): Remove.
        * config/obj-coff.h (obj_coff_seh_do_final): Add new
        function prototype.
        (obj_coff_generate_pdata): New obj-coff hook.
-       * gas/write.c (size_seg): Avoid sizing of already sized
+       * write.c (size_seg): Avoid sizing of already sized
        sections.
        (write_object_file): Call conditional hook
        objc_coff_generate_pdata.
 
 2009-06-22  Martin Thuresson  <martin@mtme.org>
 
-       * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
-       gas/config/atof-ieee.c, gas/config/obj-aout.c,
-       gas/config/obj-coff.c, gas/config/obj-ecoff.c,
-       gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
-       gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
-       gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
-       gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
-       gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
-       gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
-       gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
-       gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
-       gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
-       gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
-       gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
-       gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
-       gas/config/tc-s390.c, gas/config/tc-score.c,
-       gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
-       gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
-       gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
-       gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
-       gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
-       gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
+       * app, as.c, as.h, atof-generic.c, cgen.c,
+       config/atof-ieee.c, config/obj-aout.c,
+       config/obj-coff.c, config/obj-ecoff.c,
+       config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
+       config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
+       config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
+       config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
+       config/tc-i386-intel.c, config/tc-i386.c,
+       config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
+       config/tc-iq2000.c, config/tc-m32c.c,
+       config/tc-m32r.c, config/tc-m68hc11.c,
+       config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
+       config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
+       config/tc-mn10300.c, config/tc-moxie.c,
+       config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
+       config/tc-s390.c, config/tc-score.c,
+       config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
+       config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
+       config/tc-xtensa.c, config/xtensa-relax.c,
+       dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
+       frags.c, input-file.c, read.c, sb.c,
+       subsegs.c, symbols.c, write.c: Change the name of the
        gas macro `assert' to `gas_assert'.
 
 2009-06-22  Daniel Gutson <dgutson@codesourcery.com>
 2009-06-18  Nick Clifton  <nickc@redhat.com>
 
        PR 10169
-       * gas/tc-arm.c (do_t_ssat): Move common code from here...
+       * tc-arm.c (do_t_ssat): Move common code from here...
        (do_t_usat): ... and here to...
        (do_t_ssat_usat): New function: ... here.  Add code to check that
        the shift value, if present, is in range.
This page took 0.046903 seconds and 4 git commands to generate.