+2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
+
+ * doc/t-mt.texi: Update MS1 to MT.
+
+2005-12-16 Nathan Sidwell <nathan@codesourcery.com>
+
+ Second part of ms1 to mt renaming.
+ * configure: Rebuilt.
+ * configure.in (mt): Remove special case.
+ * config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change
+ #includes.
+ (mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures):
+ Rename, adjust.
+ (md_parse_option, md_show_usage, md_begin, md_assemble,
+ md_cgen_lookup_reloc, md_atof): Adjust.
+ (mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust.
+ * config/tc-mt.h (TC_MT): Rename.
+ (LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust.
+ (md_apply_fix): Adjust.
+ (mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename.
+ (TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust.
+
+2005-12-14 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (add_prefix): More fine-grained handling of
+ REX prefixes. Or new prefix value into i.prefix instead of
+ assigning.
+
+2005-12-13 DJ Delorie <dj@redhat.com>
+
+ * config/tc-m32c.c (m32c_md_end): Only pad code sections.
+
+2005-12-12 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (do_branch): Generate EABI branch relocations.
+ (do_bl): New function.
+ (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
+ (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
+ (insns): Use do_bl.
+ (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
+ BFD_RELOC_ARM_PCREL_JUMP.
+ (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
+ BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and
+ BFD_RELOC_ARM_PCREL_JUMP.
+ (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
+ BFD_RELOC_ARM_PCREL_JUMP.
+ gas/testsuite/
+ * gas/arm/pic.d: Allow R_ARM_CALL relocations.
+
+2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
+
+ * configure.in: Replace ms1 arch with mt arch.
+ * configure: Rebuilt.
+ * configure.tgt: Replace ms1 arch with mt arch.
+ * config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
+ * doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
+ * doc/Makefile.in: Rebuilt.
+
+2005-12-07 Hans-Peter Nilsson <hp@axis.com>
+
+ Change 32-bit-branch expansion for --pic.
+ * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
+ (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
+ (cris_any_v0_v10_long_jump_size_pic): New macro.
+ (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
+ (md_convert_frag): Similar.
+ (md_create_long_jump): Change 32-bit-branch expansion for --pic.
+ (md_assemble, gen_cond_branch_32): Adjust similarly.
+ (md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
+ <case OPTION_ARCH>: Similar, if --pic.
+
+2005-12-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/1874
+ * config/tc-i386.c (match_template): Handle monitor.
+ (process_suffix): Likewise.
+
+2005-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ Bug gas/1948
+ * symbols.c (colon): Also check if now_seg is bss_section when a symbol
+ is being redefined.
+
+2005-12-02 Arnold Metselaar <arnoldm@sourceware.org>
+
+ * config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
+
+2005-11-26 Arnold Metselaar <arnoldm@sourceware.org>
+
+ * config/tc-z80.c (z80_start_line_hook): issue an error when
+ redefining a symbol with equ
+ * doc/as.texinfo(equ<z80>): mention difference with .equiv
+ * doc/as.texinfo(err): fix typo
+ * doc/c-z80.texi(equ): redefining a symbol with equ is no longer
+ allowed
+
+2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ Bug gas/1896
+ * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
+ R_HPPA relocations that are 32-bits wide.
+
+2005-11-23 Daniel Jacobowitz <dan@codesourcery.com>
+ Thiemo Seufer <ths@networkno.de>
+
+ * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
+ (macro_build): Complain for invalid branch displacements.
+ (mips_validate_fix): Delete.
+ (md_apply_fix): Re-add pcrel support for branches. Use consistent
+ text for misaligned branch targets.
+ (tc_gen_reloc: Re-add pcrel support for branches. Handle strange
+ BFD pcrel processing. Remove error for unresolved branches.
+ * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
+
+2005-11-22 James E Wilson <wilson@specifix.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
+ even when manual_bundling isn't set.
+
+ * config/tc-ia64.c (slot_index): Emit an error instead of a warning
+ when the frag chain is broken by section switching.
+
+2005-11-18 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
+ * config/bfin-parse.y (asm_1): Check register type for load immediate
+ instruction.
+
+2005-11-17 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
+ dotname.
+ * write.c (write_object_file): Do not remove used weakrefd.
+
+2005-11-17 Jan Beulich <jbeulich@novell.com>
+
+ * dw2gencfi.c (dot_cfi): Put argument parsing for cases
+ DW_CFA_restore and DW_CFA_undefined in a loop.
+
+2005-11-17 Jan Beulich <jbeulich@novell.com>
+
+
+ * symbols.h (S_CLEAR_VOLATILE): Declare.
+ * symbols.c (colon): Also accept redefinable symbols for
+ redefinition. Clone them before modifying.
+ (S_CLEAR_VOLATILE): Define.
+ * cond.c (s_ifdef): Also test for equated symbols.
+ * read.c (s_comm_internal): Also exclude non-redefinable
+ equated symbols. Clone redefinable ones before modifying.
+ (s_weakref): Clone redefinable symbols before modifying.
+ * doc/internals.texi: Document sy_volatile, sy_forward_ref,
+ S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
+ S_IS_FORWARD_REF, and S_SET_FORWARD_REF.
+
+2005-11-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
+
+2005-11-16 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.tgt (i386-*-gnu*): Set em=gnu.
+ * config/te-gnu.h: New file.
+ * config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
+
+2005-11-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
+ * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove
+ redundant check.
+ * read.c (s_lsym): Remove non-BFD assembler sym handling.
+
+2005-11-16 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (s_comm_internal): Set bfd_com_section segment.
+ (s_mri_common): Likewise.
+ * write.c (write_object_file): Remove non-BFD assembler common
+ sym handling.
+
+2005-11-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
+ opcode if r4-r15 are not saved.
+
+2005-11-15 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
+
+2005-11-14 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
+ AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
+ (ar): Use AR_* instead of literals.
+ (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
+ CR_PMV, CR_CMCV): Define.
+ (cr): Use CR_* instead of literals.
+
+2005-11-14 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (md): Rename regsym to indregsym and move
+ it to the end of the structure.
+ (ar): Field regnum is unsigned.
+ (cr): Likewise:
+ (indirect_reg): Likewise.
+ (declare_register_set): Parameter regnum is unsigned.
+ (declare_register): Parameter numregs and base_regnum are
+ unsigned. So is the local loop variable.
+ (md_begin): Restrict scope of local variable regnum, which
+ also is unsigned. Replace loops with function calls where
+ possible. Re-order things so that register groups are kept
+ together. Remove all uses of regsym except for indirect
+ registers. Replace use of regsym by indregsym for indirect
+ registers.
+ (ia64_optimize_expr): Replace use of regsym by indregsym for
+ indirect registers, with appropriate bias.
+
+2005-11-14 David Ung <davidu@mips.com>
+
+ * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
+ for the MIPS16e save/restore instructions.
+
+2005-11-11 Jan Beulich <jbeulich@novell.com>
+
+ * doc/Makefile.am: Make asconfig.texi writeable before trying
+ to write to it.
+ * doc/Makefile.in: Refresh.
+
+2005-11-10 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (intel_e11): Don't special-case segment
+ registers in brackets.
+
+2005-11-10 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (BAD_ADDR_MODE): Define.
+ (arm_reg_parse_multi): Return NULL rather than FAIL.
+ (arm_reg_parse): Fix comment, the function returns FAIL rather
+ than NULL if it is unable to parse the register name.
+ (do_ldrex): Use BAD_ADDR_MODE.
+ Change error message for PC-relative addressing.
+ (do_strex): Likewise.
+ (do_t_ldrex): Use BAD_ADDR_MODE.
+ (do_t_strex): Likewise.
+
+2005-11-08 Jean-Jacques Metayer <jean-jacques.metayer@thomson.net>
+
+ * config/tc-sparc.c (isoctal): Fix thinko.
+
+2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than
+ flag_mri_m68k as condition for parsing the '$' as a prefix.
+ * as.h (DOLLAR_AMBIGU): Define if needed.
+
+2005-11-08 Nathan Sidwell <nathan@codesourcery.com>
+
+ Add ms2 support.
+ * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
+ (ms1_architectures): Add ms2.
+ (md_parse_option): Add ms2.
+ (md_show_usage): Add ms2.
+ (md_assemble): Add JAL_HAZARD detection logic.
+ (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
+ * doc/c-ms1.texi: New.
+ * doc/all.texi: Add MS1.
+ * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
+ * doc/Makefile.in: Rebuilt.
+ * doc/Makefile: Rebuilt.
+
+2005-11-07 Steve Ellcey <sje@cup.hp.com>
+
+ * configure: Regenerate after modifying bfd/warning.m4.
+
+2005-11-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR gas/1804
+ * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
+ output constant data.
+
+2005-11-07 Mark Mitchell <mark@codesourcery.com>
+
+ * doc/Makefile.am (asconfig.texi): Set top_srcdir.
+ * doc/Makefile.in: Regenerated.
+ * doc/as.texinfo: Document "@FILE".
+
+2005-11-07 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/1568
+ * config/obj-coff.c (obj_coff_section): Set readonly flag with the
+ 'x' attribute. Remember the actions of the 'w' and 'n' attributes
+ and do not allow the 'x','s' or 'd' attributes to change them.
+
+2005-11-07 John Levon <levon@movementarian.org>
+
+ * config/tc-i386.h (tc_comment_chars): Define.
+ * config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
+ (i386_comment_chars): Add.
+ (md_parse_options): Process OPTION_DIVIDE.
+ (md_show_usage): Describe --divide option.
+ * doc/c-i386.texi: Document --divide option.
+
+2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
+ * config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
+
+2005-11-07 Alan Modra <amodra@bigpond.net.au>
+
+ * macro.c (buffer_and_nest): Skip labels regardless of
+ NO_PSEUDO_DOT and flag_m68k_mri.
+
+2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl>
+
+ * expr.c (integer_constant): Match only 'B' as binary suffix if
+ NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B'
+ otherwise.
+
+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
* doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
2005-10-06 Khem Raj <kraj@mvista.com>
- NIIBE Yutaka <gniibe@m17n.org>
+ NIIBE Yutaka <gniibe@m17n.org>
* config/tc-sh.c (allow_dollar_register_prefix): New variable.
(parse_reg_without_prefix): New function.