bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 0b67df2f9b2065cba9463b94e766c5493df3cc0e..56319a32c1f2fcb50d1f51dd8e80c3ee1bcec2ef 100644 (file)
@@ -1,3 +1,934 @@
+2005-07-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2005-07-15  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (vsprint_msg): Add prototype.
+       (build_encoding_error_message): Delete.  Code moved into....
+       (elf_xtensa_do_reloc): ....here, and changed to give better
+       error messages for out of range literals.
+
+2005-07-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (bfd_elf_record_link_assignment): Remove output_bfd param.
+       (_bfd_elf_provide_symbol): Allow redefinition of weak syms and those
+       defined in output sections.  Call bfd_elf_record_link_assignment.
+       * bfd-in.h (bfd_elf_record_link_assignment): Update prototype.
+       * bfd-in2.h: Regenerate.
+
+2005-07-14  Jim Blandy  <jimb@redhat.com>
+
+       Add support for m32c-*-elf (Renesas m32c and m16c).
+       * Makefile.am (ALL_MACHINES): Add cpu-m32c.lo.
+       (ALL_MACHINES_CFILES): Add cpu-m32c.c.
+       (BFD32_BACKENDS): Add elf32-m32c.lo.
+       (BFD32_BACKENDS_CFILES): Add elf32-m32c.c.
+       (cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'.
+       * Makefile.in: Regenerated.
+       * archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New
+       arch and mach codes.
+       (bfd_m32c_arch): New arch info object.
+       (bfd_archures_list): List bfd_m32c_arch.
+       * bfd-in2.h: Regenerated.
+       * config.bfd: Add case for the m32c.
+       * configure.in: Add case for the m32c.
+       * configure: Regenerated.
+       * cpu-m32c.c, elf32-m32c.c: New files.
+       * libbfd.h: Regenerated.
+       * targets.c (bfd_elf32_m32c_vec): Declare.
+       (_bfd_target_vector): List bfd_elf32_m32c_vec.
+
+2005-07-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (_bfd_elf_fix_excluded_sec_syms): Declare.
+       (_bfd_elf_provide_section_bound_symbols): Remove param name.
+       Formatting.
+       * bfd-in2.h: Regenerate.
+       * elflink.c (bfd_elf_gc_sections): Don't call generic function.
+       (_bfd_elf_provide_symbol): Formatting.
+       (_bfd_elf_provide_section_bound_symbols): Remove all hacks, just
+       create section relative syms.
+       (fix_syms, _bfd_elf_fix_excluded_sec_syms): New functions.
+       * elf32-ppc.c (ppc_elf_set_sdata_syms): Use
+       _bfd_elf_provide_section_bound_symbols.
+       * reloc.c (bfd_mark_used_section): Delete.
+       (bfd_generic_gc_sections): Don't call the above.
+
+2005-07-14  Paul Woegerer <paul.woegerer@nsc.com>
+
+       PR 1063
+       * cache.c (bfd_last_cache): Initialise to NULL.
+
+2005-07-14  Daniel Marques  <marques@cs.cornell.edu>
+           Nick Clifton  <nickc@redhat.com>
+
+       * coff-alpha.c (alpha_ecoff_bad_format_hook): Detect compressed
+       Alpha binaries and issue a helpful error message.
+       (alpha_ecoff_swap_reloc_out): Increase maximum allowed internal
+       symbol index to 15 to allow for binaries produced by DEC
+       compilers.
+
+2005-07-13  Steve Ellcey  <sje@cup.hp.com>
+
+       * bfd.m4 (BFD_NEED_DECLARATION): Remove.
+
+2005-07-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub
+       when !can_plt_call.
+
+2005-07-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-xtensa.c (bfd_elf_xtensa_reloc): Warning fix.
+
+2005-07-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_set_sdata_syms): Correct __sbss_start value.
+
+2005-07-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_symbol_refs_local_p): Revert the last
+       change.
+
+2005-07-08  Paul Koning  <pkoning@equallogic.com>
+
+       * dwarf2.c (read_address): Check sign_extend_vma to handle targets
+       where addresses are sign extended.
+
+2005-07-08  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * config.bfd: Mark i960-*-rtems*, or32-*-rtems* as obsolete.
+       Mark a29k-*rtems*, hppa*-*-rtems*, *-go32-rtems*,
+       i[3-7]86*-*-rtemscoff*, mips*el-*-rtems*, powerpcle-*-rtems*,
+       sparc*-*-rtemsaout* as removed
+
+2005-07-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-hppa.h (elf_hppa_final_link): Use gp val of zero when none
+       of the usual sections are found.
+       * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Tidy.
+       Strip .dynbss if it is zero size.
+       * elf32-arm.c (elf32_arm_size_dynamic_sections): Likewise.
+       * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
+       * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
+       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise, and
+       .dynsbss.
+       (i370_elf_finish_dynamic_sections): Don't attempt to write .got
+       when it is zero size.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Correct handling
+       of .dynbss and zero size sections.
+       * elf32-m32r.c (m32r_elf_size_dynamic_sections): Strip .dynbss if
+       it is zero size.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Tidy.  Strip
+       .dynbss if zero size.
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise, .dynsbss
+       too.
+       * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
+       * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
+       * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
+       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Tidy.  Strip
+       .plt.* and .got.plt.* if zero size.
+       * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Tidy.  Strip
+       .got* and .dynbss if zero size.
+       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Tidy.  Strip
+       * elf64-ppc.c (create_linkage_sections): Create branch lookup table
+       in .data.rel.ro.brlt or .rodata.brlt, and similarly for associated
+       reloc section.
+       (create_got_section): Always create new .got and .rela.got sections.
+       (ppc64_elf_size_dynamic_sections): Tidy.  Strip .dynbss if zero size.
+       * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
+       * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Handle
+       dynamic bss sections correctly.
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Tidy.
+       * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Tidy.  Strip
+       .dynbss if zero size.
+
+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
+       touchup logic like i386/ppc.
+
+2005-07-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (special_sections): Move const qualifier.
+       (special_sections_b..special_sections_t): Likewise.
+       * elf32-arm.c (elf32_arm_symbian_get_sec_type_attr): Remove duplicate
+       const.
+       (elf32_arm_symbian_special_sections): Move const qualifier.
+       * elf32-m32r.c: Similarly.
+       * elf32-m68hc11.c: Similarly.
+       * elf32-m68hc12.c: Similarly.
+       * elf32-mcore.c: Similarly.
+       * elf32-ppc.c: Similarly.
+       * elf32-sh64.c: Similarly.
+       * elf32-v850.c: Similarly.
+       * elf32-xtensa.c: Similarly.
+       * elf64-alpha.c: Similarly.
+       * elf64-hppa.c: Similarly.
+       * elf64-ppc.c: Similarly.
+       * elf64-sh64.c: Similarly.
+       * elfxx-ia64.c: Similarly.
+       * elfxx-mips.c: Similarly.
+
+2005-07-04  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * elf32-m32r.c (m32r_elf_size_dynamic_sections): Use
+       info->executable instead of !info->shared where appropriate.
+
+2005-07-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 1042
+       * elf.c (assign_file_positions_for_segments): Remove excluded
+       sections from the segment map.
+
+2005-07-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 1004
+       * elf-bfd.h (struct elf_backend_data): Add get_sec_type_attr.  Delete
+       special_sections.
+       (_bfd_elf_get_special_section): Declare.
+       (bfd_elf_special_section): Update prototype.
+       * elf.c (special_sections): Remove unused outer entries.
+       (get_special_section): Delete.
+       (_bfd_elf_get_special_section): New function.
+       (_bfd_elf_get_sec_type_attr): Replace "name" arg with "sec".  Update
+       special_sections indexing.
+       (_bfd_elf_new_section_hook): Call backend get_sec_type_attr.
+       * elf32-arm.c (symbian_special_sections_d): Delete.
+       (symbian_special_sections_g, symbian_special_sections_h): Delete.
+       (symbian_special_sections_i, symbian_special_sections_f): Delete.
+       (symbian_special_sections_p): Delete.
+       (elf32_arm_symbian_special_sections): Merge above to here.
+       (elf32_arm_symbian_get_sec_type_attr): New function.
+       (elf_backend_special_sections): Don't define.
+       (elf_backend_get_sec_type_attr): Define.
+       * elf32-m32r.c: Similarly to elf32-arm.c.
+       * 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.
+       * elf32-ppc.c: Likewise.
+       (bfd_elf_special_section ppc_alt_plt): New.  Use it if .plt loadable.
+       * elfxx-mips.h (_bfd_mips_elf_get_sec_type_attr): Declare.
+       (_bfd_mips_elf_special_sections, elf_backend_special_sections): Delete.
+       (elf_backend_get_sec_type_attr): Define.
+       * elfxx-target.h (elf_backend_get_sec_type_attr): Define.
+       (elf_backend_special_sections): Don't define.
+       (elfNN_bed): Update.
+
+2005-07-01  Nick Clifton  <nickc@redhat.com>
+
+       * cpu-d10v.c: Update to ISO C90 style function declarations and
+       fix formatting.
+       * cpu-d30v.c: Likewsie.
+       * cpu-i370.c: Likewsie.
+       * cpu-xstormy16.c: Likewsie.
+       * elf32-arc.c: Likewsie.
+       * elf32-d10v.c: Likewsie.
+       * elf32-d30v.c: Likewsie.
+       * elf32-dlx.c: Likewsie.
+       * elf32-i370.c: Likewsie.
+       * elf32-i960.c: Likewsie.
+       * elf32-ip2k.c: Likewsie.
+       * elf32-m32r.c: Likewsie.
+       * elf32-mcore.c: Likewsie.
+       * elf32-openrisc.c: Likewsie.
+       * elf32-or32.c: Likewsie.
+       * elf32-pj.c: Likewsie.
+       * elf32-v850.c: Likewsie.
+       * elf32-xstormy16.c: Likewsie.
+
+2005-07-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-alpha.c (elf64_alpha_create_got_section): Always create
+       a new .got section.
+       (elf64_alpha_create_dynamic_sections): Always make new sections
+       by using bfd_make_section_anyway_with_flags.  Check that .got not
+       already created.
+       (elf64_alpha_check_relocs): Delete "got_created".  Use tdata->gotobj
+       instead.
+
+2005-06-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Ignore dynamic
+       _SDA_BASE_ and _SDA2_BASE_ symbols.
+       * elflink.c (_bfd_elf_provide_symbol): Correct comment.  Define
+       sym if not def_regular.
+       (_bfd_elf_provide_section_bound_symbols): Similarly.
+
+2005-06-30  Ben Elliston  <bje@gnu.org>
+
+       * config.bfd: Mark as obsolete:
+           m68*-apollo-*
+           m68*-apple-aux*
+           m68*-bull-sysv*
+
+2005-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_gc_mark): Mark sections referenced by
+       .eh_frame specially..
+       (bfd_elf_gc_sections): ..rather than totally ignoring .eh_frame.
+       Don't recheck sections we have already marked.
+       (elf_gc_sweep): Keep non-code sections referenced from .eh_frame.
+       * section.c (struct bfd_section): Add gc_mark_from_eh.
+       (STD_SECTION): Adjust.
+       * ecoff.c (bfd_debug_section): Adjust.
+       * bfd-in2.h: Regenerate.
+
+2005-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_gc_sweep): Do not refcount on sections that have
+       not been processed by check_relocs.
+
+2005-06-29  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in.h (_bfd_elf_provide_symbol): Update prototype.
+       * bfd-in2.h: Regenerate.
+       * elf32-ppc.c (ppc_elf_set_sdata_syms): Make sdata symbols section
+       relative.
+       * elflink.c (bfd_elf_set_symbol): Add section argument.
+       (_bfd_elf_provide_symbol): Ditto.
+       (_bfd_elf_provide_section_bound_symbols): Pass NULL section argument.
+
+2005-06-27  Carlos O'Donell <carlos@systemhalted.org>
+
+       * bfd/elf32-hppa.c (struct elf32_hppa_stub_hash_entry):
+       Use bh_root, and hh.
+       (struct elf32_hppa_link_hash_entry): Use eh, and hsh_cache.
+       (struct elf32_hppa_dyn_reloc_entry): Use hdh_next.
+       (struct elf32_hppa_link_hash_table): Use etab and bstab.
+       (stub_hash_newfunc): Use hh.
+       (hppa_link_hash_newfunc): Use hsh_cache.
+       (elf32_hppa_link_hash_table_create): Use etab, and bstab.
+       (elf32_hppa_link_hash_table_free): Use bstab.
+       (hppa_stub_name): Use eh.
+       (hppa_get_stub_entry): Use hh, hsh_entry, and hsh_cache.
+       (hppa_add_stub): Use bstab.
+       (hppa_type_of_stub): Use eh.
+       (hppa_build_one_stub): Use hh and bh_root.
+       (elf32_hppa_copy_indirect_symbol): Use hdh_next.
+       (elf32_hppa_check_relocs): Use eh, etab, and hdh_next.
+       (elf32_hppa_gc_sweep_hook): Use hdh_next.
+       (elf32_hppa_adjust_dynamic_symbol): Use hdh_next, and etab.
+       (allocate_plt_static): Use etab.
+       (allocate_dynrelocs): Use etab, and hdh_next.
+       (readonly_dynrelocs): Use hdh_next.
+       (elf32_hppa_size_dynamic_sections): Use etab, and hdh_next.
+       (get_local_syms): Use eh, bstab, and hh.
+       (elf32_hppa_size_stubs): Use eh, bstab, and hh.
+       (elf32_hppa_set_gp): Use etab.
+       (elf32_hppa_build_stubs): Use bstab.
+       (final_link_relocate): Use eh, bh_root.
+       (elf32_hppa_relocate_section): Use elf, etab.
+       (elf32_hppa_finish_dynamic_sections): Use etab.
+
+2005-06-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): Remove
+       the extra `;'.
+
+2005-06-21  Carlos O'Donell <carlos@systemhalted.org>
+
+       * bfd/elf32-hppa.c (hppa_elf_hash_entry): Define.
+       (hppa_stub_hash_entry): Define.
+       (stub_hash_newfunc): Rename variables.
+       (hppa_link_hash_newfunc): Likewise.
+       (elf32_hppa_link_hash_table_free): Likewise.
+       (hppa_stub_name): Likewise.
+       (hppa_get_stub_entry): Likewise.
+       (hppa_add_stub): Likewise.
+       (hppa_type_of_stub): Likewise.
+       (hppa_build_one_stub): Likewise.
+       (hppa_size_one_stub): Likewise.
+       (elf32_hppa_create_dynamic_sections): Likewise.
+       (elf32_hppa_copy_indirect_symbol): Likewise.
+       (elf32_hppa_check_relocs): Likewise.
+       (elf32_hppa_gc_mark_hook): Likewise.
+       (elf32_hppa_gc_sweep_hook): Likewise.
+       (elf32_hppa_grok_psinfo): Likewise.
+       (elf32_hppa_hide_symbol): Likewise.
+       (elf32_hppa_adjust_dynamic_symbol): Likewise.
+       (allocate_dynrelocs): Likewise.
+       (clobber_millicode_symbols): Likewise.
+       (readonly_dynrelocs): Likewise.
+       (elf32_hppa_size_dynamic_sections): Likewise.
+       (get_local_syms): Likewise.
+       (elf32_hppa_size_stubs): Likewise.
+       (hppa_record_segment_addr): Likewise.
+       (final_link_relocate): Likewise.
+       (elf32_hppa_relocate_section): Likewise.
+       (elf32_hppa_finish_dynamic_symbol): Likewise.
+
+2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 1025
+       * elf-m10300.c (mn10300_elf_check_relocs): Handle indirect
+       symbol.
+       * elf32-arm.c (elf32_arm_check_relocs): Likewise.
+       * elf32-avr.c (elf32_avr_check_relocs): Likewise.
+       * elf32-cris.c (cris_elf_check_relocs): Likewise.
+       * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
+       * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
+       * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
+       * elf32-frv.c (elf32_frv_check_relocs): Likewise.
+       * elf32-i370.c (i370_elf_check_relocs): Likewise.
+       * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
+       * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
+       * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
+       * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
+       * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
+       * elf32-ms1.c (ms1_elf_check_relocs): Likewise.
+       * elf32-msp430.c (elf32_msp430_check_relocs): Likewise.
+       * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise.
+       * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
+       * elf32-s390.c (elf_s390_check_relocs): Likewise.
+       * elf32-sh.c (sh_elf_check_relocs): Likewise.
+       * elf32-v850.c (v850_elf_check_relocs): Likewise.
+       * elf32-vax.c (elf_vax_check_relocs): Likewise.
+       * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
+       * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
+       * elf64-s390.c (elf_s390_check_relocs): Likewise.
+       * elf64-sh64.c (sh_elf64_check_relocs): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
+
+2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 1022
+       * elf32-hppa.c (elf32_hppa_check_relocs): Handle indirect
+       symbol.
+
+2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 1025
+       * elf32-i386.c (elf_i386_check_relocs): Handle indirect symbol.
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2005-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * reloc.c: Add BFD_RELOC_X86_64_GOTOFF64 and
+       BFD_RELOC_X86_64_GOTPC32.
+       * bfd-in2.h: Regenerated.
+
+2005-06-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf.c (bfd_section_from_shdr): Kill bogus warning.
+
+       * elf.c (bfd_section_from_shdr): Fail if sh_entsize is bogus for
+       symbol, relocation, group or versym sections.
+
+       * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
+       is NULL.
+       * peXXigen.c (pe_print_idata): Don't crash if dll_name or start_address
+       doesn't point into the section.
+
+2005-06-17  Jan Beulich  <jbeulich@novell.com>
+
+       * bfd-in2.h (elf_x86_64_reloc_type): Add BFD_RELOC_X86_64_GOTOFF64
+       and BFD_RELOC_X86_64_GOTPC32.
+       * libbfd.h (bfd_reloc_code_real_names): Likewise.
+       * elf64-x86-64.c (x86_64_elf_howto_table): Add entries for
+       R_X86_64_PC64, R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
+       (x86_64_reloc_map): Add entries for R_X86_64_PC64, R_X86_64_GOTOFF64,
+       and R_X86_64_GOTPC32.
+       (elf64_x86_64_info_to_howto): Adjust bounding relocation type.
+       (elf64_x86_64_check_relocs): Also handle R_X86_64_PC64,
+       R_X86_64_GOTOFF64, and R_X86_64_GOTPC32.
+       (elf64_x86_64_relocate_section): Likewise.
+       (elf64_x86_64_gc_sweep_hook): Also handle R_X86_64_PC64.
+
+2005-06-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * archive.c: Include "libiberty.h".
+
+2005-06-15  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries
+       produced by the GreenHills toolchain can be assimilated.
+
+2005-06-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * som.c (som_find_inliner_info): New.
+
+2005-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Fix a typo in comment.
+
+2005-06-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf.c (bfd_section_from_shdr): Fail if name is NULL.
+       Prevent endless recursion on broken objects.
+
+       * archive.c (do_slurp_coff_armap): Check for overflows.
+
+2005-06-10  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfcode.h (elf_write_relocs): Do nothing if there are no
+       relocations.
+
+2005-06-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c (decode_line_info): Revert last change.  Instead set
+       initial low_pc to -1 to avoid need to test whether loc_pc has
+       been set.
+
+2005-06-09  Christopher Faylor  <cgf@timesys.com>
+
+       * coffcode.h (sec_to_styp_flags): Set appropriate section flags when
+       either SEC_ALLOC OR SEC_LOAD.
+
+2005-06-09  Christopher Faylor  <cgf@timesys.com>
+
+       * coffcode.h (sec_to_styp_flags): Remove read/write flags from noload
+       section header.  Do not add STYP_NOLOAD since it does not appear to be
+       a valid PE flag.
+
+2005-06-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 1000
+       * dwarf2.c (lookup_address_in_line_info_table): Restore code
+       handling NULL function info, removed with 2005-04-03 change.
+
+2005-06-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.
+
+2005-06-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (elf_mark_used_section): Delete.
+       (bfd_elf_gc_sections): Call bfd_generic_gc_sections.
+       * reloc.c (bfd_mark_used_section): New function.
+       (bfd_generic_gc_sections): Call bfd_mark_used_section.
+
+2005-06-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * opncls.c (bfd_fopen): Don't set bfd_error unconditionally.
+       (bfd_fdopenr): Same.
+
+2005-06-07  Mark Mitchell  <mark@codesourcery.com>
+
+       * opncls.c (bfd_fdopenr): Add missing break statements.
+
+2005-06-07  Mark Mitchell  <mark@codesourcery.com>
+
+       * opncls.c (bfd_fopen): New API.
+       (bfd_openr): Use it.
+       (bfd_fdopenr): Likewise.
+       * bfd-in2.h: Regenerated.
+
+2005-06-07  Aldy Hernandez  <aldyh@redhat.com>
+           Michael Snyder  <msnyder@redhat.com>
+           Stan Cox  <scox@redhat.com>
+
+       * Makefile.am (ALL_MACHINES): Add ms1 support.
+       (ALL_MACHINES_CFILES): Same.
+       (BFD32_BACKENDS): Same.
+       (BFD32_BACKENDS_CFILES): Same.
+
+       * Makefile.in: Regenerate.
+
+       * archures.c (bfd_architecture): Add ms1 entries.
+       Externalize bfd_ms1_arch.
+       (bfd_archures_list): Add bfd_ms1_arch.
+
+       * bfd-in2.h: Regenerate.
+
+       * cpu-ms1.c: New file.
+
+       * elf32-ms1.c: New file.
+
+       * targets.c: Define extern of bfd_elf32_ms1_vec.
+       Add bfd_elf32_ms1_vec to _bfd_target_vector.
+
+       * configure.in: Add bfd_elf32_ms1_vec case.
+
+       * configure: Regenerate.
+
+       * config.bfd: Add ms1-*-elf to table.
+
+2005-06-07  Zack Weinberg  <zack@codesourcery.com>
+
+       * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment.
+
+2005-06-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Init _bfd_find_line.
+       * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
+
+2005-06-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 990
+       * bfd.c (bfd_find_line): New.
+
+       * dwarf2.c (comp_unit): Add variable_table.
+       (funcinfo): Add file, line, and sec.
+       (varinfo): New.
+       (lookup_symbol_in_function_table): New.
+       (lookup_symbol_in_variable_table): New.
+       (scan_unit_for_functions): Renamed to ...
+       (scan_unit_for_symbols): This. Handle DW_TAG_entry_point and
+       DW_TAG_variable.
+       (comp_unit_find_nearest_line): Updated.
+       (comp_unit_find_line): New.
+       (_bfd_dwarf2_find_line): New.
+
+       * elf-bfd.h (_bfd_elf_find_line): New.
+       (_bfd_generic_find_line): New. Defined.
+
+       * elf.c (_bfd_elf_find_line): New.
+
+       * libbfd-in.h (_bfd_dwarf2_find_line): New.
+       (_bfd_generic_find_line): New.
+
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Likewise.
+
+       * libbfd.c (_bfd_generic_find_line): New.
+
+       * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_line
+       with _bfd_generic_find_line.
+       (bfd_target): Add _bfd_find_line.
+
+2005-06-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf2.c (decode_line_info): Properly set low_pc.
+
+2005-06-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-pcc.c (ppc64_elf_gc_mark_hook): For the local sym in .opd
+       case, include addend when indexing .opd section map.
+       (ppc64_elf_edit_opd): Add no_opd_opt param.  Do nothing besides
+       clear opd_adjust array if no_opd_opt set.  Tidy code.
+       Ignore zero size .opd.  Check bfd_alloc return value.
+       (ppc_stub_name): Return immediately on bfd_malloc fail.
+       * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
+
+2005-06-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf2.c (comp_unit): Fix a typo in comment.
+
+2005-06-03  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+       * elf32-vax.c (rtype_to_howto): Remove PARAMS.
+       (reloc_type_lookup): Dito.
+       (elf_vax_discard_copies): Dito.
+       (elf_vax_instantiate_got_entries): Dito.
+       (elf_vax_link_hash_traverse): Dito.
+       (elf_vax_link_hash_newfunc): Dito.
+       (elf_vax_link_hash_table_create): Dito.
+       (elf32_vax_set_private_flags): Dito.
+       (elf32_vax_merge_private_bfd_data): Dito.
+       (elf32_vax_print_private_bfd_data): Dito.
+       (elf_vax_check_relocs): Dito.
+       (elf_vax_gc_mark_hook): Dito.
+       (elf_vax_gc_sweep_hook): Dito.
+       (elf_vax_size_dynamic_sections): Dito.
+       (elf_vax_discard_copies): Dito.
+       (elf_vax_instantiate_got_entries): Dito.
+       (elf_vax_relocate_section): Dito.
+       (elf_vax_finish_dynamic_symbol): Dito.
+       (elf_vax_finish_dynamic_sections): Dito.
+       (elf_vax_hash_table): Break-up of line isn't needed.
+       (elf_vax_check_relocs): Remove leading whitespace
+       (elf_vax_relocate_section): Remove redundant whitespace
+       (elf_vax_link_hash_newfunc): Don't cast NULL.
+       (elf_vax_link_hash_table_create): Dito.
+       * cpu-vax.c (bfd_vax_arch) Remove a trailing space.
+
+2005-06-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 568
+       * configure.in: Bump version
+       * configure: Regenerate.
+       * elflink.c (elf_link_input_bfd): Use einfo linker callback to print
+       discarded section sym refs and kill linker output.
+       * simple.c (simple_dummy_einfo): New function.
+       (bfd_simple_get_relocated_section_contents): Init callbacks.einfo.
+
+       * elf32-i386.c (elf_i386_relocate_section): Handle zero symndx
+       for all reloc types.
+
+2005-06-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (add_symbol_adjust): Set sym visibility to most
+       restrictive of func code and func descr for undefined syms as well
+       as defined.
+
+2005-05-31  Jim Blandy  <jimb@redhat.com>
+
+       * Makefile.am: Regenerate dependencies with 'make dep-am'.
+       * Makefile.in: Regenerate.
+
+2005-05-31  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_JSRDIRECT): New.
+       (ALPHA_ELF_LINK_HASH_TLS_IE): Renumber to 0x80.
+       (ALPHA_ELF_LINK_HASH_LU_PLT): Rename from ALPHA_ELF_LINK_HASH_LU_FUNC.
+       (elf64_alpha_want_plt): Update to match.
+       (elf64_alpha_check_relocs): Collect JSRDIRECT in gotent_flags.
+       (elf64_alpha_relax_with_lituse): Likewise.  Handle JSRDIRECT.
+
+2005-05-31  Zack Weinberg  <zack@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_reloc_type_lookup)
+       (elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
+       Use ISO C90 function declaration style.
+
+2005-05-31  James E Wilson  <wilson@specifixinc.com>
+
+       * elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program
+       header PF_R flag on PT_LOAD segments.
+
+2005-05-30  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
+       the zero index relocs produced by elf64_alpha_relax_tls_get_addr.
+
+2005-05-29  Richard Henderson  <rth@redhat.com>
+
+       * configure.in (--enable-secureplt): New.
+       * elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New.
+       (INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New.
+       (INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New.
+       (elf64_alpha_use_secureplt): New.
+       (OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New.
+       (NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New.
+       (PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt.
+       (ALPHA_ELF_LINK_HASH_PLT_LOC): Remove.
+       (struct alpha_elf_link_hash_entry): Add plt_offset.
+       (PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove.
+       (PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove.
+       (PLT_ENTRY_WORD3): Remove.
+       (elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY
+       on .plt and create .got.plt.
+       (elf64_alpha_output_extsym): Remove .plt frobbing for symbol values.
+       (get_got_entry): Initialize plt_offset.
+       (elf64_alpha_want_plt): New.
+       (elf64_alpha_check_relocs): Use it.
+       (elf64_alpha_adjust_dynamic_symbol): Likewise.  Don't allocate
+       plt entries here.
+       (elf64_alpha_calc_got_offsets_for_symbol): Don't report internal
+       error as user error.
+       (elf64_alpha_size_plt_section_1): Allocate one plt entry per
+       got subsection.
+       (elf64_alpha_size_plt_section): Size .got.plt section.
+       (elf64_alpha_size_rela_got_1): Don't allocate relocations if
+       plt entries used.
+       (elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section.
+       Add PLTRO DYNAMIC entry.
+       (elf64_alpha_finish_dynamic_symbol): Generate secureplt format.
+       (elf64_alpha_finish_dynamic_sections): Likewise.
+
+2005-05-28  David Daney  <ddaney@avtrex.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections):  Move
+       calculation of DT_RELSZ to occur after all dynamic relocations
+       are created.
+
+2005-05-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.in: Add snprintf and vsnprintf to AC_CHECK_DECLS.
+       * config.in, configure: Regenerate.
+
+2005-05-26  Mark Kettenis  <kettenis@gnu.org>
+           Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elfxx-mips.c (_bfd_mips_elf_section_processing): Warn and
+       stop processing of options if one of invalid size is
+       encountered.
+       (_bfd_mips_elf_section_from_shdr): Likewise.
+       (_bfd_mips_elf_fake_sections): Reset the type of empty special
+       sections.
+
+2005-05-26  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (struct alpha_elf_link_hash_entry): Remove
+       plt_old_section, plt_old_value.
+       (elf64_alpha_adjust_dynamic_symbol): Don't set it.
+       (elf64_alpha_size_plt_section_1): Don't use it.
+
 2005-05-26  Jakub Jelinek  <jakub@redhat.com>
 
        * elfcode.h (elf_object_p): Fail if e_shoff != 0, e_shnum == 0 and
        macro that always returns bfd_false.
        (_bfd_dwarf2_find_inliner_info): Declare.
        * libbfd.h: Regenerate.
-       
+
        * elf32-arm.c (elf32_arm_find_inliner_info): New function
        that calls _bfd_dwarf2_find_inliner_info.
        (bfd_elf32_find_inliner_info): Define to elf32_arm_find_inliner_info.
        (pmac_xcoff_vec) Ditto.
        * coff64-rs6000.c (rs6000coff64_vec): Ditto.
        (aix5coff64_vec): Ditto.
-       
+
        * aout-target.h (MY_find_inliner_info): Define as
        _bfd_nosymbols_find_inliner_info.
        * aout-tic30.c (MY_find_inliner_info): Ditto.
 
 2005-05-22  Richard Henderson  <rth@redhat.com>
 
-       * elf64-alpha.c (elf64_alpha_relax_with_lituse): Relax jsr to 
+       * elf64-alpha.c (elf64_alpha_relax_with_lituse): Relax jsr to
        undefweak to use zero register.  Call elf64_alpha_relax_got_load
        if not all uses removed.
        (elf64_alpha_relax_got_load): Relax undefweak to lda zero.
This page took 0.041559 seconds and 4 git commands to generate.