Lines Matching refs:sechdr
329 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
331 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
340 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
343 sechdr->sh_name); in sech_name()
761 Elf_Shdr *sechdr) in check_section() argument
763 const char *sec = sech_name(elf, sechdr); in check_section()
765 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
766 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1474 Elf_Shdr *sechdr = &elf->sechdrs[i]; in check_sec_ref() local
1476 check_section(mod->name, elf, sechdr); in check_sec_ref()
1478 if (sechdr->sh_type == SHT_REL || sechdr->sh_type == SHT_RELA) { in check_sec_ref()
1480 unsigned int secndx = sechdr->sh_info; in check_sec_ref()
1489 stop = start + sechdr->sh_size; in check_sec_ref()
1491 if (sechdr->sh_type == SHT_RELA) in check_sec_ref()