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()
763 Elf_Shdr *sechdr) in check_section() argument
765 const char *sec = sech_name(elf, sechdr); in check_section()
767 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
768 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1428 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local
1430 check_section(mod->name, elf, sechdr); in check_sec_ref()
1432 if (sechdr->sh_type == SHT_REL || sechdr->sh_type == SHT_RELA) { in check_sec_ref()
1434 unsigned int secndx = sechdr->sh_info; in check_sec_ref()
1443 stop = start + sechdr->sh_size; in check_sec_ref()
1445 if (sechdr->sh_type == SHT_RELA) in check_sec_ref()