]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
Allow xstormy-elf-gas to handle "@fptr() - @fptr()" expressions.
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index 703b230935db922fd7f9effa3a4b37e8f214e63d..93718c0341acc143dfd0de53850622a4077a600e 100644 (file)
@@ -1,3 +1,668 @@
+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.
        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'.
 
 
 2002-12-16  Andrew MacLeod  <amacleod@redhat.com>
 
-       * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation 
+       * 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>