Lines Matching refs:srcidx
460 int srcidx, dstidx; in write_file() local
494 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) { in write_file()
495 Elf_Scn *scn = elf_getscn(src, srcidx); in write_file()
507 secxlate[srcidx] = -1; in write_file()
514 secxlate[srcidx] = -1; in write_file()
516 secxlate[srcidx] = dstidx++; in write_file()
523 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) { in write_file()
526 sscn = elf_getscn(src, srcidx); in write_file()
529 if (secxlate[srcidx] == -1) { in write_file()
567 if (srcidx == sehdr.e_shstrndx) { in write_file()
586 symtab_idx = secxlate[srcidx]; in write_file()