Lines Matching refs:hds

942 	  struct xcoff_link_hash_entry *hds;  in xcoff_link_add_dynamic_symbols()  local
944 hds = h->descriptor; in xcoff_link_add_dynamic_symbols()
945 if (hds == NULL) in xcoff_link_add_dynamic_symbols()
954 hds = xcoff_link_hash_lookup (xcoff_hash_table (info), dsnm, in xcoff_link_add_dynamic_symbols()
957 if (hds == NULL) in xcoff_link_add_dynamic_symbols()
960 hds->descriptor = h; in xcoff_link_add_dynamic_symbols()
961 h->descriptor = hds; in xcoff_link_add_dynamic_symbols()
964 if (xcoff_dynamic_definition_p (hds, &ldsym)) in xcoff_link_add_dynamic_symbols()
966 hds->root.type = h->root.type; in xcoff_link_add_dynamic_symbols()
967 hds->flags |= XCOFF_DEF_DYNAMIC; in xcoff_link_add_dynamic_symbols()
973 hds->smclas = XMC_XO; in xcoff_link_add_dynamic_symbols()
974 hds->root.u.def.section = bfd_abs_section_ptr; in xcoff_link_add_dynamic_symbols()
975 hds->root.u.def.value = ldsym.l_value; in xcoff_link_add_dynamic_symbols()
979 hds->smclas = XMC_PR; in xcoff_link_add_dynamic_symbols()
980 hds->root.u.undef.abfd = abfd; in xcoff_link_add_dynamic_symbols()
2127 struct xcoff_link_hash_entry *hds; in xcoff_link_add_symbols() local
2130 hds = xcoff_link_hash_lookup (xcoff_hash_table (info), in xcoff_link_add_symbols()
2133 if (hds == NULL) in xcoff_link_add_symbols()
2135 if (hds->root.type == bfd_link_hash_new) in xcoff_link_add_symbols()
2137 bh = &hds->root; in xcoff_link_add_symbols()
2139 (info, abfd, hds->root.root.string, in xcoff_link_add_symbols()
2144 hds = (struct xcoff_link_hash_entry *) bh; in xcoff_link_add_symbols()
2146 hds->flags |= XCOFF_DESCRIPTOR; in xcoff_link_add_symbols()
2148 hds->descriptor = h; in xcoff_link_add_symbols()
2149 h->descriptor = hds; in xcoff_link_add_symbols()
2764 struct xcoff_link_hash_entry *hds; in xcoff_mark_symbol() local
2767 hds = h->descriptor; in xcoff_mark_symbol()
2768 BFD_ASSERT ((hds->root.type == bfd_link_hash_undefined in xcoff_mark_symbol()
2769 || hds->root.type == bfd_link_hash_undefweak) in xcoff_mark_symbol()
2770 && (hds->flags & XCOFF_DEF_REGULAR) == 0); in xcoff_mark_symbol()
2771 if (!xcoff_mark_symbol (info, hds)) in xcoff_mark_symbol()
2775 if ((hds->flags & XCOFF_WAS_UNDEFINED) != 0) in xcoff_mark_symbol()
2789 if (hds->toc_section == NULL) in xcoff_mark_symbol()
2804 hds->toc_section = xcoff_hash_table (info)->toc_section; in xcoff_mark_symbol()
2805 hds->u.toc_offset = hds->toc_section->size; in xcoff_mark_symbol()
2806 hds->toc_section->size += byte_size; in xcoff_mark_symbol()
2807 if (!xcoff_mark (info, hds->toc_section)) in xcoff_mark_symbol()
2813 ++hds->toc_section->reloc_count; in xcoff_mark_symbol()
2817 hds->indx = -2; in xcoff_mark_symbol()
2818 hds->flags |= XCOFF_SET_TOC | XCOFF_LDREL; in xcoff_mark_symbol()
3085 struct xcoff_link_hash_entry *hds; in bfd_xcoff_import_symbol() local
3087 hds = h->descriptor; in bfd_xcoff_import_symbol()
3088 if (hds == NULL) in bfd_xcoff_import_symbol()
3090 hds = xcoff_link_hash_lookup (xcoff_hash_table (info), in bfd_xcoff_import_symbol()
3093 if (hds == NULL) in bfd_xcoff_import_symbol()
3095 if (hds->root.type == bfd_link_hash_new) in bfd_xcoff_import_symbol()
3097 hds->root.type = bfd_link_hash_undefined; in bfd_xcoff_import_symbol()
3098 hds->root.u.undef.abfd = h->root.u.undef.abfd; in bfd_xcoff_import_symbol()
3100 hds->flags |= XCOFF_DESCRIPTOR; in bfd_xcoff_import_symbol()
3102 hds->descriptor = h; in bfd_xcoff_import_symbol()
3103 h->descriptor = hds; in bfd_xcoff_import_symbol()
3109 if (hds->root.type == bfd_link_hash_undefined) in bfd_xcoff_import_symbol()
3110 h = hds; in bfd_xcoff_import_symbol()