Add missing parts of ChangeLog entry for my change of 2000/02/19 00:59:26 to coff...
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c175515f25c38df9069fb72ad9c46ddcca404273..208ccc86f28dade1480451f788d83f47566208eb 100644 (file)
@@ -1,3 +1,253 @@
+2000-03-17  Alan Modra  <alan@linuxcare.com.au>
+
+       * reloc.c (bfd_check_overflow): In case complain_overflow_bitfield,
+       flag an overflow if the bitfield is outside -2**n to 2**n-1.  The
+       allowable range used to be -2**(n-1) to 2**n-1.
+       * reloc.c (_bfd_relocate_contents): Same here.  Also replace
+       "boolean overflow" with "bfd_reloc_status_type flag".
+
+2000-03-14  Doug Evans  <dje@casey.transmeta.com>
+        * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.
+2000-03-14  Kazu Hirata  <kazu@hxi.com>
+
+       * reloc16.c (bfd_coff_reloc16_relax_section): Count the total number
+       of shrinks properly, including the last reloc.
+
+2000-03-13  Kazu Hirata  <kazu@hxi.com>
+
+       * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
+       check for R_MOVL2.
+
+2000-03-11  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on 
+       a format mismatch rather than an "error" from bfd_read such as
+       bfd_error_file_truncated.
+
+2000-03-10  Geoff Keating  <geoffk@cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
+       sign-extension and big-endian compensation for
+       R_MIPS_64 even in ld -r.
+
+2000-03-10  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * elf32-mips.c (mips_elf_next_relocation): Rename from
+       mips_elf_next_lo16_relocation, and generalize to look
+       for any relocation type.
+       (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
+       (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
+       (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
+       (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
+       (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
+       (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
+       (bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
+       (mips_rtype_to_howto): Likewise.
+       (mips_elf_calculate_relocation): Handle new relocs.
+       (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
+       are paired.  The addend for R_MIPS_GNU_REL16_S2
+       is shifted right two bits.
+
+2000-03-10  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * reloc.c (bfd_perform_relocation): Undo emacs formatting of
+       comment, and ensure it doesn't happen again.
+       (bfd_install_relocation): Same here.
+       (_bfd_relocate_contents): Don't bother assigning unused signmask
+       shift result.  Fix typos in comments.
+       Remove trailing whitespace throughout file.
+
+2000-03-07  Doug Evans  <dje@casey.transmeta.com>
+
+       * reloc.c (reloc_howto_struct): Fix partial_inplace comment.
+       * bfd-in2.h: Rebuild.
+
+2000-03-06  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (struct pe_ILF_vars): Add sym_ptr_table and
+       sym_ptr_ptr fields.
+       (SIZEOF_ILF_SYM_PTR_TABLE): Define.
+       (SIZEOF_ILF_STRINGS): Redefine.
+       (pe_ILF_make_a_symbol-reloc): New function.  Creates a symbol
+       relative reloc, as opposed to a section relative reloc.
+       (pe_ILF_make_a_symbol): Set the class of local symbols to C_STAT
+       not C_LABEL.
+       Add length of symbol's prefix to string pointer.
+       Store a pointer to the symbol in the symbol pointer table.
+       (pe_ILF_build_a_bfd): Do not build .idata$2 or .idata$7.
+       Initialise the symbol pointer table.
+       Store the hint in the Hint/Name table.
+       Make the jump reloc be symbol realtive, not section relative.
+       Create an import symbol for imported code.
+
+2000-03-06  Catherine Moore  <clm@cygnus.com>
+
+       * elf.c (swap_out_syms):  Check for null type_ptr.
+
+2000-03-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       * aout-target.h (MY(write_object_contents)): Remove unused
+       and unusable "#if CHOOSE_RELOC_SIZE".
+       * pc532-mach.c (MY(write_object_contents)): Ditto.
+       * netbsd.h (MY(write_object_contents)): Ditto.
+       * hp300hpux.c (MY(write_object_contents)): Ditto.
+       * freebsd.h (MY(write_object_contents)): Ditto.
+       * aout-tic30.c (tic30_aout_write_object_contents): Ditto.
+
+2000-02-29  H.J. Lu  <hjl@gnu.org>
+
+       * peicode.h (jtab): Make it static.
+
+       * coff-sh.c (sh_align_load_span): Declared if COFF_WITH_PE is
+       defined and COFF_IMAGE_WITH_PE is not defined.
+       (_bfd_sh_align_load_span): Defined as sh_align_load_span if
+       COFF_WITH_PE is defined and COFF_IMAGE_WITH_PE is not defined.
+
+2000-03-01  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-arm.c (bfd_arm_process_before_allocation): Make
+       'symndx' signed to prevent compile time warning.
+
+       * coff-mcore.c: Remove unused prototype for pe_object_p.
+
+       * coff-sh.c: Add "#ifndef COFF_IMAGE_WITH_PE" around static
+       functions that are not used when COFF_IMAGE_WITH_PE is
+       defined.
+       (struct sh_opcode): Change type of 'flags' field to unsigned
+       long so that it can hold the USESAS flag.
+
+       * coffcode.h (styp_to_sec_flags): Initialise 'target_name'.
+
+       * elf-m10300.c (mn10300_elf_relax_section): Initialise
+        'sym_sec'.
+
+       * elf32-i370.c: Add ATTRIBUTE_UNUSED to unused function
+       parameters.
+       Remove unusued variables and code.
+       (elf_backend_add_symbol_hook): Fix prototype.
+
+       * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and
+       'srelgot'.
+
+       * elf32-mcore.c (mcore_elf_relocate_section): Initialise
+       'oldinst'. 
+
+       * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function
+       parameters.
+       Remove unusued variables and code.
+       (elf_backend_add_symbol_hook): Fix prototype.
+
+       * elf32-sh.c (sh_elf_set_mach_from_flags): Use 'flags'.
+
+       * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED
+       to unused function parameter.
+       
+       * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function
+       parameters.
+       Use EMPTY_HOWTO to initialise empty howto slots.
+       Remove unused variables.
+
+       * peicode.h (pe_ILF_build_a_bfd): Initialise id6.       
+
+2000-03-01  H.J. Lu  <hjl@gnu.org>
+
+       * aoutx.h (aout_link_input_section_std): Pass "true" to
+       the undefined_symbol callback.
+       (aout_link_input_section_ext): Likewise.
+       * bout.c (get_value): Likewise.
+       * coff-a29k.c (coff_a29k_relocate_section): Likewise.
+       * coff-alpha.c (alpha_ecoff_get_relocated_section_conten):
+       Likewise.
+       (alpha_relocate_section): Likewise.
+       * coff-arm.c (coff_arm_relocate_section): Likewise.
+       * coff-i960.c (coff_i960_relocate_section): Likewise.
+       * coff-mcore.c (coff_mcore_relocate_section): Likewise.
+       * coff-mips.c (mips_relocate_section): Likewise.
+       * coff-ppc.c (coff_ppc_relocate_section): Likewise.
+       * coff-sh.c (sh_relocate_section): Likewise.
+       * coff-tic80.c (coff_tic80_relocate_section): Likewise.
+       * cofflink.c (_bfd_coff_generic_relocate_section): Likewise.
+       * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
+       * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+       * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
+       * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       * elf32-i370.c (i370_elf_relocate_section): Likewise.
+       * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+       * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+       * elf32-v850.c (v850_elf_relocate_section): Likewise.
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
+       * elflink.h (elf_link_output_extsym): Likewise.
+       * pe-mips.c (coff_pe_mips_relocate_section): Likewise.
+       * reloc.c (bfd_generic_get_relocated_section_conten): Likewise.
+       * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.
+
+       * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the
+       undefined_symbol callback when building shared library with
+       -Bsymbolic and undefined symbols are allowed. Otherwise, pass
+       "true".
+       * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
+       (elf32_mips_get_relocated_section_content): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2000-02-28  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects.
+       * Makefile.in: Regenerate.
+
+       * configure.in: Add support for mips and sh pe vectors.
+       * configure: regenerate.
+
+       * config.bfd: Add support for arm-wince, mips-pe and sh-pe
+       targets. 
+
+       * targets.c: Add mips and sh pe vectors.
+
+       * libpei.h (coff_final_link_postscript): Only define if not
+       already defined.
+
+       * coffcode.h: Add support for WinCE magic numbers.
+
+       * peigen.c (pe_print_reloc): Update comment and rearrange
+       appending of newline character.
+
+       * peicode.h: Add support for Image Library Format.
+       (pe_ILF_vars): Structure containing data used by ILF code.
+       (pe_ILF_make_a_section): New function.  Create a section based
+       on ILF data.
+       (pe_ILF_make_a_reloc): New function.  Create a reloc based on
+       ILF data.
+       (pe_ILF_make_a_symbol): New function.  Create a symbol based
+       on ILF data.
+       (pe_ILF_save_relocs): New function.  Store the relocs created
+       by pe_ILF_make_a_reloc in a section.
+       (pe_ILF_build_a_bfd): New function.  Create a BFD describing
+       an ILF object.
+       (pe_ILF_object_p): New function.  Return a bfd_target pointer
+       for an ILF object.
+       (pe_bfd_object_p): If an ILF object is detected call
+       pe_ILF_object_p on it.
+
+       * coff-arm.c: Add support for WinCE relocs which are different
+       from normal ARM COFF relocs.
+       * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target.
+
+       * coff-sh.c: Add support for sh-pe target.
+       * pe-sh.c: New file.  Support code for sh-pe target.
+       * pei-sh.c: New file.  Support code for sh-pe target.
+
+       * pe-mips.c: New file.  Support code for mips-pe target.
+       * pei-mips.c: New file.  Support code for mips-pe target.
+
 2000-02-27  Jakub Jelinek  <jakub@redhat.com>
 
        * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump
@@ -132,6 +382,30 @@ Fri Feb 25 18:39:26 2000  Rodney Brown (RodneyBrown@pmsc.com)
        * coff-rs6000.c (xcoff_howto_table_16): New variable.
        (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
 
+2000-02-18  Ulrich Drepper  <drepper@cygnus.com>
+
+       * coff-rs6000.c (XCOFFARMAGBIG): New macro.
+       (xcoff_ar_file_hdr_big): New structure.
+       (SIZEOF_AR_FILE_HDR_BIG): New macro.
+       (xcoff_ar_hdr_big): New structure.
+       (SIZEOF_AR_HDR_BIG): New macro.
+       (xcoff_big_format_p): New macro.
+       (xcoff_ardata_big): New macro.
+       (arch_xhdr_big): New macro.
+       (xcoff_slurp_armap): Handle large archives.
+       (xcoff_archive_p): Detect large archives.
+       (xcoff_read_ar_hdr): Handle large archives.
+       (xcoff_openr_next_archived_file): Handle large archives.
+       (xcoff_generic_stat_arch_elt): Handle large archives.
+       (xcoff_write_armap_old): Rename from xcoff_write_armap.
+       (xcoff_write_armap_big): New function.
+       (xcoff_write_armap): New function, dispatch to _old or _big.
+       (xcoff_write_archive_contents_old): Rename from
+       xcoff_write_archive_contents.
+       (xcoff_write_archive_contents_big): New function.
+       (xcoff_write_archive_contents): New function, dispatch to _old or
+       _big.
+
 2000-02-18  Richard Henderson  <rth@cygnus.com>
 
        * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
This page took 0.031014 seconds and 4 git commands to generate.