Lines Matching refs:sechdr
313 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
315 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
324 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
327 sechdr->sh_name); in sech_name()
754 Elf_Shdr *sechdr) in check_section() argument
756 const char *sec = sech_name(elf, sechdr); in check_section()
758 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
759 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1419 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local
1421 check_section(mod->name, elf, sechdr); in check_sec_ref()
1423 if (sechdr->sh_type == SHT_REL || sechdr->sh_type == SHT_RELA) { in check_sec_ref()
1425 unsigned int secndx = sechdr->sh_info; in check_sec_ref()
1434 stop = start + sechdr->sh_size; in check_sec_ref()
1436 if (sechdr->sh_type == SHT_RELA) in check_sec_ref()