Lines Matching refs:sechdr
321 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
323 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
332 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
335 sechdr->sh_name); in sech_name()
772 Elf_Shdr *sechdr) in check_section() argument
774 const char *sec = sech_name(elf, sechdr); in check_section()
776 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
777 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1437 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local
1439 check_section(mod->name, elf, sechdr); in check_sec_ref()
1441 if (sechdr->sh_type == SHT_REL || sechdr->sh_type == SHT_RELA) { in check_sec_ref()
1443 unsigned int secndx = sechdr->sh_info; in check_sec_ref()
1452 stop = start + sechdr->sh_size; in check_sec_ref()
1454 if (sechdr->sh_type == SHT_RELA) in check_sec_ref()