/linux-5.19.10/arch/riscv/kernel/ |
D | module-sections.c | 139 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-5.19.10/tools/perf/util/ |
D | genelf.c | 197 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info() 231 shdr->sh_flags = SHF_ALLOC; in jit_add_eh_frame_info() 319 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in jit_write_elf() 486 shdr->sh_flags = SHF_ALLOC; in jit_write_elf()
|
D | symbol-elf.c | 1266 if (!(shdr.sh_flags & SHF_ALLOC)) in dso__load_sym_internal() 2440 if ((shdr.sh_type != SHT_NOTE) || (shdr.sh_flags & SHF_ALLOC)) { in construct_sdt_notes_list()
|
/linux-5.19.10/arch/mips/kernel/ |
D | vpe.c | 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()
|
/linux-5.19.10/arch/loongarch/kernel/ |
D | module-sections.c | 107 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 114 mod->arch.plt_idx.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
|
/linux-5.19.10/kernel/module/ |
D | debug_kmemleak.c | 22 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) || in kmemleak_load_module()
|
D | kallsyms.c | 55 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC && in elf_type() 93 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol() 118 symsect->sh_flags |= SHF_ALLOC; in layout_symtab() 146 strsect->sh_flags |= SHF_ALLOC; in layout_symtab()
|
D | main.c | 184 if ((shdr->sh_flags & SHF_ALLOC) in find_sec() 1362 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations() 1426 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections() 1427 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in layout_sections() 1428 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections() 1429 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections() 1430 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in layout_sections() 1763 if (shdr->sh_flags & SHF_ALLOC) { in elf_validity_check() 1884 info->sechdrs[info->index.vers].sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers() 1885 info->sechdrs[info->index.info].sh_flags &= ~(unsigned long)SHF_ALLOC; in rewrite_section_headers() [all …]
|
D | internal.h | 253 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty()
|
/linux-5.19.10/arch/arm64/kernel/ |
D | module-plts.c | 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()
|
/linux-5.19.10/arch/arm/kernel/ |
D | module-plts.c | 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()
|
D | module.c | 472 if (!(s->sh_flags & SHF_ALLOC) || in module_finalize()
|
/linux-5.19.10/arch/ia64/kernel/ |
D | module.c | 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() 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-5.19.10/Documentation/livepatch/ |
D | module-elf-format.rst | 113 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-5.19.10/kernel/ |
D | kexec_file.c | 811 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf() 885 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs() 949 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
|
/linux-5.19.10/include/uapi/linux/ |
D | elf.h | 292 #define SHF_ALLOC 0x2 macro
|
/linux-5.19.10/arch/x86/tools/ |
D | relocs.c | 652 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-5.19.10/scripts/ |
D | recordmcount.h | 310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
|
/linux-5.19.10/arch/mips/boot/tools/ |
D | relocs.c | 485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
|
/linux-5.19.10/arch/sh/kernel/ |
D | dwarf.c | 1100 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
|
/linux-5.19.10/arch/parisc/kernel/ |
D | module.c | 890 && (sechdrs[i].sh_flags & SHF_ALLOC)) { in module_finalize()
|
/linux-5.19.10/tools/objtool/ |
D | elf.c | 1070 sec->sh.sh_flags = SHF_ALLOC | sh_flags; in elf_create_section()
|
/linux-5.19.10/scripts/mod/ |
D | modpost.c | 776 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
|