Home
last modified time | relevance | path

Searched refs:SHF_EXECINSTR (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/arch/loongarch/kernel/
H A Dmodule-sections.c147 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()
/openbmc/linux/arch/arm64/kernel/
H A Dmodule-plts.c324 if (!(dstsec->sh_flags & SHF_EXECINSTR)) in module_frob_arch_sections()
346 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
354 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
362 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
/openbmc/linux/arch/arm/kernel/
H A Dmodule-plts.c248 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()
/openbmc/linux/kernel/module/
H A Ddebug_kmemleak.c24 (info->sechdrs[i].sh_flags & SHF_EXECINSTR)) in kmemleak_load_module()
H A Dstrict_rwx.c65 const unsigned long shf_wx = SHF_WRITE | SHF_EXECINSTR; in module_enforce_rwx_sections()
H A Dkallsyms.c54 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR) in elf_type()
98 || !(sec->sh_flags & SHF_EXECINSTR) in is_core_symbol()
H A Dmain.c1514 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in __layout_sections()
/openbmc/linux/arch/riscv/kernel/
H A Dmodule-sections.c132 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()
/openbmc/linux/tools/objtool/include/objtool/
H A Dwarn.h21 bool is_text = (sec->sh.sh_flags & SHF_EXECINSTR); in offstr()
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_firmware.c69 SHF_EXECINSTR))) in pfe_load_elf()
H A Dpfe_hw.c466 if (flags & SHF_EXECINSTR) { in pe_load_ddr_section()
/openbmc/linux/arch/mips/tools/
H A Dloongson3-llsc-check.c290 if (!(sh->sh_flags & SHF_EXECINSTR)) in main()
/openbmc/linux/include/uapi/linux/
H A Delf.h293 #define SHF_EXECINSTR 0x4 macro
/openbmc/linux/arch/ia64/kernel/
H A Dmodule.c467 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()
/openbmc/u-boot/include/
H A Delf.h336 #define SHF_EXECINSTR 0x4 /* executable */ macro
/openbmc/linux/tools/perf/util/
H A Dgenelf.c335 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf()
/openbmc/linux/tools/objtool/
H A Delf.c895 if (!(insn_sec->sh.sh_flags & SHF_EXECINSTR)) { in elf_init_reloc_text_sym()
925 if (sym->sec && (sec->sh.sh_flags & SHF_EXECINSTR)) { in elf_init_reloc_data_sym()
H A Dcheck.c381 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in decode_instructions()
4173 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in add_prefix_symbols()
4264 if (!(sec->sh.sh_flags & SHF_EXECINSTR)) in validate_functions()
4435 if (sec->sh.sh_flags & SHF_EXECINSTR) in validate_ibt()
/openbmc/linux/arch/mips/kernel/
H A Dvpe.c189 {SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
/openbmc/linux/scripts/
H A Drecordmcount.h568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
/openbmc/linux/tools/lib/bpf/
H A Dlinker.c735 if (sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf()
899 if (link_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_sanity_check_elf_relos()
2071 if (src_linked_sec->shdr->sh_flags & SHF_EXECINSTR) { in linker_append_elf_relos()
H A Dlibbpf.c2693 return sh->sh_flags & SHF_EXECINSTR; in section_have_execinstr()
3494 if (sh->sh_flags & SHF_EXECINSTR) { in bpf_object__elf_collect()
/openbmc/linux/kernel/
H A Dkexec_file.c922 if (sechdrs[i].sh_flags & SHF_EXECINSTR && in kexec_purgatory_setup_sechdrs()
/openbmc/qemu/include/
H A Delf.h1587 #define SHF_EXECINSTR 0x4 macro
/openbmc/linux/scripts/mod/
H A Dmodpost.c1048 return (elf->sechdrs[secndx].sh_flags & SHF_EXECINSTR) != 0; in is_executable_section()

12