* frags.c (frag_more): Move segment checks to..
[binutils-gdb.git] / gas / ChangeLog
index 3a2383fa54d581e00dc7393a0e6a2543a0288c43..62e0987a9764e9019f725e6874bd7fc4ea7373c1 100644 (file)
@@ -1,7 +1,776 @@
+2003-07-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * frags.c (frag_more): Move segment checks to..
+       (frag_alloc_check): ..here.  New function.
+       (frag_append_1_char): Call frag_alloc_check.
+
+2003-07-14  Nick Clifton  <nickc@redhat.com>
+
+       * po/tr.po: Update with latest version.
+       * po/POTFILES.in: Regenerate.
+       * po/gas.pot: Regenerate.
+       * configure: Regenerate.
+
+2003-07-14  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-ip2k.c: Remove inclusion of <ctype.h>
+       * config/tc-tic4x.c: Replace inclusion of <ctype.h> with
+       "safe-ctype.h" and update use of macros.
+       * Makefile.am: Update dependencies.
+       * Makefile.in: Regenerate.
+
+2003-07-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/gas.pot: Regenerate.
+
+2003-07-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
+       (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
+       tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
+       DWARF2_CIE_DATA_ALIGNMENT): Define.
+       (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
+       prototypes.
+       (ppc_cie_data_alignment): Declare.
+       * config/tc-ppc.c: Include dw2gencfi.h.
+       (ppc_cie_data_alignment): Define.
+       (md_begin): Initialize ppc_cie_data_alignment.
+       (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
+       functions.
+       * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
+       (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
+       tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
+       DWARF2_CIE_DATA_ALIGNMENT): Define.
+       (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
+       New prototypes.
+       (s390_cie_data_alignment): Declare.
+       * config/tc-s390.c: Include dw2gencfi.h.
+       (s390_cie_data_alignment): Define.
+       (md_begin): Initialize s390_cie_data_alignment.
+       (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
+       New functions.
+
+2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
+       2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
+       * configure.in (am33_2.0, mn10300-*-linux*): Added.
+       * configure: Rebuilt.
+       * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
+       elf32-am33lin.
+       * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
+       by default.
+
+2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       2003-02-25  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type
+       for subtracts from GLOBAL_OFFSET_TABLE that could not be
+       simplified.
+       2002-07-18  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that
+       could not be simplified.
+       (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset.
+       2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust
+       BDF_RELOC_MN10300_GOT32.
+       * config/tc-mn10300.c (mn10300_fix_adjustable): If
+       TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable.
+       2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.c (mn10300_parse_name): Don't return a
+       symbol if we know its value.
+       2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove
+       duplicate underscore prefix.
+       2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.c (mn10300_parse_name): Store relocation
+       type in X_md, not X_add_number.  Zero X_add_number.
+       (mn10300_check_fixup): Extract relocation type from X_md.
+       * config/tc-mn10300.h: Update comment.
+       2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
+       * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with...
+       (O_PIC_reloc): this.
+       * config/tc-mn10300.c (mn10300_PIC_related_p): Use it.
+       (mn10300_check_fixup): Likewise.
+       (mn10300_parse_name): Set X_add_number to relocation type.
+       * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
+       TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW,
+       O_GOTOFF, O_PLT, O_GOT): Define.
+       * config/tc-mn10300.c (mn10300_PIC_related_p): New fn.
+       (mn10300_check_fixup): New fn.
+       (md_assemble): Call it.  Check for PIC-related relocs.
+       (mn10300_cons_fix_new): Likewise.  New fn.
+       (mn10300_end_of_match): New fn.
+       (mn10300_md_parse_name_cont): New fn.
+
+2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       2000-05-25  Alexandre Oliva  <aoliva@cygnus.com>
+       * config/tc-mn10300.c (mn10300_insert_operand): Negate negative
+       accumulator's shift.
+       2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
+       * config/tc-mn10300.c (md_relax_table, md_convert_frag,
+       md_assemble, md_estimate_size_before_relax): Handle fbCC.
+       2000-04-20  Alexandre Oliva  <aoliva@cygnus.com>
+       * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
+       HAVE_AM33_2.
+       2000-04-03  Alexandre Oliva  <aoliva@cygnus.com>
+       * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
+       (HAVE_AM33): Match AM33_2 too.
+       (HAVE_AM33_2): New macro.
+       (md_assemble): Use it.  Match 2.0 registers only if HAVE_AM33_2.
+       2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
+       * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
+       (float_registers, double_registers): New variables.
+       (float_register_name, double_register_name): New functions.
+       (md_assemble): Recognize FP registers.  Implement FMT_D3.
+       (mn10300_insert_operand): Support FP registers.
+
+2003-07-08  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (mips_validate_fix): Do not warn about branch
+       target being a global symbol if not compiling SVR4 PIC code.
+
+2003-07-07  Nick Clifton  <nickc@redhat.com>
+
+       * doc/c-m32r.texi (M32R-Directives): New node.  Document the
+       .high, .shigh and .low directives.
+
+2003-07-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8300.c (h8300sxnmode): Add prototype.
+       (DSYMMODE): Remove.
+       (parse_exp): Replace expressionS argument with a h8_op.  Parse the
+       operand size as well.
+       (skip_colonthing): Remove unused expression argument.  Tighten checks
+       for 2-digit sizes.
+       (colonmod24): Remove.
+       (get_mova_operands): Combine calls to parse_exp and skip_colonthing.
+       (get_operand): Likewise.  Use the standard code to read the size of
+       pc-relative operands.
+       (fix_operand_size): Include the size-guessing logic that used to be
+       in colonmod24 and get_operand.  Don't apply dd:2 optimizations to
+       offsets with a symbolic component.
+
+2003-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
+       macro to compute size of selected register name array.
+
+2003-07-01  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (md_parse_option): Add cpu type z990.
+       (md_begin): Add minimal cpu type logic for instructions with different
+       binary format depending on the cpu.
+       (md_assemble): Remove check for minimal cpu.
+       (s390_insert_operand): Add support for long displacements.
+       (md_gather_operands): Likewise.
+       (tc_s390_fix_adjustable): Likewise.
+       (tc_s390_force_relocation): Likewise.
+       (md_apply_fix3): Likewise.
+
+2003-06-30  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c (s_mipsset): Implement -march= handling
+       differently.
+
+2003-06-30  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
+       prototypes and casts. Replace PTR with void *. Reformat.
+       * config/tc-mips.h: Likewise.
+
+2003-06-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ia64.c (note_register_values): Warning fix.
+       * config/tc-mips.c (append_insn): Likewise.
+
+2003-06-29  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_set_options,mips_opts): Support for
+       .set arch=FOO.
+       (file_mips_arch): Rename mips_arch.
+       (mips_arch_info,mips_tune_info): Remove.
+       (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch.
+       (mips_cpu_info_from_arch): New function.
+       (md_begin): Use file_mips_arch.
+       (macro_build,macro,mips_ip): Use mips_opts.arch.
+       (mips_set_architecture): Init file_mips_arch and mips_opts.arch.
+       (mips_after_parse_args): Remove mips_arch_info and mips_tune_info.
+       Use file_mips_arch.
+       (s_mipsset): Support for .set arch=FOO.
+       (mips_cpu_info_table): Fix typo.
+
+2003-06-26  H.J. Lu <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Declare "exp" before "if".
+
+2003-06-25  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8300.c (get_specific): Allow ':8' to be used for
+       unsigned 8-bit operands.
+
+2003-06-24  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (s_comm): Change error message to assume an unsigned size
+       has been passed to .comm.
+       * config/tc-sparc.c (s_common): Likewise.
+       * write.c (write_contents): Replace 'unsigned long' with
+       'addressT' and 'long' with offsetT in order to allow computations
+       with very large values to work for 64-bit addressed targets.
+       (relax_and_size_all_segments): Likewise.
+       (relax_frag): Likewise.
+       (relax_segment): Likewise.
+
+2003-06-23  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
+
+2003-06-23  H.J. Lu <hongjiu.lu@intel.com>
+
+       * gas/config/tc-i386.c (md_assemble): Support Intel Precott New
+       Instructions.
+
+       * gas/config/tc-i386.h (CpuPNI): New.
+       (CpuUnknownFlags): Add CpuPNI.
+
+2003-06-23    <davidm@hpl.hp.com>
+
+       * config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
+       freebsd, openvms, and nsk (non-stop kernel).
+
+2003-06-22  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
+       all locals have been declared.
+
+2003-06-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
+       special handling for n32 ABI.
+       (macro): Likewise.
+
+2003-06-19  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert
+       2003-06-11 change.
+
+2003-06-19  Christian Groessler  <chris@groessler.org>
+
+       * config/tc-z8k.c (parse_reg): Invalid registers generate an error
+       now, not only a warning.  Add some more checks to detect invalid
+       registers.
+       (get_operand): For CLASS_IR remember register size in mode struct.
+       (get_specific): Handle new CLASS_IRO type.  Add register size
+       checks for CLASS_IR and CLASS_IRO.
+       (md_apply_fix3): Fix undefined usage of buf.
+
+2003-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
+       (ppc_change_csect): Add align param.  Align frag at start of csect.
+       (ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
+       (ppc_frob_section): Align vma.
+
+2003-06-18  Jakub Jelinek  <jakub@redhat.com>
+
+       * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
+       (output_cie): Don't pad.
+       (output_fde): Add align argument.  Pad to align if not 0.
+       (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
+       Pad just last FDE to EH_FRAME_ALIGNMENT.
+
+2003-06-18  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (init_default_arch): Make current_mode_mask
+       dependent on s390_arch_size and current_cpu dependent on
+       current_mode_mask.
+
+2003-06-18  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * configure.in: Add c4x as an architecture variant to tic4x.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2003-06-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
+       ".TOC." from PPC64_TOC relocs.
+
+2003-06-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
+
+2003-06-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
+       ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
+       (macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
+       s_cprestore,s_cpadd): Use them.
+
+2003-06-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * configure.in: Add specific case for cris-*-linux-gnu* with
+       em=linux.
+       * configure: Regenerate.
+       * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
+       if TE_LINUX defined, else FALSE.
+       (bfd_boolean demand_register_prefix): Set default from
+       DEFAULT_CRIS_AXIS_LINUX_GNU.
+       (symbols_have_leading_underscore): Similar.
+       * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
+
+2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
+       (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
+       FPU_ARCH_FPA for AOUT.
+       (md_begin): Don't try to guess the floating point architecture from
+       the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
+
+2003-06-13  Robert Millan  <zeratul2@wanadoo.es>
+
+       * configure.in: Add i386-netbsd-gnu target.
+       * configure: Regenerate.
+
+2003-06-12  Tom Tromey  <tromey@redhat.com>
+
+       * doc/as.texinfo (Comm): Added @node.  Moved before CFI
+       directives node.
+
+2003-06-12  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (append_insn): In a compound relocation, take the
+       field width from the final (outermost) operator.
+
+2003-06-11  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (struct cfi_escape_data): New.
+       (cfi_add_CFA_nop): Remove.
+       (CFI_escape, dot_cfi_escape): New.
+       (dot_cfi): Remove nop.
+       (cfi_pseudo_table): Remove nop; add escape.
+       (output_cfi_insn): Likewise.
+       (select_cie_for_fde): Stop on escape.
+       * dw2gencfi.h (cfi_add_CFA_nop): Remove.
+       * read.c, read.h (do_parse_cons_expression): New.
+       * doc/as.texinfo (.cfi_escape): New.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
+       (s_cprestore): Likewise.
+       (s_cpreturn): Likewise.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
+       with zeros.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
+       (md_apply_fix3): Ignore non-special relocations. Remove superfluous
+       exceptions from size assert. Remove most of the addend fixup
+       specialcasing. Remove value, use valP directly. simplify fx_addnumber
+       handling. Remove zero addend specialcases.
+       (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
+       the addend fixup specialcase.
+       * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
+
+2003-06-11  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * write.c (write_relocs): Use xcalloc. Fix relocs initialization
+       in the RELOC_EXPANSION_POSSIBLE case.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i960.c (line_comment_chars): Add '#'.
+       * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
+
+2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
+
+       * po/Make-in (DESTDIR): New.
+       (install-data-yes): Support $(DESTDIR).
+       (uninstall): Likewise.
+
+2003-06-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2003-06-10  Doug Evans  <dje@sebabeach.org>
+
+       * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
+       CGEN_INSN_RELAXED.
+       * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
+       * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
+       * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
+
+2003-06-10  Alan Modra  <amodra@bigpond.net.au>
+           Gary Hade <garyhade@us.ibm.com>
+
+       * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
+       (md_apply_fix3): Special case lq insn.
+
+2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
+       lists.  Allow single-register ranges.
+
+2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8300.c (h8300sxnmode): New.
+       (md_pseudo_table): Add .h8300sxn entry.
+
+2003-06-09  H.J. Lu <hongjiu.lu@intel.com>
+
+       * NEWS: Updated for the new -n option for the i386 assembler.
+
+       * config/tc-i386.c (optimize_align_code): New.
+       (md_shortopts): Add 'n'.
+       (md_parse_option): Handle 'n'.
+       (md_show_usage): Add '-n'.
+
+       * config/tc-i386.h (optimize_align_code): Declared.
+       (md_do_align): Optimize code alignment only if optimize_align_code
+       is not 0.
+
+       * doc/as.texinfo: Add the new -n option.
+
+       * doc/c-i386.texi: Document the new -n option.
+
+2003-06-07  Richard Henderson  <rth@redhat.com>
+
+       * doc/as.texinfo: Document .cfi_rel_offset.
+
+       * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
+       (cfi_add_CFA_offset): Detect invalid offsets.
+       (cfi_add_CFA_remember_state): Save cur_cfa_offset.
+       (cfi_add_CFA_restore_state): Restore it.
+       (CFI_rel_offset): New.
+       (cfi_pseudo_table): Add it.
+       (dot_cfi): Handle it.
+
+2003-06-07  H.J. Lu <hongjiu.lu@intel.com>
+
+       * app.c (do_scrub_chars): Add states 14 and 15 to handle
+       predicate for ia64.
+
+2003-06-05  Michael Snyder  <msnyder@redhat.com>
+
+       * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
+       (build_bytes): Ditto.
+
+2003-06-05  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-h8sx.c (DMODE): Remove.
+       (colonmod24): Don't choose a default if the operand is a 16-bit
+       constant integer.
+       (fix_operand_size): New function.
+       (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
+       Adjust @(d:2,ERn) operands before choosing the specific opcodes.
+
+2003-06-05  Michal Ludvig  <mludvig@suse.cz>
+
+       * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
+       (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
+       (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
+       (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
+       (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
+       (cfi_add_CFA_restore, cfi_add_CFA_undefined)
+       (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
+       (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
+       (cfi_pseudo_table): New directives .cfi_return_column,
+       .cfi_restore, .cfi_undefined, .cfi_same_value,
+       .cfi_remember_state, .cfi_restore_state, .cfi_nop.
+       (dot_cfi, output_cfi_insn): Handle new directives.
+       * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
+       (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
+       (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
+
+2003-06-04  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
+
+       * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
+
+2003-06-04  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.c (s_alpha_usepv): New.
+       (md_pseudo_table): Add it.
+       (alpha_cfi_frame_initial_instructions): New.
+       * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
+       (tc_cfi_frame_initial_instructions): New.
+       * doc/c-alpha.texi: Document .usepv.
+
+2003-06-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * as.c (show_usage): Document --execstack and --noexecstack.
+       (parse_args): Add --execstack and --noexecstack.
+       (main): Create .note.GNU-stack section if --execstack or
+       --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
+       * as.h (flag_execstack, flag_noexecstack): New.
+
+2003-06-03  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
+       (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
+       (OPTION_MISC_BASE): New defines.
+       (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
+       (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
+       (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
+       (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
+       (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
+       (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
+       (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
+       (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
+       (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
+       (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
+       (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
+       (OPTION_TRAP): Redefine in terms of new defines.
+       (md_longopts): Reorder entries.
+
+2003-05-14  Michael Snyder  <msnyder@redhat.com>
+       From Bernd Schmidt  <bernds@redhat.com>
+       and Michael Snyder  <msnyder@redhat.com>
+       and Alexandre Oliva <aoliva@redhat.com>
+       * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
+       * config/tc-h8300.h: Ditto.
+
+2003-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
+       BFD_RELOC_32_PCREL if the reloc is pc-relative.  Do this
+       before calling bfd_reloc_type_lookup.
+
+2003-06-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c (emit_expr): Set dot_value.
+       * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
+
+2003-06-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * macro.c (sub_actual): Don't lose string if it turns out that
+       &string wasn't an arg.
+
+2003-05-31  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
+       (cfi_finish): Set flag_traditional_format around .eh_frame data.
+
+2003-05-29  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
+       (all_frame_data, plast_frame_data, cur_frame_data): New.
+       (s_alpha_ent): Record data for dwarf2 cfi.
+       (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
+       (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
+       * config/tc-alpha.h (md_end): New.
+       (DWARF2_DEFAULT_RETURN_COLUMN): New.
+       (DWARF2_CIE_DATA_ALIGNMENT): New.
+
+2003-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Add i386-*-freebsd* entry.
+       * configure: Regenerate.
+
+2003-05-29  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * config/tc-m32r.c: Amend comment to refer to Renesas
+
+2003-05-27  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
+       symbol_create call.
+       (current_location): Use symbol_temp_new_now.
+       * stabs.c (s_stab_generic): Use symbol_temp_new.
+       * symbols.c (temp_label_name): Remove.
+       (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
+
+2003-05-27  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
+       * as.c (main): Always call cfi_finish.
+       * config/tc-i386.c (x86_dwarf2_return_column): New.
+       (x86_cie_data_alignment): New.
+       (md_begin): Set them.
+       (tc_x86_cfi_init): Remove.
+       (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
+       return int, not unsigned long; don't as_bad here.
+       (tc_x86_frame_initial_instructions): Streamline; use
+       updated api.
+       * config/tc-i386.h (tc_cfi_init): Remove.
+       (DWARF2_DEFAULT_RETURN_COLUMN): New.
+       (DWARF2_CIE_DATA_ALIGNMENT): New.
+
+2003-05-27  Richard Henderson  <rth@redhat.com>
+
+       * symbols.c (temp_label_name): New.
+       (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
+       (symbol_set_value_now): New.
+       * symbols.h: Prototype them.
+       * dwarf2dbg.c: Use them.
+       (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
+
+2003-05-23  Jason Eckhardt  <jle@rice.edu>
+
+       * config/tc-i860.c (target_xp): Declare variable.
+       (OPTION_XP): Declare macro.
+       (md_longopts): Add option -mxp.
+       (md_parse_option): Set target_xp.
+       (md_show_usage): Add -mxp usage.
+       (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
+       (md_assemble): Don't try expansions if XP_ONLY is set.
+       * doc/c-i860.texi: Document -mxp option and i860XP support.
+
+2003-05-23  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mips.c (macro_build_jalr): Warning patrol.
+
+2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (append_insn): Use actual relocation size for new
+       fixp's. Don't relax overflow checking for partial_inplace relocations.
+       Use the actual relocation type in combined relocs, not just the type
+       of the first one.
+       (macro_build_jalr): Use actual relocation size for new fix.
+       (s_cpsetup, s_gpdword): Likewise.
+
+2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro): Don't use uninitialized tempreg.
+
+2003-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
+       section relative offsets for relocs that will not be based on the
+       section symbol.
+       (xstormy16_md_apply_fix3): Remove previous patch to this
+       function.
+
+2003-05-07  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mips.c (mips_abicalls): New variable.
+       (md_parse_option): Use.
+       (s_option): Ditto.
+       (s_abicalls): Ditto.
+       (mips_elf_final_processing): Set EF_MIPS_PIC and
+       EF_MIPS_CPIC dependent on above.
+
+2003-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
+
+2003-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * config/obj-elf.c: Include dwarf2dbg.h.
+       (elf_pseudo_tab): Add .file and .loc.
+       * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
+       * config/tc-arm.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-m68hc11.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-mmix.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-frv.c: Likewise, and remove redundant inclusion of
+       dwarf2dbg.h.
+       * config/tc-ip2k.c: Likewise.
+       * config/tc-iq2000.c: Likewise.
+       * config/tc-xstormy16.c: Likewise.
+       * config/tc-xtensa.c: Likewise.
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * po/POTFILES.in: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2003-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * dw2gencfi.c (cfi_get_label): Use symbol_make for non
+       BFD_ASSEMBLER targets.
+       (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
+       (dot_cfi_endproc): Only call bfd_set_section_flags for targets
+       defining BFD_ASSEMBLER.
+
+2003-05-20  Michal Ludvig  <mludvig@suse.cz>
+
+       * as.c (main): Remove tc_cfi_init().
+       * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
+       with '%'.
+       (cfi_pseudo_table): Add "cfi_register" entry.
+       (cfi_make_insn): Handle CFA_register.
+       (cfi_output_insn): Ditto.
+       (dot_cfi): Ditto.
+       (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
+       (dot_cfi_endproc): Reuse already emitted CIEs.
+       * testsuite/gas/cfi/cfi-i386.d: New pattern.
+       * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
+
+2003-05-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-xstormy16.c: Include dwarf2dbg.h.
+       (md_pseudo_table): Add entries for .loc and .line.
+
+2003-05-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
+       defined.
+       (dot_cfi_endproc): Avoid C99 construct.
+
+2003-05-20  Michal Ludvig  <mludvig@suse.cz>
+
+       * dw2gencfi.c, dw2gencfi.h: New files.
+       * config/tc-i386.c (tc_x86_cfi_init): New function.
+       * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
+       * as.c (parse_args): Set verbose flag on --verbose.
+       (main): Call tc_cfi_init()/cfi_finish().
+       * as.h (verbose): New external variable.
+       * read.c (pobegin): Insert CFI pops to the list.
+       * symbols.c (local_symbol_make): Make symbol external.
+       * symbols.h (local_symbol_make): New prototype.
+       * Makefile.am: Add dw2gencfi.[ch] files.  Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/as.texinfo: Added node "CFI directives" with description of
+       all implemented .cfi_* directives.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2003-05-19  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
+       insns.
+       * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
+
+2003-05-18  Jason Eckhardt  <jle@rice.edu>
+
+       * config/tc-i860.c (i860_process_insn): Initialize fc after
+       each opcode mismatch.
+
+2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * configure.in: Accept i[3-7]86 variants.
+       * configure: Regenerate.
+
+2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.h: Fix comment formatting.
+
 2003-05-13  Hans-Peter Nilsson  <hp@axis.com>
 
        * read.c (old_buffer, old_input, old_limit): Remove variables.
-       (read_a_source_file): Delete label contin.
+       (read_a_source_file): Delete label contin.
        <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
        input as with macros, instead of in separate old_* variables.
        Zero-terminate string being scrubbed.
 
 2003-05-02  Michael Snyder  <msnyder@redhat.com>
 
-       * write.h (FAKE_LABEL_NAME): Allow override 
+       * write.h (FAKE_LABEL_NAME): Allow override
        (for targets that like eg. a leading dot in a local label).
 
 2003-05-02  Nick Clifton  <nickc@redhat.com>
 2003-05-01  Christian Groessler <chris@groessler.org>
 
        * expr.h: Fix comments in operatorT typedef.
-       * config/tc-z8k.c: Add 2003 to copyright message.  
+       * config/tc-z8k.c: Add 2003 to copyright message.
        Fold s_segm() and s_unseg() into one function s_segm(parm) which
        decides by the parameter.
        (md_begin): Don't set linkrelax.  Only set Z8002 default if no
 
 2003-04-21  Richard Henderson  <rth@redhat.com>
 
-        * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
-        (out_file_list): Assign non-null filename after generating error.
+       * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
+       (out_file_list): Assign non-null filename after generating error.
 
 2003-04-18  Jakub Jelinek  <jakub@redhat.com>
 
 
 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
 
-        * Makefile.am (CPU_TYPES): Add xtensa.
-        (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
-        (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
-        (xtensa-relax.o): New target.
-        Run "make dep-am".
-        * Makefile.in: Regenerate.
-        * configure.in: Handle xtensa-*-*.  Add xtensa-relax.o to
-        extra_objects for xtensa targets.
-        * configure: Regenerate.
-        * write.c (write_object_file): Add new md_post_relax_hook.
-        * config/tc-xtensa.c: New file.
-        * config/tc-xtensa.h: Likewise.
-        * config/xtensa-istack.h: Likewise.
-        * config/xtensa-relax.c: Likewise.
-        * config/xtensa-relax.h: Likewise.
-        * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
-        * doc/Makefile.in: Regenerate.
-        * doc/all.texi: Set new XTENSA variable.
-        * doc/as.texinfo: Set new Xtensa variable.  Describe
-        Xtensa-specific options.  Define line comment character for
-        Xtensa.  Add Xtensa processors to list of ELF targets where
-        alignment is specified in bytes.  Add new Xtensa-Dependent node.
-        Add acknowledgements for those contributing to the Xtensa port.
-        * doc/internals.texi: Describe new md_post_relax_hook.
-        * doc/c-xtensa.texi: New file.
-
+       * Makefile.am (CPU_TYPES): Add xtensa.
+       (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
+       (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
+       (xtensa-relax.o): New target.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * configure.in: Handle xtensa-*-*.  Add xtensa-relax.o to
+       extra_objects for xtensa targets.
+       * configure: Regenerate.
+       * write.c (write_object_file): Add new md_post_relax_hook.
+       * config/tc-xtensa.c: New file.
+       * config/tc-xtensa.h: Likewise.
+       * config/xtensa-istack.h: Likewise.
+       * config/xtensa-relax.c: Likewise.
+       * config/xtensa-relax.h: Likewise.
+       * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
+       * doc/Makefile.in: Regenerate.
+       * doc/all.texi: Set new XTENSA variable.
+       * doc/as.texinfo: Set new Xtensa variable.  Describe
+       Xtensa-specific options.  Define line comment character for
+       Xtensa.  Add Xtensa processors to list of ELF targets where
+       alignment is specified in bytes.  Add new Xtensa-Dependent node.
+       Add acknowledgements for those contributing to the Xtensa port.
+       * doc/internals.texi: Describe new md_post_relax_hook.
+       * doc/c-xtensa.texi: New file.
 
 2003-04-01  Nick Clifton  <nickc@redhat.com>
            Richard Earnshaw  <rearnsha@arm.com>
 
 2003-03-26  Eric Christopher  <echristo@redhat.com>
 
-       * config/tc-mips.c (nopic_need_relax): Check for
-        S_IS_EXTERN.
+       * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
 
 2003-03-25  Stan Cox   <scox@redhat.com>
            Nick Clifton  <nickc@redhat.com>
 
 2003-01-23  Nick Clifton  <nickc@redhat.com>
 
-        NEWS: Announce sh2e support.
-
-       * Add sh2e support:
+       * NEWS: Announce sh2e support.
 
+       Add sh2e support:
        2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
-
-               * config/tc-sh.c (md_show_usage): Added sh2e next to
-               sh3e.
-               (sh_elf_final_processing): Handle arch_sh2e.
+       * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e.
+       (sh_elf_final_processing): Handle arch_sh2e.
 
 2003-01-23  Alan Modra  <amodra@bigpond.net.au>
 
 
 2003-01-01  John David Anglin  <dave.anglin@nrc.ca>
 
-        * config/obj-elf.c (special_sections): Work around HP's incorrect usage
-        of .init and .fini sections for array initializers and finalizers.
+       * config/obj-elf.c (special_sections): Work around HP's incorrect usage
+       of .init and .fini sections for array initializers and finalizers.
 
 2002-12-31  Chris Demetriou  <cgd@broadcom.com>
 
        (s_d30v_align <ignore>): Likewise.
        (build_insn): Correct format string.
        (md_apply_fix3): Likewise.
-       * config/tc-fr30.c (md_parse_option <c,arg>):  Add ATTRIBUTE_UNUSED.
+       * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
        (md_undefined_symbol <name>): Likewise.
        (md_convert_frag <all args>): Likewise.
        (md_cgen_lookup_reloc <insn>): Likewise.
 
 2002-11-21  Randolph Chung  <randolph@tausq.org>
 
-       * config/tc-hppa.h (tc_frob_symbol):  Frob undefined unused symbols
+       * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
        only if they have default visibility.
 
 2002-11-21  Richard Henderson  <rth@redhat.com>
@@ -2584,14 +3348,14 @@ Thu Oct 10 14:31:30 2002  J"orn Rennecke <joern.rennecke@superh.com>
        * tc-v850.c (v850_relax): Declare.
        (v850_longcode): New routine.
        (v850_handle_align): New routine.
-       (md_pseudo_table):  Add longcall and longjump.
+       (md_pseudo_table): Add longcall and longjump.
        (md_parse_option): Check for relax option.
-       (tc_gen_reloc):  Handle BFD_RELOC_V850_LONGCALL,
+       (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
        BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
        (md_apply_fix3): Likewise.
        (v850_force_relocation): Likewise.
        (v850_comm): Change the current section.
-       (md_assemble):  Ensure that the correct value is put in the
+       (md_assemble): Ensure that the correct value is put in the
        fixup.
        (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
        v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.