OSDN Git Service

2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl@lucon.org>
Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)
committerH.J. Lu <hjl@lucon.org>
Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)
commit44a3240779ff35ec71ef6a5ab36141f7abb4729c
treecc2111e498c1dccc09252d81386e2556103c66d1
parent8d124e7eb48dc3e90e32a4d7b7e6beb7bd92c8b2
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