* config/tc-mips.c (mips_need_elf_addend_fixup): Remove
[deliverable/binutils-gdb.git] / gas / ChangeLog
index b4183d2ede55d38357e2367e40bb85572f83fc28..0b23d58c3c1e7926451a11313d7abf63658bed44 100644 (file)
@@ -1,3 +1,286 @@
+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.
@@ -9,9 +292,9 @@
 
        * 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 
+       (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 
+       (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.
This page took 0.028785 seconds and 4 git commands to generate.