| /linux-6.15/arch/loongarch/kernel/ |
| H A D | module-sections.c | 147 if (!(dst_sec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 163 plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 179 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | module-plts.c | 323 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 345 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 353 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 361 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
| /linux-6.15/arch/arm/kernel/ |
| H A D | module-plts.c | 248 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 263 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 271 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
| /linux-6.15/arch/riscv/kernel/ |
| H A D | module-sections.c | 133 if (!(dst_sec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections() 140 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
| /linux-6.15/kernel/module/ |
| H A D | strict_rwx.c | 93 const unsigned long shf_wx = SHF_WRITE | SHF_EXECINSTR; in module_enforce_rwx_sections()
|
| H A D | kallsyms.c | 54 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type() 98 || !(sec->sh_flags & SHF_EXECINSTR) in is_core_symbol()
|
| H A D | main.c | 1571 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in __layout_sections()
|
| /linux-6.15/arch/arm64/kernel/pi/ |
| H A D | relacheck.c | 89 if ((flags & (SHF_ALLOC | SHF_EXECINSTR)) != SHF_ALLOC) in main()
|
| /linux-6.15/tools/objtool/include/objtool/ |
| H A D | warn.h | 22 bool is_text = (sec->sh.sh_flags & SHF_EXECINSTR); in offstr()
|
| /linux-6.15/arch/mips/tools/ |
| H A D | loongson3-llsc-check.c | 290 if (!(sh->sh_flags & SHF_EXECINSTR)) in main()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | elf.h | 301 #define SHF_EXECINSTR 0x4 macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | elf.h | 301 #define SHF_EXECINSTR 0x4 macro
|
| /linux-6.15/tools/perf/util/ |
| H A D | genelf.c | 330 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf()
|
| H A D | symbol-elf.c | 1399 return (flags & (SHF_ALLOC | SHF_EXECINSTR)) == (SHF_ALLOC | SHF_EXECINSTR); in is_exe_text()
|
| /linux-6.15/tools/objtool/ |
| H A D | elf.c | 894 if (!(insn_sec->sh.sh_flags & SHF_EXECINSTR)) { in elf_init_reloc_text_sym() 923 if (sym->sec && (sec->sh.sh_flags & SHF_EXECINSTR)) { in elf_init_reloc_data_sym()
|
| H A D | check.c | 438 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in decode_instructions() 4181 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in add_prefix_symbols() 4273 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in validate_functions() 4459 if (sec->sh.sh_flags & SHF_EXECINSTR) in validate_ibt()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | linker.c | 884 if (sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf() 1052 if (link_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf_relos() 1247 (sec->shdr->sh_flags & SHF_EXECINSTR); in is_exec_sec() 2260 if (src_linked_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_append_elf_relos()
|
| H A D | libbpf.c | 3098 return sh->sh_flags & SHF_EXECINSTR; in section_have_execinstr() 3927 if (sh->sh_flags & SHF_EXECINSTR) { in bpf_object__elf_collect()
|
| /linux-6.15/arch/mips/kernel/ |
| H A D | vpe.c | 189 {SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
|
| /linux-6.15/scripts/ |
| H A D | recordmcount.h | 568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
|
| /linux-6.15/kernel/ |
| H A D | kexec_file.c | 958 if (sechdrs[i].sh_flags & SHF_EXECINSTR && in kexec_purgatory_setup_sechdrs()
|
| /linux-6.15/scripts/mod/ |
| H A D | modpost.c | 1003 return (elf->sechdrs[secndx].sh_flags & SHF_EXECINSTR) != 0; in is_executable_section()
|