Lines Matching refs:sechdrs
39 const Elf_Shdr *sechdrs = info->sechdrs; in elf_type() local
53 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type()
55 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC && in elf_type()
56 sechdrs[sym->st_shndx].sh_type != SHT_NOBITS) { in elf_type()
57 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) in elf_type()
59 else if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) in elf_type()
64 if (sechdrs[sym->st_shndx].sh_type == SHT_NOBITS) { in elf_type()
65 if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) in elf_type()
70 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name, in elf_type()
77 static bool is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs, in is_core_symbol() argument
92 sec = sechdrs + src->st_shndx; in is_core_symbol()
112 Elf_Shdr *symsect = info->sechdrs + info->index.sym; in layout_symtab()
113 Elf_Shdr *strsect = info->sechdrs + info->index.str; in layout_symtab()
129 is_core_symbol(src + i, info->sechdrs, info->hdr->e_shnum, in layout_symtab()
172 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; in add_kallsyms()
185 (void *)info->sechdrs[info->index.str].sh_addr; in add_kallsyms()
200 is_core_symbol(src + i, info->sechdrs, info->hdr->e_shnum, in add_kallsyms()
228 sechdr = &info->sechdrs[i]; in init_build_id()