2007-11-06 Paul Brook <paul@codesourcery.com>
[binutils-gdb.git] / gas / ChangeLog
index 407db4416ec11fcd6fd5f70f06265166daa85850..2050971bf19d203ed488f9e2c7270ee3b24a82c6 100644 (file)
@@ -1,3 +1,234 @@
+2007-11-06  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_mull): Allow overlapping Rm for armv6.
+
+2007-11-06  Nick Clifton  <nickc@redhat.com>
+
+       * ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke
+       it to see if the optimizations should be applied.
+       * config/tc-mn10300.h (md_allow_eh_opt): Define.  Only allow call
+       frame optimization if linker relaxation is not enabled.
+
+2007-11-05  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * read.c (ALIGN_LIMIT): Rename to ...
+       (TC_ALIGN_LIMIT): Guard against prior definition.
+       * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define.
+
+2007-11-01  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (xtensa_symbol_new_hook): New.
+       (xtensa_mark_difference_of_two_symbols): New.
+       (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols.
+       * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol.
+       (tc_symbol_new_hook): Define.
+
+2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Replace no_xsuf with
+       no_ldsuf.
+       (match_template): Likewise.
+
+2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii
+       letter.
+
+2007-11-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (process_suffix): Check addrprefixop0 to
+       see if the address size override prefix changes the size of the
+       first operand. 
+       (check_byte_reg): Don't warn if byteokintel is set.
+       (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword
+       is set.
+       (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword
+       is set.
+
+2007-10-31  Eric B. Weddington  <eweddington@cso.atmel.com>
+
+       * config/tc-avr.c (mcu_types): Remove devices that were never produced:
+       attiny10, atmega83, atmega85, atmega603.
+       * doc/c-avr.texi: Likewise.
+
+2007-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
+       sym_diff relocs should be generated.
+       (md_apply_fix): Skip R_MN10300_ALIGN relocs.
+       (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
+       (mn10300_handle_align): New function.  Generate R_MN10300_ALIGN
+       relocs to record alignment requests.
+       * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
+       R_MN10300_ALIGN relocs.
+       (HANDLE_ALIGN): Define.  Call mn10300_handle_align.
+
+2007-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo (Section): Replace "subsegment" with
+       "subsection".
+
+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.