2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)
commit396a682d839ab1ca37f189bb794b6ac5ebcf6ee1
tree81da5e41da0137c401a8687ff2172fc6a0b7412e
parentcda78e81ae45487a8716c87fb56a8a2ef8973bfe
2006-04-05  H.J. Lu  <hongjiu.lu@intel.com>
    James E Wilson  <wilson@specifixinc.com>

PR ld/2442
* elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
(elfNN_ia64_local_hash_entry): Add count, sorted_count and
size.
(elfNN_ia64_link_hash_entry): Likewise.
(elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
and size.
(elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
processing.
(elfNN_ia64_hash_hide_symbol): Likewise.
(elfNN_ia64_global_dyn_sym_thunk): Likewise.
(elfNN_ia64_local_dyn_sym_thunk): Likewise.
(elfNN_ia64_global_dyn_info_free): New function.
(elfNN_ia64_local_dyn_info_free): Likewise.
(elfNN_ia64_hash_table_free): Free local and global
elfNN_ia64_dyn_sym_info.
(addend_compare): New function.
(sort_dyn_sym_info): Likewise.
(get_dyn_sym_info): Updated to use binary search for addend.
(elfNN_ia64_check_relocs): Scan relocations to create dynamic
relocation arrays first.
bfd/ChangeLog
bfd/elfxx-ia64.c