+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.
+ * testsuite/gas/arm/unwind.d: Update expected output.
+
+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
* configure: Regenerate.
* config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
-2005-03-10 Bob Wilson <bob.wilson@acm.org>
+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.