Home
last modified time | relevance | path

Searched refs:sh_flags (Results 1 – 16 of 16) sorted by relevance

/linux-4.1.27/kernel/
Dmodule.c228 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
1294 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
2017 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()
2078 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2079 || (s->sh_flags & masks[m][1]) in layout_sections()
2107 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections()
2108 || (s->sh_flags & masks[m][1]) in layout_sections()
2240 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type()
2242 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()
2244 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) in elf_type()
[all …]
Dkexec.c2353 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in __kexec_load_purgatory()
2356 if (!(sechdrs[i].sh_flags & SHF_EXECINSTR)) in __kexec_load_purgatory()
2376 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in __kexec_load_purgatory()
2424 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in __kexec_load_purgatory()
2502 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
/linux-4.1.27/include/uapi/linux/
Delf.h302 Elf32_Word sh_flags; member
315 Elf64_Xword sh_flags; /* Miscellaneous section attributes */ member
/linux-4.1.27/arch/mips/kernel/
Dvpe.c203 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()
/linux-4.1.27/arch/arc/kernel/
Dmodule.c44 sechdrs[i].sh_flags |= SHF_ALLOC; in module_frob_arch_sections()
/linux-4.1.27/scripts/
Drecordmcount.h221 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()
/linux-4.1.27/arch/x86/tools/
Drelocs.c410 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()
/linux-4.1.27/arch/ia64/kernel/
Dmodule.c473 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
477 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
481 mod->arch.got->sh_flags = ARCH_SHF_SMALL | SHF_ALLOC; in module_frob_arch_sections()
485 mod->arch.opd->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
/linux-4.1.27/arch/blackfin/kernel/
Dmodule.c133 s->sh_flags &= ~SHF_ALLOC; in module_frob_arch_sections()
/linux-4.1.27/samples/bpf/
Dbpf_load.c226 shdr.sh_link, (int) shdr.sh_flags); in load_bpf_file()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_irq.c392 unsigned long sh_flags = 0; in drm_irq_install() local
416 sh_flags = IRQF_SHARED; in drm_irq_install()
419 sh_flags, dev->driver->name, dev); in drm_irq_install()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c208 s->sh_flags = swab32(s->sh_flags); in convert_elf_shdrs()
/linux-4.1.27/arch/arm/kernel/
Dmodule.c308 if (!(s->sh_flags & SHF_ALLOC)) in module_finalize()
/linux-4.1.27/scripts/mod/
Dmodpost.c483 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf()
851 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
1546 return ((elf->sechdrs[section_index].sh_flags & SHF_EXECINSTR) == SHF_EXECINSTR); in is_executable_section()
/linux-4.1.27/arch/sh/kernel/
Ddwarf.c1104 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
/linux-4.1.27/arch/parisc/kernel/
Dmodule.c887 && (sechdrs[i].sh_flags & SHF_ALLOC)) { in module_finalize()