+2005-11-04 Alexandre Oliva <aoliva@redhat.com>
+
+ * read.c (s_weakref): Do not permit redefinitions.
+ * symbols.c (colon): Do not permit redefinitions of equated
+ symbols.
+
+2005-11-01 Thiemo Seufer <ths@networkno.de>
+
+ PR gas/1299
+ * Makefile.am: Disable -Werror for the itbl-lex.o rule.
+ * Makefile.in: Regenerate.
+
+2005-11-01 Thiemo Seufer <ths@networkno.de>
+
+ * config/tc-mips.c (md_parse_option): Fix typo in comment.
+
+2005-10-30 Mark Mitchell <mark@codesourcery.com>
+
+ * as.c (show_usage): Document "@FILE".
+
+2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am (OBJ_FORMATS): Remove vms.
+ Run "make dep-am".
+ * Makefile.in: Regenerated.
+
+ * dep-in.sed: Replace " ./" with " ".
+
+2005-10-28 Dave Brolley <brolley@redhat.com>
+
+ Contribute the following change:
+ 2005-09-19 Dave Brolley <brolley@redhat.com>
+
+ * config/tc-m32c.c (default_isa): New static variable.
+ (m32c_isa): Now of type CGEN_BITSET.
+ (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
+
+2005-10-28 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
+ instead of mcpu_cpu_opt.
+
+2005-10-27 Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
+ refer to "ports" instead of "queues".
+ (check_t1_t2_reads_and_writes): Pass correct interface values to
+ xtensa_interface_inout.
+
+2005-10-27 Jan Beulich <jbeulich@novell.com>
+
+ * read.c (assign_symbol): Also consider equates already defined.
+ * symbols.c (symbol_clone): Also clone the underlying BFD symbol.
+ * config/obj-coff.h (obj_symbol_clone_hook): New.
+ (coff_obj_symbol_clone_hook): Declare.
+ * config/obj-coff.c (coff_obj_symbol_clone_hook): New.
+
+2005-10-26 DJ Delorie <dj@redhat.com>
+
+ * config/tc-m32c.c (md_relax_table, subtype_mappings,
+ md_convert_frag): Add jsr.w support.
+
+ * config/tc-m32c.c (md_assemble): Don't use errmsg as the format
+ itself.
+ (md_cgen_lookup_reloc): Add m32c bitbase operands. Add 8-s24
+ and imm-8-HI operands.
+
+2005-10-26 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (insns): Correct "sel" entry.
+
+2005-10-26 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (i386_operand): Don't check register prefix here.
+ (parse_real_register): Rename from parse_register.
+ (parse_register): New.
+ (i386_parse_name): New.
+ (md_operand): New.
+ (intel_e11): Don't tolerate registers in offset expressions anymore.
+ (intel_get_token): Don't check register prefix here. Copy the actual
+ register token, not the canonical register name.
+ * config/tc-i386.h (md_operand): Delete.
+ (i386_parse_name): Declare.
+ (md_parse_name): Define.
+
+2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * Makefile.am: Add Z80 cpu.
+ * Makefile.in: Regenerated.
+ * app.c (do_scrub_chars)<TC_Z80>: Correctly scrub "ex af,af'"
+ and disallow newlines in quoted strings.
+ * configure.tgt: Add z80-*-coff.
+ * config/obj-coff.h: Add format "coff-z80".
+ * doc/Makefile.am: Add c-z80.texi.
+ * doc/Makefile.in: Regenerated.
+ * doc/all.texi: Add Z80.
+ * doc/c-z80.texi: New file
+ * doc/as.texinfo: Add z80 options and some z80-related remarks.
+ * config/tc-z80.c: New file
+ * config/tc-z80.h: New file
+ * NEWS: Mention new support.
+
+2005-10-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ * write.c (adjust_reloc_syms): Undo the change made on
+ 2005-04-26 to allow local symbol set to undefined symbol.
+
+2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am (bfin-parse.tab.h): Removed.
+ (bfin-parse.h): Added.
+ * Makefile.in: Regenerated.
+
+2005-10-25 Alan Modra <amodra@bigpond.net.au>
+
+ * po/POTFILES.in: Regenerate.
+ * po/gas.pot: Regenerate.
+
+2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
+ make a single reloc with an offset rather than a stack.
+ * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
+
+2005-10-24 Alexandre Oliva <aoliva@redhat.com>
+
+ * read.c (potable): Add weakref.
+ (s_weakref): New.
+ * read.h (s_weakref): Declare.
+ * struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
+ * symbols.c (colon): Clear weakrefr.
+ (symbol_find_exact): Rename to, and reimplement in terms of...
+ (symbol_find_exact_noref): ... new function.
+ (symbol_find): Likewise...
+ (symbol_find_noref): ... ditto.
+ (resolve_symbol_value): Resolve weakrefr without setting their
+ values.
+ (S_SET_WEAK): Call hook.
+ (S_GET_VALUE): Follow weakref link.
+ (S_SET_VALUE): Clear weakrefr.
+ (S_IS_WEAK): Follow weakref link.
+ (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
+ (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
+ (symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
+ (symbol_mark_used): Follow weakref link.
+ (print_symbol_value_1): Print weak, weakrefr and weakrefd.
+ * symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
+ (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
+ (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
+ * write.c (adust_reloc_syms): Follow weakref link. Do not
+ complain if target is undefined.
+ (write_object_file): Likewise. Remove weakrefr symbols. Drop
+ unreferenced weakrefd symbols.
+ * config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
+ symbols EXTERNAL.
+ (pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
+ * config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
+ * doc/as.texinfo: Document weakref.
+ * doc/internals.texi: Document new struct members, internal
+ functions and hooks.
+
+2005-10-24 Jie Zhang <jie.zhang@analog.com>
+
+ * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
+ (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
+ * Makefile.in: Regenerate.
+ * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
+ * config/tc-bfin.c (md_chars_to_number): Change the type of first
+ argument from unsigned char * to char * to remove signedness warnings.
+
+2005-10-24 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
+ (dot_rot): Change type of num_* variables. Check for positive count.
+ (ia64_optimize_expr): Re-structure.
+ (md_operand): Check for general register.
+
+2005-10-24 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (declare_register): Call symbol_create.
+ (md_begin): Remove local variables total, ar_base, and cr_base.
+ Start loops for registers at their respective first one. Don't
+ update md.regsym for alias names. Generate alias name tp for r13.
+
+2005-10-21 DJ Delorie <dj@redhat.com>
+
+ * config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print
+ names unstead of numbers.
+
+2005-10-19 David Ung <davidu@mips.com>
+
+ * config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
+ into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
+ hence avoiding to emit a nop.
+
+2005-10-19 Jie Zhang <jie.zhang@analog.com>
+
+ * config/tc-bfin.c (md_begin): Let the lex_type of '(' be
+ LEX_BEGIN_NAME.
+ (bfin_start_line_hook): Remove the workaround for LSETUP(.
+ (bfin_name_is_register): Remove the workarounds for LSETUP(
+ and SAA(.
+ (bfin_start_label): Ditto.
+
+2005-10-18 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_end_directive): Restore
+ default_lit_sections regardless of use_literal_section.
+
+2005-10-18 Jie Zhang <jie.zhang@analog.com>
+
+ * Makefile.am (bfin-lex.c): Update ylwrap invocation.
+ * Makefile.in: Regenerated.
+
+2005-10-18 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * doc/as.texinfo (.loc) Fix placement of '@end table'.
+
+2005-10-17 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
+ unsigned line number. Do not include "dwarf2dbg.h".
+ * config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc".
+ (xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete.
+ (xg_build_to_insn, xg_build_token_insn): Update TInsn uses.
+ (md_assemble): Use as_where instead of dwarf2_where.
+ (xg_assemble_vliw_tokens): Use unsigned line numbers instead of
+ dwarf2_line_infos. Change to call new_logical_line followed by
+ dwarf2_emit_insn.
+
+2005-10-14 Mike Frysinger <vapier@gentoo.org>
+
+ * doc/as.texinfo (Section): Add missing ']' to .section example.
+
+2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR binutils/941
+ * config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
+ unknown opcode is found.
+
+2005-10-12 Mark Mitchell <mark@codesourcery.com>
+
+ * NEWS: Mention @file.
+
+2005-10-12 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-avr.c: Convert to ISO C90 format. Fix formatting and
+ generally tidy up the code.
+ * config/tc-avr.h: Likewise.
+
+2005-10-12 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
+ (dot_pred_rel): Likewise.
+ (parse_operand): Likewise.
+ (ia64_unrecognized_line): Likewise.
+ (md_operand): Likewise.
+
+2005-10-11 Jan Beulich <jbeulich@novell.com>
+
+ * expr.h (enum expr_mode): New.
+ (expression): Pass third argument to expr.
+ (expression_and_evaluate): New.
+ (deferred_expression): New.
+ (expr): Add third parameter.
+ (resolve_expression): New.
+ * struc-symbol.h (struct symbol): New members sy_volatile and
+ sy_forward_ref.
+ * symbols.c, symbols.h (symbol_clone): New.
+ (symbol_clone_if_forward_ref): New.
+ (snapshot_symbol): New.
+ (S_IS_VOLATILE): New.
+ (S_IS_FORWARD_REF): New.
+ (S_SET_VOLATILE): New.
+ (S_SET_FORWARD_REF): New.
+ * as.c (macro_expr): Use expression_and_evaluate.
+ * cond.c (s_if): Likewise.
+ (s_elseif): Likewise.
+ * dw2gencfi.c (cfi_parse_reg): Likewise.
+ * expr.c (operand): Add second parameter. Optionally call
+ deferred_expression. Pass mode argument to itself and md_parse_name.
+ Check mode before trying to evaluate symbol. Call
+ symbol_clone_if_forward_ref for both operands.
+ (expr): Add third parameter. Pass mode to operand and itself.
+ Optionally call resolve_expression.
+ (resolve_expression): New.
+ (get_single_number): Pass second argument to operand.
+ * read.c (potable): New entry for .eqv.
+ (read_a_source_file): Handle new == operator.
+ (get_absolute_expr): Use expression_and_evaluate.
+ (s_lsym): Likewise.
+ (assign_symbol): Rename second parameter. Call symbol_clone on
+ legal and illegal redefinition. Call S_SET_VOLATILE and
+ S_SET_FORWARD_REF depending on mode.
+ (s_set): Update description.
+ (s_space): Call resolve_expression.
+ (pseudo_set): Optionally call deferred_expression. Check
+ S_IS_FORWARD_REF before trying to simplify/resolve an expression.
+ (equals): Handle ==.
+ * config/tc-ia64.h (md_parse_name): Add mode parameter.
+ * config/tc-arc.c (arc_parse_cons_expression): Likewise.
+ * config/tc-m32r.h (md_parse_name): Likewise.
+ (m32r_parse_name): Likewise.
+ * config/tc-mmix.h (md_parse_name): Likewise.
+ * config/tc-mn10300.h (md_parse_name): Likewise.
+ (mn10300_parse_name): Likewise.
+ * config/tc-ppc.h (md_parse_name): Likewise.
+ * config/tc-sh.h (md_parse_name): Likewise.
+ (sh_parse_name): Likewise.
+ * config/tc-sh64.h (md_parse_name): Likewise.
+ (sh64_consume_datalabel): Likewise.
+ * config/tc-tic54x.h (md_parse_name): Likewise.
+ * config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it
+ before trying to evaluate symbol.
+ * config/tc-mn10300.c (mn10300_parse_name): Likewise.
+ * config/tc-sh.c (sh_parse_name): Likewise.
+ * config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass
+ second argument to operandf. Pass mode parameter to sh_parse_name.
+ * doc/as.texinfo: Document .eqv and the == assignment operator.
+
+2005-10-10 Ian Lance Taylor <ian@airs.com>
+
+ * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
+ * Makefile.in: Regenerate.
+
+2005-10-10 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * expr.c (operator): Allow "!=" as a synonym for "<>".
+ * doc/as.texinfo (Infix Op): Mention "!=".
+
+2005-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * config/tc-hppa.c (strict): Don't initialize. Update comment.
+ (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
+ found. Simplify handling of "ma" and "mb" completers.
+
+2005-10-08 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
+ (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
+ New variables.
+ (arm_cpu_option_table): Add canonical_name.
+ (arm_cpus): Populate canonical_name field.
+ (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
+ aeabi_set_public_attributes, arm_md_end): New functions.
+ (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
+ (md_assemble): Set thumb_arch_used and arm_arch_used.
+ (md_begin): Set defaut cpu if CPU_DEFAULT not defined.
+ * config/tc-arm.h (md_end): Define.
+ * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
+
+2005-10-06 Khem Raj <kraj@mvista.com>
+ NIIBE Yutaka <gniibe@m17n.org>
+
+ * config/tc-sh.c (allow_dollar_register_prefix): New variable.
+ (parse_reg_without_prefix): New function.
+ (parse_reg): Check for '$' register prefix if --allow-reg-prefix is
+ set.
+ (option md_longopts): Add allow-reg-prefix option.
+ * doc/c-sh.texi: Document --allow-reg-prefix option.
+ * NEWS: Mention the new switch.
+
+2005-10-03 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * doc/as.texinfo (Infix Ops): '<' and '>' are not shift
+ operators.
+
+2005-09-30 Sterling Augustine <sterling@tensilica.com>
+ Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
+
+2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerated.
+ * aclocal.m4: Likewise.
+
+2005-09-30 Mark Mitchell <mark@codesourcery.com>
+
+ * as.c (main): Use expandargv.
+
+2005-09-30 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
+ (removed) comma.
+
+2005-09-30 Catherine Moore <clm@cm00re.com>
+
+ * Makefile.am: Bfin support.
+ * Makefile.in: Regenerated.
+ * aclocal.m4: Regenerated.
+ * configure: Regenerated.
+ * configure.in: Bfin support.
+ * configure.tgt: Bfin support.
+ * config/bfin-aux.h: New file.
+ * config/bfin-defs.h: New file.
+ * config/bfin-lex.l: New file.
+ * config/bfin-parse.y: New file.
+ * config/tc-bfin.c: New file.
+ * config/tc-bfin.h: New file.
+ * doc/Makefile.am: Recognize c-bfin.texi.
+ * doc/Makefile.in: Regenerated.
+ * doc/all.texi: Bfin support.
+ * doc/as.texinfo: Likewise.
+ * doc/c-bfin.texi: Document bfin-specific syntax and
+ directives.
+
+2005-09-30 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
+ (opcode_lookup): Handle OT_cinfix3_legacy. Revert earlier change for
+ normal infix conditions.
+ (C3E): Include Thumb-2 definition.
+ (CL, cCL): Define.
+ (insns): Use them for legacy mnemonics.
+
+2005-09-30 Matthias Kurz <mk@baerlap.north.de>
+
+ * asintl.h: Prevent the inclusion of <libintl.h> from the Solaris
+ version of <locale.h> when ENABLE_NLS is not defined.
+
+2005-09-29 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_operands): Always parse first operand of
+ alloc.
+
+2005-09-29 Arnold Metselaar <arnold.metselaar@planet.nl>
+ Alan Modra <amodra@bigpond.net.au>
+
+ * app.c (do_scrub_chars): Match open and close quote of strings.
+ Remove redundant EOF test in case 7.
+
+2005-09-28 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (reloc): Disable signedness check for 4-byte
+ relocations in 16- and 32-bit modes.
+ (i386_displacement): Make pc-relative branch handling dependent
+ upon operand (rather than address) size.
+
+2005-09-28 Jan Beulich <jbeulich@novell.com>
+
+ * dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
+ parsing the input.
+ (dot_cfi_startproc): Likewise.
+ (dot_cfi_endproc): Likewise. Also check no extra input was given.
+ (dot_cfi_escape): Likewise.
+
+2005-09-28 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
+ (TC_CONS_FIX_NEW): Define unconditionally.
+ (x86_pe_cons_fix_new): Remove.
+ * config/tc-i386.c (signed_cons): New.
+ (md_pseudo_table): Add slong.
+ (x86_cons_fix_new): Declare unconditionally.
+ (x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
+ (tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
+ conversion.
+
+2005-09-28 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
+ buffer after copying string.
+
+2005-09-27 Paul Brook <paul@codesourcery.com>
+
+ * config/arm.c (arm_cpus): Add more cpu names.
+ * doc/c-arm.texi: Document them.
+
+2005-09-21 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (pseudo_set): Don't set undefined symbols to expr_section.
+
+2005-09-20 Richard Henderson <rth@redhat.com>
+
+ * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
+
+2005-09-20 Richard Henderson <rth@redhat.com>
+
+ * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
+ with label.
+ (dwarf2_loc_mark_labels): New.
+ (dwarf2_gen_line_info_1): Split out of ...
+ (dwarf2_gen_line_info): ... here. Create the temp symbol here.
+ (dwarf2_emit_label): New.
+ (dwarf2_directive_loc_mark_labels): New.
+ (out_set_addr): Take a symbol instead of frag+ofs.
+ (relax_inc_line_addr): Likewise.
+ (emit_inc_line_addr): Assert delta non-negative.
+ (process_entries): Remove dead code. Update to work with temp
+ symbols instead of frag+ofs.
+ * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
+ (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
+ * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
+ * config/obj-elf.h (obj_frob_label): New.
+ * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
+ * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
+ config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
+ Similarly in the respective tc_frob_label implementation functions.
+ * config/tc-i386.c (md_pseudo_table): Move file and loc to
+ non-elf section; add loc_mark_labels.
+ * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
+ (ia64_flush_insns): Check for marked labels; emit line entry if so.
+ (emit_one_bundle): Similarly.
+ (ia64_frob_label): Record marked labels.
+ * config/tc-m68hc11.h (tc_frob_label): Remove.
+ * config/tc-ms1.c (md_pseudo_table): Remove file and loc.
+ * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
+ * config/tc-sh64.h (tc_frob_label): Likewise.
+ * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
+
+2005-09-20 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (pseudo_set): Set segment of expression syms to expr_section.
+
+2005-09-14 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
+ registers, floating point control and status words, and mxcsr as
+ well as (for 64-bit code) segment base registers and rflags.
+
+2005-09-09 Dmitry Diky <diwil@spec.ru>
+
+ * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
+ (msp430_relax_frag): add a guard check to ensure that final fr_subtype
+ has been reached.
+
+2005-09-08 Chao-ying Fu <fu@mips.com>
+
+ * doc/as.texinfo: Document -mdsp and -mno-dsp options.
+ * doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
+ directives.
+
+2005-09-08 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (do_smi, do_t_smi): Rename ...
+ (do_smc, do_t_smc): ... to this.
+ (insns): Remane smi to smc.
+ (md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
+ BFD_RELOC_ARM_SMC.
+
+2005-09-07 Richard Henderson <rth@redhat.com>
+
+ * dwarf2dbg.c (dwarf2_where): Set line->isa.
+ (dwarf2_set_isa): New.
+ (dwarf2_directive_loc): Rearrange to allow all options on one line.
+ * dwarf2dbg.h (dwarf2_set_isa): Declare.
+ * doc/as.texinfo: Update .loc documentation.
+
+2005-09-07 Richard Henderson <rth@redhat.com>
+
+ * dwarf2dbg.c: Include safe-ctype.h.
+ (DWARF2_LINE_OPCODE_BASE): Bump to 13.
+ (current): Initialize.
+ (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
+ DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
+ (dwarf2_directive_file): Cope with invalid filename.
+ (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
+ epilogue_begin, is_stmt, isa.
+ (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
+ case down lower.
+ (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
+ and DWARF2_FLAG_EPILOGUE_BEGIN.
+ (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
+ DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
+ * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.
+ (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
+ (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
+ (struct dwarf2_line_info): Add isa member.
+ * doc/as.texinfo (LNS directives): New node.
+
+2005-09-07 David Ung <davidu@mips.com>
+
+ * config/tc-mips.c (append_insn): Undo last change. Instead add
+ guard to suppress calling frag_grow if the current instruction is
+ one that allows a delay slot.
+
+2005-09-06 Chao-ying Fu <fu@mips.com>
+
+ * config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
+ (mips_opts): Add -1 to initialize ase_mt.
+ (file_ase_mt): New variable for -mmt.
+ (CPU_HAS_MT): New define.
+ (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
+ formats.
+ (mips_ip): Check ase_mt to enable MT instructions.
+ Handle !, $, *, &, +T, +t, g operand formats.
+ For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
+ odd float registers.
+ (OPTION_MT, OPTION_NO_MT): New define.
+ (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
+ (md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
+ (mips_after_parse_args): Set ase_mt based on CPU.
+ (s_mipsset): Handle ".set mt" and ".set nomt".
+ (mips_elf_final_processing): Remind of adding new flag for MT ASE.
+ (md_show_usage): Show usage of -mmt and -mno-mt.
+ * doc/as.texinfo: Document -mmt and -mno-mt options.
+ * doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
+ directives.
+
+2005-09-06 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (arm_it): Add relax field.
+ (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
+ b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
+ (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
+ do_t_mov_cmp): Allow relaxation.
+ (output_relax_insn): New function.
+ (put_thumb32_insn): New function.
+ (output_inst): Use new functions.
+ (md_assemble): Don't throw error on relaxable instructions.
+ (insns): Change "b" entry from TCE(...) to tCE(...).
+ (md_estimate_size_before_relax): Return 2.
+ (md_convert_frag, relax_immediate, relax_adr, relax_addsub,
+ relax_branch, arm_relax_frag): New functions.
+ (arm_force_relocation): Return 0 for Thumb-2 immediate operand
+ relocations.
+ * config/tc-arm.h (md_convert_frag): Remove definition.
+ (md_relax_frag): Define.
+ (arm_relax_frag): Add prototype.
+
+2005-09-02 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
+
+2005-09-02 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (encode_arm_cp_address): Use
+ BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
+ (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
+ mode.
+ (md_assemble): Only allow coprocessor instructions when Thumb-2 is
+ available.
+ (cCE, cC3): Define.
+ (insns): Use them for coprocessor instructions.
+ (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
+ (get_thumb32_insn): New function.
+ (put_thumb32_insn): New function.
+ (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
+ BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
+
+2005-09-02 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (opcode_lookup): Look for infix opcode when
+ incorrect suffix matches.
+
+2005-09-01 David Ung <davidu@mips.com>
+
+ * config/tc-mips.c (append_insn): Correctly handle mips16 case
+ when the frags are different for the 2 instructions we want to
+ swap. If the lengths of the 2 instructions are not the same, we
+ won't do the swap but emit an nop.
+
+2005-09-01 Dmitry Diky <diwil@spec.ru>
+
+ * config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
+ as appropriate. Change frag_variant() to frag_var() for relaxes.
+
+2005-08-29 Nick Clifton <nickc@redhat.com>
+
+ * write.c (generic_force_reloc): Do not call S_FORCE_RELOC if
+ there is no symbol.
+
+2005-08-26 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
+ qualified operand of a branch.
+ (intel_bracket_expr): Set JumpAbsolute here...
+ (intel_e11): ... rather than here.
+
+2005-08-26 Christian Groessler <chris@groessler.org>
+
+ * configure.tgt: Set bfd_gas also for z8k cpu.
+ * config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine
+ type.
+ (newfix): Adapt to bfd reloc types.
+ (build_bytes): Adapt to bfd reloc types. Ensure that enough space
+ is available in the current frag.
+ (md_convert_frag): Adapt function parameters.
+ (tc_gen_reloc): New function.
+ (md_section_align): Use bfd_get_section_alignment.
+ (md_apply_fix): Adapt to bfd reloc types. Fix handling of
+ BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32
+ relocations.
+ * config/tc-z8k.h (TARGET_ARCH): Define.
+ (tc_fix_adjustable): Define.
+
+2005-08-25 Chao-ying Fu <fu@mips.com>
+
+ * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
+ (mips_opts): Add -1 to initialize ase_dsp.
+ (file_ase_dsp): New variable for -mdsp.
+ (CPU_HAS_DSP): New define.
+ (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
+ operand formats.
+ (mips_ip): Add min_range and max_range for checking singed numbers.
+ Check ase_dsp to enable DSP instructions.
+ Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
+ (OPTION_DSP, OPTION_NO_DSP): New define.
+ (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
+ (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
+ (mips_after_parse_args): Set ase_dsp based on CPU.
+ (s_mipsset): Handle ".set dsp" and ".set nodsp".
+ (mips_elf_final_processing): Remind of adding new flag for DSP ASE.
+ (md_show_usage): Show usage of -mdsp and -mno-dsp.
+
+2005-08-23 David Ung <davidu@mips.com>
+
+ * config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
+ cpu names.
+
+2005-08-23 Alan Modra <amodra@bigpond.net.au>
+
+ PR 1036
+ * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
+
+2005-08-23 Phil Edwards <phil@codesourcery.com>
+
+ * configure.tgt (*-*-vxworks): Match vxworks* instead.
+
+2005-08-22 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (object_64bit): New.
+ (i386_target_format): Initialize it.
+ (output_disp): Use object_64bit for relocation type determination.
+ (output_imm): Likewise.
+ (i386_validate_fix): Likewise.
+ (tc_gen_reloc): Likewise.
+ (lex_got): Likewise. Remove static mode_name. Change array size
+ of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
+ (x86_cons): Use object_64bit for deciding whether quad fields can
+ have relocations.
+
+2005-08-18 Christian Groessler <chris@groessler.org>
+
+ * config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
+ * config/tc-mcore.h: Likewise.
+ * config/tc-z8k.h: Likewise.
+ * config/tc-z8k.c: Likewise.
+ * config/tc-sh.h: Remove TC_RELOC_MANGLE and
+ sh_coff_reloc_mangle declaration.
+ * config/tc-sh.c: (md_apply_fix): Fix comment for case
+ BFD_RELOC_SH_USES.
+
+2005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
+ to confirm that no ISA is specified.
+
+2005-08-18 Nick Clifton <nickc@redhat.com>
+
+ * write.c (relax_segment): Count the number of frags being
+ processed and use this to compute a maximum limit on the number of
+ iterations that will be allowed when attempting to relax the
+ segment.
+
+2005-08-17 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/obj-coff.c (obj_coff_weak): Set auxiliary record
+ of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
+
+2005-08-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
+ default cpu.
+
+2005-08-15 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
+ instructions.
+ (do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
+
+2005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/tc-ppc.c (parse_cpu): Add -me300 support.
+ (md_show_usage): Likewise.
+ * doc/c-ppc.texi (PowerPC-Opts): Document it.
+
+2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (md_parse_option): Add cpu type z9-109.
+ (md_gather_operands): Add support for optional operands.
+
+2005-08-12 Dmitry Diky <diwil@spec.ru>
+ * config/tc-msp430.c (msp430_enable_relax): New flag.
+ (msp430_enable_polys): Likewise.
+ (OPTION_RELAX): New option.
+ (OPTION_POLYMORPHS): Likewise.
+ (md_longopts): New long options.
+ (md_show_usage): Updated.
+ (md_parse_option): Add new options handler.
+ (msp430_operands): Add check if polymorph insns are enabled.
+ (msp430_force_relocation_local): New function.
+ (md_apply_fix): Now delete relocs according to new flags combination.
+ (msp430_relax_frag): Convert long branches to short branches only if
+ flag msp430_enable_relax is set.
+ * config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
+ (msp430_force_relocation_local): Likewise.
+ * doc/c-msp430.texi: Describe new options.
+
+2005-08-11 Ian Lance Taylor <ian@airs.com>
+
+ * Makefile.am ($(srcdir)/make-gas.com): Remove target.
+ (stamp-mk.com): Likewise.
+ (EXTRA_DIST): Remove make-gas.com from list.
+ (MOSTLYCLEANFILES): Remove stamp-mk.com from list.
+ * Makefile.in: Regenerate.
+
+2005-08-11 Hans-Peter Nilsson <hp@axis.com>
+
+ * subsegs.c (subseg_change): Move declaration of seginfo to before
+ first statement.
+
+2005-08-11 Alan Modra <amodra@bigpond.net.au>
+
+ * README-vms: Delete.
+ * config-gas.com: Delete.
+ * makefile.vms: Delete.
+ * vmsconf.sh: Delete.
+ * config/atof-tahoe.c: Delete.
+ * config/m88k-opcode.h: Delete.
+ * config/obj-bout.c: Delete.
+ * config/obj-bout.h: Delete.
+ * config/obj-hp300.c: Delete.
+ * config/obj-hp300.h: Delete.
+ * config/tc-a29k.c: Delete.
+ * config/tc-a29k.h: Delete.
+ * config/tc-h8500.c: Delete.
+ * config/tc-h8500.h: Delete.
+ * config/tc-m88k.c: Delete.
+ * config/tc-m88k.h: Delete.
+ * config/tc-tahoe.c: Delete.
+ * config/tc-tahoe.h: Delete.
+ * config/tc-tic80.c: Delete.
+ * config/tc-tic80.h: Delete.
+ * config/tc-w65.c: Delete.
+ * config/tc-w65.h: Delete.
+ * config/te-aux.h: Delete.
+ * config/te-delt88.h: Delete.
+ * config/te-delta.h: Delete.
+ * config/te-dpx2.h: Delete.
+ * config/te-hp300.h: Delete.
+ * config/te-ic960.h: Delete.
+ * config/vms-a-conf.h: Delete.
+ * doc/c-a29k.texi: Delete.
+ * doc/c-h8500.texi: Delete.
+ * doc/c-m88k.texi: Delete.
+ * README: Remove obsolete examples, and list of supported targets.
+ * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65,
+ bout and hp300 support.
+ (DEP_FLAGS): Don't define BFD_ASSEMBLER.
+ * configure.in: Remove --enable-bfd-assembler, need_bfd,
+ primary_bfd_gas.
+ * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf,
+ m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy.
+ * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets.
+ * as.h: Likewise.
+ * dw2gencfi.c: Likewise.
+ * dwarf2dbg.c: Likewise.
+ * ehopt.c: Likewise.
+ * input-file.c: Likewise.
+ * listing.c: Likewise.
+ * literal.c: Likewise.
+ * messages.c: Likewise.
+ * obj.h: Likewise.
+ * output-file.c: Likewise.
+ * read.c: Likewise.
+ * stabs.c: Likewise.
+ * struc-symbol.h: Likewise.
+ * subsegs.c: Likewise.
+ * subsegs.h: Likewise.
+ * symbols.c: Likewise.
+ * symbols.h: Likewise.
+ * tc.h: Likewise.
+ * write.c: Likewise.
+ * write.h: Likewise.
+ * config/aout_gnu.h: Likewise.
+ * config/obj-aout.c: Likewise.
+ * config/obj-aout.h: Likewise.
+ * config/obj-coff.c: Likewise.
+ * config/obj-coff.h: Likewise.
+ * config/obj-evax.h: Likewise.
+ * config/obj-ieee.h: Likewise.
+ * config/tc-arm.c: Likewise.
+ * config/tc-arm.h: Likewise.
+ * config/tc-avr.c: Likewise.
+ * config/tc-avr.h: Likewise.
+ * config/tc-crx.h: Likewise.
+ * config/tc-d10v.h: Likewise.
+ * config/tc-d30v.h: Likewise.
+ * config/tc-dlx.h: Likewise.
+ * config/tc-fr30.h: Likewise.
+ * config/tc-frv.h: Likewise.
+ * config/tc-h8300.c: Likewise.
+ * config/tc-h8300.h: Likewise.
+ * config/tc-hppa.h: Likewise.
+ * config/tc-i370.h: Likewise.
+ * config/tc-i386.c: Likewise.
+ * config/tc-i386.h: Likewise.
+ * config/tc-i860.h: Likewise.
+ * config/tc-i960.c: Likewise.
+ * config/tc-i960.h: Likewise.
+ * config/tc-ip2k.h: Likewise.
+ * config/tc-iq2000.h: Likewise.
+ * config/tc-m32c.h: Likewise.
+ * config/tc-m32r.h: Likewise.
+ * config/tc-m68hc11.h: Likewise.
+ * config/tc-m68k.c: Likewise.
+ * config/tc-m68k.h: Likewise.
+ * config/tc-maxq.c: Likewise.
+ * config/tc-maxq.h: Likewise.
+ * config/tc-mcore.c: Likewise.
+ * config/tc-mcore.h: Likewise.
+ * config/tc-mn10200.h: Likewise.
+ * config/tc-mn10300.c: Likewise.
+ * config/tc-mn10300.h: Likewise.
+ * config/tc-ms1.h: Likewise.
+ * config/tc-msp430.c: Likewise.
+ * config/tc-msp430.h: Likewise.
+ * config/tc-ns32k.c: Likewise.
+ * config/tc-ns32k.h: Likewise.
+ * config/tc-openrisc.h: Likewise.
+ * config/tc-or32.c: Likewise.
+ * config/tc-or32.h: Likewise.
+ * config/tc-ppc.c: Likewise.
+ * config/tc-ppc.h: Likewise.
+ * config/tc-s390.h: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-sh.h: Likewise.
+ * config/tc-sparc.c: Likewise.
+ * config/tc-tic30.c: Likewise.
+ * config/tc-tic30.h: Likewise.
+ * config/tc-tic4x.c: Likewise.
+ * config/tc-tic4x.h: Likewise.
+ * config/tc-tic54x.c: Likewise.
+ * config/tc-tic54x.h: Likewise.
+ * config/tc-v850.h: Likewise.
+ * config/tc-vax.c: Likewise.
+ * config/tc-vax.h: Likewise.
+ * config/tc-xstormy16.h: Likewise.
+ * config/tc-xtensa.h: Likewise.
+ * config/tc-z8k.c: Likewise.
+ * config/tc-z8k.h: Likewise.
+ * config/vms-a-conf.h
+ * doc/Makefile.am: Likewise.
+ * doc/all.texi: Likewise.
+ * doc/as.texinfo: Likewise.
+ * doc/internals.texi: Likewise.
+ * doc/Makefile.in: Regenerate.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * po/POTFILES.in: Regenerate.
+
+2005-08-09 Nick Clifton <nickc@redhat.com>
+
+ PR 1070
+ * macro.c (getstring): Do not treat round parentheses exactly the
+ same as angle brackets - the parentheses need to be preserved and
+ passed on to the macro processing code.
+
+2005-08-08 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-msp430.c (MSP430_ISA_21): Define.
+ (mcu_types): Add entries for msp430x21xx variants.
+
+2005-08-08 Nick Clifton <nickc@redhat.com>
+
+ PR 1070
+ * macro.c (getstring): Treat round parentheses in the same way as
+ angle brackets.
+ (get_any_string): Likewise.
+