Searched refs:shstrndx (Results 1 – 3 of 3) sorted by relevance
16 static unsigned int shstrndx; variable246 sec_strtab = secs[shstrndx].strtab; in sec_name()372 shstrndx = ehdr.e_shstrndx; in read_ehdr()388 if (shnum == SHN_UNDEF || shstrndx == SHN_XINDEX) { in read_ehdr()400 if (shstrndx == SHN_XINDEX) in read_ehdr()401 shstrndx = elf_word_to_cpu(shdr.sh_link); in read_ehdr()404 if (shstrndx >= shnum) in read_ehdr()
135 size_t shstrndx, sections_nr; in read_sections() local143 if (elf_getshdrstrndx(elf->elf, &shstrndx)) { in read_sections()176 sec->name = elf_strptr(elf->elf, shstrndx, sec->sh.sh_name); in read_sections()
2172 size_t shstrndx, next; in construct_sdt_notes_list() local2181 if (elf_getshdrstrndx(elf, &shstrndx) != 0) { in construct_sdt_notes_list()