Lines Matching refs:ndx
130 uint_t ndx; in elfedit64_init_obj_state() local
179 for (ndx = 1, scn = NULL; in elfedit64_init_obj_state()
180 (scn = elf_nextscn(tstate.os_elf, scn)) != NULL; ndx++) { in elfedit64_init_obj_state()
188 tstate.os_dynndx = ndx; in elfedit64_init_obj_state()
202 symtabndx[tstate.os_symtabnum++] = ndx; in elfedit64_init_obj_state()
262 for (ndx = 0; ndx < obj_state->os_symtabnum; ndx++) in elfedit64_init_obj_state()
263 obj_state->os_symtab[ndx].symt_shndx = symtabndx[ndx]; in elfedit64_init_obj_state()
267 for (ndx = 1, scn = NULL; in elfedit64_init_obj_state()
268 (scn = elf_nextscn(tstate.os_elf, scn)) != NULL; ndx++, _cache++) { in elfedit64_init_obj_state()
269 _cache->sec_shndx = ndx; in elfedit64_init_obj_state()
281 symtab->symt_xshndx = ndx; in elfedit64_init_obj_state()
286 symtab->symt_syminfo = ndx; in elfedit64_init_obj_state()
291 symtab->symt_versym = ndx; in elfedit64_init_obj_state()
301 for (ndx = 0; ndx < obj_state->os_symtabnum; ndx++, symtab++) { in elfedit64_init_obj_state()
315 EC_WORD(ndx), _cache->sec_name, in elfedit64_init_obj_state()
328 EC_WORD(ndx), _cache->sec_name, in elfedit64_init_obj_state()
341 EC_WORD(ndx), _cache->sec_name, in elfedit64_init_obj_state()