Searched refs:SHF_ALLOC (Results 1 - 23 of 23) sorted by relevance
/linux-master/kernel/module/ |
H A D | debug_kmemleak.c | 22 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) ||
|
H A D | kallsyms.c | 56 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC && 96 if (!(sec->sh_flags & SHF_ALLOC) 123 symsect->sh_flags |= SHF_ALLOC; 150 strsect->sh_flags |= SHF_ALLOC;
|
H A D | main.c | 189 if ((shdr->sh_flags & SHF_ALLOC) 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)) 1514 { SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL }, 1515 { SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL }, 1516 { SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL }, 1517 { SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL }, 1518 { ARCH_SHF_SMALL | SHF_ALLOC, 0 } 1558 * Lay out the SHF_ALLOC section [all...] |
H A D | internal.h | 354 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
|
/linux-master/arch/arm64/kernel/pi/ |
H A D | relacheck.c | 89 if ((flags & (SHF_ALLOC | SHF_EXECINSTR)) != SHF_ALLOC)
|
/linux-master/arch/loongarch/kernel/ |
H A D | module-sections.c | 155 got_sec->sh_flags = SHF_ALLOC; 163 plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; 171 plt_idx_sec->sh_flags = SHF_ALLOC; 179 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
|
/linux-master/arch/riscv/kernel/ |
H A D | module-sections.c | 139 mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; 146 mod->arch.got.shdr->sh_flags = SHF_ALLOC; 153 mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC;
|
/linux-master/arch/arm64/kernel/ |
H A D | module-plts.c | 345 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; 353 pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC; 361 tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
|
/linux-master/tools/perf/util/ |
H A D | genelf.c | 199 shdr->sh_flags = SHF_ALLOC; 233 shdr->sh_flags = SHF_ALLOC; 335 shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC; 503 shdr->sh_flags = SHF_ALLOC;
|
H A D | symbol-elf.c | 1335 return (flags & (SHF_ALLOC | SHF_EXECINSTR)) == (SHF_ALLOC | SHF_EXECINSTR); 1707 * If the attribute bit SHF_ALLOC is not set, the section 1714 if (!(shdr.sh_flags & SHF_ALLOC)) 2886 if ((shdr.sh_type != SHT_NOTE) || (shdr.sh_flags & SHF_ALLOC)) {
|
/linux-master/arch/arm/kernel/ |
H A D | module-plts.c | 263 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; 271 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
|
H A D | module.c | 470 if (!(s->sh_flags & SHF_ALLOC) ||
|
/linux-master/arch/mips/kernel/ |
H A D | vpe.c | 178 /* Lay out the SHF_ALLOC sections in a way not dissimilar to how ld 189 {SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL}, 190 {SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL}, 191 {SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL}, 192 {ARCH_SHF_SMALL | SHF_ALLOC, 0} 653 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) 683 if (!(sechdrs[info].sh_flags & SHF_ALLOC))
|
/linux-master/include/uapi/linux/ |
H A D | elf.h | 292 #define SHF_ALLOC 0x2 macro
|
/linux-master/kernel/ |
H A D | kexec_file.c | 843 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) 918 if (!(sechdrs[i].sh_flags & SHF_ALLOC)) 994 if (!(section->sh_flags & SHF_ALLOC))
|
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 307 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
|
/linux-master/arch/x86/tools/ |
H A D | relocs.c | 653 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) { 746 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) {
|
/linux-master/scripts/ |
H A D | recordmcount.h | 310 mcsec.sh_flags = _w(SHF_ALLOC);
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
|
/linux-master/arch/sh/kernel/ |
H A D | dwarf.c | 1100 if ((sechdrs[i].sh_flags & SHF_ALLOC)
|
/linux-master/arch/parisc/kernel/ |
H A D | module.c | 873 && (sechdrs[i].sh_flags & SHF_ALLOC)) {
|
/linux-master/tools/objtool/ |
H A D | elf.c | 1145 sec->sh.sh_flags = SHF_ALLOC;
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 761 * This is used to find sections missing the SHF_ALLOC flag. 771 !(sechdr->sh_flags & SHF_ALLOC) &&
|
Completed in 356 milliseconds