* elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 4de5945e1b289b630da8e7b98e0ccb6cabff0f23..53b09327a65631eb3889e5d6695dc276d93f7d1f 100644 (file)
@@ -1,3 +1,174 @@
+2005-07-08  Ben Elliston  <bje@au.ibm.com>
+
+       * elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
+       when ANSI_PROTOTYPES is defined.  Remove #ifdef logic.
+
+2005-07-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_backend_data): Add special_sections.
+
+       * elf.c (_bfd_elf_get_sec_type_attr): Check special_sections
+       first.
+
+       * elf32-arm.c (elf_backend_get_sec_type_attr): Removed.
+       (elf_backend_special_sections): New. Defined.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc12.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-mips.h: Likewise.
+
+       * elfxx-target.h (elf_backend_special_sections): New.
+       (elfNN_bed): Initialize special_sections.
+
+2005-07-07  Bob Wilson  <bob.wilson@acm.org>
+
+       * xtensa-modules.c: Update tables with Xtensa MMU features.
+
+2005-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * elf32-xtensa.c (vsprint_msg): Add format attribute.  Fix
+       format bugs.
+       * vms.h (_bfd_vms_debug): Add format attribute.
+       (_bfd_vms_debug, _bfd_hexdump): Fix typos.
+
+2005-07-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 975
+       * elflink.c (_bfd_elf_symbol_refs_local_p): Only undefined
+       symbol with default visibility is local.
+
+2005-07-07  Ben Elliston  <bje@gnu.org>
+
+       * config.bfd: Mark m68*-*-rtemscoff as obsolete.
+
+2005-07-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf2.c (varinfo): Add addr.
+       (lookup_symbol_in_variable_table): Also check addr.
+       (scan_unit_for_symbols): Set addr for variable.
+       (comp_unit_find_line): Updated.
+
+2005-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * coff-alpha.c (alpha_adjust_reloc_in): Issue an informative error
+       message if an unknown reloc is encountered.
+       (alpha_relocate_section): Likewise.
+
+       * ecoff.c (_bfd_ecoff_write_object_contents): Cope with a reloc
+       with a missing howto field.
+
+2005-07-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/SRC-POTFILES.in: Add cpu-ms1.c, elf32-ms1.c, elf-vxworks.c,
+       elfxx-sparc.c.
+
+2005-07-05  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-ppc.c (ppc_elf_vxworks_special_sections): Remove.
+       (ppc_elf_vxworks_get_sec_type_attr): New function.
+       (elf_backend_special_sections): Remove vxwords definition.
+       (elf_backend_get_sec_type_attr): Define for vxworks.
+
+2005-07-05  Nick Clifton  <nickc@redhat.com>
+
+       * elf64-ppc.c (ppc64_elf_info_to_howto): Fix typo.
+
+2005-07-05  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.026983 seconds and 4 git commands to generate.