/kernel/linux/linux-5.10/tools/perf/util/ |
D | genelf.c | 197 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info() 231 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info() 333 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf() 378 shdr->sh_flags = 0; in jit_write_elf() 414 shdr->sh_flags = 0; in jit_write_elf() 457 shdr->sh_flags = 0; in jit_write_elf() 500 shdr->sh_flags = SHF_ALLOC; in jit_write_elf()
|
D | genelf_debug.c | 530 shdr->sh_flags = 0; in jit_add_debug_info() 564 shdr->sh_flags = 0; in jit_add_debug_info() 598 shdr->sh_flags = 0; in jit_add_debug_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_irq.c | 109 unsigned long sh_flags = 0; in drm_irq_install() local 126 sh_flags = IRQF_SHARED; in drm_irq_install() 129 sh_flags, dev->driver->name, dev); in drm_irq_install()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | module-sections.c | 132 if (!(dst_sec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 139 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 146 mod->arch.got.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections() 153 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | module-plts.c | 333 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 355 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 363 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 371 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | module-plts.c | 253 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 268 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 276 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
D | module.c | 380 if (!(s->sh_flags & SHF_ALLOC)) in module_finalize()
|
/kernel/linux/linux-5.10/kernel/ |
D | module.c | 360 if ((shdr->sh_flags & SHF_ALLOC) in find_sec() 1543 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty() 2103 if ((sechdrs[i].sh_flags & shf_wx) == shf_wx) { in module_enforce_rwx_sections() 2435 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations() 2438 if (info->sechdrs[i].sh_flags & SHF_RELA_LIVEPATCH) in apply_relocations() 2503 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections() 2504 || (s->sh_flags & masks[m][1]) in layout_sections() 2536 if ((s->sh_flags & masks[m][0]) != masks[m][0] in layout_sections() 2537 || (s->sh_flags & masks[m][1]) in layout_sections() 2694 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type() [all …]
|
D | kexec_file.c | 827 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf() 901 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs() 913 if (sechdrs[i].sh_flags & SHF_EXECINSTR && in kexec_purgatory_setup_sechdrs() 965 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | elf.h | 247 Elf32_Word sh_flags; member 259 Elf64_Xword sh_flags; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | elf.h | 310 Elf32_Word sh_flags; member 323 Elf64_Xword sh_flags; /* Miscellaneous section attributes */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | elf.h | 260 Elf32_Word sh_flags; member 272 Elf64_Xword sh_flags; member
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | vpe.c | 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()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | module.c | 467 mod->arch.core_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 471 mod->arch.init_plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 475 mod->arch.got->sh_flags = ARCH_SHF_SMALL | SHF_ALLOC; in module_frob_arch_sections() 479 mod->arch.opd->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
|
/kernel/linux/linux-5.10/tools/objtool/ |
D | elf.c | 979 unsigned int sh_flags, size_t entsize, int nr) in elf_create_section() argument 1038 sec->sh.sh_flags = SHF_ALLOC | sh_flags; in elf_create_section() 1086 sec->sh.sh_flags = SHF_INFO_LINK; in elf_create_rel_reloc_section() 1116 sec->sh.sh_flags = SHF_INFO_LINK; in elf_create_rela_reloc_section()
|
D | elf.h | 128 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t…
|
/kernel/linux/linux-5.10/scripts/ |
D | recordmcount.h | 310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func() 325 mcsec.sh_flags = 0; in append_func() 568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
|
/kernel/linux/linux-5.10/arch/mips/boot/tools/ |
D | relocs.c | 281 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs() 485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
|
/kernel/linux/linux-5.10/arch/x86/tools/ |
D | relocs.c | 429 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs() 596 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs() 681 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
|
/kernel/linux/linux-5.10/arch/mips/tools/ |
D | loongson3-llsc-check.c | 290 if (!(sh->sh_flags & SHF_EXECINSTR)) in main()
|
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/ |
D | main.c | 280 if (!(sh->sh_flags & SHF_COMPRESSED)) in compressed_section_fix() 363 (int) sh.sh_link, (unsigned long) sh.sh_flags, in elf_collect()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | bpf_load.c | 550 shdr.sh_link, (int) shdr.sh_flags); in do_load_bpf_file() 615 !(shdr_prog.sh_flags & SHF_EXECINSTR)) in do_load_bpf_file()
|
/kernel/linux/linux-5.10/arch/mips/boot/ |
D | elf2ecoff.c | 210 s->sh_flags = swab32(s->sh_flags); in convert_elf_shdrs()
|
/kernel/linux/linux-5.10/scripts/mod/ |
D | modpost.c | 551 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf() 907 !(sechdr->sh_flags & SHF_ALLOC) && in check_section() 1615 return ((elf->sechdrs[section_index].sh_flags & SHF_EXECINSTR) == SHF_EXECINSTR); in is_executable_section()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | dwarf.c | 1100 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
|