gas:
[deliverable/binutils-gdb.git] / gas / ChangeLog
index a52d8f4afc2be5780b069c9ca80be52ea963e18f..ac3953d7b275134f61bfb8878ac14b7ff81b8d87 100644 (file)
@@ -1,5 +1,284 @@
+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>
        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-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-02  Jie Zhang  <jie.zhang@analog.com>
 
        From  Bernd Schmidt  <bernd.schmidt@analog.com>
-       * config/gas/bfin-parse.y (asm_1): Clean up and unify error handling
+       * config/bfin-parse.y (asm_1): Clean up and unify error handling
        for load and store insns.
        (neg_value): Delete function.
 
        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.
 
 2009-08-17  Sterling Augustine  <sterling@tensilica.com>
 
-       * config/tc-xtensa.c (xtensa_frob_label): move call to 
+       * config/tc-xtensa.c (xtensa_frob_label): move call to
        do_align_targets to set frag_type only.
 
 2009-08-17  Kai Tietz  <kai.tietz@onevision.com>
        * 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-08-06  Michael Eager <eager@eagercon.com>
 
        * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
-       TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add 
+       TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
        DEP_microblaze_elf target.
        * Makefile.in: Regenerate.
        * config/tc-microblaze.c: Add MicroBlaze assembler.
        * config/tc-microblaze.h: Add header for tc-microblaze.c.
        * configure.in: Add microblaze target.
        * configure: Regenerate.
-       * configure.tgt: Same. 
+       * configure.tgt: Same.
        * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
        * doc/Makefile.in: Same.
        * doc/all.texi: Set MICROBLAZE.
        * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
        object file without symbol values.
        (tc_gen_reloc): For local symbols resolved or its absolute symbol,
-       then set the relocation type as NULL. 
+       then set the relocation type as NULL.
 
 2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
 
 
 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.027637 seconds and 4 git commands to generate.