Fix building with --enable-targets=all
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index ecb6642680ec7d5fae56b0767756c0e5f9084a8d..640362fd563d76ba556794100084cfacf0dbd01b 100644 (file)
@@ -1,3 +1,261 @@
+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
+       architecture if the object causing the bump is dynamic.
+       * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise,
+       and also don't it for memory ordering.
+       (sparc64_elf_write_relocs): Take src_rela out of the loop.
+
+2000-02-27  Ian Lance Taylor  <ian@zembu.com>
+
+       * dwarf2.c (read_abbrevs): Use _raw_size directly rather than
+       calling bfd_get_section_size_before_reloc.
+       (decode_line_info): Likewise.
+       (_bfd_dwarf2_find_nearest_line): Likewise.
+
+2000-02-27  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
+       name of the libtool directory.
+       * Makefile.in: Rebuild.
+
+Fri Feb 25 18:39:26 2000  Rodney Brown (RodneyBrown@pmsc.com)
+
+       * som.c (SOM_HOWTO): Define.
+       (som_hppa_howto_table): Use it.
+
+2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * config.bfd: Enable 64 bit support for GNU/Linux/sparc.
+
+       * config.bfd: Enable 64 bit support for Solaris7+/sparc.
+
+2000-02-24  Catherine Moore  <clm@cygnus.com>
+
+       * som.c (som_misc_symbol_info):  Add field
+       secondary_def. 
+       (som_bfd_derive_misc_symbol_info):  Initialize
+       secondary_def.
+       (som_build_and_write_symbol_table): Keep track
+       of secondary_def field.
+       (som_slurp_symbol_table): Set BSF_WEAK symbol flag
+       if secondary_def field is set.
+       (som_bfd_ar_write_symbol_stuff): Initialize
+       secondary_def.
+
+2000-02-23  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dwarf2.c (read_address): Read 16-bits addresses.
+       (parse_comp_unit): Accept addr_size == 2.
+       
+2000-02-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * bfd-in.h: Update copyright date.
+
+2000-02-23  Linas Vepstas <linas@linas.org>
+
+       * cpu-i370.c: New file.
+       * elf32-i370.c:  New file.
+       * archures.c (enum bfd_architecture): Add bfd_arch_i370.
+       (bfd_i370_arch): New.
+       (bfd_archures_list): Add bfd_i370_arch.
+       * elf.c (prep_headers): Add bfd_arch_i370.
+       * Makefile.am: Add support for IBM 370 elf.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * libbfd.h (bfd_reloc_code_real_names): Likewise.
+       * reloc.c (bfd_reloc_code_type): Likewise.
+       * targets.c: Likewise.
+
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2000-02-22  Ian Lance Taylor  <ian@zembu.com>
+
+       * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
+       invalid relocation types, and change them to R_386_NONE.
+
+2000-02-22  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): If a version symbol is
+       not defined, don't add a second ELF_VER_CHR.
+
+        * elflink.h (elf_bfd_final_link): Call output_extsym for global
+       symbols converted to local symbols even when stripping all
+       symbols.
+        (elf_link_output_extsym): Process global symbols converted to
+       local symbols even if they are being stripped.
+
+2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * archures.c (bfd_octets_per_byte): Return unsigned int.
+       (bfd_arch_mach_octets_per_byte): Ditto.
+       * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned
+       comparison warning.
+       * section.c (bfd_get_section_size_before_reloc): Quell signed
+       vs. unsigned comparison warning.
+       (bfd_get_section_size_after_reloc): Same here.  Fix parentheses too.
+       * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27
+       change.  What was I thinking?
+       * bfd-in2.h: Regenerate.
+
+       * elflink.h (elf_gc_sweep): Skip non-elf input bfds.
+       (elf_gc_sections): Same here.
+       (elf_gc_common_finalize_got_offsets): And here.
+
 2000-02-21  Ian Lance Taylor  <ian@zembu.com>
 
        ELF HPPA doesn't work at present; remove it until it does.
This page took 0.026564 seconds and 4 git commands to generate.