Home
last modified time | relevance | path

Searched refs:SHF_ALLOC (Results 1 - 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule-sections.c155 got_sec->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
163 plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
171 plt_idx_sec->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
179 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmodule-sections.c155 got_sec->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
163 plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
171 plt_idx_sec->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
179 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dmodule-sections.c139 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-6.6/arch/riscv/kernel/
H A Dmodule-sections.c139 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-6.6/arch/mips/kernel/
H A Dvpe.c178 /* Lay out the SHF_ALLOC sections in a way not dissimilar to how ld
189 {SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
190 {SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL}, in layout_sections()
191 {SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
192 {ARCH_SHF_SMALL | SHF_ALLOC, 0} in layout_sections()
653 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in vpe_elfload()
683 if (!(sechdrs[info].sh_flags & SHF_ALLOC)) in vpe_elfload()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dgenelf.c197 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()
500 shdr->sh_flags = SHF_ALLOC; in jit_write_elf()
/kernel/linux/linux-6.6/kernel/module/
H A Dkallsyms.c56 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC && in elf_type()
96 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol()
123 symsect->sh_flags |= SHF_ALLOC; in layout_symtab()
150 strsect->sh_flags |= SHF_ALLOC; in layout_symtab()
H A Ddebug_kmemleak.c22 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) || in kmemleak_load_module()
H A Dmain.c189 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
216 /* Find a module section: 0 means not found. Ignores SHF_ALLOC flag. */
231 * Ignores SHF_ALLOC flag.
1452 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()
1514 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in __layout_sections()
1515 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in __layout_sections()
1516 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, in __layout_sections()
1517 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in __layout_sections()
1518 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in __layout_sections()
1558 * Lay out the SHF_ALLOC section
[all...]
H A Dinternal.h354 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dgenelf.c199 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info()
233 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info()
335 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf()
503 shdr->sh_flags = SHF_ALLOC; in jit_write_elf()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dvpe.c178 /* Lay out the SHF_ALLOC sections in a way not dissimilar to how ld
189 {SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
190 {SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL}, in layout_sections()
191 {SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL}, in layout_sections()
192 {ARCH_SHF_SMALL | SHF_ALLOC, 0} 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/kernel/
H A Dmodule.c360 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
1543 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
2446 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()
2487 /* Lay out the SHF_ALLOC sections in a way not dissimilar to how ld
2497 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2498 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in layout_sections()
2499 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2500 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2501 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in layout_sections()
2707 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dmodule-plts.c356 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
364 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
372 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dmodule-plts.c346 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()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dmodule-plts.c268 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()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dmodule-plts.c263 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()
/kernel/linux/linux-5.10/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()
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-6.6/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()
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-6.6/kernel/
H A Dkexec_file.c824 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf()
899 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs()
975 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Delf.h291 #define SHF_ALLOC 0x2 macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Delf.h292 #define SHF_ALLOC 0x2 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Delf.h244 #define SHF_ALLOC 0x2 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Delf.h244 #define SHF_ALLOC 0x2 macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Delf.h230 #define SHF_ALLOC 0x2 macro

Completed in 26 milliseconds

12