gas/
[platform/upstream/binutils.git] / gas / ChangeLog
index 98c4d2c..32aa3fa 100644 (file)
@@ -1,3 +1,470 @@
+2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/obj-coff.h (x86_64_target_format): Renamed to ...
+       (i386_target_format): This
+       (TARGET_FORMAT): Use i386_target_format.
+
+       * config/tc-i386.c (x86_64_target_format): Removed.
+       (i386_target_format): Handle PE formats.
+
+2007-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
+       to get the right length of printed value.
+
+2007-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * COPYING: Replace with GPLv3 text.
+       * app.c: Update copyright notice to refer to GPLv3.
+       * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
+       cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
+       dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
+       emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
+       flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
+       input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
+       itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
+       macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
+       read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
+       symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
+       config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h, 
+       config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
+       config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
+       config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
+       config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
+       config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
+       config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
+       config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
+       config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
+       config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
+       config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
+       config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
+       config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
+       config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
+       config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
+       config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
+       config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
+       config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
+       config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
+       config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
+       config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
+       config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
+       config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
+       config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
+       config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
+       config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
+       config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
+       config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
+       config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
+       config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
+       config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
+       config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
+       config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
+       config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
+       config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
+       config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
+       config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
+       config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
+       config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
+       config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
+       config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
+       config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
+       config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
+       config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
+       config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
+       config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
+       config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
+       config/te-netware.h, config/te-sparcaout.h,  config/te-tmips.h,
+       config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
+       config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
+       
+       * flonum-mult.c: Likewise, and also correct typo referring to
+       non-existant GNU Assembler General Public License.
+       * config/tc-m68851.h: Likewise.
+       * NEWS: Mention the new license.  Also note where the 2.17 release
+       happened.
+       * config/e-crisaout.c: Add copyright header.
+       * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
+       config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
+       config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
+       config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
+       config/te-generic.h, config/te-gnu.h, config/te-go32.h,
+       config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
+       config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
+       config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
+       config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
+       config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
+       config/te-pep.h, config/te-psos.h, config/te-riscix.h,
+       config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
+       config/te-wince-pe.h: Likewise.
+
+2007-07-03  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (m68k_ip): Add j & K operand types.
+       (install_operand): Add E encoding.
+       (md_begin): Check and skip initial '.' arg character.
+       (get_num): Add 0..511 case.
+
+2007-07-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4713
+       * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
+       * config/obj-elf.h (obj_ecoff_set_ext): Comment.
+
+2007-07-03  Mikkel Lauritsen  <renard@nospam.dk>
+
+       PR 4722
+       * app.c (do_scrub_chars <state 5>): Check for output buffer full
+       after memcpy.
+
+2007-07-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/tc-mips.c (s_dtprelword, s_dtpreldword,
+       s_dtprel_internal): New.
+       (mips_pseudo_table): Add .dtprelword and .dtpreldword.
+       (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
+       BFD_RELOC_MIPS_TLS_DTPREL64.
+
+2007-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2007-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
+       coff section flag values to bfd section flag.
+
+2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aclocal.m4: Regenerated.
+       * doc/Makefile.in: Likewise.
+       * Makefile.in: Likewise.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * as.c (main): Only call create_obj_attrs_section if IS_ELF.
+
+2007-06-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * as.c (create_obj_attrs_section): New.
+       (main): Call create_obj_attrs_section for ELF.
+       * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
+       skip_past_comma, s_vendor_attribute): New.
+       (potable): Add gnu_attribute for ELF.
+       * read.h (s_vendor_attribute): Declare.
+       * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
+       round s_vendor_attribute.
+       (aeabi_set_public_attributes): Update for new attributes
+       interfaces.
+       (arm_md_end): Remove attributes contents setting now done
+       generically.
+
+2007-06-29  M R Swami Reddy  <MR.Swami.Redd@nsc.com>
+
+       * Makefile.am: Add CR16 related entry.
+       * Makefile.in: Regenerate.
+       * config/tc-cr16.h: New file
+       * config/tc-cr16.c: New file
+       * doc/c-cr16.texi: New file for cr16 
+       * doc/all.texi: Entry for cr16 
+       * doc/Makefile.am: Added c-cr16.texi
+       * doc/Makefile.in: Regenerate 
+       * doc/as.texinfo: Entry for CR16 target
+       * NEWS: Announce the support for the new target.
+
+2007-06-26  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
+       for OP_RVC.
+       (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
+
+2007-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (process_operands): Replace regKludge
+       with RegKludge.
+
+2007-06-25  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
+       * config/tc-mips.c (append_insn): Record which symbols have
+       R_MIPS16_26 relocations against them.
+       (mips_fix_adjustable): Don't reduce relocations against such symbols.
+
+2007-06-22  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
+       (frag_format_size): Handle RELAX_IMMED_STEP3.
+       (xtensa_relax_frag, md_convert_frag): Likewise.
+       * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
+       (RELAX_IMMED_MAXSTEPS): Adjust.
+       * config/xtensa-relax.c (widen_spec_list): Add transitions from
+       wide branches to branch-over-jumps.
+       (build_transition): Handle wide branches in transition patterns.
+       
+2007-06-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (disp_size): New.
+       (imm_size): Likewise.
+       (output_disp): Use disp_size and imm_size.
+       (output_imm): Use imm_size.
+
+2007-06-19  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
+       use of literal_frag field.
+       * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
+       in the literal_frag field.
+       (xtensa_move_literals): Use it here instead of searching.  Update
+       literal_frag field with new value.
+
+2007-06-14  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
+       narrow shift by immediate.
+
+2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
+
+       * acinclude.m4: Don't include m4 files.
+       (BFD_BINARY_FOPEN): Removed.
+       Remove libtool kludge.
+
+       * Makefile.in: Regenerated.
+       * doc/Makefile.in: Likewise.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
+2007-06-11  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+       
+       * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
+       (XTENSA_PROP_NO_TRANSFORM): ...this.
+       (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
+       (xtensa_mark_frags_for_org): New.
+       (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
+       (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
+       (get_frag_property_flags): Adjust reference to is_no_transform flag.
+       (xtensa_frag_flags_combinable): Likewise.
+       (frag_flags_to_number): Likewise.  Use XTENSA_PROP_NO_TRANSFORM.
+       * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
+       
+2007-06-06  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (s_align): Pad code sections appropriately.
+
+2007-06-05  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
+
+2007-06-05  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/4587
+       * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
+
+2007-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.c (spu_cons): Use deferred_expression.  Handle
+       number@ppu.
+       (tc_gen_reloc): Abort if neither addsy or subsy is set.
+       (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
+       * config/tc-spu.h (md_operand): Handle @ppu without sym.
+
+2007-05-31  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (insns): Allow strex on M profile cores.
+
+2007-05-29  David S. Miller  <davem@davemloft.net>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR gas/4558
+       * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
+       for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
+
+2007-05-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.h: Wrap in #ifndef/#endif.  Delete coff macros.
+
+2007-05-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c: Convert to ISO C.
+       * config/tc-ppc.c: Likewise.
+
+2007-05-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.h (EXEC_MACHINE_TYPE): Delete.
+       (string_byte_count, section_alignment): Delete.
+
+2007-05-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * app.c (do_scrub_chars): Cope with \ at end of buffer.
+
+2007-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
+       top 32 bits of 64 bit value if so doing results in passing
+       range check.  Rewrite sign extension fudges similarly.  Enable
+       fudges for powerpc64 too.  Report user value if range check
+       fails rather than fudged value.  Negate PPC_OPERAND_NEGATIVE
+       range rather than value, also to report user value on failure.
+
+2007-03-25  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (T2_SUBS_PC_LR): Define.
+       (do_t_add_sub): Correctly encode subs pc, lr, #const.
+       (do_t_mov_cmp): Correctly encode movs pc, lr.
+
+2007-05-24  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in: Regnerate.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2007-05-22  Bob Wilson  <bob.wilson@acm.org>
+       
+       * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
+       and index entries about automatic alignment of ENTRY instructions.
+       
+2007-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo: Use @copying around the copyright notice.
+
+2007-05-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/tc-mips.c (s_mipsset): Use generic s_set for directives
+       containing a comma.
+
+2007-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/4517
+       2003-06-05  Michal Ludvig  <mludvig@suse.cz>
+       * doc/as.texinfo: Document new directives: .cfi_restore, 
+       .cfi_undefined, .cfi_same_value, .cfi_return_column, 
+       .cfi_remember_state and .cfi_restore_state.
+
+2007-05-17  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (md_apply_fix): Show value of out of range
+       fixups in error message.
+       (md_conver_frag_1): Propagate the fix source location and use
+       as_bad_where rather than fatal, for better error messages.
+
+2007-05-16  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
+
+2007-05-15  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
+
+2007-05-15  Vincent Riviere  <vincent.riviere@freesbee.fr>     
+
+       PR gas/3041
+       * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
+       addend is stored for relocs against weak symbols.
+       (md_apply_fix): So not loose track of addend for relocs against
+       weak symbols.
+
+2007-05-14  Thiemo Seufer  <ths@mips.com>
+
+       * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
+
+2007-05-14  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * config/tc-score.c (data_op2, validate_immediate): Fix bug for
+       addri, addri.c, subi, and subi.c when immediate number is hex.
+       (score_insns): Remove subis and subis.c.
+       (do_sub_rdi16): Delete.
+       
+2007-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
+       spu_cons for word.
+       (md_assemble): Tidy use of insn.flag.
+       (get_imm): Likewise.  Handle uppercase input too.
+       (spu_cons): New function.
+       * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
+       (TC_FORCE_RELOCATION): Don't resolve them either.
+
+2007-05-05  Mark Shinwell  <shinwell@codesourcery.com>
+       * config/tc-arm.c (md_apply_fix): Generate more accurate
+       diagnostic when 8-bit immediate range is exceeded for
+       BFD_RELOC_ARM_OFFSET_IMM8.
+
+2007-05-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/4460
+       * config/tc-i386.c (lex_got): Don't replace the reloc token with
+       a space if we already have a space.
+
+2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Don't explicitly check
+       suffix for crc32 in Intel mode.
+       (process_suffix): Issue an error for crc32 if the operand size
+       is ambiguous.
+
+2007-05-03  Vincent Riviere  <vincent.riviere@freesbee.fr>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR gas/3041
+       * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
+       (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
+       (md_apply_fix): Put zero values into the frags referencing weak
+       symbols.
+
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4448
+       * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
+       PPC_OPERAND_PLUS1.
+
+2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Check suffix for crc32 in
+       Intel mdoe.
+       (process_suffix): Default the suffix of 8bit crc32 to
+       BYTE_MNEM_SUFFIX.
+       (check_byte_reg): Skip check for 8bit crc32.
+
+2007-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Use register_prefix in
+       error/warning message.
+       (check_byte_reg): Likewise.
+       (check_long_reg): Likewise.
+       (check_qword_reg): Likewise.
+       (check_word_reg): Likewise.
+       (process_operands): Likewise.
+
+2007-04-30  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4436
+       * config/tc-ppc.c (ppc_insert_operand): Disable range check if
+       min > max.
+
+2007-04-28  Thiemo Seufer  <ths@networkno.de>
+
+       * config/tc-mips.c: Fix comment.
+
+2007-04-26  Anatoly Sokolov <aesok@post.ru>
+
+       * config/tc-avr.c (mcu_types): Add support for atmega8hva and
+       atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
+       * doc/c-avr.texi: Document new devices.
+
+2007-04-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
 2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
 
        * config/tc-m68k.c (mcf54455_ctrl): New.