Lines Matching refs:sechdr
338 Elf_Shdr *sechdr = &info->sechdrs[secindex]; in sym_get_data_by_offset() local
340 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset()
349 static const char *sech_name(const struct elf_info *info, Elf_Shdr *sechdr) in sech_name() argument
352 sechdr->sh_name); in sech_name()
775 Elf_Shdr *sechdr) in check_section() argument
777 const char *sec = sech_name(elf, sechdr); in check_section()
779 if (sechdr->sh_type == SHT_PROGBITS && in check_section()
780 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1486 Elf_Shdr *sechdr) in section_rela() argument
1489 unsigned int fsecndx = sechdr->sh_info; in section_rela()
1491 Elf_Rela *start = (void *)elf->hdr + sechdr->sh_offset; in section_rela()
1492 Elf_Rela *stop = (void *)start + sechdr->sh_size; in section_rela()
1526 Elf_Shdr *sechdr) in section_rel() argument
1529 unsigned int fsecndx = sechdr->sh_info; in section_rel()
1531 Elf_Rel *start = (void *)elf->hdr + sechdr->sh_offset; in section_rel()
1532 Elf_Rel *stop = (void *)start + sechdr->sh_size; in section_rel()