Searched refs:sh_flags (Results 1 – 18 of 18) sorted by relevance
377 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()1457 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()2188 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()2249 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()2250 || (s->sh_flags & masks[m][1]) in layout_sections()2278 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()2279 || (s->sh_flags & masks[m][1]) in layout_sections()2411 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type()2413 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()2415 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) in elf_type()[all …]
721 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in __kexec_load_purgatory()724 if (!(sechdrs[i].sh_flags & SHF_EXECINSTR)) in __kexec_load_purgatory()744 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in __kexec_load_purgatory()792 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in __kexec_load_purgatory()870 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
168 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()175 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
338 if (!(s->sh_flags & SHF_ALLOC)) in module_finalize()
302 Elf32_Word sh_flags; member315 Elf64_Xword sh_flags; /* Miscellaneous section attributes */ member
203 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()204 || (s->sh_flags & masks[m][1]) in layout_sections()654 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in vpe_elfload()684 if (!(sechdrs[info].sh_flags & SHF_ALLOC)) in vpe_elfload()
44 sechdrs[i].sh_flags |= SHF_ALLOC; in module_frob_arch_sections()
221 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()235 mcsec.sh_flags = 0; in append_func()467 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
465 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()469 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()473 mod->arch.got->sh_flags = ARCH_SHF_SMALL | SHF_ALLOC; in module_frob_arch_sections()477 mod->arch.opd->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
410 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()577 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs()662 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
133 s->sh_flags &= ~SHF_ALLOC; in module_frob_arch_sections()
208 s->sh_flags = swab32(s->sh_flags); in convert_elf_shdrs()
259 shdr.sh_link, (int) shdr.sh_flags); in load_bpf_file()
490 unsigned long sh_flags = 0; in drm_irq_install() local514 sh_flags = IRQF_SHARED; in drm_irq_install()517 sh_flags, dev->driver->name, dev); in drm_irq_install()
534 (int)sh.sh_link, (unsigned long)sh.sh_flags, in bpf_object__elf_collect()556 (sh.sh_flags & SHF_EXECINSTR) && in bpf_object__elf_collect()
484 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf()854 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()1550 return ((elf->sechdrs[section_index].sh_flags & SHF_EXECINSTR) == SHF_EXECINSTR); in is_executable_section()
1104 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
887 && (sechdrs[i].sh_flags & SHF_ALLOC)) { in module_finalize()