Searched refs:SHF_ALLOC (Results 1 – 19 of 19) sorted by relevance
| /Linux-v4.19/arch/riscv/kernel/ |
| D | module-sections.c | 136 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 143 mod->arch.got.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections() 150 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC; in module_frob_arch_sections()
|
| /Linux-v4.19/tools/perf/util/ |
| D | genelf.c | 198 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()
|
| D | symbol-elf.c | 2126 if ((shdr.sh_type != SHT_NOTE) || (shdr.sh_flags & SHF_ALLOC)) { in construct_sdt_notes_list()
|
| /Linux-v4.19/arch/arm64/kernel/ |
| D | module-plts.c | 258 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 265 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 273 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
| /Linux-v4.19/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-v4.19/arch/arm/kernel/ |
| D | module-plts.c | 245 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections() 252 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
|
| D | module.c | 354 if (!(s->sh_flags & SHF_ALLOC)) in module_finalize()
|
| /Linux-v4.19/kernel/ |
| D | module.c | 352 if ((shdr->sh_flags & SHF_ALLOC) in find_sec() 1451 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0; in sect_empty() 2316 if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC)) in apply_relocations() 2365 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections() 2366 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, in layout_sections() 2367 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections() 2368 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, in layout_sections() 2369 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } in layout_sections() 2561 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC in elf_type() 2599 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol() [all …]
|
| D | kexec_file.c | 737 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_kbuf() 811 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) in kexec_purgatory_setup_sechdrs() 875 if (!(section->sh_flags & SHF_ALLOC)) in kexec_apply_relocations()
|
| /Linux-v4.19/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-v4.19/Documentation/livepatch/ |
| D | module-elf-format.txt | 139 at patch module load time. These sections must also be marked with SHF_ALLOC, 141 be copied into memory along with the other SHF_ALLOC sections). 179 characteristics. Notice that they are marked SHF_ALLOC ("A") so that they will
|
| /Linux-v4.19/include/uapi/linux/ |
| D | elf.h | 287 #define SHF_ALLOC 0x2 macro
|
| /Linux-v4.19/arch/x86/tools/ |
| D | relocs.c | 579 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in print_absolute_relocs() 664 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { in walk_relocs()
|
| /Linux-v4.19/scripts/ |
| D | recordmcount.h | 221 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
|
| /Linux-v4.19/tools/objtool/ |
| D | elf.c | 519 sec->sh.sh_flags = SHF_ALLOC; in elf_create_section()
|
| /Linux-v4.19/arch/mips/boot/tools/ |
| D | relocs.c | 485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) in walk_relocs()
|
| /Linux-v4.19/arch/sh/kernel/ |
| D | dwarf.c | 1102 if ((sechdrs[i].sh_flags & SHF_ALLOC) in module_dwarf_finalize()
|
| /Linux-v4.19/arch/parisc/kernel/ |
| D | module.c | 904 && (sechdrs[i].sh_flags & SHF_ALLOC)) { in module_finalize()
|
| /Linux-v4.19/scripts/mod/ |
| D | modpost.c | 862 !(sechdr->sh_flags & SHF_ALLOC) && in check_section()
|