+2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 940
+ * config/tc-ia64.c (start_unwind_section): Properly check
+ comdat group with SHF_GROUP.
+
+2005-05-06 Bob Wilson <bob.wilson@acm.org>
+
+ * doc/c-xtensa.texi (Literal Directive): Spelling correction.
+
+2005-05-06 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c: Remove excess whitespace.
+ * config/tc-xtensa.h: Likewise.
+ * config/xtensa-istack.h: Likewise.
+ * config/xtensa-relax.c: Likewise.
+ * config/xtensa-relax.h: Likewise.
+
+2005-05-06 Nick Clifton <nickc@redhat.com>
+
+ * sb.h: Fix formatting of comments.
+ * sb.c: Fix formatting of comments.
+
+2005-05-06 Jan Beulich <jbeulich@novell.com>
+
+ * sb.h (sb_add_buffer): Reintroduce.
+ * sb.c (sb_add_buffer): Likewise.
+
+2005-05-06 Jan Beulich <jbeulich@novell.com>
+
+ * macro.c (new_formal, del_formal): New.
+ (do_formals): Use new_formal. Check for and parse qualifier. Warn if
+ required argument has default value. Stop looking for more formal
+ when there was a vararg one.
+ (macro_expand_body): Use new_formal and del_formal.
+ (macro_expand): Likewise. Initialize local variable err. Don't
+ return immediately when encountering an error. Warn when keyword
+ argument already had a value assigned. Eliminate duplicate clearing
+ of argument value. When current positional argument matches parameter
+ of vararg type, assign to it all the remaining arguments. Issue error
+ when required parameter does not have value.
+ (free_macro): Use del_formal.
+ (expand_irp): Initialize formal type. Free buffers associated with
+ formal prior to returning.
+ * macro.h (struct formal_struct): Add new field 'type' with new
+ enumeration type 'formal_type'.
+ * doc/as.texinfo: Document macro parameter qualifiers.
+ * NEWS: Mention new functionality.
+
+2005-05-06 Jan Beulich <jbeulich@novell.com>
+
+ * cond.c (s_ifb): New.
+ * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
+ * read.h (s_ifb): Prototype.
+ * doc/as.texinfo: Document .ifb and .ifnb.
+
+2005-05-05 Steve Ellcey <sje@cup.hp.com>
+
+ * config/tc-ia64.c (MIN): Undef.
+
+2005-05-05 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
+
+2005-05-05 Matt Thomas <matt@3am-software.com>
+
+ * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
+ bytes.
+
+2005-05-05 Nick Clifton <nickc@redhat.com>
+
+ * Update the address and phone number of the FSF organization in
+ the GPL notices in the following files:
+ COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
+ bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
+ dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
+ emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
+ flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
+ input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
+ itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
+ literal.c, macro.c, macro.h, 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/atof-ieee.c,
+ config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
+ config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
+ config/obj-aout.h, config/obj-bout.c, config/obj-bout.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-hp300.c,
+ config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
+ config/obj-multi.h, config/obj-som.c, config/obj-som.h,
+ config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
+ config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
+ config/tc-arm.h, config/tc-avr.c, config/tc-avr.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-h8500.c, config/tc-h8500.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-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
+ config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
+ config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
+ config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
+ config/tc-mcore.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-ns32k.c,
+ config/tc-ns32k.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-sh.c, config/tc-sh.h,
+ config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
+ config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.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-tic80.c, config/tc-tic80.h, config/tc-v850.c,
+ config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
+ config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
+ config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
+ config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
+ config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
+ config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
+ config/te-netware.h, config/te-sparcaout.h, config/te-sun3.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, doc/fdl.texi
+
+2005-05-05 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
+ the target_big_endian variable to false.
+
+2005-05-04 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
+ list traversal. Use bfd_section_list_prepend.
+ * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
+ over the section list.
+ * config/tc-xtensa.c (xtensa_remove_section): Delete.
+ (xtensa_insert_section): Delete.
+ (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
+ and bfd_section_list_prepend.
+ (xtensa_reorder_seg_list): Use bfd_section_list_remove and
+ bfd_section_list_insert_after.
+
+2005-05-03 Nick Clifton <nickc@redhat.com>
+
+ * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
+ of bfd_section_list... macros.
+ * config/tc-mmix.c (mmix_frob_file): Likewise.
+ * config/tc-xtensa.c (xtensa_remove_section): Likewise.
+ (xtensa_insert_section): Likewise.
+
+ * macro.c (macro_hash): Remove static.
+ * macro.h (macro_hash): Provide an external declaration.
+
+2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * write.c (write_object_file): Use bfd_section_double_list_remove
+ to remove sections.
+
+2005-05-02 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * doc/Makefile.am (gasver.texi): Correct quoting.
+ * doc/Makefile.in: Regenerated.
+
+2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * configure.tgt: Add h8300*-*-rtemscoff.
+ Switch h8300*-*-rtems* to elf.
+
+2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * hash.c: Undo the last change.
+ * hash.h: Likewise.
+
+2005-04-29 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
+ of Makefile.
+ (DISTCLEANFILES): Remove.
+ (MAINTAINERCLEANFILES): Add asconfig.texi.
+ * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
+
+2005-04-29 Ben Elliston <bje@au.ibm.com>
+
+ * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
+ (GENERIC_OBJS): Likewise, remove bignum-copy.o.
+ (bignum-copy.o): Remove.
+ * Makefile.in: Regenerate.
+ * makefile.vms (OBJS): Remove bignum-copy.obj.
+ * symbols.h (local_symbol_make): Remove declaration.
+ (verify_symbol_chain_2): Likewise.
+ * symbols.c (local_symbol_make): Make static.
+ (max_indent_level): Likewise.
+ (verify_symbol_chain_2): Remove.
+ * macro.c (macro_hash): Make static.
+ * messages.c (fprint_value): Remove.
+ * read.h (get_absolute_expr): Remove.
+ (emit_leb128_expr): Likewise.
+ (do_s_func): Likewise.
+ * read.c (do_s_func): Make static.
+ (emit_leb128_expr): Likewise.
+ (get_absolute_expr): Likewise.
+ * as.h (as_howmuch): Remove declaration.
+ (fprint_value): Likewise.
+ * as.c (myname): Make static.
+ * input-scrub.c (as_howmuch): Remove.
+ (as_1_char): Likewise.
+ * input-file.h (input_file_is_open): Remove.
+ * input-file.c (input_file_is_open): Likewise.
+ * expr.h (expr_build_unary): Remove declaration.
+ (expr_build_binary): Likewise.
+ * expr.c (expr_build_unary): Remove.
+ (expr_build_binary): Likewise.
+ * hash.h (hash_replace): Remove declaration.
+ (hash_delete): Likewise.
+ * hash.c (hash_replace): Remove.
+ (hash_delete): Likewise.
+ * bignum-copy.c (bignum_copy): Move from here ..
+ * config/tc-vax.c (bignum_copy): .. to here.
+ * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
+ (bignum_copy): Remove extern declaration.
+ * sb.h (string_count): Remove extern declaration.
+ (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
+ (sb_name): Likewise.
+ * sb.c (dsize): Replace preprocessor macro with static int.
+ (string_count): Make static.
+ (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
+ (sb_name): Likewise.
+ * config/obj-coff.c (dim_index): Make static.
+ * config/tc-i386.c (GOT_symbol): Likewise.
+ (output_invalid_buf): Likewise.
+ * doc/internals.texi (Warning and error messages): Remove the
+ prototype for fprint_value.
+
+2005-04-27 Ben Elliston <bje@au.ibm.com>
+
+ * link.cmd: Remove.
+
+2005-04-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
+
+ * read.c (pseudo_set): Disallow symbol set to common symbol.
+
+ PR 857
+ * write.c (write_object_file): Report common symbol name when
+ disallowing local symbol set to common symbol.
+ (adjust_reloc_syms): Disallow local symbol set to undefined
+ symbol.
+
+2005-04-25 Jan Beulich <jbeulich@novell.com>
+
+ * macro.c (macro_expand_body): Replace locals indicator parameters
+ with actual macro_entry. New local variables macro_line and err.
+ Don't return when encountering an error, just record the fact.
+ Detect local symbol name colliding with parameter. Track line number
+ inside of macro expansion.
+ (do_formals): Move local variable name to wider scope. Check
+ parameter of the same name doesn't already exist. In MRI mode, also
+ check it doesn't collide with the argument count pseudo-parameter).
+ (define_macro): Add file and line number parameters. Remove local
+ variable namestr. New local variable error. Initialize macro_entry
+ members file, line, and name. Don't return when encountering an
+ error, just record the fact. Use %s in some diagnostics for read.c
+ to insert the macro name. Free macro_entry on error.
+ (macro_expand): Pass macro_entry to macro_epand_body. Don't return
+ when encountering an error, just record the fact.
+ (expand_irp): Don't return when encountering an error, just record
+ the fact.
+ * macro.h (macro_struct): New members name, file, and line.
+ (define_macro): Add file and line number parameters.
+ * read.c (s_macro): Pass file and line to define_macro. Tag warning
+ regarding pseudo-op redefinition with the file/line that macro
+ definition started at.
+
+2005-04-22 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
+ (future_alignment_required): Remove ifdefs that use it.
+
+2005-04-22 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
+ (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
+ (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
+ parameters.
+ (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
+ convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
+
+2005-04-21 Christian Groessler <chris@groessler.org>
+
+ * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
+ array.
+
+2005-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/obj-aout.h (S_IS_EXTERN): Removed.
+ * config/obj-bout.h (S_IS_EXTERN): Likewise.
+ * config/obj-coff.h (S_IS_EXTERN): Likewise.
+ * symbols.c (S_IS_EXTERN): Likewise.
+ * symbols.h (S_IS_EXTERN): Likewise.
+
+ * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
+ S_IS_EXTERNAL.
+ * config/tc-d10v.c (md_apply_fix3): Likewise.
+ * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
+ * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
+ * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
+ * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
+ * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
+ (shmedia_md_convert_frag): Likewise.
+ * symbols.c (print_symbol_value_1): Likewise.
+ * write.c (write_object_file): Likewise.
+
+2005-04-20 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-xtensa.c (get_aligned_diff): Change type of
+ branch_align to offsetT so that its signedness matches that of
+ target_size.
+
+ * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
+ number into a readable string.
+ (load_register): Likewise.
+
+2005-04-20 Andreas Schwab <schwab@suse.de>
+
+ * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
+
+2005-04-19 David S. Miller <davem@davemloft.net>
+
+ * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
+ NULL insn, exit early. Remove now spurious NULL checks.
+ (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
+ to NULL and exit.
+
+2005-04-19 Jan Beulich <jbeulich@novell.com>
+
+ * symbols.h (symbol_find_base): Remove prototype.
+ * symbols.c (save_symbol_name): Remove code section conditional upon
+ STRIP_UNDERSCORE.
+ (symbol_find): Remove.
+ (symbol_find_base): Rename to symbol_find.
+ * subsegs.c (section_symbol): Replace use of symbol_find_base with
+ symbol_find.
+ * config/obj-coff.c (tag_insert): Remove code section conditional
+ upon STRIP_UNDERSCORE.
+ (obj_coff_def): Likewise.
+ (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
+ (coff_frob_symbol): Likewise.
+ (yank_symbols): Likewise.
+ (c_section_symbol): Likewise.
+ * config/obj-coff.h (DO_NOT_STRIP): Remove.
+ * config/tc-arm.c (symbol_locate): Remove code section conditional
+ upon STRIP_UNDERSCORE.
+ * config/tc-h8300.h (DO_NOT_STRIP): Remove.
+ * config/tc-h8500.h (DO_NOT_STRIP): Remove.
+ * config/tc-sh.h (DO_NOT_STRIP): Remove.
+ * config/tc-w65.h (DO_NOT_STRIP): Remove.
+ * config/tc-z8k.h (DO_NOT_STRIP): Remove.
+
+2005-04-19 Andreas Schwab <schwab@suse.de>
+
+ * config/tc-ia64.c (md_assemble): Fix error message for wrong
+ access to application registers.
+
+2005-04-19 Jan Beulich <jbeulich@novell.com>
+
+ * config/te-sysv32.h: Remove.
+ * Makefile.am (TARG_ENV_HFILES): Remove reference to
+ config/te-sysv32.h.
+ * Makefile.in (TARG_ENV_HFILES): Likewise.
+
+2005-04-19 Jan Beulich <jbeulich@novell.com>
+
+ PR/847
+ * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
+ length symbols.
+
+2005-04-18 Mark Kettenis <kettenis@gnu.org>
+
+ * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
+
+2005-04-18 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * config/tc-mips.c (normalize_constant_expr): Don't check for
+ HAVE_32BIT_GPRS.
+ (check_absolute_expr): Only call normalize_constant_expr() if
+ HAVE_32BIT_GPRS.
+ (mips_ip): Likewise.
+
+ * config/tc-mips.c (check_absolute_expr): Fix formatting.
+
+2005-04-18 Jan Beulich <jbeulich@novell.com>
+
+ * macro.c (free_token): New, freeing all the memory associated with a
+ macro.
+ (do_formals): Move initializers to ...
+ (define_macro): ... here.
+ (delete_macro): Convert passed in name to lower case. Warn when
+ purging macro that doesn't exist. Use hash_jam instead of hash_delete.
+
+2005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * config/tc-mips.c (normalize_constant_expr): Fix formatting.
+
+2005-04-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/obj-elf.c (obj_elf_struct): New.
+ (elf_pseudo_table). Use it for .offset and .struct.
+
+2005-04-14 Bob Wilson <bob.wilson@acm.org>
+ Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
+ than the section alignment.
+
+2005-04-14 Bob Wilson <bob.wilson@acm.org>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
+ * config/tc-xtensa.c (xg_translate_sysreg_op,
+ xtensa_translate_old_userregs_ops,
+ xtensa_find_unaligned_branch_targets,
+ xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
+ relax_frag_add_nop): Support 64-bit host.
+ (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
+ tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
+
+2005-04-14 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.tgt: Add support for OpenBSD/sparc ELF.
+
+ * configure.tgt: Set emulation for mips-*-openbsd*.
+ Remove broken mips-dec-openbsd* config.
+ * configure.in: Set default ABI for mips64-*-openbsd*.
+ * configure: Regenerate.
+
+2005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
+ optimization for constant addresses.
+
+2005-04-14 Nick Clifton <nickc@redhat.com>
+
+ * as.c (main): Move parse_args before symbol_begin and frag_init
+ so that the hash table size can be set before it is used.
+ * hash.c: Use an unsigned long type for the size of the hash
+ tables.
+ * hash.h (set_gas_hash_table_size): Update the prototype.
+
+2005-04-14 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
+ * acinclude.m4: Include ../bfd/warning.m4.
+ * configure.in: Invoke AM_BINUTILS_WARNINGS.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * doc/Makefile.in: Regenerate.
+
+2005-04-13 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
+ (normalize_address_expr): New function to sign-extend address
+ offsets that fit into 32 bits in 32-bit mode.
+ (macro_build_ldst_constoffset): Use normalize_address_expr()
+ instead of a handcoded sequence.
+ (load_register): Likewise. Report oversized numbers in a useful
+ way.
+ (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
+ for constant addresses. Report oversized numbers in a useful way.
+ (mips_ip): Use normalize_address_expr() for addresses.
+
+2005-04-12 Mark Kettenis <kettenis@gnu.org>
+
+ * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
+ similar to other instructions now that they're marked as ImmExt.
+
+2005-04-12 Nick Clifton <nickc@redhat.com>
+
+ * hash.c (DEFAULT_SIZE): Delete. Replace with:
+ (gas_hash_table_size): New static variable.
+ (set_gas_hash_table_size): New function: Records a requested size
+ for the hash tables.
+ (get_gas_hash_table_size): New function: Return a prime number
+ near the requested size of the hash table.
+ (hash_new): Use get_gas_hash_table_size.
+ * hash.h: Add a prototype for set_gas_hash_table_size.
+ * as.c (show_usage): Add description of new switches: --hash-size
+ and --reduce-memory-overheads.
+ (option_values): Add OPTION_HASH_TABLE_SIZE and
+ OPTION_REDUCE_MEMORY_OVERHEADS.
+ (std_longpopts): Add entries for the new options.
+ (parse_args): Handle the new options.
+ * Makefile.am: Add a dependency of as.c on hash.h.
+ * Makefile.in: Regenerate.
+ * doc/as.texinfo: Document the new switches.
+ * NEWS: Mention the new switches.
+
+2005-04-12 Nick Clifton <nickc@redhat.com>
+
+ PR gas/818
+ * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
+ synonyms.
+
+2005-04-12 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+
+2005-04-11 Sterling Augustine <sterling@tensilica.com>
+ Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
+
+2005-04-11 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
+
+2005-04-11 Jan Beulich <jbeulich@novell.com>
+
+ * NEWS: Mention these changes and their effects.
+ * macro.c (get_token): Use is_name_beginner/is_part_of_name/
+ is_name_ender.
+ (check_macro): Likewise.
+ (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
+ labels together with the closing pseudo-op.
+ (macro_expand_body): Adjust comment. Range-check input before use.
+ Adjust mis-spelled diagnostic. Use is_name_beginner.
+ * read.c (try_macro): New.
+ (read_a_source_file): New static variable last_eol. Don't list
+ macro expansion lines more than once. Call try_macro.
+ (s_macro): Set section of line_label to absolute instead of undefined.
+ * doc/as.texinfo: Add information on the caveats of these changes.
+
+2005-04-11 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
+ * symbols.h (symbol_X_add_number): Update prototype.
+
+2005-04-10 Eric Christopher <echristo@redhat.com>
+
+ * symbols.c (symbol_X_add_number): Fix warning.
+
+2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-m68k.c (md_begin): Support 64bit host.
+ (get_num): Support 64bit BFD on 32bit host.
+
+2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
+
+2005-04-09 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (assign_symbol): Remove const from parm. Fix xcalloc
+ call. Don't do the COFF hacks for multi-emulation gas. Move
+ demand_empty_rest_of_line back to caller.
+ (s_set, equals): demand_empty_rest_of_line here.
+
+ PR gas/827
+ * as.h (rs_dummy): Define.
+ * symbols.c (symbol_X_add_number): New function.
+ * symbols.h (symbol_X_add_number): Declare.
+ * stabs.c (aout_process_stab): Tidy symbol frag setting.
+ * read.c (assign_symbol): New function, split out from s_set.
+ Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
+ Fix COFF hacks for multi-emulation gas.
+ (s_set): Call assign_symbol. Remove "register" keyword.
+ (set_zero_frag): New function.
+ (pseudo_set): Always check for assignment to section syms.
+ Always set segment and frag of symbol, and likewise extern for
+ aout/bout. Handle assignment of sym=sym+/-const specially. Don't
+ special case exp.X_add_number non-zero for O_symbol expressions.
+ (equals): Use assign_symbol.
+
+2005-04-08 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
+ SEC_MERGE sections.
+
+2005-04-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (tc_gen_reloc): Don't turn
+ BFD_RELOC_X86_64_32S into BFD_RELOC_32.
+
+2005-04-06 Nick Clifton <nickc@redhat.com>
+
+ * po/rw.po: New translation: Kinyarwanda
+ * configure.in (ALL_LINGUAS): Add rw
+ * configure: Regenerate.
+
+2005-04-05 Sterling Augustine <sterling@tensilica.com>
+ Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (branch_align_power): New.
+ (xtensa_find_unaligned_branch_targets, get_aligned_diff,
+ future_alignment_required): Use branch_align_power to check section
+ alignment as well as xtensa_fetch_width when aligning branch targets.
+
+2005-04-05 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c: Warning fixes throughout.
+ (xtensa_fetch_width): Change to unsigned.
+ (assemble_nop, xtensa_find_unaligned_branch_targets,
+ xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
+ is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
+ min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
+ unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
+ count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
+ get_text_align_max_fill_size, get_text_align_nop_count,
+ get_text_align_nth_nop_size, get_noop_aligned_address,
+ get_aligned_diff, convert_frag_align_next_opcode,
+ convert_frag_immed_finish_loop, xtensa_create_property_segments,
+ xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
+ types, avoiding size_t and using offsetT and addressT appropriately.
+ (get_text_align_power): Clean up types. Avoid incorrect bound.
+ (get_text_align_fill_size): Clean up types. Restructure for clarity.
+
+2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-ia64.c (start_unwind_section): Undo the change
+ of 2004-08-18.
+ (generate_unwind_image, dot_endp): Likewise.
+
+2005-04-01 David Mosberger <davidm@hpl.hp.com>
+
+ * config/tc-ia64.c (ia64_handle_align): Move le_nop and
+ le_nop_stop arrays and initializers to file scope.
+ (md_begin): When generating code for anything other than
+ Itanium 1, use MMI instead of MFI NOP bundles as a filler.
+
+2005-04-01 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
+ immediates.
+
+2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
+
+ * NEWS: Mention [fdgh]_floating.
+ * config/atof-vax.c: Fix some whitespace.
+ * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
+
+2005-04-01 Nick Clifton <nickc@redhat.com>
+
+ * configure.in: Add a check for <unistd.h> providing a prototype
+ for getopt() which is compatible with the one in
+ include/getopt.h. If so then define HAVE_DECL_GETOPT.
+ * configure: Regenerate.
+ * config.in (HAVE_DECL_GETOPT): Add.
+
+2005-04-01 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
+
+2005-04-01 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
+ (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
+
+2005-03-30 Julian Brown <julian@codesourcery.com>
+
+ * config/tc-arm.c (arm_adjust_symtab): Rename
+ bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
+
+2005-03-30 Julian Brown <julian@codesourcery.com>
+
+ * config/tc-arm.c (mapping_state): Change documentation in function
+ comment to cross-reference spec instead. Change type of mapping symbols
+ to BSF_NO_TYPE.
+ (arm_adjust_symtab): Don't change type of mapping symbols here.
+
+2005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
+
+ * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.in: Check for ffs decl and alphabetize.
+
+2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
+ Phil Blundell <philb@gnu.org>
+
+ * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
+ (md_apply_fix3): Mark TLS symbols.
+ (tc_gen_reloc): Handle TLS relocations.
+ (arm_fix_adjustable): Ignore TLS relocations.
+ (s_arm_elf_cons): Support expressions after decorated symbols.
+
+2005-03-29 Julian Brown <julian@codesourcery.com>
+
+ * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
+ whether personality routine index N has been output for this section.
+ (mapping_state): tc_segment_info_data now struct not enum.
+ (arm_elf_change_section): Likewise, and marked_pr_dependency is now
+ handled on section change.
+ (create_unwind_entry): Previous code to output dependency removed.
+ (s_arm_unwind_fnend): Output dependency if it hasn't been done already
+ for this section.
+ * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
+ arm_segment_info_type.
+ (arm_segment_info_type): New struct.
+
+2005-03-28 Sterling Augustine <sterling@tensilica.com>
+ Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (do_align_targets): Update comment.
+ (xtensa_frob_label): Compute "freq" before possibly switching frags.
+ Insert a LOOP_END frag before every loop target, and do not overload
+ DESIRE_ALIGN_IF_TARGET frags with loop end information.
+ (xg_assemble_vliw_tokens): Use do_align_targets.
+ (xtensa_fix_target_frags): Remove code to convert a
+ DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
+ negatable branch at the end of a loop.
+ (frag_can_negate_branch): Delete.
+
+2005-03-28 David Mosberger <davidm@hpl.hp.com>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 803
+ NEWS: Mention "-mtune=[itanium1|itanium2]".
+
+ * config/tc-ia64.c (md): Add tune.
+ (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
+ (md_show_usage): Add "-mtune=[itanium1|itanium2]".
+ (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
+ B unit NOPs are discouraged for McKinley-derived cores.
+ (md_begin): Don't hardcode the "extra_goodness()" function in
+ the comment...
+ (ia64_init): Set md.tune to itanium2.
+
+ * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
+ * doc/c-ia64.texi: Likewise.
+
+2005-03-27 Ian Lance Taylor <ian@airs.com>
+
+ * config/obj-coff.c (coff_frob_symbol): When crashing because of a
+ bad C_EFCN symbol, print its name.
+
+2005-03-25 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (use_longcalls): Delete.
+ (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
+ the use_longcalls flag is set. Do this before checking the segment.
+ (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
+ expand direct calls at this point.
+ (xtensa_set_frag_assembly_state): Set use_longcalls flag.
+ (xtensa_find_unmarked_state_frags): Likewise.
+ (md_assemble): Do not disable longcalls by setting is_specific_opcode.
+ (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
+ (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
+ * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
+
+2005-03-25 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
+
+2005-03-25 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/tc-cris.h: Convert to ISO C90.
+ * config/tc-cris.c: Ditto.
+ (md_estimate_size_before_relax): Remove obsolete comment for
+ parameter "segment_type".
+ (md_begin): Document reason for cast of hash_insert argument.
+ (md_atof): Correct type of parameter "type".
+
+2005-03-24 Nick Clifton <nickc@redhat.com>
+
+ * write.h (bit_fix_new): Remove redundant prototype.
+ * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
+ * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
+ * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
+ * config/obj-som.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-som.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
+
+2005-03-23 Jim Blandy <jimb@redhat.com>
+
+ * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
+ attributes properly.
+
+2005-03-23 Mike Frysinger <vapier@gentoo.org>
+ Nick Clifton <nickc@redhat.com>
+
+ * configure.tgt: Accept any C library to accompany a GNU Linux
+ implementation, not just the GNU C library.
+ * configure.in: Likewise.
+ * configure: Regenerate.
+
+2005-03-23 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-tic30.c: Convert to ISO C90 formatting.
+ * config/tc-tic30.h: Convert to ISO C90 formatting.
+ * config/tc-pdp11.c: Convert to ISO C90 formatting.
+ * config/atof-vax.c: Convert to ISO C90 formatting.
+
+2005-03-21 Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
+ relocations correctly as well.
+ (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
+ relocations in mergeable sections section-relative either.
+
+2005-03-21 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
+
+2005-03-21 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-sh.c (sh_elf_final_processing): Fix compile time
+ warning by providing a prototype for sh_symbian_find_elf_flags.
+
+ * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
+ previous delta.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
+ along with other formats that set bfd_gas. Remove unnecessary
+ setting of bfd_gas. Delete strongarm cases in generic_target
+ switch.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ PR gas/780
+ * config/tc-m68k.c (TRUNC, SEXT): Define.
+ (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
+ (m68k_ip): Truncate or sign extend expressions as appropriate.
+ (get_num): Likewise.
+ (md_apply_fix3): Use SEXT.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
+ (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
+ (obj-vms.o): Delete rule.
+ Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * doc/Makefile.in: Regenerate.
+ * po/POTFILES.in: Regenerate.
+
+2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
+
+ * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
+ flag for coldfire v4e.
+
+2005-03-17 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
+ xg_apply_fix_value and return a value to indicate success.
+ (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
+ (xtensa_force_relocation): Remove checks for VTABLE relocs.
+ (xtensa_validate_fix_sub): New.
+ (xtensa_fix_adjustable): Remove check for external or weak symbols.
+ (tc_gen_reloc): Move code to handle difference of symbols and code to
+ apply tentative fix values to ...
+ (md_apply_fix3): ...here. Enable standard overflow checks for simple
+ 8, 16, and 32 bit relocations. Apply fixes for slot-specific
+ relocations when linkrelax flag is not set.
+ * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
+ (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
+
+2005-03-17 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (i386_scale): Beautify error message.
+ (Intel syntax comments): Update.
+ (struct intel_parser_s): Add fields in_offset, in_bracket, and
+ next_operand.
+ (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
+ Remove declarations.
+ (intel_bracket_expr): Declare.
+ (i386_intel_operand): Initialize new intel_parser fields. Wrap most
+ of the function body in a loop allowing to split an operand into two.
+ Replace calls to malloc and checks of it returning non-NULL with
+ calls to xmalloc/xstrdup.
+ (intel_expr): SHORT no longer handled here. Add comment indicating
+ comparison ops need implementation.
+ (intel_e04, intel_e04_1): Combine, replace recursion with loop.
+ Check right operand of - does not specify a register when parsing
+ the address of a memory reference.
+ (intel_e05, intel_e05_1): Combine, replace recursion with loop.
+ Check operands do not specify a register when parsing the address of
+ a memory reference.
+ (intel_e06, intel_e06_1): Likewise.
+ (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
+ handle SHORT as well as unary + and -. Don't accept : except for
+ segment overrides or in direct far jump/call insns.
+ (intel_brack_expr): New.
+ (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
+ intel_brack_expr.
+ (intel_e11): Replace chain of if/else-if by switch, alloing fall-
+ through in certain cases. Use intel_brack_expr. Add new diagnostics.
+ Allow symbolic constants as register scale value.
+ (intel_get_token): Replace call to malloc and check of return value
+ with call to xmalloc. Change handling for FLAT to match MASM's.
+ (intel_putback_token): Don't try to back up/free current token if
+ that is T_NIL.
+
+2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure.tgt: Set emulation for arm-*-eabi*.
+ * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
+ * config/te-armeabi.h: New file.
+ * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
+ * config/te-symbian.h: Include "te-armeabi.h".
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+
+ * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
+ local variable in case it is clobbered by the setjmp.
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+ Ben Elliston <bje@au.ibm.com>
+
+ * configure.in (werror): New switch: Add -Werror to the
+ compiler command line. Enabled by default. Disable via
+ --disable-werror.
+ * configure: Regenerate.
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+
+ * config/obj-coff.h: Convert to ISO C90 formatting.
+ * config/obj-coff.c: Convert to ISO C90 formatting.
+
+2005-03-15 Zack Weinberg <zack@codesourcery.com>
+
+ * config/tc-arm.c (do_mla): Rename to do_mlas, take second
+ is_mls parameter; do not diagnose Rm==Rd when is_mls.
+ (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
+ (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
+ (insns): Add ARMv6T2 instructions:
+ bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
+ (arm_archs): Add V6T2 variants.
+
+2005-03-15 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Add cutoff for changes in 2.16 release.
+
+2005-03-15 Jan Beulich <jbeulich@novell.com>
+
+ * expr.c (operand): Merge handling of unary + into that for unary
+ -, !, and ~.
+
+2005-03-14 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c: Include dw2gencfi.h.
+ (mips_cfi_frame_initial_instructions): New.
+ * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
+ (tc_cfi_frame_initial_instructions): Ditto.
+ (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
+ (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
+ * Makefile.am: Update dependencies.
+ * Makefile.in: Regenerate.
+
+2005-03-15 Alan Modra <amodra@bigpond.net.au>
+
+ * po/es.po: Commit new Spanish translation.
+
+2005-03-14 Alan Modra <amodra@bigpond.net.au>
+
+ * po/tr.po: Commit new Turkish translation.
+
+2005-03-12 Zack Weinberg <zack@codesourcery.com>
+
+ * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
+ wfi, yield.
+
+2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config-gas.com: Mark vax-vms as obsolete.
+ * configure.in: Remove fmt=vms support.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
+
+2005-03-10 Sterling Augustine <sterling@tensilica.com>
+ Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
+ when checking if xg_resolve_literals needs to be called.
+ * config/tc-xtensa.h: Fix spelling typo in a comment.
+
+2005-03-10 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
+ * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
+ crafted structure declarations with the types from macro.h.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
+ for -mno-shared optimization.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
+ (MAX_NOPS): Bump to 4.
+ (mips_fix_vr4130): New variable.
+ (nops_for_vr4130): New function.
+ (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
+ nops_for_vr4130 if working around VR4130 errata.
+ (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
+ (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
+ (md_parse_option): Handle them.
+ (md_show_usage): Print them.
+ * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (append_insn): Remove cop_interlocks test from
+ branch delay code.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.h (mips_flush_pending_output): Delete.
+ (mips_emit_delays): Declare.
+ (md_flush_pending_output): Use mips_emit_delays.
+ * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
+ the previous instructions.
+ (md_begin, append_insn, md_parse_option): Update callers.
+ (mips_emit_delay): Remove parameter. Move INSNS != 0 code to
+ start_noreorder.
+ (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
+ (s_gpdword): Update callers.
+ (start_noreorder, end_noreorder): New functions.
+ (macro, macro2, mips16_macro, s_mipsset): Use them instead of
+ manipulating mips_opts or prev_nop_frag directly.
+ (mips_flush_pending_output): Delete.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_move_labels): New function, taken from...
+ (append_insn, mips_emit_delays): ...here.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (MAX_NOPS): New macro.
+ (history): Resize to 1 + MAX_NOPS.
+ (fix_vr4120_class): New enumeration.
+ (vr4120_conflicts): New variable.
+ (init_vr4120_conflicts): New function.
+ (md_begin): Call it.
+ (insn_uses_reg): Constify first argument.
+ (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
+ (nops_for_insn_or_target): New functions.
+ (append_insn): Use the new nops_for_* functions instead of inline
+ delay checks. Generalize prev_nop_frag handling to handle an
+ arbitrary history length. Insert nops into the history buffer
+ once the number of nops in prev_nop_frag is fixed.
+ (emit_delays): Use nops_for_insn instead of inline delay checks.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
+ check from branch delay code. Remove unnecessary check for branches.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (dummy_opcode): Delete.
+ (nop_insn, mips16_nop_insn): New variables.
+ (NOP_INSN): New macro.
+ (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
+ (add_relaxed_insn, insert_into_history, emit_nop): New functions.
+ (md_begin): Initialize nop_insn and mips16_nop_insn.
+ (append_insn): Use the new emit_nop function to add nops, recording
+ them in the history buffer. Use add_fixed_insn or add_relaxed_insn
+ to reserve room for the instruction and install_insn to install the
+ final form. Use insert_into_history to record the instruction in
+ the history buffer. Use move_insn to do delay slot filling.
+ (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
+ (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
+ (mips16_ip): Use create_insn to initialize mips_cl_insns.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
+ (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
+ (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
+ (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
+ (mips16_ip): Use the new macros instead of explicit masks and shifts.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
+ and extended_p fields with a single fixed_p field.
+ (append_insn, mips_no_prev_insn): Adjust accordingly.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
+ a single mips16_absolute_jump_p bit.
+ (append_insn): Adjust accordingly.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.h (mips_cl_insn): Move definition to...
+ * config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
+ frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
+ and extended_p.
+ (history): New variable.
+ (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
+ (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
+ (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
+ (prev_prev_insn_unreordered): Delete.
+ (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
+ (macro_start): Replace uses of prev_insn* with the equivalent history[]
+ field.
+
+2005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * doc/Makefile.am: Update as.info dependencies.
+ * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
+
+2005-03-08 Jan Beulich <jbeulich@novell.com>
+
+ * doc/as.texinfo: Add sentence to indicate redefining a macro is an
+ error, and point to .purgem documentation if someone really needs
+ re-definitions.
+ * NEWS: Mention macro redefinition is now an error.
+
+2005-03-08 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
+ emitted to. Add more precise diagnostics for non-fitting insns based
+ on that. Eliminate now superfluous special casing of MLX. Clear out
+ slot information when dropping an insn.
+
+2005-03-08 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_section_name): Rename to...
+ (cross_section): In addition to separating the name from the rest of
+ the arguments, also carry out the operation.
+ (dot_xdata): Use cross_section.
+ (dot_float_cons): Likewise.
+ (dot_xstringer): Likewise.
+ (dot_xdata_ua): Likewise.
+ (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
+
+2005-03-05 Alan Modra <amodra@bigpond.net.au>
+
+ * po/gas.pot: Regenerate.
+
+2005-03-04 David Daney <ddaney@avtrex.com>
+
+ * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
+ instead of '_gp' for -mno-shared optimization.
+ (s_cpload): Ditto.
+ (s_abicalls): Document it in the comment.
+ (md_show_usage): Document the -mno-shared option.
+
+2005-03-04 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_set_options): Add sym32 field.
+ (mips_opts): Initialize it.
+ (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
+ (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
+ (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
+ (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
+ when deciding whether to use a symbolic %highest/%higher expansion.
+ (macro): Likewise. Remove o64/n32 linux hack. Always use
+ ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
+ and "la". Handle constants separately from symbolic expressions in
+ the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
+ and using load_register to load the high part of the address.
+ (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
+ (OPTION_ELF_BASE): Bump by 2.
+ (md_longopts): Add entries for -msym32 and -mno-sym32.
+ (md_parse_option): Handle them.
+ (usage): Document them.
+ (s_mipsset): Handle ".set sym32" and ".set nosym32".
+ (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
+ HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
+ * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
+ -msym32 and -mno-sym32.
+
+2005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (load_address): Implement GP optimization
+ for 64bit address space non-PIC. Fix formatting.
+ (macro): Likewise. Simplify code.
+ (md_parse_option): Don't bail out if -G 0 is set for PIC code.
+ (mips_after_parse_args): Simplify code.
+
+2005-03-03 Nick Clifton <nickc@redhat.com>
+
+ * expr.c (operand): Remove redundant code enclosed by #ifdef
+ RELAX_PAREN_GROUPING....#endif.
+
+ * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
+ reloc is the difference of two symbols defined in the same
+ section.
+
+ * config/tc-iq2000.c (line_comment_chars): Include the # character
+ as otherwise this breaks #APP/#NO_APP processing.
+
+2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
+
+ * config/tc-arc.c(md_assemble): Remove dead code for handling
+ immediate indexing of ld and st .
+
+2005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
+ %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
+ (parse_relocation): Check for a word break after a relocation
+ operator.
+ (md_apply_fix3): Handle TLS relocations, and mark thread-local
+ symbols.
+
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * as.c (main): Use unlink_if_ordinary instead of unlink.
+ * messages.c (as_fatal): Likewise.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
+ accesses.
+ (parse_register): Allow cr8...15 in all modes.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
+ etc. like normal symbol references (T_ID).
+
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (fb_label_name): Fix silly thinko in last change.
+
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
+ * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
+
+ * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
+
+2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
+
+ PR gas/708
+ * config/tc-arc.c (md_assemble): Initialize suffix for extension
+ suffixes also.
+
+2005-03-01 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
+
+ * as.h (assert): Warning fix.
+ * expr.c (expr): Correct assertion.
+ * read.c (s_comm_internal): Remove assertion.
+ * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
+ (fixup_segment): Remove assertion.
+ * config/tc-dlx.c (machine_ip): Remove untrue assertions.
+ (md_apply_fix3): Likewise.
+ * config/tc-i370.c (md_begin): Correct assertion.
+ (i370_macro): Warning fix for assertion.
+
+2005-03-01 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in (AC_C_BIGENDIAN): Invoke.
+ * configure: Regenerate.
+ * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
+ host variable to set string header size.
+ * config/obj-aout.c (obj_header_append): Don't use host structs.
+ (obj_symbol_to_chars): Likewise.
+ (obj_emit_strings): Likewise. Use the passed in output pointer.
+ * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
+ * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
+ not sizeof host struct.
+ (obj_header_append, obj_symbol_to_chars): Don't use host structs.
+ (obj_emit_strings): Likewise.
+ * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
+ (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
+ sizeof host struct.
+ (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
+ sizeof host struct.
+ (host_number_to_chars): Define.
+ * config/obj-hp300.c (hp300_header_append): Don't use sizeof
+ host internal struct to set header sizes.
+ * config/tc-i960.c (md_number_to_field): Warning fix.
+ (md_ri_to_chars): Use host byte order.
+ (get_cdisp, md_apply_fix3): Warning fix.
+ * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
+
+2005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
+
+ * doc/c-arc.texi: Update documentation about ARC's extension
+ instructions.
+
+2005-02-27 Svein E. Seldal <svein@dev.seldal.com>
+
+ * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
+ address for myself.
+
+2005-02-23 Alan Modra <amodra@bigpond.net.au>
+
+ * cgen.c: Warning fixes.
+ * config/tc-arc.c: Likewise.
+ * config/tc-arm.c: Likewise.
+ * config/tc-avr.c: Likewise.
+ * config/tc-d10v.c: Likewise.
+ * config/tc-d30v.c: Likewise.
+ * config/tc-frv.c: Likewise.
+ * config/tc-frv.h: Likewise.
+ * config/tc-h8300.c: Likewise.
+ * config/tc-h8500.c: Likewise.
+ * config/tc-i370.c: Likewise.
+ * config/tc-i960.c: Likewise.
+ * config/tc-ia64.c: Likewise.
+ * config/tc-ip2k.c: Likewise.
+ * config/tc-m68hc11.c: Likewise.
+ * config/tc-maxq.c: Likewise.
+ * config/tc-mcore.c: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-msp430.c: Likewise.
+ * config/tc-pj.c: Likewise.
+ * config/tc-ppc.c: Likewise.
+ * config/tc-ppc.h: Likewise.
+ * config/tc-s390.c: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-sh64.c: Likewise.
+ * config/tc-tic4x.c: Likewise.
+ * config/tc-tic80.c: Likewise.
+ * config/tc-v850.c: Likewise.
+ * config/tc-vax.c: Likewise.
+ * config/tc-w65.c: Likewise.
+ * config/tc-xstormy16.c: Likewise.
+ * config/tc-z8k.c: Likewise.
+
+2005-02-22 Catherine Moore <clm@cm00re.com>
+
+ * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
+ * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
+
+2005-02-22 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c (struct proc): Change isym to
+ func_sym. New member func_end_sym.
+ (s_mips_ent): Update.
+ (s_mips_end): Ditto. Add code to compute function size.
+
+2005-02-22 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c: Warning fixes.
+ * config/obj-elf.c: Likewise.
+
+2005-02-22 Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
+ emitting insn.
+
+2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
+ SEC_COFF_SHARED.
+
+ * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
+ SEC_TIC54X_BLOCK.
+ (demand_empty_rest_of_line): Likewise.
+ (tic54x_sblock): Likewise.
+ (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
+
+2005-02-21 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (address_bytes): New function.
+ (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
+ (potable): Add "dc.a".
+ (cons_worker): Handle "dc.a".
+ * doc/internals.texi (TC_ADDRESS_BYTES): Document.
+
+2005-02-21 Alan Modra <amodra@bigpond.net.au>
+
+ * input-file.c (input_file_open): Rearrange to avoid warning.
+
+2005-02-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
+ * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
+ * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
+
+2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
+ uses after .set noat.
+ (load_address): Likewise.
+ (macro): Likewise. Don't try to avoid $at use by sacrificing
+ the target register before it is stored, it won't work.
+
+2005-02-17 James E Wilson <wilson@specifixinc.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
+ see an instruction that specifies a template.
+
+2005-02-18 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
+ * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
+ * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
+
+2005-02-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * NEWS: Mention "-mhint.b=[ok|warning|error]".
+
+ * config/tc-ia64.c (md): Add hint_b.
+ (emit_one_bundle): Handle md.hint_b for "hint".
+ (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
+ (md_show_usage): Add "-mhint.b=[ok|warning|error]".
+ (ia64_init): Set md.hint_b to error.
+ (md_assemble): Handle md.hint_b for "hint.b".
+
+ * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
+ * doc/c-ia64.texi: Likewise.
+
+2005-02-17 Alan Modra <amodra@bigpond.net.au>
+
+ * tc.h (struct relax_type, relax_typeS): Move from here..
+ * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
+ * ecoff.c (ecoff_new_file): Add appfile param.
+ * ecoff.h (ecoff_new_file): Likewise.
+ * itbl-lex.h: New file.
+ * itbl-lex.l: Include itbl-lex.h.
+ * itbl-parse.y: Likewise.
+ (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
+ * read.c (s_app_file_string): Mark appfile possibly unused.
+ * subsegs.c (seg_not_empty_p): Make sec possibly unused.
+ * subsegs.h (struct seg_info_trash): Delete.
+ (seg_info): Use segment_info_type instead.
+ * config/obj-coff.c (struct filename_list): Make filename const char *.
+ * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
+ * config/obj-elf.c (elf_file_symbol): Similarly.
+ * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
+ signed right shift.
+ * config/tc-arc.c (md_operand): Warning fix.
+ * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
+ (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
+ * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
+ * config/tc-frv.c (frv_force_relocation): Warning fix.
+ * config/tc-m68k.c (md_parse_option): Delete unused var.
+ * config/tc-mcore.c (mylog2): Rename from log2 throughout.
+ * config/tc-sparc.c: Likewise.
+ (s_common): Warning fix.
+ * config/tc-mips.c (append_insn): Use unsigned long long expressions.
+ * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
+ addressT.
+ * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
+ * config/tc-sh.c (sh_cfi_frame_initial_instructions,
+ sh_regname_to_dw2regnum): Only define for OBJ_ELF.
+ * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
+ (tic4x_do_align): Use TIC_NOP_OPCODE.
+ * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
+ * config/tc-vax.c: Include netinet/in.h.
+ (tc_headers_hook): Formatting.
+ * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
+
+2005-02-17 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
+ parsing inN, locN, outN. Set 'idx' to offset register number starts
+ at. Don't handle numbers with leading zeroes or beyond 95. Remove
+ pointless cast.
+
+2005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (load_address): Fix formatting.
+ (macro): Don't use AT if .set noat is in effect. Fix formatting.
+ Catch macros which are unexpandable without AT. Remove duplicate
+ zeroing of used_at.
+ (macro2): Remove duplicate zeroing of used_at.
+
+2005-02-16 Alan Modra <amodra@bigpond.net.au>
+
+ * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
+ than zero.
+
+2005-02-15 Nigel Stephens <nigel@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (reloc_needs_lo_p): Handle
+ BFD_RELOC_MIPS16_HI16_S.
+ (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
+ (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
+ and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
+ complaints on.
+ (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
+ BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
+ Call my_getSmallExpression() to parse percent operators.
+ (percent_op_match, mips_percent_op): Separate definitions.
+ (mips16_percent_op): Define percent operators for the MIPS16 mode.
+ (parse_relocation): Handle the MIPS16 mode using
+ mips16_percent_op.
+ (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
+ BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
+ instead of explicitly dealing with the translation; exclude
+ relocations that are already pcrel, however.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c: Include limits.h (if available).
+ (gr_values[0]): Set path to INT_MAX.
+ (dot_reg_val): Don't allow changing value of r0. Limit range of
+ general registers at r127.
+ (specify_resource): Default resource index is -1. Don't set resource
+ index (in case IA64_RS_RSE) without setting the specific flag.
+ (note_register_values): Check operand is O_constant before tracking
+ input value of moves. Add tracking for dep.z with constant inputs.
+ (print_dependency): Resource index of specific resource may be zero.
+ (check_dependencies): Likewise.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
+ reg_class. Check operands and emit diagnostics for illegal use of
+ registers.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
+ new variables type, suffix, and width. Handle
+ BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
+ Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
+ FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
+ FUNC_DTP_RELATIVE case. Return incoming relocation type if
+ BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
+ if unable to translate relocation type, using the new variables.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.h (ia64_symbol_chars): Declare.
+ (ty_symbol_chars): Define.
+ * config/tc-ia64.c (ia64_symbol_chars): Define.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_parse_name): Only update next character if
+ input_line_pointer was advanced.
+
+2005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh.c (md_apply_fix3): Add parentheses around &
+ within |.
+
+2005-02-13 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
+ (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
+ indicator.
+ (ia64_init): Set md.detect_dv.
+ (ia64_start_line): New static variable warned. Warn only once when
+ encountering explicit stops in automatic mode.
+ * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
+ * NEWS: Mention new default mode.
+
+2005-02-13 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (dot_rot): Add comment that name strings should
+ be freed when wiping out previous state. Canonicalize names before
+ use. Free name string when detecting redefinition.
+ (dot_pred_rel): Call generic expression parser to process arguments.
+ Handle O_register case for individual predicates and O_subtract for
+ ranges.
+ (ia64_parse_name): Canonicalize name before looking it up in dynamic
+ register hash.
+ (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
+ Warn if multiple found, issue error if resulting symbol name has zero
+ length.
+ (dot_alias): Canonicalize name before use.
+
+2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
+ and 0 for error.
+ (in_procedure): Return -1 for warning.
+ (in_prologue): Likewise.
+ (in_body): Likewise.
+
+2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-ia64.c (dot_xdata): Undo the last change.
+ (dot_float_cons): Likewise.
+ (dot_xstringer): Likewise.
+ (dot_xdata_ua): Likewise.
+ (dot_float_cons_ua): Likewise.
+
+2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * NEWS: Mention "-munwind-check=[warning|error]".
+
+ * config/tc-ia64.c (md): Add unwind_check.
+ (unwind_diagnostic): New.
+ (in_procedure): Call unwind_diagnostic when a directive isn't
+ in procedure.
+ (in_prologue): Call unwind_diagnostic when a directive isn't in
+ prologue.
+ (in_body): Call unwind_diagnostic when a directive isn't in
+ body region.
+ (dot_endp): Set md.unwind_check to error before calling
+ in_procedure and restore it after. When the name is missing or
+ couldn't be found, use the one from the last .proc if
+ md.unwind_check isn't error. Warn if md.unwind_check is
+ warning.
+ (md_parse_option): Handle "-munwind-check=[warning|error]".
+ (md_show_usage): Add "-munwind-check=[warning|error]".
+ (ia64_init): Set md.unwind_check to warning.
+
+ * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
+ * doc/c-ia64.texi: Likewise.
+
+2005-02-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
+ (LEX_QM): Likewise.
+ (ia64_parse_name): New third parameter.
+ (md_parse_name): Pass third argument.
+ * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
+ (md_operand): Handling of '@'-prefixed symbols moved from here...
+ (ia64_parse_name): ...to here.
+
+2005-02-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (md): Remove last_groups and group_idx.
+ (errata_nop_necessary_p): Remove declaraction and definition.
+ (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
+ update md.group_idx. Don't reset md.last_groups.
+
+2005-02-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_section_name): Handle non-quoted first
+ argument.
+ (dot_xdata): Free section name after use.
+ (dot_float_cons): Likewise.
+ (dot_xstringer): Likewise.
+ (dot_xdata_ua): Likewise.
+ (dot_float_cons_ua): Likewise.
+ (md_pseudo_table): Add xdata16 and xdata16.ua.
+
+2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/all.texi: Add IA64.
+ * doc/as.texinfo: Likewise.
+
+ * doc/c-ia64.texi: Fix typos.
+
+2005-02-10 Julian Brown <julian@codesourcery.com>
+
+ * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
+ BFD_RELOC_UNUSED.
+ (do_t_push_pop): Likewise.
+ (md_assemble): Likewise.
+ (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
+ BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
+ (create_unwind_entry): Output dependency on the required personality
+ routines.
+
+2005-02-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * as.h (seg_not_empty_p): Return int, not bfd_boolean.
+ * subsegs.c (seg_not_empty_p): Likewise.
+
+2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
+
+ * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
+ relative jump calculation.
+ <md_convert_frag) : Likewise.
+ <output_disp): Likewise.
+
+2005-02-07 Hans-Peter Nilsson <hp@axis.com>
+
+ * write.c (write_object_file): Recognize warning-symbol construct
+ and skip object- and target- handling for the second symbol.
+
+2005-02-02 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
+ designators along with quoted ones. Free copy of quoted designator
+ when done.
+
+2005-02-01 Ben Elliston <bje@au.ibm.com>
+
+ * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
+ config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
+ config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
+ config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
+ config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
+ config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
+ config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
+ config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
+ config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
+ config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
+ config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
+ config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
+ config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
+ #if 0'd code throughout.
+
2005-01-31 Nick Clifton <nickc@redhat.com>
* as.c (parse_args): Bump copyright date reported by --version to
2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
- PR 659
+ PR 659
* config/tc-i386.c (i386_scale): Disallow 0 scale.
2005-01-12 Nick Clifton <nickc@redhat.com>
* configure, Makefile.in: Rebuild.
2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
-
+
* config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
instructions.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
- * doc/Makefile.in: Regenerated.
+ * doc/Makefile.in: Regenerated.
2004-12-02 Bob Wilson <bob.wilson@acm.org>
(set_section, add_unwind_adjustsp, flush_pending_unwind,
finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
require_hashconst, add_unwind_opcode): New functions.
- * doc/tc-arm.text: Document unwinding opcodes.
+ * doc/c-arm.texi: Document unwinding opcodes.
* NEWS: Mention the new feature.
2004-10-04 Eric Christopher <echristo@redhat.com>
allow <arch>-up ISA variants.
(sh_elf_final_processing): Replace if-else chain with a call to
sh_find_elf_flags().
- * testsuite/gas/sh/arch: New directory.
- * testsuite/gas/sh/arch/arch.exp: New test script.
- * testsuite/gas/sh/arch/arch_expected.txt: New file.
- * testsuite/gas/sh/arch/sh.s: New file.
- * testsuite/gas/sh/arch/sh2.s: New file.
- * testsuite/gas/sh/arch/sh-dsp.s: New file.
- * testsuite/gas/sh/arch/sh2e.s: New file.
- * testsuite/gas/sh/arch/sh3-nommu.s: New file.
- * testsuite/gas/sh/arch/sh3.s: New file.
- * testsuite/gas/sh/arch/sh3-dsp.s: New file.
- * testsuite/gas/sh/arch/sh3e.s: New file.
- * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
- * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
- * testsuite/gas/sh/arch/sh4.s: New file.
- * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
- * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
- * testsuite/gas/sh/arch/sh4a.s: New file.
2004-05-28 Peter Barada <peter@the-baradas.com>
(md_begin): Set flags for EABI v3.
(arm_eabis): Add.
(arm_long_opts): Add meabi.
- * doc/as.texinf <ARM>: Document -meabi.
+ * doc/as.texinfo <ARM>: Document -meabi.
* doc/c-arm.texi: Ditto.
2004-03-22 Bob Wilson <bob.wilson@acm.org>