Lines Matching defs:sh

338       struct spu_stub_hash_entry *sh = (struct spu_stub_hash_entry *) entry;
340 sh->target_section = NULL;
341 sh->target_off = 0;
342 sh->off = 0;
343 sh->delta = 0;
753 struct spu_stub_hash_entry **sh;
774 struct spu_stub_hash_entry *sh;
782 sh = (struct spu_stub_hash_entry *)
784 if (sh == NULL)
791 if (sh->target_section != NULL)
797 sh->target_section = h->root.u.def.section;
798 sh->target_off = h->root.u.def.value;
813 stubs->sh[--stubs->count] = (struct spu_stub_hash_entry *) bh;
926 struct spu_stub_hash_entry *sh;
1010 sh = (struct spu_stub_hash_entry *)
1013 if (sh == NULL)
1028 if (sh->target_section != NULL)
1034 sh->target_section = sym_sec;
1036 sh->target_off = h->root.u.def.value;
1038 sh->target_off = sym->st_value;
1039 sh->target_off += irela->r_addend;
1091 stubs.sh = bfd_malloc (stubs.count * sizeof (*stubs.sh));
1092 if (stubs.sh == NULL)
1099 qsort (stubs.sh, stubs.count, sizeof (*stubs.sh), sort_stubs);
1118 if (spu_elf_section_data (stubs.sh[group]->target_section
1120 != spu_elf_section_data (stubs.sh[i]->target_section
1125 stubs.sh[group]->delta
1126 = stubs.sh[i - 1]->off - stubs.sh[group]->off;
1129 || ((stubs.sh[i - 1]->target_section->output_section->vma
1130 + stubs.sh[i - 1]->target_section->output_offset
1131 + stubs.sh[i - 1]->target_off)
1132 != (stubs.sh[i]->target_section->output_section->vma
1133 + stubs.sh[i]->target_section->output_offset
1134 + stubs.sh[i]->target_off)))
1136 stubs.sh[i]->off = htab->stub->size;
1140 stubs.sh[i]->off = stubs.sh[i - 1]->off;
1145 stubs.sh[group]->delta = stubs.sh[i - 1]->off - stubs.sh[group]->off;
2768 struct spu_stub_hash_entry *sh;
2774 sh = (struct spu_stub_hash_entry *)
2776 if (sh != NULL)
2780 + sh->off);
2887 struct spu_stub_hash_entry *sh;
2891 sh = (struct spu_stub_hash_entry *)
2894 if (sh == NULL)
2901 + sh->off);