gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 12f91bfbbbf0c0645e9126d78ecdbed5b853b8a9..807d52db6b063b54ab2b029a5c3e8f0df74422f7 100644 (file)
@@ -1,3 +1,489 @@
+2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/5221
+       * config/obj-elf.c (obj_elf_section): Handle optional
+       parameters for .pushsection.
+
+       * doc/as.texinfo: Document optional parameters for
+       .pushsection.
+
+2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
+       * configure: Regenerated.
+
+2007-10-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
+       Run "make dep-am".
+       * configure.in: Invoke AC_GNU_SOURCE.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2007-10-19  Nick Clifton  <nickc@redhat.com>
+
+       * expr.c (expr): Test md_allow_local_subtract (if defined) before
+       allowing the evaluation of an expression involving two symbols
+       defined in the same section.
+       * doc/internals.texi (md_allow_local_subtract): Document the new
+       macro.
+       * config/tc-mn10300.h (md_allow_local_subtract): Define.
+       (RELAX_EXPANSION_POSSIBLE): Define.
+       (MAX_RELOC_EXPANSION): Define.
+       (TC_FRAG_TYPE): Define.
+       * config/tc-mn10300.c (md_assemble): Mark fragments as containing code.
+       (tc_gen_reloc): Return an array of relocs.  If necessary generate
+       two relocs to handle an expressions involving the difference of
+       two symbols.
+       (mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL
+       when then fixup is not pc-relative.
+       (mn10300_allow_local_subtract): New function.  Determine when it
+       is safe to compute the difference between two symbols at assemble
+       time.
+
+2007-10-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
+       (md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
+       chars that can start a name.
+
+2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
+
+       * config/tc-hppa.c (pa_ip): Fix comment typo.
+       (pa_comm): Likewise.
+
+2007-10-18  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5172
+       * config/tc-arc.c (md_estimate_size_before_relax): Change error
+       message.
+       (md_convert_frag): Just call abort.
+       * config/tc-i860.c (md_estimate_size_before_relax): Change error
+       message.
+       * config/tc-i860.h (md_convert_frag): Just call abort.
+       * config/tc-ip2k.c (md_estimate_size_before_relax): Change error
+       message.
+       (md_convert_frag): Just call abort.
+       * config/tc-m68k.c (m68k_ip): Do not attempt translation of
+       architecture names.
+       PR gas/5174
+       * config/tc-arm.c: Fix formatting and spelling errors.
+       PR gas/5175
+       * config/tc-xc16x.c: Fix formatting and internationalization.
+       * po/gas.pot: Regenerate.
+
+2007-10-17  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5173
+       * as.h (ieee_md_atof, vax_md_atof): New prototypes.
+       * read.c (s_float_space): Allow a zero length return from md_atof
+       if the error message has been set.
+       (float_cons): Likewise.
+       * config/atof-ieee.c (ieee_md_atof): New function.  Performs the
+       md_atof() function in a generic way for IEEE using targets.
+       * config/atof-vax.c (md_atof): Rename to vax_md_atof.  Use the
+       same error message as ieee_md_atof.
+       * tc-alpha.c (md_atof): Use ieee_md_atof.  Remove #define of vax_md_atof.
+       * tc-arc.c (md_atof): Use ieee_md_atof.
+       * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the
+       constant 2.  Use a precision of 5 for the 'x' and 'p' types.
+       * tc-avr.c (md_atof): Use ieee_md_atof.
+       * tc-bfin.c (md_atof): Use ieee_md_atof.
+       * tc-cr16.c (md_atof): Use ieee_md_atof.
+       * tc-crx.c (md_atof): Use ieee_md_atof.
+       * tc-d10v.c (md_atof): Use ieee_md_atof.
+       * tc-d30v.c (md_atof): Use ieee_md_atof.
+       * tc-dlx.c (md_atof): Use ieee_md_atof.
+       * tc-fr30.c (md_atof): Use ieee_md_atof.
+       * tc-frv.c (md_atof): Use ieee_md_atof.
+       * tc-h8300.c (md_atof): Use ieee_md_atof.
+       * tc-hppa.c (md_atof): Use ieee_md_atof.
+       * tc-i370.c (md_atof): Use ieee_md_atof.
+       (i370_dc): Convert the 'E' type to 'f' before calling md_atof.
+       * tc-i386.c (md_atof): Use ieee_md_atof.
+       * tc-i860.c (md_atof): Use ieee_md_atof.
+       * tc-i960.c (md_atof): Use ieee_md_atof.
+       * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof.
+       * tc-ip2k.c (md_atof): Use ieee_md_atof.
+       * tc-iq2000.c (md_atof): Use ieee_md_atof.
+       * tc-m32c.c (md_atof): Use ieee_md_atof.
+       * tc-m32r.c (md_atof): Use ieee_md_atof.
+       * tc-m68hc11.c (md_atof): Use ieee_md_atof.
+       * tc-m68k.c (md_atof): Use ieee_md_atof.
+       * tc-maxq.c (md_atof): Use ieee_md_atof.
+       * tc-mcore.c (md_atof): Use ieee_md_atof.
+       * tc-mep.c (md_atof): Use ieee_md_atof.
+       * tc-mips.c (md_atof): Use ieee_md_atof.
+       * tc-mmix.c (md_atof): Use ieee_md_atof.
+       * tc-mn10200.c (md_atof): Use ieee_md_atof.
+       * tc-mn10300.c (md_atof): Use ieee_md_atof.
+       * tc-msp430.c (md_atof): Use ieee_md_atof.
+       * tc-mt.c (md_atof): Use ieee_md_atof.
+       * tc-ns32k.c (md_atof): Use ieee_md_atof.
+       * tc-openrisc.c (md_atof): Use ieee_md_atof.
+       * tc-or32.c (md_atof): Use ieee_md_atof.
+       * tc-pdp11.c (md_atof): New function.  Call vax_md_atof.
+       * tc-pj.c (md_atof): Use ieee_md_atof.
+       * tc-ppc.c (md_atof): Use ieee_md_atof.
+       * tc-s390.c (md_atof): Use ieee_md_atof.
+       * tc-score.c (md_atof): Use ieee_md_atof.
+       * tc-sh.c (md_atof): Use ieee_md_atof.
+       * tc-sparc.c (md_atof): Use ieee_md_atof.
+       * tc-spu.c (md_atof): Use ieee_md_atof.
+       * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof.
+       * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof.
+       * tc-tic54.c (md_atof): Use ieee_md_atof.
+       * tc-v850.c (md_atof): Use ieee_md_atof.
+       * tc-vax.c (md_atof): New function.  Call vax_md_atof.
+       * tc-xc16x.c (md_atof): Use ieee_md_atof.
+       * tc-xstormy16.c (md_atof): Use ieee_md_atof.
+       * tc-xtensa.c (md_atof): Use ieee_md_atof.
+       * tc-z8k.c (md_atof): Use ieee_md_atof.
+       * doc/internals.texi: Update description of md_atof function.
+       * po/gas.pot: Regenerate.
+
+2007-10-16  Bob Wilson  <bob.wilson@acm.org>
+       
+       * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
+       
+2007-10-16  Nick Clifton  <nickc@redhat.com>
+
+       * config/obj-elf.c (obj_elf_type): Accept "common" as a valid
+       symbol type.
+       * doc/as.texinfo (.type): Document the types accepted by the
+       type pseudo op, including "common".
+
+2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
+       according to major opcode number.
+
+2007-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c (do_s_func): Check asprintf return status.
+       * stabs.c (stabs_generate_asm_func): Likewise.
+       (stabs_generate_asm_endfunc): Likewise.
+
+2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (process_operands): Simplify implicit xmm0
+       handling.
+
+2007-10-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (process_operands): Check the firstxmm0
+       field in opcode_modifier for instruction with a implicit
+       xmm0 as the first operand.
+
+2007-10-12  Eric B. Weddington  <eweddington@cso.atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
+       AT90PWM3B.
+       * doc/c-avr.texi: Document new devices.
+
+2007-10-12  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
+       instruction range information.
+
+2007-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/as.texinfo (Object Attributes): New chapter.
+       (Pseudo Ops): Document .gnu_attribute.
+       (LNS directives): Correct .loc_mark_labels documentation.
+
+2007-10-11  Nick Clifton  <nickc@redhat.com>
+
+       * config/obj-elf.c (obj_elf_section): When pushing a section, if
+       there is a comma then the following argument must be a subsection
+       number.
+
+2007-10-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/c-i386.texi: Update which instruction's operands are
+       swapped.
+
+2007-10-11  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5161
+       * config/tc-ia64.c: Allow for translations of error and warning
+       messages.
+       * po/gas.pot: Regenerate.
+
+       PR gas/5158
+       * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error
+       message.
+       * po/gas.pot: Regenerate.
+
+       PR gas/5155
+       * config/tc-msp430.c: Fix spelling typos.
+
+2007-10-11  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
+
+2007-10-08  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (AT): Rename to...
+       (ATREG): ... this.
+       (AT): New definition.
+       (mips_set_options): Rename "noat" to "at"; change the type.
+       (mips_opts): Update accordingly.
+       (append_insn): Likewise.
+       (macro_build_ldst_constoffset): Likewise.
+       (load_address): Likewise.
+       (macro, macro2): Likewise.
+       (s_mipsset): Handle ".set at=REG".  Update handling of ".set at"
+       and ".set noat".
+
+2007-10-08  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Previous): Clarify explanation of the behaviour
+       of this pseudo-op and add a couple of examples.
+
+2007-10-08  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5121 gas/5122 gas/5123
+       * Makefile.am (CFILES): Add cgen.c
+       (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
+       tc-tic4x.c and xtensa-relax.c.
+       (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
+       tc-tic4x.h and xtensa-relax.h.
+       (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
+       te-ic960.h, te-linux.h.  Add te-aix5.h, te-armeabi.h,
+       te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
+       (CONFIG_ATOF_CFILES): New variable.
+       (POTFILES): Add CONFIG_ATOF_CFILES to dependencies.  Fix typo with
+       dependency upon TARG_ENV_HFILES.
+       (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
+       cgen-desc.h when foo-desc.h does not exit.
+       Run make dep-am.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+       PR gas/5124 gas/5125
+       * po/es.po: Regenerate.
+       * po/fr.po: Regenerate.
+       * po/gas.pot: Regenerate.
+       * po/rw.po: Regenerate.
+       * po/tr.po: Regenerate.
+       * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
+       of error messages.
+       PR gas/5126
+       * config/obj-som.c: Likewise.
+       PR gas/5129
+       * config/tc-arc.c: Likewise.
+       PR gas/5131 gas/5132
+       * config/tc-arm.c: Likewise.
+       PR gas/5137
+       * config/tc-bfin.c: Likewise.
+       PR gas/5143
+       * config/tc-frv.c: Likewise.
+       PR gas/5142
+       * config/tc-dlx.c: Likewise.
+
+2007-10-08  Eric B. Weddington  <eweddington@cso.atmel.com>
+
+       * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
+       ATtiny48, AT90PWM216, AT90PWM316.
+       * doc/c-avr.texi: Document new devices.
+
+2007-10-08  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5133
+       * config/tc-arm.c (md_apply_fix): Correct error message.
+       PR gas/5134     
+       * config/tc-arm.c (md_apply_fix): Likewise.
+       PR gas/5136
+       * config/tc-bfin.c (md_apply_fix): Fix error message.
+       PR gas/5135
+       (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
+
+2007-10-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
+       immediate operands directly for instructions with 4 operands.
+
+2007-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/5109
+       * config/tc-i386.c (process_suffix): Clear QWORD suffix if it
+       is ignored in Intel mode.
+
+2007-10-04  Helge Deller  <deller@gmx.de>
+
+       * read.c (potable): Add string8, string16, string32 and string64.
+       Add bit size for stringer function.
+       (stringer_append_char): New.
+       (stringer): Use stringer_append_char().
+       * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
+       * config/obj-elf.c (obj_elf_ident): Likewise.
+       * config/tc-alpha.c (s_alpha_stringer): Likewise.
+       * config/tc-dlx.c (dlx_pseudo_table): Likewise.
+       * config/tc-hppa.c (pa_stringer): Likewise.
+       * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
+       * config/tc-m68hc11.c (md_pseudo_table): Likewise.
+       * config/tc-mcore.c (md_pseudo_table): Likewise.
+       * config/tc-mips.c (mips_pseudo_table): Likewise.
+       * config/tc-spu.c (md_pseudo_table): Likewise.
+       * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
+       * doc/as.texinfo (ABORT): Fix identing.
+       (String): Document new string8, string16, string32, string64
+       functions.
+       * NEWS: Mention the new feature.
+
+2007-10-03  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5078
+       * config/tc-avr.c (avr_get_constant): Extend error message to
+       mention that the constant must be positive.
+
+2007-10-03  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-avr.c (avr_get_constant): 
+       PR gas/5089
+       * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
+       PR gas/5090
+       (md_assemble): Fix spelling typo.
+
+2007-10-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4303
+       * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
+
+2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * config/tc-cr16.c: Replaced 'tabs' with white spaces and
+       added R_CR16_DISP8 as default reloc type for b<cc> instructions.
+
+2007-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/5080
+       * config/tc-i386.c (check_long_reg): Also handle cvttss2si.
+       (check_qword_reg): Also handle cvttsd2si.
+
+2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
+       (last_movec_reg): Change to MBO.
+       * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
+       (m68k_ip): Use MBO instead of MBO.
+       (init_table): Use MBO instead of MBO.  Add an entry for mbo.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (build_modrm_byte): Also check for RegEip
+       when considering IP-relative addressing.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.h (md_register_arithmetic): Define.
+       * config/tc-ia64.h (md_register_arithmetic): Likewise.
+       * doc/internals.texi: Document md_register_arithmetic.
+       * expr.c (make_expr_symbol): Force O_register expressions into
+       reg_section.
+       (expr): Provide default for md_register_arithmetic. Don't resolve
+       adding/subtracting constants to/from registers if
+       md_register_arithmetic is zero.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
+       (cfi_finish): Add second empty instance.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
+       with simple call to parse_operand.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (NUM_FLAG_CODE): Remove.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * as.c (itbl_parse): Remove #define.
+       (struct itbl_file_list): Move down and ...
+       (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
+       (show_usage): Conditionalize printing of --itbl option upon
+       HAVE_ITBL_CPU.
+       (parse_args): Conditionalize handling of -t/--itbl options upon
+       HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
+       't'.
+
+2007-09-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (output_insn): Use i.tm.opcode_length to
+       check opcode length.
+
+2007-09-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
+       (BRANCHBWPL, FRAG_VAR_SIZE): New.
+       (md_relax_table): Add BRANCHBWPL entries.
+       (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
+       (md_assemble): Use FRAG_VAR_SIZE.
+       (md_convert_frag_1): Add BRANCHBWPL cases.
+       (md_estimate_size_before_relaz): Likewise.
+
+2007-09-24  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * config/tc-mips.c (s_align): Set max_alignment to 28.
+       
+2007-09-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 658
+       * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
+       (set_allow_index_reg): New.
+       (allow_index_reg): Likewise.
+       (md_pseudo_table): Add "allow_index_reg" and
+       "disallow_index_reg".
+       (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
+       fake index registers.
+       (i386_scale): Updated.
+       (i386_index_check): Support fake index registers.
+       (parse_real_register): Return NULL on eiz/riz if fake index
+       registers aren't allowed.
+
+2007-09-19  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
+       fixups.
+
+2007-09-19  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
+
+2007-09-18  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin-parse.y (asm_1): Slightly improve error messages
+       for "reg += const;".
+
+2007-09-18  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/5026
+       * read.c (emit_expr): Only use long long if required and available.
+
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (baseindex): Removed.
+       (build_modrm_byte): Check reg_num for RIP register instead of
+       reg_type.
+       (i386_index_check): Likewise.
+
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/5035
+       * config/obj-coff.c (obj_coff_endef): Remove checking size of
+       def_symbol_in_progress.
+
+2007-09-17  Evandro Menezes  <evandro@yahoo.com>
+
+       PR gas/5026
+       * read.c (emit_expr): Use unsigned long long values in warning
+       message about truncated expressions.
+
 2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (intel_e04): Revert the last change.
This page took 0.027131 seconds and 4 git commands to generate.