Home
last modified time | relevance | path

Searched refs:SHF_ALLOC (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/arch/riscv/kernel/
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()
/Linux-v5.4/tools/perf/util/
Dgenelf.c198 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info()
232 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info()
320 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf()
487 shdr->sh_flags = SHF_ALLOC; in jit_write_elf()
Dsymbol-elf.c2193 if ((shdr.sh_type != SHT_NOTE) || (shdr.sh_flags & SHF_ALLOC)) { in construct_sdt_notes_list()
/Linux-v5.4/arch/mips/kernel/
Dvpe.c189 {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()
/Linux-v5.4/arch/arm64/kernel/
Dmodule-plts.c315 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
323 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
331 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
/Linux-v5.4/arch/arm/kernel/
Dmodule-plts.c242 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
249 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
Dmodule.c358 if (!(s->sh_flags & SHF_ALLOC)) in module_finalize()
/Linux-v5.4/kernel/
Dmodule.c350 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
1501 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
2370 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations()
2419 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2420 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in layout_sections()
2421 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2422 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2423 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in layout_sections()
2629 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()
2667 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol()
[all …]
Dkexec_file.c845 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf()
919 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs()
983 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
/Linux-v5.4/arch/ia64/kernel/
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()
/Linux-v5.4/Documentation/livepatch/
Dmodule-elf-format.rst120 at patch module load time. These sections must also be marked with SHF_ALLOC,
122 be copied into memory along with the other SHF_ALLOC sections).
173 characteristics. Notice that they are marked SHF_ALLOC ("A") so that they will
/Linux-v5.4/include/uapi/linux/
Delf.h287 #define SHF_ALLOC 0x2 macro
/Linux-v5.4/arch/x86/tools/
Drelocs.c596 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs()
681 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
/Linux-v5.4/scripts/
Drecordmcount.h225 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
/Linux-v5.4/tools/objtool/
Delf.c526 sec->sh.sh_flags = SHF_ALLOC; in elf_create_section()
/Linux-v5.4/arch/mips/boot/tools/
Drelocs.c485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
/Linux-v5.4/arch/sh/kernel/
Ddwarf.c1100 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
/Linux-v5.4/arch/parisc/kernel/
Dmodule.c890 && (sechdrs[i].sh_flags & SHF_ALLOC)) { in module_finalize()
/Linux-v5.4/scripts/mod/
Dmodpost.c927 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()