+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.
+ <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-12 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-xstormy16.c (skipping_fptr): New local variable.
+ (md_assemble): Reset skipping_fptr.
+ (md_operand): If @fptr() is followed by a minus sign, set
+ skipping_fptr and ignore the fptr. If skipping_fptr is set and an
+ @fptr is detected, ignore it and reset skipping_fptr.
+
+2003-05-11 Jason Eckhardt <jle@rice.edu>
+
+ * config/tc-i860.c (MAX_FIXUPS): Define.
+ (struct i860_fi fi[]): New struct.
+ (struct i860_it the_insn): Add above as member and move fields
+ exp, reloc, pcrel and fup into i860_fi.
+ (md_assemble): Replace all instances of exp, reloc, pcrel
+ and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
+ Add a loop to possibly emit multiple fix-ups for each insn.
+ (i860_process_insn): Likewise.
+ (i860_get_expression): Likewise.
+ (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
+
+2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_target_format): Always call init_default_arch.
+
+2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-ia64.c (alias_hash): New.
+ (alias_name_hash): New.
+ (secalias_hash): New.
+ (secalias_name_hash): New.
+ (md_pseudo_table): Add "secalias".
+ (md_begin): Initialize alias_hash, alias_name_hash,
+ secalias_hash and secalias_name_hash.
+ (struct alias): New.
+ (dot_alias): Implement .alias and .secalias directives.
+ (do_alias): New.
+ (ia64_adjust_symtab): New.
+ (do_secalias): New.
+ (ia64_frob_file): New.
+
+ * config/tc-ia64.h (ia64_adjust_symtab): New.
+ (tc_adjust_symtab): Defined.
+ (ia64_frob_file): New.
+ (tc_frob_file): Defined.
+
+2003-05-07 Dmitry Diky <diwil@mail.ru>
+
+ * tc-msp430.c: Add missing lines to known cpus list.
+
+2003-05-06 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
+ * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
+ * config.in, configure: Rebuilt.
+
+2003-05-05 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-mips.c (tc_gen_reloc): Add addend just once if
+ howto->partial_inplace is false.
+
+2003-05-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
+ symbol_used_in_reloc_p check.
+ (md_apply_fix3): Remove check for howto->pcrel_offset.
+
+2003-05-03 H.J. Lu <hjl@gnu.org>
+
+ * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
+ fatal error for unknown section attribute.
+
+ * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
+ unknown section attribute.
+ * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
+ * config/tc-ppc.c (ppc_section_letter): Likewise.
+
+ * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
+ (ia64_elf_section_type): Accept "unwind".
+
+2003-05-02 H.J. Lu <hjl@gnu.org>
+
+ * read.h (demand_copy_string): New.
+
+ * config/tc-alpha.c (demand_copy_string): Removed.
+
+2003-05-02 Michael Snyder <msnyder@redhat.com>
+
+ * 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>
+
+ * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
+ addend with the symbol's value for pc-relative relocations against
+ a defined symbol - this will be done automatically.
+
+2003-05-01 H.J. Lu <hjl@gnu.org>
+
+ * config/obj-elf.c (obj_elf_type): Accept "notype" and
+ "STT_NOTYPE".
+
+2003-05-01 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-ia64.h (tc_canonicalize_section_name): New.
+
+ * config/obj-elf.c (obj_elf_section_name): Call
+ tc_canonicalize_section_name if it is defined.
+
+2003-05-01 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-ia64.c (ia64_check_label): New.
+ * config/tc-ia64.h (tc_check_label): New.
+
+ * read.c (read_a_source_file): Call tc_check_label after
+ creating a user-defined label if defined.
+
+2003-05-02 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
+ -be and split strings to below 509 bytes in length.
+
+2003-05-01 Christian Groessler <chris@groessler.org>
+
+ * expr.h: Fix comments in operatorT typedef.
+ * 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
+ command line argument was given to select the intended
+ architecure.
+ (get_interrupt_operand): Warn if NOP type code is emitted.
+ (newfix): New parameter 'size', forward it to 'fix_new_exp'.
+ (apply_fix): Call newfix with additional 'size' parameter.
+ (build_bytes): Remove unused variable 'nib'. Detect overflow in
+ 4 bit immediate arguments.
+ (md_longopts): Add 'linkrelax' option.
+ (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
+ variable when 'linkrelax' command line option is specified.
+ (md_show_usage): Display 'linkrelax' option.
+ (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
+ R_CALLR and R_REL16.
+ * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
+
+2003-04-30 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
+ (ia64_float_to_chars): Likewise.
+ (dot_byteorder): Set target_big_endian, ia64_number_to_chars
+ and ia64_float_to_chars by tc_segment_info_data.endian from
+ the current segment if byteorder == -1.
+ (md_begin): Call dot_byteorder to set target_big_endian.
+ (md_atof): Call ia64_float_to_chars to convert floating point.
+ (ia64_float_to_chars_bigendian): New function.
+ (ia64_float_to_chars_littleendian): Likewise.
+ (ia64_elf_section_change_hook): Likewise.
+
+ * config/tc-ia64.h (ia64_number_to_chars): New.
+ (md_number_to_chars): Changed to (*ia64_number_to_chars)
+ (ia64_elf_section_change_hook): New.
+ (md_elf_section_change_hook): Defined.
+ (ia64_segment_info_type): New struct.
+ (TC_SEGMENT_INFO_TYPE): Defined.
+
+2003-04-30 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-ia64.c (md_section_align): Deleted.
+
+ * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
+ (md_section_align): New.
+
+2003-04-30 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
+ and add real16.
+ (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
+ "real16.ua".
+ (md_atof): Add 6 byte padding of zero for real16.
+
+2003-04-29 Nick Clifton <nickc@redhat.com>
+
+ * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
+ start of a version name.
+
+2003-04-28 Chris Demetriou <cgd@broadcom.com>
+
+ * configure.in (mips-*-*n*bsd*): Replace with...
+ (mips-*-netbsd*, mips-*-openbsd*): These.
+ * configure: Regenerate.
+
+2003-04-28 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-hppa.c (hppa_symbol_chars): New.
+ * config/tc-hppa.h (tc_symbol_chars): Likewise.
+
+2003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
+
+2003-04-25 Chris Demetriou <cgd@broadcom.com>
+
+ * NEWS: Belatedly mention support for MIPS32 Release 2.
+
+2003-04-24 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c (nopic_need_relax): Revert previous
+ change.
+
+2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+ * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
+ * config/tc-h8300.c (dwarf2dbg.h): Include
+ (md_pseudo_table): Handle .loc and .file
+ (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
+ * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
+ * Makefile.in: Regenerate.
+
+2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+ * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
+ (md_pseudo_table): Add h8300hn, h8300sn.
+ * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
+ * doc/c-h8300.texi : Add documentation for new machine directives.
+
+2003-04-24 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-ppc.c (ppc_symbol_chars): Define.
+ * config/tc-ppc.h (tc_symbol_chars): Define.
+
+2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * config/tc-sh.c: Amend comment to refer to SuperH.
+ * config/tc-sh.h: Likewise.
+ (LISTING_HEADER): Amend to refer to SuperH.
+ * config/tc-sh64.c: Change comment to refer to SuperH.
+ * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
+ * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
+ * doc/c-sh.texi: Amend to refer to SuperH.
+ Add SuperH architecture documentation references.
+ * doc/c-sh64.texi: Change to refer to SuperH.
+
+2003-04-23 H.J. Lu <hjl@gnu.org>
+
+ * app.c (do_scrub_chars): More checks for valid labels.
+
+2003-04-22 H.J. Lu <hjl@gnu.org>
+
+ * app.c (do_scrub_chars): Check for valid label.
+
+2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * doc/as.texinfo: Replace references to Mitsubishi M32R with
+ references to Renesas M32R.
+ * doc/c-m32r.texi: Likewise.
+
+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.
+
+2003-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ * ehopt.c (check_eh_frame): For aug_size == 0
+ in state_seeing_aug_size state skip the state_skipping_aug
+ state.
+
+2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
+
+ * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
+ 'Renesas'.
+ * doc/c-h8500.texi: Likewise.
+ * doc/c-sh.texi: Likewise.
+ * doc/c-sh64.texi: Likewise.
+ * doc/h8.texi: Likewise.
+ * config/tc-h8300.c: Likewise.
+ * config/tc-h8300.h: Likewise.
+ * config/tc-h8500.c: Likewise.
+ * config/tc-h8500.h: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-sh.h: Likewise.
+ * config/tc-sh64.c: Likewise.
+ * config/tc-sh64.h: Likewise.
+
+2003-04-10 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
+ * config/tc-mips.c: Use signed add for n32 address arithmetic.
+ (append_insn): When filling delay slots with instructions
+ that have fixups that tc_gen_reloc might consider modifyable
+ in variant frags, start a new frag.
+ (load_address): Generate GOT_DISP with of without offset
+ depending on whether symbol is local. For -xgot, use
+ GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
+ (macro) <M_DLA_AB, M_LA_AB>: Likewise.
+ <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
+ CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
+ <ld_st>: In NewABI with small got, always use
+ GOT_PAGE/GOT_OFST, with the latter in the load/store
+ instruction. With big got, use GOT_HI16/GOT_LO16 or
+ GOT_PAGE/GOT_OFST.
+ (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
+ Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
+ GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
+ (md_convert_frag): Use memmove for safe copying of overlapping
+ regions.
+
+2003-04-09 Stephane Carrez <stcarrez@nerim.fr>
+
+ * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
+ -mlong, -mshort-double and -mlong-double options; use table @code.
+ (M68HC11-Syntax): Update to document 68HC12 operands.
+ (M68HC11-Modifiers): New section for operand modifiers.
+ (M68HC11-Directives): New section for specific assembler directives.
+ (M68HC11-Branch): Fix Overfull hbox error.
+
+2003-04-09 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (macro): Add comments explaining the rationale
+ for Chris' change.
+
+2003-04-09 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
+ constant address that Alexandre took out by accident. Reject
+ 64-bit addresses that are not sign extensions of 32 bits only if
+ we don't support 64-bit address constants.
+
+2003-04-09 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
+
+2003-04-08 Nick Clifton <nickc@redhat.com>
+
+ * as.c (perform_an_assembly_pass): If using cgen, call
+ gas_cgen_begin.
+ * cgen.c (gas_cgen_begin): New function. If
+ flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
+ otherwise call cgen_clear_signed_overflow_ok.
+ * cgen.h: Prototype gas_cgen_begin.
+
+2003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * write.c (write_relocs): Remove unused variable.
+
+2003-04-06 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
+ (macro): Use new macro to decide whether to emit constant address
+ as 32 or 64 bits if addresses are 32-bit wide but registers are
+ 64-bit wide.
+
+2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
+ (M6811_OP_PAGE_ADDR): New internal define.
+ (get_operand): New modifier %page and %addr to obtain page and
+ address part of a far-function.
+ (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
+ complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
+ relocs.
+ (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
+ (find_opcode): Add comment.
+ (md_estimate_size_before_relax): Force relocation of
+ STATE_UNDEXED_OFFSET types when the symbol is not absolute.
+ (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
+ instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
+ on the symbol itself so that DWARF2 strings are merged correctly.
+
+2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
+ default tic4x target format to 'coff2-tic4x'.
+ * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
+ s/c3x/tic3x/
+ * config/tc-tic4x.h: Ditto
+
+2003-04-03 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Mention support for Xtensa architecture.
+
+2003-04-02 Philip Blundell <philb@gnu.org>
+
+ * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
+
+2003-04-02 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (macro2): Adjust implementation of
+ M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
+ in the case where the source and destination registers
+ are the same.
+
+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.
+
+2003-04-01 Nick Clifton <nickc@redhat.com>
+ Richard Earnshaw <rearnsha@arm.com>
+
+ * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
+ (ARM_ARCH_IWMMXT): Simplify.
+ (insns): Place iwmmx instructions in correct place in table.
+ (arm_add_note): New function: Add a note entry to a .note section.
+ (md_begin): Make the default architecture be unknown.
+ Suppress the creation of an arm note section.
+
+2003-03-26 Eric Christopher <echristo@redhat.com>
+
+ * 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>
+
+ Contribute support for Intel's iWMMXt chip - an ARM variant:
+
+ * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
+ WC_PREFIX, REG_TYPE_IWMMXT): New constants.
+ (enum wreg_type, enum iwmmxt_insn_type): New types.
+ (wr_register, wc_register, wcg_register): New macros.
+ (iwmmxt_table): New variable.
+ (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
+ do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
+ do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
+ do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
+ do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
+ do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
+ do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
+ cp_byte_address_offset, cp_byte_address_required_here,
+ check_iwmmxt_insn): New functions.
+ (asm_opcode_insns): Add iWMMXt instructions.
+ (md_begin): Set the mach value for iWMMXt targets. Create a note
+ section to identify iwmmxt binaries.
+ (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
+ * doc/c-arm.texi: Document the support for the iWMMXt.
+ * NEWS: Mention new support.
+
+2003-03-24 Daniel Néri <dne@mayonnaise.net>
+
+ * doc/as.texinfo: Rename the all occurances of C54X to TIC54X.
+ * doc/all.texi: Likewise.
+ * doc/c-tic54x.texi: Likewise.
+
+2003-03-21 Andreas Schwab <schwab@suse.de>
+
+ * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
+ avoid aliasing issue.
+
+2003-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_arch_size): Initialize to zero.
+ (current_arch_mask): Rename to current_mode_mask.
+ (current_arch_requested): Remove variable.
+ (current_cpu): New variable.
+ (init_default_arch): Set defaults values for s390_arch_size,
+ current_mode_mask and current_cpu.
+ (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
+ (md_begin): Replace current_arch_mask by current_cpu.
+ (md_assemble): Adapt check and error message to current_mode_mask and
+ current_cpu.
+
+2003-03-09 James E Wilson <wilson@tuliptree.org>
+
+ * macro.c (buffer_and_nest): Store more to sb instead of '\n'.
+ * read.c (get_line_sb): Return end of line character or '\n' if
+ it is zero or non-existent.
+
+2003-03-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (mips_validate_fix): New function.
+ * config/tc-mips.h (TC_VALIDATE_FIX): Define.
+ (mips_validate_fix): Declare.
+
+2003-03-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * Reverted 2003-03-02's patch.
+
+2003-03-11 Steve Ellcey <sje@cup.hp.com>
+
+ * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
+ (TC_DWARF2_EMIT_OFFSET): Provide default.
+ (out_debug_aranges, out_debug_info): Use it.
+ * config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
+ (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
+ (ia64_gen_real_reloc_type): ... here.
+ * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
+
+2003-03-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
+ (s_mips_ent): Likewise.
+
+2003-03-04 Dmitry Diky <diwil@mail.ru>
+
+ * config/tc-msp430.c (mcu_types): Add recently announced x1122
+ and x1123 devices, add missed x437.
+ (md_show_usage): Sort device list.
+
+2003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
+ (md_begin): Use preset_target_arch.
+ (md_longopts): Make isa option unconditional.
+ (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
+ set preset_target_arch.
+ (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
+ by -S_GET_VALUE (fixP->fx_subsy).
+ (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
+ and the addend is 0.
+ Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
+ * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
+
+2003-03-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (append_insn): Add handling of
+ BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
+ BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
+ misaligned address and reange overflow.
+ (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
+ earlier warnings about misaligned address and reange overflow.
+ (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
+ (md_apply_fix): Likewise. Fix warning output.
+ (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
+ Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
+ (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
+
+2003-02-21 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Mention availability of test generator program.
+
+2003-02-21 Miles Bader <miles@gnu.org>
+
+ * config/tc-v850.c (system_registers): Add v850e debug registers.
+ (system_register_name): Accept up to 27 (the last v850e sys register).
+
+2003-02-21 Bob Wilson <bob.wilson@acm.org>
+
+ * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
+ relevant to both COFF and ELF. Fix obvious typos and texinfo bugs.
+ Capitalize section headings consistently. Format index entries more
+ consistently. Unconditionalize text about whether text and data
+ sections are alterable. Use @ifnottex for alternatives to @tex output
+ so that HTML works. Clean up COFF vs. ELF descriptions of .section,
+ .size and .type directives. Be more polite about bad bug reports.
+ Move FDL into a separate file.
+ * doc/fdl.texi: New file.
+
+2003-02-21 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (prev_reloc_op_frag): New variable.
+ (macro): Check it to decide whether a new frag is needed.
+ (my_getSmallExpression): Set it.
+
+2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
+
+ * cgen.c: Fix typo: intial -> initial.
+
+2003-02-19 Jie Zhang <zhangjie@magima.com.cn>
+
+ * app.c (do_scrub_chars): Handle '||' in two states.
+
+2003-02-13 Alan Modra <amodra@bigpond.net.au>
+
+ * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
+ * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
+
+2003-02-11 Uwe Stieber <uwe@wwws.de>
+
+ * configure.in: Add support for kaOS as cross build target system.
+ * configure: Regenerated.
+
+2003-02-10 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (md_begin): If the Maverick co-processor is
+ selected, set the EF_ARM_MAVERICK_FLOAT flag and
+ bfd_mach_arm_ep9312 machine number.
+
+2003-02-08 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (reloc_needs_lo_p): New function.
+ (fixup_has_matching_lo_p): New function.
+ (append_insn): Use reloc_needs_lo_p to check whether a relocation
+ might need a matching %lo(). Reuse the head of mips_hi_fixup_list
+ if that fixup already has a matching %lo(). Don't call frag_wane here.
+ (macro): Call frag_wane here if the last unmatched hi was in the
+ current frag.
+ (pic_need_relax): New function, split out from...
+ (md_estimate_size_before_relax): ...here.
+ (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
+ whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
+
+2003-02-07 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
+
+2003-02-06 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
+ x@toc+off works.
+
+2003-02-05 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
+ (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
+ accept x@got+off etc.
+ (md_assemble): Handle TLS relocs.
+ (ppc_force_relocation): Force for all TLS relocs.
+ (ppc_fix_adjustable): Likewise.
+ (md_apply_fix3): Handle TLS relocs.
+
+2003-02-04 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
+ SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
+
+2003-02-02 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (enum small_ex_type): Remove.
+ (imm_unmatched_hi): Remove.
+ (md_assemble): Remove use of imm_unmatched_hi. Remove the last
+ argument from calls to append_insn.
+ (append_insn): Remove unmatched_hi parameter; check reloc_type[0]
+ instead.
+ (macro_build): Update append_insn calls.
+ (mips16_macro_build, macro_build_lui): Likewise.
+ (mips_ip): Rework handling of small expressions. Move explicit
+ relocation handling into my_getSmallExpression. Assume that the
+ value of 'o' operands is zero if there is only one bracketed
+ expression left.
+ (percent_op): Make constant. Record the BFD relocation code
+ associated with each operator.
+ (my_getSmallParser, my_getPercentOp): Remove.
+ (parse_relocation): New function.
+ (my_getSamllExpression): Rework. Fill in relocations here
+ rather than in mips_ip.
+
+2003-01-29 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-i386.c (line_comment_chars): Add '#'. This makes the
+ assembler's handling of # <linenum> "<filename>" directives work.
+
+2003-01-28 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2dbg.c: Include filenames.h.
+ (struct file_entry): Make filename const char *.
+ (dirs, dirs_in_use, dirs_allocated): New variables.
+ (get_filenum): Add NUM argument. Build directory table.
+ (dwarf2_where): Adjust caller.
+ (dwarf2_directive_file): Use get_filenum to allocate
+ slot in file and directory tables.
+ (dwarf2_directive_loc): Recreate full filename from
+ directory and filename part if needed for listing.
+ (out_file_list): Output directory table.
+ Output main source file dirname before its filename.
+
+2003-01-28 Dmitry Diky <diwil@mail.ru>
+
+ * config/tc-msp430.c: Replace occurences of 'tolower' with
+ 'TOLOWER'.
+
+2003-01-27 David Mosberger <davidm@hpl.hp.com>
+
+ * config/tc-ia64.c (dot_vframesp): Correct error message.
+ (dot_vframepsp): Ditto.
+
+2003-01-27 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (em): Set to irix on all Irix systems.
+ * configure: Rebuilt.
+ * config/te-irix.h: New file.
+ * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
+ whether to use Irix-specific 64-bit format.
+
+2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
+
+2003-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-sparc.c (sparc_ip): Handle TLS % operators.
+ (tc_gen_reloc): Handle TLS relocs.
+ (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
+ * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
+ relocs.
+ * config/obj-elf.c (obj_elf_section_word): Handle tls.
+ (obj_elf_type): Handle tls_object.
+
+2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_tls_suffix): New function.
+ (elf_suffix_type): Add suffix enums for TLS relocations.
+ (s390_elf_suffix): Add suffix strings for TLS relocations.
+ (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
+ bfd relocations.
+ (md_gather_operands): Map new instruction operand/elf suffix
+ combinations for TLS to bfd relocations.
+ (tc_s390_fix_adjustable): Add new TLS relocations.
+ (tc_s390_force_relocation): Likewise.
+ (md_apply_fix3): Likewise.
+
+2003-01-24 Alan Modra <amodra@bigpond.net.au>
+
+ * as.h: Update copyright date.
+ * symbols.c: Likewise.
+ * config/tc-d10v.h: Likewise.
+ * config/tc-fr30.h: Likewise.
+ * config/tc-i960.h: Likewise.
+ * config/tc-mips.h: Likewise.
+
+ * config/tc-hppa.h (DIFF_EXPR_OK): Define.
+ (MD_APPLY_SYM_VALUE): Move.
+
+2003-01-23 Nick Clifton <nickc@redhat.com>
+
+ * 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.
+
+2003-01-23 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (S_FORCE_RELOC): Add "strict" param.
+ * symbols.h (S_FORCE_RELOC): Likewise.
+ * config/obj-aout.h (S_FORCE_RELOC): Likewise.
+ * config/obj-bout.h (S_FORCE_RELOC): Likewise.
+ * config/obj-coff.h (S_FORCE_RELOC): Likewise.
+ * config/obj-ieee.h (S_FORCE_RELOC): Likewise.
+ * config/obj-vms.h (S_FORCE_RELOC): Likewise.
+ * write.c (generic_force_reloc): New function.
+ (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
+ (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
+ (adjust_reloc_syms): Adjust S_FORCE_RELOC call.
+ * as.h (generic_force_reloc): Declare.
+ * doc/internals.texi (S_FORCE_RELOC): Update.
+ (TC_FORCE_RELOCATION_SUB_SAME): Update.
+
+ * config/tc-alpha.c (alpha_force_relocation): Adjust to use
+ generic_force_reloc.
+ (alpha_fix_adjustable): Likewise.
+ * config/tc-arm.c (arm_force_relocation): Likewise.
+ * config/tc-cris.c (md_cris_force_relocation): Likewise.
+ * config/tc-frv.c (frv_force_relocation): Likewise.
+ * config/tc-i386.c (md_apply_fix3): Likewise.
+ * config/tc-ia64.c (ia64_force_relocation): Likewise.
+ * config/tc-ip2k.c (ip2k_force_relocation): Likewise.
+ * config/tc-m32r.c (m32r_force_relocation): Likewise.
+ * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
+ * config/tc-mcore.c (mcore_force_relocation): Likewise.
+ * config/tc-mips.c (mips_force_relocation): Likewise.
+ * config/tc-mmix.c (mmix_force_relocation): Likewise.
+ * config/tc-ppc.c (ppc_force_relocation): Likewise.
+ * config/tc-s390.c (tc_s390_force_relocation): Likewise.
+ * config/tc-sh.c (sh_force_relocation): Likewise.
+ (md_pcrel_from_section): Likewise.
+ * config/tc-sparc.c (tc_gen_reloc): Likewise.
+ * config/tc-v850.c (v850_force_relocation): Likewise.
+ * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
+ * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
+ * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
+ * config/tc-sparc.h (tc_fix_adjustable): Likewise.
+
+ * config/tc-d10v.c (d10v_force_relocation): Delete.
+ * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-dlx.c (md_dlx_force_relocation): Delete.
+ * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-fr30.c (fr30_force_relocation): Delete.
+ * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-mn10300.c (mn10300_force_relocation): Delete.
+ * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
+ (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
+ * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
+ * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
+ * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
+ * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
+ * config/tc-openrisc.c (openrisc_force_relocation): Delete.
+ * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
+ * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
+ * config/tc-i386.c (i386_force_relocation): Delete.
+ * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
+ BFD_ASSEMBLER.
+ (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
+ * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
+ S_FORCE_RELOC.
+ (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
+ * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
+
+2003-01-23 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
+ sh64_elf_section_data.
+ * config/tc-sh64.h: Include elf32-sh64.h.
+ * config/tc-m68hc11.c: Don't include stdio.h.
+ (md_show_usage): Fix missing continuation.
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+
+2003-01-22 Nick Clifton <nickc@redhat.com>
+
+ * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
+
+2003-01-21 Fabio Alemagna <falemagn@aros.org>
+
+ * configure.in: Handle *-*-aros*.
+ * configure: Regenerated from configure.in.
+
+2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
+ gotplt and pltoff relocations.
+ (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
+ (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
+ gotplt and pltoff to bfd relocations.
+ (md_gather_operands): Map new instruction operand/elf suffix
+ combinations to bfd relocations.
+ (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
+ to the list of unadjustable relocations.
+ (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
+ and pltoff relocations.
+ (md_apply_fix3): Add the new relocations.
+
+2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
+ with a subsy symbol.
+
+2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
+ of relocs for memory bank addressing.
+
+2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (md_show_usage): Update usage.
+ (md_parse_option): Recognize -m68hcs12.
+ (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
+ HCS12.
+ * doc/as.texinfo (Overview): Document new option -m68hcs12.
+
+2003-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
+
+2003-01-16 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * po/POTFILES.in: Regenerate.
+
+2003-01-11 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (get_absolute_expr): New, split out from..
+ (get_absolute_expression): ..here.
+ * read.h (get_absolute_expr): Declare.
+ * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
+ Trim size to arch bits_per_address, and test for negative input
+ via get_absolute_expr.
+
+2003-01-07 DJ Delorie <dj@redhat.com>
+
+ * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
+ on operand type.
+ (xstormy16_md_apply_fix3): Use adjustment.
+
+2003-01-02 Ben Elliston <bje@redhat.com>
+
+ * configure.in: Add iq2000-elf target.
+ * configure: Regenerate.
+ * config/tc-iq2000.c: New file.
+ * config/tc-iq2000.h: Likewise.
+ * po/gas.pot: Regenerate.
+
+2003-01-02 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c: Update copyright years to include 2003.
+ (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
+ Additionally, clean up their code slightly and clean up their
+ comments some more.
+
+ * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
+
+2003-01-01 Daniel Jacobowitz <drow@mvista.com>
+
+ * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
+ $(CPU_DOCS)".
+ * doc/Makefile.in: Regenerate.
+
+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.
+
+2002-12-31 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
+ the "+D" operand, which will be used only by the disassembler.
+
+2002-12-30 Chris Demetriou <cgd@broadcom.com>
+
+ * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
+ CPU variants.
+ * configure: Regenerate.
+ * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
+ (macro_build): Handle "K" operand.
+ (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
+ CPU_HAS_DROR and CPU_HAS_ROR are currently used.
+ (mips_ip): New variable "lastpos", and implement "+A", "+B",
+ and "+C" operands for MIPS32 Release 2 ins/ext instructions.
+ Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
+ (validate_mips_insn): Implement "+" as a way to extend the
+ allowed operands, and implement "K", "+A", "+B", and "+C"
+ operands.
+ (OPTION_MIPS32R2): New define.
+ (md_longopts): Add entry for OPTION_MIPS32R2.
+ (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
+ (md_parse_option): Handle OPTION_MIPS32R2.
+ (s_mipsset): Reimplement handling of ".set mipsN" options
+ and add support for ".set mips32r2".
+ (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
+ (md_show_usage): Document "-mips32r2" option.
+ * doc/as.texinfo: Document "-mips32r2" option.
+ * doc/c-mips.texi: Likewise.
+
+2002-12-30 Dmitry Diky <diwil@mail.ru>
+
+ * configure.in: Add msp430 target.
+ * configure: Regenerate.
+ * Makefile.am: Add msp430 target.
+ * Makefile.in: Regenerate.
+ * config/tc-msp430.c: New file: msp430 assembler.
+ * config/tc-msp430.h: New file: target macros for msp430.
+ * doc/Makefile.am: Add msp430 target.
+ * doc/Makefile.in: Regenerate.
+ * doc/as.texinfo: Include msp430 documenation.
+ * doc/all.texi: Enable msp430 documentation.
+ * doc/c-msp430.texi: New file: document msp430 specific features
+ of the assembler.
+
+2002-12-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
+ (dwarf2_finish): Use it.
+ * doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
+ * config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
+
+2002-12-20 DJ Delorie <dj@redhat.com>
+
+ * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
+ BFD_RELOC_XSTORMY16_12.
+
+2002-12-19 Alan Modra <amodra@bigpond.net.au>
+
+ * doc/as.texinfo (Invoking): Typo fix.
+ * config/tc-tic54x.c (encode_operand): Comment typo fix.
+
+2002-12-18 Kazu Hirata <kazu@cs.umass.edu>
+
+ * doc/c-alpha.texi: Fix typos.
+ * doc/c-arm.texi: Likewise.
+ * doc/c-d10v.texi: Likewise.
+ * doc/c-i370.texi: Likewise.
+ * doc/c-i960.texi: Likewise.
+ * doc/c-ia64.texi: Likewise.
+ * doc/c-mmix.texi: Likewise.
+ * doc/c-ns32k.texi: Likewise.
+ * doc/c-pdp11.texi: Likewise.
+ * doc/c-pj.texi: Likewise.
+ * doc/c-sh64.texi: Likewise.
+ * doc/c-sparc.texi: Likewise.
+ * doc/c-tic54x.texi: Likewise.
+ * doc/c-v850.texi: Likewise.
+ * doc/c-vax.texi: Likewise.
+ * doc/internals.texi: Likewise.
+
+2002-12-18 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
+ use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
+ M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
+ arrange not to issue warnings about use of AT when AT is not
+ actually used.
+
+2002-12-17 Nick Clifton <nickc@redhat.com>
+
+ * as.c (std_longopts): Duplicate --keep-locals entry in order to
+ prevent it being confused with -k.
+
+2002-12-16 Andrew MacLeod <amacleod@redhat.com>
+
+ * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
+ has already been set up, use it.
+
+2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
+
+ * ChangeLog-9295: Fix a typo.
+ * README: Likewise.
+ * config/tc-d10v.c: Fix a comment typo.
+ * config/tc-dlx.c: Likewise.
+ * config/tc-h8300.h: Likewise.
+ * config/tc-h8500.h: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-s390.c: Likewise.
+ * config/tc-sh.h: Likewise.
+ * config/tc-tic80.h: Likewise.
+ * config/tc-w65.h: Likewise.
+ * config/tc-z8k.c: Likewise.
+ * config/tc-z8k.h: Likewise.
+ * testsuite/gas/h8300/cmpsi2.s: Likewise.
+
+2002-12-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-d30v.c (check_range): Warning fixes, formatting.
+ Simplify sign extension. Remove redundant unsigned < 0 test.
+ * config/tc-i960.c (md_ri_to_chars): Prototype.
+ * config/tc-mcore.c (md_pseudo_table): Fix typo.
+ (dump_literals): Init brarsym, and test later instead of isforce.
+
+ * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
+ (parse): Constify line and lineptr.
+ (md_begin): Calculate endop here.
+
+2002-12-13 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-vms.c: Formatting. Include fnctl.h.
+ (Create_VMS_Object_File): Fix creat call for sane unix systems.
+ (Object_Record_Offset): Make it a size_t.
+ (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
+ (VMS_TBT_Routine_End <Size>): Make var unsigned long.
+ (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
+ (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
+ (vms_fixup_data_section <data_size>): Add here instead.
+ * config/e-criself.c: Fix typo in last change.
+
2002-12-13 Alan Modra <amodra@bigpond.net.au>
+ * write.c (write_object_file): Fix signed/unsigned warning.
+ * config/e-crisaout.c (crisaout_bfd_name): Prototype.
+ * config/e-criself.c (criself_bfd_name): Prototype.
+ * config/obj-aout.c (s_sect): Remove unused function.
+ * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
+ * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
+ (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
+ * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
+ * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
+ (VMS_RSYM_Parse <Current_Routine>): Likewise.
+ (vms_fixup_text_section <text_siz>): Likewise.
+ (synthesize_data_segment <data_size>): Likewise.
+ (vms_fixup_xtors_section <sect_no>): Likewise.
+ (structure_count): Don't use implicit int type.
+ * config/tc-a29k.c (insert_sreg): Prototype.
+ (define_some_regs): Prototype, make static.
+ (parse_operand): Likewise.
+ (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
+ (md_show_usage <stream>): Likewise.
+ (md_section_align <segment>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_estimate_size_before_relax <all args>): Likewise.
+ (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
+ * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
+ * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
+ (md_undefined_symbol <name>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (write_long <opcode>): Likewise.
+ (tc_gen_reloc <seg>): Likewise.
+ (md_estimate_size_before_relax <all args>): Likewise.
+ (md_apply_fix3 <seg>): Likewise.
+ (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.
+ (md_undefined_symbol <name>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_cgen_lookup_reloc <insn>): Likewise.
+ (md_begin): Delete unused vars.
+ (md_assemble): Likewise.
+ (md_estimate_size_before_relax): Likewise.
+ (fr30_relax_frag): #if 0 out, seems unused.
+ (md_atof): Remove declaration of atof_ieee.
+ (restore_colon): Prototype.
+ * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
+ (frv_find_in_vliw): Likewise.
+ (frv_debug_tomcat): Likewise.
+ (frv_adjust_vliw_count): Likewise.
+ (frv_tomcat_shuffle): Likewise.
+ (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
+ frv_find_in_vliw call.
+ (md_atof): Remove declaration of atof_ieee.
+ * config/tc-h8500.c (cons): Delete declaration.
+ (md_begin <opcode>): Constify.
+ (displacement_size, immediate_size, absolute_size): Remove.
+ (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
+ (tc_crawl_symbol_chain <headers>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (tc_headers_hook <headers>): Likewise.
+ (md_parse_option <c,arg>): Likewise.
+ (md_show_usage <stream>): Likewise.
+ (md_convert_frag <headers, seg>): Likewise.
+ (tc_coff_symbol_emit_hook <ignore>): Likewise.
+ (md_atof): Remove declaration of atof_ieee.
+ (tc_aout_fix_to_chars): Remove unused function.
+ (parse_reg): Prototype.
+ (parse_exp): Prototype.
+ (skip_colonthing): Prototype. Use &&, not & in logical expressions.
+ (parse_reglist): Prototype.
+ (get_operand): Prototype.
+ (get_operands): Prototype.
+ (get_specific): Prototype. Make "this_index" signed.
+ (check): Prototype, make static.
+ (insert): Prototype
+ (build_relaxable_instruction): Prototype, make static.
+ (build_bytes): Prototype.
+ (wordify_scb): Prototype.
+ * config/tc-h8500.h (start_label): Declare.
+ (tc_coff_sizemachdep): Declare.
+ * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
+ (i370_rmode <unused>): Likewise.
+ (i370_csect <unused>): Likewise.
+ (i370_dc <unused>): Likewise.
+ (i370_ds <unused>): Likewise.
+ (i370_elf_lcomm <unused>): Likewise.
+ (i370_ltorg <ignore>): Likewise.
+ (i370_using <ignore>): Likewise.
+ (i370_drop <ignore>): Likewise.
+ (i370_byte <ignore>): Likewise.
+ (i370_tc <ignore>): Likewise.
+ (md_estimate_size_before_relax <fragp, seg>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (md_pcrel_from_section <sec>): Likewise.
+ (tc_gen_reloc <seg>): Likewise.
+ (i370_section_letter): #if 0 unused functions.
+ (i370_section_word, i370_section_type, i370_section_flags): Likewise.
+ (symbol_locate): Prototype.
+ * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
+ (md_number_to_disp, md_number_to_field): Remove.
+ (md_apply_fix3): Correct format string and cast "fup".
* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
(s_endian <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
* macro.h: Update prototypes to remove comment_char parameter.
Fix formatting.
* read.c (read_a_source_file, s_irp): Remove comment_char
- parameter from invocation of functions in macro.c
-
+ parameter from invocation of functions in macro.c
+
2002-12-02 Hans-Peter Nilsson <hp@axis.com>
* read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.