Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
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()
/linux/tools/perf/util/
A Dgenelf.c193 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info()
227 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info()
315 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf()
482 shdr->sh_flags = SHF_ALLOC; in jit_write_elf()
A Dsymbol-elf.c2379 if ((shdr.sh_type != SHT_NOTE) || (shdr.sh_flags & SHF_ALLOC)) { in construct_sdt_notes_list()
/linux/arch/mips/kernel/
A 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/arch/arm64/kernel/
A Dmodule-plts.c355 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()
/linux/arch/arm/kernel/
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()
A Dmodule.c380 if (!(s->sh_flags & SHF_ALLOC)) in module_finalize()
/linux/kernel/
A Dmodule.c355 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()
2433 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2434 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in layout_sections()
2436 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections()
2437 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in layout_sections()
2643 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type()
2681 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol()
2706 symsect->sh_flags |= SHF_ALLOC; in layout_symtab()
2733 strsect->sh_flags |= SHF_ALLOC; in layout_symtab()
3076 if (shdr->sh_flags & SHF_ALLOC) { in elf_validity_check()
[all …]
A Dkexec_file.c857 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf()
931 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs()
995 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
/linux/arch/ia64/kernel/
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()
/linux/Documentation/livepatch/
A Dmodule-elf-format.rst113 at patch module load time. These sections must also be marked with SHF_ALLOC,
115 be copied into memory along with the other SHF_ALLOC sections).
166 characteristics. Notice that they are marked SHF_ALLOC ("A") so that they will
/linux/include/uapi/linux/
A Delf.h288 #define SHF_ALLOC 0x2 macro
/linux/arch/x86/tools/
A Drelocs.c652 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs()
737 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
/linux/scripts/
A Drecordmcount.h310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
/linux/arch/mips/boot/tools/
A Drelocs.c485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
/linux/arch/sh/kernel/
A Ddwarf.c1100 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
/linux/arch/parisc/kernel/
A Dmodule.c890 && (sechdrs[i].sh_flags & SHF_ALLOC)) { in module_finalize()
/linux/tools/objtool/
A Delf.c804 sec->sh.sh_flags = SHF_ALLOC | sh_flags; in elf_create_section()
/linux/scripts/mod/
A Dmodpost.c904 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()

Completed in 49 milliseconds