Lines Matching refs:idx
456 for (size_t idx = nsym_local; idx < nsym; ++idx)
458 struct symbol *symbol = ndxtosym[idx];
460 || ndxtosym[idx]->outdynsymidx == 0
462 || ! ndxtosym[idx]->in_dso)
477 if (((Elf32_Sym *) dynsymdata->d_buf)[ndxtosym[idx]->outdynsymidx].st_shndx != SHN_UNDEF)
486 assert(nsym - statep->nplt + (pltidx - 1) == idx);
516 rel->r_info = XELF_R_INFO (ndxtosym[idx]->outdynsymidx, R_386_JMP_SLOT);
785 size_t idx = XELF_R_SYM (rel->r_info);
786 if (idx < runp->fileinfo->nlocalsymbols)
789 xelf_getsym (symdata, idx, sym);
797 if (symref[idx] == NULL)
801 value = symref[idx]->merge.value;
802 if (symref[idx]->in_dso)
806 assert (value != 0 || symref[idx]->type != STT_FUNC);
829 if (linked_from_dso_p (scninfo, idx)
831 && symref[idx]->type != STT_FUNC)
834 + symref[idx]->merge.value);
836 if (unlikely (symref[idx]->need_copy))
839 assert (symref[idx]->outdynsymidx != 0);
847 = XELF_R_INFO (symref[idx]->outdynsymidx, R_386_COPY);
854 Elf32_Word symidx = symref[idx]->outdynsymidx;
865 symidx = symref[idx]->outsymidx;
880 symref[idx]->need_copy = 0;
895 if (idx < SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_info
896 || symref[idx]->outdynsymidx == 0)
900 = XELF_R_INFO (symref[idx]->outdynsymidx, R_386_32);
911 if (! symref[idx]->defined || symref[idx]->in_dso)
925 = XELF_R_INFO (symref[idx]->outdynsymidx, R_386_GLOB_DAT);
957 value = symref[idx]->merge.value - ld_state.tls_tcb;
962 if (symref[idx]->defined && !symref[idx]->in_dso)
974 store_4ubyte_unaligned (relloc, (symref[idx]->merge.value
989 value = symref[idx]->merge.value - ld_state.tls_start;
996 if (symref[idx]->defined && !symref[idx]->in_dso)
1020 value = ld_state.tls_tcb- symref[idx]->merge.value;
1032 idx = XELF_R_SYM (rel->r_info);
1033 assert (strcmp (symref[idx]->name, "___tls_get_addr")