Lines Matching refs:shstrndx
373 size_t shstrndx; in secndx_name() local
377 if (shdr == NULL || elf_getshdrstrndx (elf, &shstrndx) < 0) in secndx_name()
379 return elf_strptr (elf, shstrndx, shdr->sh_name) ?: "???"; in secndx_name()
568 const char *fname, size_t shstrndx) in remove_debug_relocations() argument
593 const char *tname = elf_strptr (elf, shstrndx, in remove_debug_relocations()
843 GElf_Ehdr *ehdr, const char *fname, size_t shstrndx, in handle_debug_relocs() argument
907 if (update_shdrstrndx (new_elf, shstrndx) != 0) in handle_debug_relocs()
914 remove_debug_relocations (ebl, new_elf, ehdr, fname, shstrndx); in handle_debug_relocs()
994 size_t shstrndx; in handle_elf() local
1090 if (unlikely (elf_getshdrstrndx (elf, &shstrndx) < 0)) in handle_elf()
1142 if (handle_debug_relocs (elf, ebl, newelf, ehdr, fname, shstrndx, in handle_elf()
1148 idx = shstrndx; in handle_elf()
1193 if (shstrndx >= shnum) in handle_elf()
1243 shdr_info[cnt].name = elf_strptr (elf, shstrndx, in handle_elf()
1374 || cnt == shstrndx in handle_elf()
1639 && cnt != shstrndx); in handle_elf()
1761 && shdr_info[shstrndx].idx == 0)); in handle_elf()
2460 remove_debug_relocations (ebl, debugelf, ehdr, fname, shstrndx); in handle_elf()