Searched refs:SHF_EXECINSTR (Results 1 – 21 of 21) sorted by relevance
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()
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()
100 if (!(dst_sec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()107 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
24 (info->sechdrs[i].sh_flags & SHF_EXECINSTR)) in kmemleak_load_module()
128 const unsigned long shf_wx = SHF_WRITE | SHF_EXECINSTR; in module_enforce_rwx_sections()
53 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type()95 || !(sec->sh_flags & SHF_EXECINSTR) in is_core_symbol()
1426 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()2169 else if (!(shdr->sh_flags & SHF_EXECINSTR)) in move_module()
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()
21 bool is_text = (sec->sh.sh_flags & SHF_EXECINSTR); in offstr()
290 if (!(sh->sh_flags & SHF_EXECINSTR)) in main()
293 #define SHF_EXECINSTR 0x4 macro
319 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf()
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()
568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
189 {SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
739 if (sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf()903 if (link_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf_relos()2068 if (src_linked_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_append_elf_relos()
2669 return sh->sh_flags & SHF_EXECINSTR; in section_have_execinstr()3420 if (sh->sh_flags & SHF_EXECINSTR) { in bpf_object__elf_collect()
1479 return ((elf->sechdrs[section_index].sh_flags & SHF_EXECINSTR) == SHF_EXECINSTR); in is_executable_section()
372 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in decode_instructions()3948 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in validate_functions()4091 if (sec->sh.sh_flags & SHF_EXECINSTR) in validate_ibt()
350 if (sec->sh.sh_flags & SHF_EXECINSTR) in read_sections()
897 if (sechdrs[i].sh_flags & SHF_EXECINSTR && in kexec_purgatory_setup_sechdrs()