Lines Matching refs:shstrndx
326 size_t shstrndx, shnum; in traverse_file() local
334 if (elf_getshdrstrndx(elf, &shstrndx) == -1) { in traverse_file()
356 name = elf_strptr(elf, shstrndx, (size_t)shdr->sh_name); in traverse_file()
389 temp_name = elf_strptr(elf, shstrndx, in traverse_file()
519 (tmp_shdr.sh_link != shstrndx) && in traverse_file()
692 size_t shnum, shstrndx; in build_file() local
699 if (elf_getshdrstrndx(src_elf, &shstrndx) == -1) { in build_file()
732 if ((shstrndx != SHN_UNDEF) && in build_file()
733 (state->sec_table[shstrndx].secno == (GElf_Word)DELETED)) in build_file()
967 (scn_no == shstrndx) && in build_file()
1142 if ((shstrndx > 0) && (shnum > 0) && in build_file()
1143 (state->sec_table[shstrndx].secno < shnum)) { in build_file()
1144 if (state->sec_table[shstrndx].secno < SHN_LORESERVE) { in build_file()
1162 shdr0.sh_link = state->sec_table[shstrndx].secno; in build_file()