Searched refs:sh_flags (Results 1 - 19 of 19) sorted by relevance

/linux-4.4.14/arch/arm/kernel/
H A Dmodule-plts.c168 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; module_frob_arch_sections()
175 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; module_frob_arch_sections()
H A Dmodule.c338 if (!(s->sh_flags & SHF_ALLOC)) module_finalize()
/linux-4.4.14/include/uapi/linux/
H A Delf.h284 /* sh_flags */
302 Elf32_Word sh_flags; member in struct:elf32_shdr
315 Elf64_Xword sh_flags; /* Miscellaneous section attributes */ member in struct:elf64_shdr
/linux-4.4.14/arch/arc/kernel/
H A Dmodule.c44 sechdrs[i].sh_flags |= SHF_ALLOC; module_frob_arch_sections()
/linux-4.4.14/arch/mips/kernel/
H A Dvpe.c203 if ((s->sh_flags & masks[m][0]) != masks[m][0] layout_sections()
204 || (s->sh_flags & masks[m][1]) layout_sections()
654 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) vpe_elfload()
684 if (!(sechdrs[info].sh_flags & SHF_ALLOC)) vpe_elfload()
/linux-4.4.14/kernel/
H A Dmodule.c377 if ((shdr->sh_flags & SHF_ALLOC) find_sec()
1457 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; sect_empty()
2188 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) apply_relocations()
2249 if ((s->sh_flags & masks[m][0]) != masks[m][0] layout_sections()
2250 || (s->sh_flags & masks[m][1]) layout_sections()
2278 if ((s->sh_flags & masks[m][0]) != masks[m][0] layout_sections()
2279 || (s->sh_flags & masks[m][1]) layout_sections()
2411 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) elf_type()
2413 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC elf_type()
2415 if (!(sechdrs[sym->st_shndx].sh_flags & SHF_WRITE)) elf_type()
2417 else if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) elf_type()
2423 if (sechdrs[sym->st_shndx].sh_flags & ARCH_SHF_SMALL) elf_type()
2446 if (!(sec->sh_flags & SHF_ALLOC) is_core_symbol()
2448 || !(sec->sh_flags & SHF_EXECINSTR) is_core_symbol()
2471 symsect->sh_flags |= SHF_ALLOC; layout_symtab()
2495 strsect->sh_flags |= SHF_ALLOC; layout_symtab()
2592 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) || kmemleak_load_module()
2593 !(info->sechdrs[i].sh_flags & SHF_WRITE) || kmemleak_load_module()
2594 (info->sechdrs[i].sh_flags & SHF_EXECINSTR)) kmemleak_load_module()
2789 shdr->sh_flags &= ~(unsigned long)SHF_ALLOC; rewrite_section_headers()
2799 info->sechdrs[info->index.info].sh_flags &= ~(unsigned long)SHF_ALLOC; rewrite_section_headers()
2800 info->sechdrs[info->index.vers].sh_flags &= ~(unsigned long)SHF_ALLOC; rewrite_section_headers()
3023 if (!(shdr->sh_flags & SHF_ALLOC)) move_module()
3131 info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC; layout_and_allocate()
H A Dkexec_file.c721 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) __kexec_load_purgatory()
724 if (!(sechdrs[i].sh_flags & SHF_EXECINSTR)) __kexec_load_purgatory()
744 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) __kexec_load_purgatory()
792 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) __kexec_load_purgatory()
870 if (!(section->sh_flags & SHF_ALLOC)) kexec_apply_relocations()
/linux-4.4.14/scripts/
H A Drecordmcount.h221 mcsec.sh_flags = _w(SHF_ALLOC); append_func()
235 mcsec.sh_flags = 0; append_func()
467 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) __has_rel_mcount()
/linux-4.4.14/arch/x86/tools/
H A Drelocs.c410 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); read_shdrs()
577 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { print_absolute_relocs()
662 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { walk_relocs()
/linux-4.4.14/samples/bpf/
H A Dbpf_load.c259 shdr.sh_link, (int) shdr.sh_flags); load_bpf_file()
/linux-4.4.14/arch/ia64/kernel/
H A Dmodule.c465 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; module_frob_arch_sections()
469 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; module_frob_arch_sections()
473 mod->arch.got->sh_flags = ARCH_SHF_SMALL | SHF_ALLOC; module_frob_arch_sections()
477 mod->arch.opd->sh_flags = SHF_ALLOC; module_frob_arch_sections()
/linux-4.4.14/arch/blackfin/kernel/
H A Dmodule.c133 s->sh_flags &= ~SHF_ALLOC; module_frob_arch_sections()
/linux-4.4.14/arch/mips/boot/
H A Delf2ecoff.c208 s->sh_flags = swab32(s->sh_flags); convert_elf_shdrs()
/linux-4.4.14/tools/lib/bpf/
H A Dlibbpf.c534 (int)sh.sh_link, (unsigned long)sh.sh_flags, bpf_object__elf_collect()
556 (sh.sh_flags & SHF_EXECINSTR) && bpf_object__elf_collect()
/linux-4.4.14/scripts/mod/
H A Dmodpost.c484 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); parse_elf()
854 !(sechdr->sh_flags & SHF_ALLOC) && check_section()
1550 return ((elf->sechdrs[section_index].sh_flags & SHF_EXECINSTR) == SHF_EXECINSTR); is_executable_section()
/linux-4.4.14/arch/parisc/include/asm/
H A Delf.h43 /* Legal values for sh_flags field of Elf32_Shdr. */
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_irq.c490 unsigned long sh_flags = 0; drm_irq_install() local
514 sh_flags = IRQF_SHARED; drm_irq_install()
517 sh_flags, dev->driver->name, dev); drm_irq_install()
/linux-4.4.14/arch/sh/kernel/
H A Ddwarf.c1104 if ((sechdrs[i].sh_flags & SHF_ALLOC) module_dwarf_finalize()
/linux-4.4.14/arch/parisc/kernel/
H A Dmodule.c887 && (sechdrs[i].sh_flags & SHF_ALLOC)) { module_finalize()

Completed in 769 milliseconds