Lines Matching refs:refcount
802 if (h->got.refcount <= 0)
803 h->got.refcount = 1;
805 h->got.refcount += 1;
817 if (h->plt.refcount <= 0)
820 h->plt.refcount = 1;
823 h->plt.refcount += 1;
932 if (h->plt.refcount > 0)
935 if (h->got.refcount < 0)
936 h->got.refcount = 0;
937 h->got.refcount += h->plt.refcount;
938 h->plt.refcount = 0;
944 h->plt.refcount = 0;
945 h->got.refcount = 0;
955 /* For a shared link, move the plt refcount to the got refcount to leave
1041 if (h->got.refcount > 0)
1042 h->got.refcount--;
1048 if (h->plt.refcount > 0)
1049 h->plt.refcount--;
1212 if (h->plt.refcount > 0)
1213 srelplt->size += (h->plt.refcount * sizeof (Elf32_External_Rela));
1227 if (h->got.refcount > 0)
1228 srelgot->size += (h->got.refcount * sizeof (Elf32_External_Rela));