Lines Matching refs:SHF_ALLOC
355 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
1472 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
2369 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()
2433 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2434 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in layout_sections()
2435 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2436 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2437 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in layout_sections()
2643 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()
2681 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol()
2706 symsect->sh_flags |= SHF_ALLOC; in layout_symtab()
2733 strsect->sh_flags |= SHF_ALLOC; in layout_symtab()
2864 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) || in kmemleak_load_module()
3076 if (shdr->sh_flags & SHF_ALLOC) { in elf_validity_check()
3201 info->sechdrs[info->index.vers].sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers()
3202 info->sechdrs[info->index.info].sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers()
3462 if (!(shdr->sh_flags & SHF_ALLOC)) in move_module()
3583 info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC; in layout_and_allocate()