Add support for arm-openbsd target
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 0c54609975d33761f837140c056c147bcb2cd162..9b69654b0c183896a6abfcd02190d281753e5585 100644 (file)
+2001-09-14  Kevin Lo <kevlo@openbsd.org>
+
+       * configure.bfd: Add arm-openbsd target.
+
+2001-09-14  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config.bfd: Change machine triplets from mips*el*-* to mips*el-*.
+       Add support for mips64.
+
+2001-09-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.
+
+2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf.c (prep_headers): Get the machine code from the elf
+       backend data.
+       * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200.
+       * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
+       * elf-arc.c (arc_elf_final_write_processing): Don't override
+       e_machine, it's now properly set in prep_headers.
+       * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and
+       EM_AVR_OLD.
+       (ELF_MACHINE_ALT1): Define to EM_AVR_OLD.
+       * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V.
+       * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V.
+       * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30.
+       * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R.
+       * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD.
+       * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
+
+2001-09-11  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_section_flags): New.
+       (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
+
+2001-09-11  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Do not
+       apply HINT relocations against dynamic symbols.
+
+2001-09-11  H.J. Lu  <hjl@gnu.org>
+
+       * linker.c (link_action): Change COMMON_ROW\defw from CREF to COM.
+
+2001-09-09  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
+
+       * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
+       following a call to a near function.
+
+2001-09-08  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
+       relocation errors.  Fail gp-relative relocations against
+       dynamic symbols.
+
+2001-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
+       as well as DEF_DYNAMIC in test for avoided copy relocs.
+       (allocate_plt_and_got_and_discard_relocs): Likewise.
+       * elf32-hppa.c (elf_i386_relocate_section): Likewise.
+       (allocate_plt_and_got_and_discard_relocs): Likewise.
+
+2001-09-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
+       of R_MIPS_PC16.
+
+2001-09-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
+       definitions.
+       (mips_elf64_howto_table_rel): Likewise.
+
+2001-09-05  Tom Rix <trix@redhat.com>
+
+       * xcofflink.c (bfd_xcoff_import_symbol): Handle import file XMC_XO
+       and syscall symbols.
+       (write_global_symbol) : Same.
+       (bfd_xcoff_export_symbol): Remove unused syscall param.
+       * libxcoff.h: Change prototype of bfd_xcoff_export symbol and
+       bfd_xcoff_import_symbol.
+       * bfd-in.h: Same.
+       * bfd-in2.h : Regenerate.
+
+2001-09-04  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (SKIP_HOWTO): New.
+       (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
+       Fix sizes of 16-bit mem format relocs.
+       (elf64_alpha_reloc_map): Update to match.
+       (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
+       (elf64_alpha_relax_without_lituse): Likewise.
+       (elf64_alpha_check_relocs): Handle GPREL16.
+       (elf64_alpha_relocate_section): Likewise.
+       * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
+       (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
+       * bfd-in2.h, libbfd.h: Rebuild.
+
+2001-09-04  Jeff Law <law@redhat.com>
+
+       * elf32-h8300.c (elf32_h8_relax_section): New function.
+       (elf32_h8_relax_delete_bytes): Likewise.
+       (elf32_h8_symbol_address_p): Likewise.
+       (elf32_h8_get_relocated_section_contents): Likewise.
+       (bfd_elf32_bfd_relax_section): Define.
+       (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
+
+       * elf32-h8300.c (special): New function.
+       (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
+       all relocations.
+       (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
+       relocations.  Fix problems with the true 24bit reloc R_H8_DIR24R8.
+       Fix minor problems with 8bit and 16bit PC relative relocations.
+
+2001-09-01  Andreas Jaeger  <aj@suse.de>
+
+       * vms-tir.c: Add missing prototypes.
+       * vms-hdr.c: Likewise.
+       * vms-gsd.c: Likewise.
+       * vms-misc.c: Likewise.
+
+2001-08-31  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
+       with bad relocation.
+
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+           Jason Eckhardt  <jle@redhat.com>
+
+       * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
+       mips32_4k and mips64.
+       * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
+       bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
+       * bfd/cpu-mips.c: Ditto.
+       * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
+       * bfd/bfd-in2.h: Regenerate.
+
+2001-08-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
+       value into R_ALPHA_RELATIVE's addend.
+       (elf64_alpha_finish_dynamic_symbol): Likewise.
+
+2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf32-arm.h (elf32_arm_relocate_section): Do not rightshift
+       recomputed addend during relocatable link if not USE_REL.
+
+       * elflink.h (elf_gc_propagate_vtable_entries_used): Fix off-by-one
+       error.
+
+2001-08-30  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Revert the last
+       2 changes.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic
+       relocations for weak definitions.
+
+2001-08-30  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
+       (BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
+       * Makefile.in: Rebuild.
+
+2001-08-30  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Don't create
+       dynamic relocation for undefined weak symbols when creating
+       executables. Check h->root.root.type, instead of h->root.type.
+
+2001-08-29  Joel Sherrill <joel@OARcorp.com>
+
+       * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change
+       default from coff to elf.
+
+2001-08-29  Jeff Law <law@redhat.com>
+
+       * elf32-h8300.c (h8_elf_howto_table): Add new PC relative
+       relocations.
+       (h8_reloc_map): Similarly.
+       (elf32_h8_final_link_relocate): Remove incorrect overflow tests.
+       Add support for PC relative relocations.
+
+       * elf32-h8300.c: Put all prototypes together.
+       (elf32_h8_info_to_howto): Parameter elf_reloc is used.
+       (elf32_h8_final_link_relocate): New function for linker.
+       (elf32_h8_relocate_section): Similarly.
+       (elf_backend_relocate_section): Define.
+
+       * cpu-h8300.c (h8300_scan, compatible): Prototype.
+       (h8300_scan): Handle architecture:machine encodings typically
+       found in linker scripts.
+       * elf.c (prep_headers): Do not try to do H8 machine recognition
+       here.
+       * elf32-h8300.c:  Add some missing prototypes.
+       (elf32_h8_mach, elf32_h8_final_write_processing): New functions.
+       (elf32_h8_object_p): Similarly.
+
+2001-08-29  Tom Rix <trix@redhat.com>
+
+       * xcofflink.c (xcoff_link_add_symbols):  Fix XTY_LD symbol that
+       does not follow a XTY_SD.
+
+2001-08-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * targmatch.sed: Delete case statements.
+       * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
+       aix4.3 and above.
+
+Wed Aug 29 02:27:36 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * Makefile.am (elf32-h8300.lo): New target.
+       * config.bfd (h8300*-*-elf): New case.
+       * configure.in (bfd_elf32_h8300_vec): New case.
+       * elf.c (prep_headers): Add case for bfd_arch_h8300.
+       * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation.
+       (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise.
+       (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise.
+       * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration.
+       * elf32-h8300.c: New file.
+       * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.
+
+2001-08-28  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * sparclynx.c: Add missing prototypes.
+       * coff-mcore.c: Add missing prototypes.
+       * elf32-pj.c: Add missing prototypes.
+       * nlm32-sparc.c: Add missing prototypes.
+       * oasys.c: Add missing prototypes.
+       * pdp11.c: Add missing prototypes.
+       * pe-mips.c: Add missing prototypes.
+       * riscix.c: Add missing prototypes.
+
+2001-08-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-i386.c: Add missing prototypes.
+       * elf32-ppc.c: Likewise.
+       * elf32-sh-lin.c: Likewise.
+       * elfarm-nabi.c: Likewise.
+
+2001-08-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-i386.c (elf_i386_grok_prstatus): New function.
+       (elf_i386_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Likewise.
+       * elf32-ppc.c (ppc_elf_grok_prstatus): New function.
+       (ppc_elf_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Likewise.
+       * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function.
+       (elf32_shlin_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Likewise.
+       * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function.
+       (elf32_arm_nabi_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Likewise.
+
+2001-08-27  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (mips_elf_create_dynamic_relocation): Add more
+       sanity check.
+       (mips_elf_calculate_relocation): Create dynamic relocation for
+       symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR
+       bit is not set.
+
+2001-08-27  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.
+       (_bfd_mips_elf_copy_indirect_symbol): Likewise.
+       (_bfd_elf32_mips_grok_prstatus): Likewise.
+       (_bfd_elf32_mips_grok_psinfo): Likewise.
+       (_bfd_mips_elf_hide_symbol): Make it static and cast to
+       `struct mips_elf_link_hash_entry *'.
+       (_bfd_mips_elf_copy_indirect_symbol): Make it static.
+
+2001-08-27  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * mipsbsd.c: Add missing prototypes.
+       * hp300hpux.c: Add missing prototypes.
+       * i386aout.c: Add missing prototypes.
+       * i386lynx.c: Add missing prototypes.
+       * i386mach3.c: Add missing prototypes.
+       * i386msdos.c: Add missing prototypes.
+       * i386os9k.c: Add missing prototypes.
+
+2001-08-27  Linus Nordberg  <linus@swox.se>
+           Torbjorn Granlund  <tege@swox.com>
+           Staffan Ulfberg  <staffanu@swox.se>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * config.bfd: Add powerpc64 target.  Add powerpc64 vectors to
+       targ64_selvecs for 32 bit powerpc targets.
+       * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo.
+       (BFD64_BACKENDS_CFILES): Add elf64-ppc.c.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * configure.in: Add elf64_powerpc vecs.
+       * configure: Regenerate.
+       * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit.
+       * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target.
+       * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec.
+       * elf64-ppc.c: New file.
+       * reloc.c: Add powerpc64 relocs.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2001-08-27  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (elf32_m68k_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf32_m68k_reloc_type_class): New function.
+       (elf_backend_reloc_type_class): Define.
+
+2001-08-27  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf_s390_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+       * elf32-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf_s390_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Set DF_TEXTREL if the reloc
+       is against read-only section.
+       (ppc_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (ppc_elf_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+2001-08-26  Andreas Jaeger  <aj@suse.de>
+
+       * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf_cris_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+       * elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is
+       against read-only section.
+       (elf_backend_reloc_type_class): Define.
+       (sh_elf_reloc_type_class): New.
+       (sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+
+       * elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf32_arm_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+2001-08-25  Andreas Jaeger  <aj@suse.de>
+
+       * oasys.c: Add missing prototypes.
+
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused
+       attribute for parameter.
+       * elf.c (_bfd_elf_reloc_type_class): Likewise.
+
+       * versados.c (get_4): Make static.
+       (get_10): Make static.
+       Add missing prototypes.
+       (process_esd): Fix call to versados_new_symbol.
+
+2001-08-25  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * coff-a29k.c: Add missing prototypes.
+       * coff-apollo.c: Add missing prototypes.
+       * coff-arm.c: Add missing prototypes.
+       * coff-i860.c: Add missing prototypes.
+       * coff-rs6000.c: Add missing prototypes.
+       * coff-tic80.c: Add missing prototypes.
+       * elf-m10200.c: Add missing prototypes.
+       * elf-m10300.c: Add missing prototypes.
+       * elf32-arm.h: Add missing prototypes.
+       * elf32-d10v.c: Add missing prototypes.
+       * elf32-m32r.c: Add missing prototypes.
+       * elf32-mcore.c: Add missing prototypes.
+       * elf32-openrisc.c: Add missing prototypes.
+       * elf32-sh.c: Add missing prototypes.
+       * elf32-sparc.c: Add missing prototypes.
+       * elf32-v850.c: Add missing prototypes.
+       * elfarm-nabi.c: Add missing prototypes.
+       * elfarm-oabi.c: Add missing prototypes.
+
+2001-08-25  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
+       E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
+
+2001-08-24  H.J. Lu  <hjl@gnu.org>
+
+       * elf.c (_bfd_elf_merge_sections): Fail if not using an ELF
+       hash structure.
+
+2001-08-24  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf-bfd.h (elf_hash_table): Revert definition.
+       (is_elf_hash_table): New macro.
+       * elflink.h (elf_link_add_object_symbols): Test
+       is_elf_hash_table before accessing ELF only fields in hash
+       structure.
+       (elf_link_create_dynamic_sections): Fail if not using an ELF
+       hash structure.
+       (elf_add_dynamic_entry): Fail if not using an ELF hash
+       structure.
+       (elf_link_record_local_dynamic_symbol): Fail if not using an
+       ELF hash structure.
+       (size_dynamic_sections): Fail if not using an ELF hash
+       structure.
+       (elf_adjust_dynamic_symbol): Fail if not using an ELF
+       hash structure.
+       (elf_bfd_final_link): Fail if not using an ELF hash
+       structure.
+
+2001-08-24  H.J. Lu  <hjl@gnu.org>
+
+       * elf-bfd.h (elf_hash_table): Return NULL if the linker hash
+       table is not an ELF linker hash table.
+
+       * elf.c (_bfd_elf_link_hash_table_init): Set the linker hash
+       table type to bfd_link_elf_hash_table.
+
+       * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Revert
+       the last change.
+
+       * linker.c (_bfd_link_hash_table_init): Set the linker hash
+       table type to bfd_link_generic_hash_table.
+
+2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * bfd.c (bfd_alt_mach_code): New function.
+       * bfd-in2.h: Rebuilt.
+
+2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (mn10300_elf_relocate_section): Test the right
+       `type' field in the hash entry when deciding whether to follow a
+       link.
+
+2001-08-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
+       last.
+       (elf_link_sort_relocs): Adjust accordingly.
+
+       * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.
+       (elf64_alpha_check_relocs): Set it if section this reloc is against
+       is read-only.  Set DF_TEXTREL if a RELATIVE reloc is needed against
+       read-only section.
+       (elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation
+       is is against read-only section.
+       (elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't
+       check section names.
+       (elf64_alpha_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+2001-08-24  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
+       by bfd_malloc().
+
+2001-08-23  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if
+       the reloc is against read-only section.
+       (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead
+       of looking up section names for DT_TEXTREL.
+       (elf64_x86_64_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+
+2001-08-23  H.J. Lu  <hjl@gnu.org>
+
+       * syms.c (bfd_print_symbol_vandf): Add abfd to arg.
+       * bfd-in2.h (bfd_print_symbol_vandf): Regenerated.
+
+       * aoutx.h (NAME(aout,print_symbol)): Pass abfd to
+       bfd_print_symbol_vandf.
+       * coffgen.c (coff_print_symbol): Likewise.
+       * elf.c (bfd_elf_print_symbol): Likewise.
+       * ieee.c (ieee_print_symbol): Likewise.
+       * nlmcode.h (nlm_print_symbol): Likewise.
+       * oasys.c (oasys_print_symbol): Likewise.
+       * pdp11.c (NAME(aout,print_symbol)): Likewise.
+       * som.c (som_print_symbol): Likewise.
+       * srec.c (srec_print_symbol): Likewise.
+       * tekhex.c (tekhex_print_symbol): Likewise.
+       * versados.c (versados_print_symbol): Likewise.
+       * vms.c (vms_print_symbol): Likewise.
+
+       * elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma
+       with bfd_fprintf_vma.
+       (bfd_elf_print_symbol): Likewise.
+       * syms.c (bfd_print_symbol_vandf): Likewise.
+
+2001-08-23  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * aoutf1.h (sunos_write_object_contents): Silence compile time
+       warning.
+       * libaout.h (N_SET_DYNAMIC): Silence compile time warning.
+
+       * bout.c: Add missing function prototypes.  Fix formatting.
+       * coff-z8k.c: Add missing function prototypes.  Fix formatting.
+       * coff-w65.c: Add missing function prototypes.  Fix formatting.
+       * coff-h8500.c: Add missing function prototypes.  Fix formatting.
+       * coff-h8300.c: Add missing function prototypes.  Fix formatting.
+       * coff-tic54x.c: Add missing function prototypes.  Fix formatting.
+       * coff-tic30.c: Add missing function prototypes.  Fix formatting.
+       * coff-m68k.c: Add missing function prototypes.  Fix formatting.
+       * coff-rs6000.c: Add missing function prototypes.  Fix formatting.
+       * coff-sh.c: Add missing function prototypes.  Fix formatting.
+
+2001-08-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (enum elf_reloc_type_class): New.
+       (struct elf_backend_data): Add elf_backend_reloc_type_class.
+       (_bfd_elf_reloc_type_class): New.
+       * elfxx-target.h (elf_backend_reloc_type_class): Define.
+       (elfNN_bed): Add elf_backend_reloc_type_class.
+       * elf.c (_bfd_elf_reloc_type_class): New.
+       * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
+       is against read-only section.
+       (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf_i386_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+       * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (elf32_sparc_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+       * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
+       reloc is against read-only section.
+       (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
+       looking up section names for DT_TEXTREL.
+       (sparc64_elf_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+       * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
+       (elfNN_ia64_hash_table_create): Clear ia64_info.
+       (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
+       section.
+       (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
+       instead of looking up section names for DT_TEXTREL.
+       (elfNN_ia64_reloc_type_class): New.
+       (elf_backend_reloc_type_class): Define.
+       * elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
+       (struct elf_link_sort_rela): New.
+       (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
+       (elf_bfd_final_link): Call elf_link_sort_relocs.
+       Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
+       necessary.
+
+2001-08-23  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * configure.in (x86-bsdi): No corefile support.
+       * configure: Regenerate.
+
+2001-08-22  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add missing
+       comma.
+
+2001-08-21  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * coff-go32.c: Make DWARF2 sections use an alignment of 0.  Set
+       the alignment of dwarf2 linkonce sections to 0.
+       * coff-sto32.c: Likewise.
+
+2001-08-20  Andreas Jaeger  <aj@suse.de>
+
+       * coff-sparc.c: Add missing prototypes.
+       * elf32-s390.c: Likewise.
+       * elf32-i960.c: Likewise.
+       * aout-target.h: Likewise.
+
+2001-08-20  H.J. Lu  <hjl@gnu.org>
+
+       * elf-bfd.h (elf_obj_tdata): Add num_section_syms.
+       (elf_num_section_syms): New for num_section_syms.
+
+       * elf.c (elf_map_symbols): Set num_section_syms.
+       (_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for
+       the section symbol index.
+
+2001-08-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Never
+       select the generic has table creator.  All elf backends need elf
+       specific fields in the hash table.
+
+2001-08-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * archive.c (offsetof): Remove define.
+       * elf.c: Likewise.
+       * oasys.c: Likewise
+       * sysdep.h (offsetof): Define.
+
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (bfd_get_gp_size): Return an unsigned int.
+       (bfd_set_gp_size): Make param unsigned.
+       * bfd-in2.h: Regenerate.
+       * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather
+       than calling bfd_get_gp_size.
+       * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
+
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * linker.c (default_fill_link_order): Handle four byte fill value.
+
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
+       prototype.
+       * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
+
+       * elf64-mips.c (UNUSED_RELOC): Define.
+       (mips_elf64_howto_table_rel): Use it.
+       (mips_elf64_howto_table_rela): Here too.
+       (mips_elf64_write_relocs): Fix signed/unsigned warning.
+
+       * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
+       silence warning.
+       * coffgen.c (coff_print_symbol): Fix warnings.
+       (coff_find_nearest_line): Likewise.
+       * cofflink.c (_bfd_coff_link_input_bfd): Likewise.
+       * coff-alpha.c (alpha_convert_external_reloc): Likewise.
+       * format.c (bfd_check_format_matches): Likewise.
+       (bfd_set_format): Likewise.
+       * coff-ia64.c: Add missing prototypes.
+       * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend
+       signed to silence warnings.
+       (elf64_alpha_relocate_section): Likewise.
+       (elf64_alpha_find_reloc_at_ofs): Fix warnings.
+       (elf64_alpha_add_symbol_hook): Likewise.
+       (elf64_alpha_final_link): Likewise.
+       (elf64_alpha_relax_section): Remove redundant assign to info.gotent.
+       (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args.
+       (elf64_alpha_size_got_sections): Likewise.
+       * elfxx-ia64.c: Add missing prototypes.
+       (elfNN_ia64_relocate_section): Fix warning.
+       (elfNN_ia64_unwind_entry_compare): Make params const.
+
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config.bfd (targ64_selvecs): New.
+       <powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
+
+       * bfd-in.h (BFD_VERSION): Remove wrong comment.
+       (BFD_DEFAULT_TARGET_SIZE): New.
+       (BFD_ARCH_SIZE): Comment.
+       * configure.in (target_size): New.  Set instead of target64 in
+       selvecs case statement.  Set target64 from it.
+       (bfd_default_target_size): New.  Set from taget_size. AC_SUBST.
+       * bfd-in2.h: Regenerate.
+       * configure: Regenerate.
+
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
+       (bfd_errmsgs): Add corresponding message.
+       * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
+       finding an archive that contains different format object files.
+       Return bfd_error_wrong_object_format for this case.
+       * format.c: Formatting fixes.  s/CONST/const/.
+       (bfd_check_format_matches): Accept archives that give
+       bfd_error_wrong_object_format if no full match is found.  Tidy
+       code handling matching_vector.  Don't return a pointer to freed
+       memory in `matching'.  Handle ambiguous matches as for partial
+       archive matches.
+       * bfd-in2.h: Regenerate.
+
+2001-08-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * libieee.h (common_header_type): Add last_byte field.
+
+       * ieee.c: Add missing prototypes.  Some format fixes.
+       (struct output_buffer_struct): Move for availability to prototypes.
+       (ieee_part_after): New function.
+       (ieee_slurp_debug): Use it here.
+       (ieee_seek): Pass in ieee_data_struct rather than bfd.  Use
+       ieee_part_after to set last_byte to one past end of current part.
+       Update callers.
+       (ieee_pos): Pass in ieee_data_struct rather than bfd.
+       Update callers.
+       (parse_expression): Don't go beyond the end of the current part.
+       (ieee_slurp_external_symbols): Correct type passed to read_2bytes.
+       (ieee_get_symtab_upper_bound, ieee_get_symtab,
+       ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,
+       ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,
+       ieee_set_section_contents, ieee_write_object_contents,
+       ieee_make_empty_symbol): Make static.
+       (ieee_archive_p): Correct comments regarding bfd_read.
+       (ieee_object_p): Similarly.
+       (ieee_mkobject): Move it.  Clear output_ptr_start, output_ptr,
+       output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,
+       input_bfd, output_bfd, output_buffer.
+       (do_as_repeat): Write out ieee_set_current_pc_enum value as for
+       do_with_relocs, ie. as a symbol for relocatable files.
+       (ieee_vec): Add comments showing functions referenced by macros.
+
+2001-08-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * aout-tic30.c: Add missing prototypes.  Fix formatting.
+       * aout-ns32k.c: Add missing prototypes.  Fix formatting.
+       * peXXigen.c: Add missining prototypes.  Fix formatting.
+       * aout-adobe.c: Add missining prototypes.  Fix formatting.
+
+2001-08-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf32-v850.c: Add missing function prototypes.
+       Fix some formatting.
+
+       * cpu-v850.c: Add missing function prototype.
+       Fix some formatting.
+
+2001-08-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf-bfd.h (struct elf_backend_data): Add new fields
+       'elf_backend_sprintf_vma' and 'elf_backend_fprintf_vma'.
+       (bfd_elf_sprintf_vma): Rename function prototype to
+       '_bfd_elf_sprintf_vma'.
+       (bfd_elf_fprintf_vma): Rename function prototype to
+       '_bfd_elf_fprintf_vma'.
+       * bfd.c (bfd_sprintf_vma): Do not invoke bfd_elf_sprintf_vma
+       directly, instead indirect via the elf_backend_data structure.
+       (bfd_fprintf_vma): Do not invoke bfd_elf_fprintf_vma directly,
+       instead indirect via the elf_backend_data structure.
+       * elf.c (bfd_elf_sprintf_vma): Rename to _bfd_elf_sprintf_vma.
+       (bfd_elf_fprintf_vma): Rename to _bfd_elf_fprintf_vma.
+       * elfxx-target.h (elf_backend_sprintf_vma): Initialise if not
+       already defined.
+       (elf_backend_fprintf_vma): Initialise if not already defined.
+       (struct elf_backend_data): Initialise the
+       elf_backend_sprintf_vma and elf_backend_fprintf_vma fields.
+
+2001-08-10  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-sparc.c: Add missing prototypes.
+       * elf32-cris.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-s390.c: Likewise.
+
+2001-08-10  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
+       Add prototypes where needed.
+
+2001-08-10  H.J. Lu  <hjl@gnu.org>
+
+       * bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
+       (bfd_fprintf_vma): Likewise.
+
+2001-08-10  H.J. Lu  <hjl@gnu.org>
+
+       * bfd.c (bfd_sprintf_vma): Don't return void.
+       (bfd_fprintf_vma): Likewise.
+
+2001-08-10  Andreas Jaeger  <aj@suse.de>
+
+       * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
+       to build warnings.
+       * configure: Regenerate.
+
+2001-08-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
+       warning if not BFD64.  Add braces so emacs auto format works.
+       (bfd_elf_fprintf_vma): Likewise.
+
+       * libxcoff.h (struct xcoff_backend_data_rec): Constify src param
+       of _xcoff_swap_ld*.
+       * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
+       param to agree with libxcoff.h.
+       (xcoff_swap_ldhdr_out): Likewise.
+       (xcoff_swap_ldsym_in): Likewise.
+       (xcoff_swap_ldsym_out): Likewise.
+       (xcoff_swap_ldrel_in): Likewise.
+       (xcoff_swap_ldrel_out): Likewise.
+       (xcoff_create_csect_from_smclas): Likewise.
+       * coff64-rs6000.c: Add missing prototypes.
+       (xcoff64_swap_ldhdr_in): Modify type of external param to agree
+       with libxcoff.h.
+       (xcoff64_swap_ldhdr_out): Likewise.
+       (xcoff64_swap_ldsym_in): Likewise.
+       (xcoff64_swap_ldsym_out): Likewise.
+       (xcoff64_swap_ldrel_in): Likewise.
+       (xcoff64_swap_ldrel_out): Likewise.
+       (xcoff64_ppc_relocate_section): Make static.
+       (xcoff64_slurp_armap): Likewise.
+       (xcoff64_archive_p): Likewise.
+       (xcoff64_openr_next_archived_file): Likewise.
+       (xcoff64_sizeof_headers): Likewise.
+       (xcoff64_is_lineno_count_overflow): Likewise.
+       (xcoff64_is_reloc_count_overflow): Likewise.
+       (xcoff64_loader_symbol_offset): Likewise.
+       (xcoff64_loader_reloc_offset): Likewise.
+       * elf64-gen.c: Add missing prototypes.
+
+2001-08-09  H.J. Lu  <hjl@gnu.org>
+
+       * elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
+       (bfd_elf_fprintf_vma): Likewise.
+
+2001-08-09  H.J. Lu  <hjl@gnu.org>
+
+       * bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
+       to ...
+       * elf-bfd.h: Here.
+       * bfd-in2.h: Regenerated.
+
+2001-08-09  H.J. Lu  <hjl@gnu.org>
+
+       * bfd-in.h (bfd_sprintf_vma): New prototype.
+       (bfd_fprintf_vma): Likewise.
+       (bfd_elf_sprintf_vma): Likewise.
+       (bfd_elf_fprintf_vma): Likewise.
+       (bfd_printf_vma): New. Defined with bfd_fprintf_vma.
+       * bfd-in2.h: Regenerated.
+
+       * bfd.c (bfd_sprintf_vma): New. Defined.
+       (bfd_fprintf_vma): Likewise.
+
+       * elf.c (bfd_elf_sprintf_vma): New. Defined.
+       (bfd_elf_fprintf_vma): Likewise.
+
+2001-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-rs6000.c: Add missing prototypes.
+       (xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
+       xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
+       xcoff_loader_reloc_offset): Make static.
+       * dwarf1.c: Add missing prototypes.
+       * dwarf2.c: Add missing prototypes.
+       (struct abbrev_info): Move definition.
+       (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
+       * elf.c: Add missing prototypes.
+       * elf32-gen.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       (ppc_elf_sort_rela): Use PTR instead of "void *".
+       * elflink.h: Add missing prototypes.  Formatting fixes.
+       * merge.c: Add missing prototypes.
+       (last4_eq): Use PTR instead of "void *".
+       (last_eq): Likewise.
+       * syms.c: Add missing prototypes.
+
+2001-08-09  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * bfd.c: Fix formatting.
+       * bfd-in2.h: Regenerate.
+
+2001-08-09  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf32-arc.c (R_ARC_B22_PCREL): Change 'partial_inplace' to
+       true (this target uses REL relocations) and 'pcrel_offset' to
+       false (the PC is implied, not stored in the offset).
+
+2001-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       1999-10-19  Linus Nordberg  <linus@swox.se>
+       * elf-bfd.h (struct elf_backend_data): Add want_got_sym.
+       * elfxx-target.h (elf_backend_want_got_sym): Define.
+       (elfNN_bed): Add elf_backend_want_got_sym.
+       * elflink.c (_bfd_elf_create_got_section): Define
+       _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.
+
+2001-08-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
+       (find_rela_addend): New function.
+       (parse_comp_unit): Call it to find the abbrev offset addend.
+       (_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
+       members of dwarf2_debug as debugging information is read.
+
+2001-08-07  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * coff-sh.c (sh_coff_reloc_type_lookup): Provide for sh-coff
+       targets as well as sh-pe.
+
+2001-08-03  Ben Harris <bjh21@netbsd.org>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Include offset of
+       reloc from start of section when computing value for R_ARM_REL32
+       reloc.
+
+2001-08-03  Alan Modra  <amodra@bigpond.net.au>
+
+       From  H.J. Lu  <hjl@gnu.org>
+       * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't
+       keep relocs for undefined syms if there are no dynamic sections in
+       executable.
+       * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.
+
+2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
+
+       * cofflink.c (coff_link_check_ar_symbols): also search for
+       __imp__symbol as well as _symbol.
+       * linker.c (_bfd_generic_link_add_archive_symbols): also
+       search for __imp__symbol as well as _symbol.
+
+2001-08-01  Adam Nemet  <anemet@lnxw.com>
+
+       * elf.c (elf_sort_sections): Return zero only as the last step.
+
+2001-08-01  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config.bfd (arm-vxworks): Change name of define from VXWORKS to
+       ARM_COFF_BUGFIX.
+       (arm-epoc-pe): Define ARM_COFF_BUGFIX.
+       coff-arm.c (coff_arm_relocate_section): Replace VXWORKS with
+       ARM_COFF_BUGFIX.
+
+2001-07-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type
+       to match corresponding bfd_coff_backend data member.
+
+2001-07-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Update dependencies with "make dep-am".
+       * Makefile.in: Regenerate
+
+2001-07-15  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
+       (po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
+       * Makefile.in: Regenerate.
+
+2001-07-11  H.J. Lu  <hjl@gnu.org>
+
+       * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
+       flags when creating the reloc section if the ALLOC flag in the
+       source section is set.
+
+2001-07-11  Steve Ellcey  <sje@cup.hp.com>
+
+       * reloc.c (bfd_reloc_code_type): Add IA64 relocs
+       BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elfxx-ia64.c (ia64_howto_table): Define how to handle
+       new relocations.
+       (elfNN_ia64_reloc_type_lookup): Handle new relocations.
+       (elfNN_ia64_check_relocs): Likewise.
+       (elfNN_ia64_install_value): Likewise.
+       (elfNN_ia64_relocate_section): Likewise.
+
+2001-07-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
+       R_SPARC_UA64.
+       (elf32_sparc_check_relocs): Likewise.
+       Only create .rela section for alloced sections in shared libraries.
+       (elf32_sparc_relocate_section): Likewise.
+       Remove redundant check.
+       Optimize unaligned reloc usage.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
+       check.
+
+2001-07-11  H.J. Lu  <hjl@gnu.org>
+
+       * elf64-alpha.c (elf64_alpha_check_relocs): Only use the same
+       ALLOC|LOAD flags as the source section for debugging sections
+       when creating the reloc section.
+
+2001-07-05  Jim Wilson  <wilson@redhat.com>
+
+       * linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
+       the section of the bigger symbol.
+
+       * syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.
+
+2001-07-05  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * peicode.h (coff_swap_scnhdr_in): For sections containing
+       uninitialised data, only set their size to s_paddr if this does
+       not reset their size to zero.  MS's latest compilers will set
+       s_paddr to zero.
+
+2001-07-04  H.J. Lu  <hjl@gnu.org>
+
+       * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
+       Handle bfd_mach_mips4400, bfd_mach_mips4600 and
+       bfd_mach_mips5000.
+
+2001-07-03  Mark Elbrecht  <snowball3@softhome.net>
+
+       * bfd.c (bfd_get_sign_extend_vma): Support DJGPP COFF targets.
+
+       * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols from
+       sections being discarded.
+
+2001-06-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
+       instead of _bfd_elfcore_section_from_phdr.
+       * elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
+       * elf.c (_bfd_elfcore_section_from_phdr): Remove.
+       (_bfd_elfcore_make_pseudosection): Expedite tail-call.
+       (elfcore_grok_prstatus): Likewise.
+       (elfcore_grok_lwpstatus): Likewise.
+       (bfd_get_elf_phdr_upper_bound): Likewise.
+       (elfcore_make_note_pseudosection): Formatting.
+       (_bfd_elfcore_strndup): Formatting.
+       * elf32-mips.c (mips_elf_sym_is_global): Formatting.
+       (_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
+
+2001-06-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
+       and _bfd_elfcore_strndup.
+       (struct elf_backend_data): Add elf_backend_grok_prstatus
+       and elf_backend_grok_psinfo.
+       * elf.c (_bfd_elfcore_make_pseudosection): New function.
+       (elfcore_grok_prstatus): Use it.
+       (elfcore_make_note_pseudosection): Likewise.
+       (elfcore_strndup):  Rename to...
+       (_bfd_elfcore_strndup): Here, and make global.
+       (elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
+       (elfcore_grok_note): Call elf_backend_grok_prstatus
+       and elf_backend_grok_psinfo if available.
+       * elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
+       (_bfd_elf32_mips_grok_psinfo): New function.
+       (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Define.
+       * elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
+       (elf_backend_grok_psinfo): Likewise.
+       (elfNN_bed): Include elf_backend_grok_prstatus and
+       elf_backend_grok_psinfo.
+
+2001-06-29  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
+       hplink->sgot is NULL before filling GOT.  Check if hplink->splt
+       is NULL before filling PLT.
+
 2001-06-29  Alan Modra  <amodra@bigpond.net.au>
 
        * elflink.h (elf_link_output_extsym): Revert 1999-04-10.
 
 2001-06-20  Catherine Moore  <clm@redhat.com>
 
-        * elf-bfd.h (struct elf_backend_data):
-        elf_backend_emit_relocs: New field: Function for emitting
-        relocs.
-        elf_backend_count_relocs: New field: Function for determining
-        the number of relocs to be emitted.
-        * elfxx-target.h: Provide default (NULL) values for
-        elf_backend_emit_relocs and elf_backend_count_relocs.
-        * elflink.h (elf_link_size_reloc_section): Make the hash table
-        big enough to hold the relocs counted by either reloc_count or
-        o->reloc_count.
-        (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
-        should be emitted, either because of a command line option
-        stored in the info structure or because the target provides a
-        special reloc emitting function.
-        If the target provides a reloc counting function use it,
-        unless performing a relocatable link or emitting all relocs.
-        Also set the SEC_RELOC flag on any output section which will
-        contain relocs.
-        (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
-        should be emitted, either because of a command line option
-        stored in the info structure or because the target provides a
-        special reloc emitting function.
-        If the target provides a reloc emitting function, use it,
-        unless performing a relocatable link or emitting all relocs.
+       * elf-bfd.h (struct elf_backend_data):
+       elf_backend_emit_relocs: New field: Function for emitting
+       relocs.
+       elf_backend_count_relocs: New field: Function for determining
+       the number of relocs to be emitted.
+       * elfxx-target.h: Provide default (NULL) values for
+       elf_backend_emit_relocs and elf_backend_count_relocs.
+       * elflink.h (elf_link_size_reloc_section): Make the hash table
+       big enough to hold the relocs counted by either reloc_count or
+       o->reloc_count.
+       (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
+       should be emitted, either because of a command line option
+       stored in the info structure or because the target provides a
+       special reloc emitting function.
+       If the target provides a reloc counting function use it,
+       unless performing a relocatable link or emitting all relocs.
+       Also set the SEC_RELOC flag on any output section which will
+       contain relocs.
+       (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
+       should be emitted, either because of a command line option
+       stored in the info structure or because the target provides a
+       special reloc emitting function.
+       If the target provides a reloc emitting function, use it,
+       unless performing a relocatable link or emitting all relocs.
 
 2001-06-20  H.J. Lu  <hjl@gnu.org>
 
        function.  Move flagword result into parameter list.  Remove
        comment about setting bfd_error_handler to intercept failure
        results.
-        * coffgen.c (make_a_section_from_file): Examine result of
+       * coffgen.c (make_a_section_from_file): Examine result of
        calling bfd_coff_styp_to_sec_flags and pass a failure back to
        caller.
-        * ecoff.h (styp_flags_to_sec_flags): Change to a boolean
+       * ecoff.h (styp_flags_to_sec_flags): Change to a boolean
        function.  Move flagword result into parameter list.
-        * libcoff.h: Regenerate.
-        * libecoff.h: Regenerate.
+       * libcoff.h: Regenerate.
+       * libecoff.h: Regenerate.
 
 2001-06-13  Nick Clifton  <nickc@cambridge.redhat.com>
 
 
 2001-06-12  Catherine Moore  <clm@redhat.com>
 
-        * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
-        with the file_align entry from elf_backend_data.
-        (elf_gc_smash_unused_vtentry_relocs): Likewise.
-        (elf_gc_record_vtentry): Likewise.
+       * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
+       with the file_align entry from elf_backend_data.
+       (elf_gc_smash_unused_vtentry_relocs): Likewise.
+       (elf_gc_record_vtentry): Likewise.
 
 2001-06-10  Alan Modra  <amodra@bigpond.net.au>
 
 
 2001-06-06  Christian Groessler <cpg@aladdin.de>
 
-        * coff-z8k.c: Fix formatting.
+       * coff-z8k.c: Fix formatting.
        Fix howtos: howto->size was always 1.
 
 2001-06-05  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
 
 2001-05-24  Tom Rix <trix@redhat.com>
 
-        * Makefile.am coff-pmac bfd now defined in coff-rs6000.c
+       * Makefile.am coff-pmac bfd now defined in coff-rs6000.c
        xcoff-target.h not used to define rs6000 or ppc bfd.
        * Makefile.in same
 
 
        * elf-bfd.h (NUM_SHDR_ENTRIES): New macro: compute the number
        of entries in a structured section.
-        * elf.c: Use new macro.
-        * elf32-i386.c: Use new macro.
-        * elf32-mips.c: Use new macro.
-        * elf64-alpha.c: Use new macro.
-        * elf64-sparc.c: Use new macro.
-        * elfcode.h: Use new macro.
-        * elflink.h: Use new macro.
+       * elf.c: Use new macro.
+       * elf32-i386.c: Use new macro.
+       * elf32-mips.c: Use new macro.
+       * elf64-alpha.c: Use new macro.
+       * elf64-sparc.c: Use new macro.
+       * elfcode.h: Use new macro.
+       * elflink.h: Use new macro.
 
 2001-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
 
 2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * elf32-arm.h (elf32_arm_final_link_relocate): Set
-        EF_ARM_HASENTRY if the start address is set.
+       EF_ARM_HASENTRY if the start address is set.
 
 2001-05-03  Nick Clifton  <nickc@cambridge.redhat.com>
 
 
 2001-05-02  Johan Rydberg  <jrydberg@opencores.org>
 
-        * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain
+       * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain
        about overflow in R_OPENRISC_LO_16_IN_INSN and
        R_OPENRISC_HI_16_IN_INSN.Index: bfd/elf32-openrisc.c
 
 2001-03-23  Nick Clifton  <nickc@redhat.com>
 
        * Makefile.am (BUILD_CFILES): New variable: List of C source
-        files created in build directory.
-        (BUILD_HFILES): New variable: List of header files created in
-        build directory.
-        (POTFILES): Delete.
-        (po/POTFILES.in): Replace rule with empty entry.
-        (po/SRC-POTFILES.in): New rule: Create a list of source files
-        in the source directory.
-        (po/BLD-POTFILES.in): New rule: Create a list of source files
-        in the build directory.
-        (MOSTLYCLEAN): Do not delete source files created in build
-        directory.
-        * Makefile.in: Regenerate.
-        * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in
-        into po/Makefile.
-        * configure: Regenerate.
-
-        * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES
-        and BLD_POTFILES.
+       files created in build directory.
+       (BUILD_HFILES): New variable: List of header files created in
+       build directory.
+       (POTFILES): Delete.
+       (po/POTFILES.in): Replace rule with empty entry.
+       (po/SRC-POTFILES.in): New rule: Create a list of source files
+       in the source directory.
+       (po/BLD-POTFILES.in): New rule: Create a list of source files
+       in the build directory.
+       (MOSTLYCLEAN): Do not delete source files created in build
+       directory.
+       * Makefile.in: Regenerate.
+       * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in
+       into po/Makefile.
+       * configure: Regenerate.
+
+       * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES
+       and BLD_POTFILES.
        Add .. to the search path when building bfd.pot.
-        Delete POTFILES when performing distclean.
-        Add comment describing why distclean is broken in maintainer mode.
+       Delete POTFILES when performing distclean.
+       Add comment describing why distclean is broken in maintainer mode.
        * po/POTFILES.in: Delete.
        * po/SRC-POTFILES.in: New file.
        * po/BLD-POTFILES.in: New file.
-        * po/bfd.pot: Regenerate.
+       * po/bfd.pot: Regenerate.
 
 2001-03-22  Hans-Peter Nilsson  <hp@axis.com>
 
        of offset in BLX(1) instruction.
        * coff-arm.c (coff_arm_relocate_section): Clear bit zero of
        offset in BLX(1) instruction.
-        Fix formatting.
+       Fix formatting.
 
 2001-03-06  Nick Clifton  <nickc@redhat.com>
 
 
        * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy
        up, replacing multiple if statements with a switch.
-        (handle_COMDAT): New function.
+       (handle_COMDAT): New function.
 
 2001-02-26  H.J. Lu  <hjl@gnu.org>
 
This page took 0.037044 seconds and 4 git commands to generate.