Lines Matching refs:sec
370 unsigned int sec = find_sec(info, name); in section_objs() local
373 *num = info->sechdrs[sec].sh_size / object_size; in section_objs()
374 return (void *)info->sechdrs[sec].sh_addr; in section_objs()
1562 Elf_Shdr *sec = &info->sechdrs[i]; in add_sect_attrs() local
1563 if (sect_empty(sec)) in add_sect_attrs()
1565 sattr->address = sec->sh_addr; in add_sect_attrs()
1566 sattr->name = kstrdup(info->secstrings + sec->sh_name, in add_sect_attrs()
2661 const Elf_Shdr *sec; in is_core_symbol() local
2673 sec = sechdrs + src->st_shndx; in is_core_symbol()
2674 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol()
2676 || !(sec->sh_flags & SHF_EXECINSTR) in is_core_symbol()
2678 || (sec->sh_entsize & INIT_OFFSET_MASK)) in is_core_symbol()