Fix compile time warnings from a GCC 4.0 compiler
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 4de5945e1b289b630da8e7b98e0ccb6cabff0f23..67a8e7955991927ae6a1a742375dbdbbc5ad1ace 100644 (file)
@@ -1,3 +1,93 @@
+2005-07-05  Nick Clifton  <nickc@redhat.com>
+
+       * elf64-ppc.c (ppc64_elf_info_to_howto): Fix typo.
+
+2005-05-07  Paul Brook  <paul@codesourcery.com>
+
+       * config.bfd: Add separate case for ppc-vxworks.
+       * configure: Regenerate.
+       * configure.in: Include elf-vxworks.lo on ppc targets.
+       * elf-vxworks.c (elf_vxworks_final_write_processing): Handle
+       .rela.plt.unloaded.
+       * elf32-ppc.c: Add VxWorks target vec.  Include elf-vxworks.h.
+       (PLT_ENTRY_SIZE, PLT_INITIAL_ENTRY_SIZE, PLT_SLOT_SIZE): Remove.
+       (VXWORKS_PLT_ENTRY_SIZE, ppc_elf_vxworks_plt_entry,
+       ppc_elf_vxworks_pic_plt_entry, VXWORKS_PLT_INITIAL_ENTRY_SIZE,
+       ppc_elf_vxworks_plt0_entry, ppc_elf_vxworks_pic_plt0_entry,
+       VXWORKS_PLT_NON_JMP_SLOT_RELOCS, VXWORKS_PLTRESOLVE_RELOCS,
+       VXWORKS_PLTRESOLVE_RELOCS_SHLIB): New.
+       (ppc_elf_link_hash_table): Add srelplt2, sgotplt, hgot, hplt,
+       is_vxworks, plt_entry_size, plt_slot_size, plt_initial_entry_size.
+       (ppc_elf_link_hash_table_create): Initialize hadtab plt fields.
+       (ppc_elf_create_got): Create .got.plt for VxWorks.
+       (ppc_elf_create_dynamic_sections): Create unloaded plt relocation
+       section for VxWorks.
+       (ppc_elf_select_plt_layout): Handle VxWorks plt format.
+       (allocate_got): VxWorks does not need a got header.
+       (allocate_dynrelocs): Handle VxWorks plt format.
+       (ppc_elf_size_dynamic_sections): Save _G_O_T_ and _P_L_T_ symbols for
+       VxWorks.  Handle VxWorks plt/got.
+       (ppc_elf_finish_dynamic_sections): Fill in VxWorks plt.
+       (ppc_elf_vxworks_special_sections): New.
+       (ppc_elf_vxworks_link_hash_table_create,
+       ppc_elf_vxworks_add_symbol_hook,
+       elf_i386_vxworks_link_output_symbol_hook,
+       ppc_elf_vxworks_final_write_processing): New functions.
+       * targets.c (bfd_elf32_powerpc_vxworks_vec): Declare.
+       (_bfd_target_vector): Use it.
+
+2005-07-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * libbfd-in.h (struct artdata): Add extended_names_size field.
+       * libbfd.h: Rebuilt.
+       * coff-rs600.c (_bfd_xcoff_archive_p): Don't clear fields in freshly
+       allocated object by bfd_zalloc.
+       * coff64-rs6000.c (xcoff64_archive_p): Likewise.
+       * ecoff.c (_bfd_ecoff_archive_p): Likewise.
+       * archive.c (_bfd_generic_mkarchive, bfd_generic_archive_p): Likewise.
+       (get_extended_arelt_filename): Fail if index is bigger or equal to
+       extended_names_size.
+       (_bfd_generic_read_ar_hdr_mag): Don't set bfd_error_malformed_archive,
+       get_extended_arelt_filename already did that.
+       (_bfd_slurp_extended_name_table): Initialize extended_names_size field.
+       Allocate one extra byte and clear it, in case extended names table
+       is not terminated.
+
+       * libbfd-in.h (bfd_malloc2, bfd_realloc2, bfd_zmalloc2, bfd_alloc2,
+       bfd_zalloc2): New prototypes.
+       * bfd-in.h (HALF_BFD_SIZE_TYPE): Define.
+       * libbfd.c (bfd_malloc2, bfd_realloc2, bfd_zmalloc2): New functions.
+       * opncls.c (bfd_alloc2, bfd_zalloc2): New functions.
+       * elf.c (bfd_elf_get_elf_syms, setup_group, assign_section_numbers,
+       elf_map_symbols, map_sections_to_segments,
+       assign_file_positions_for_segments, copy_private_bfd_data,
+       swap_out_syms, _bfd_elf_slurp_version_tables): Use bfd_*alloc2
+       where appropriate.
+       * bfd-in2.h: Rebuilt.
+       * libbfd.h: Rebuilt.
+
+       * elf.c (_bfd_elf_print_private_bfd_data): Don't crash on bogus
+       verdef or verneed section.
+       (_bfd_elf_slurp_version_tables): Handle corrupt verdef and/or
+       verneed sections gracefully.
+       * elfxx-sparc.c (_bfd_sparc_elf_info_to_howto_ptr): Don't crash on
+       bogus relocation values.
+       * elf64-ppc.c (ppc64_elf_info_to_howto): Likewise.
+       * elf64-s390.c (elf_s390_info_to_howto): Likewise.
+       * elf32-s390.c (elf_s390_info_to_howto): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_info_to_howto): Likewise.
+       * elfxx-ia64.c (lookup_howto): Likewise.
+
+       * elf.c (bfd_elf_get_str_section): Allocate an extra byte after
+       the end of strtab and clear it.
+       (elf_read): Remove.
+
+2005-07-05  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: New Vietnamese translation.
+       * configure.in (ALL_LINGUAS): Add vi.
+       * configure: Regenerate.
+
 2005-07-05  Peter S. Mazinger <ps.m@gmx.net>
 
        * elf32-arm.c (elf32_arm_size_dynamic_sections): Fix a typo and
This page took 0.025229 seconds and 4 git commands to generate.