Searched refs:SHF_ALLOC (Results 1 - 23 of 23) sorted by relevance

/linux-master/kernel/module/
H A Ddebug_kmemleak.c22 if (!(info->sechdrs[i].sh_flags & SHF_ALLOC) ||
H A Dkallsyms.c56 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 Dmain.c189 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 Dinternal.h354 return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c89 if ((flags & (SHF_ALLOC | SHF_EXECINSTR)) != SHF_ALLOC)
/linux-master/arch/loongarch/kernel/
H A Dmodule-sections.c155 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 Dmodule-sections.c139 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 Dmodule-plts.c345 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 Dgenelf.c199 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 Dsymbol-elf.c1335 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 Dmodule-plts.c263 mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
271 mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
H A Dmodule.c470 if (!(s->sh_flags & SHF_ALLOC) ||
/linux-master/arch/mips/kernel/
H A Dvpe.c178 /* 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 Delf.h292 #define SHF_ALLOC 0x2 macro
/linux-master/kernel/
H A Dkexec_file.c843 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 Drelocs.c307 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
/linux-master/arch/x86/tools/
H A Drelocs.c653 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) {
746 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC)) {
/linux-master/scripts/
H A Drecordmcount.h310 mcsec.sh_flags = _w(SHF_ALLOC);
/linux-master/arch/mips/boot/tools/
H A Drelocs.c485 if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
/linux-master/arch/sh/kernel/
H A Ddwarf.c1100 if ((sechdrs[i].sh_flags & SHF_ALLOC)
/linux-master/arch/parisc/kernel/
H A Dmodule.c873 && (sechdrs[i].sh_flags & SHF_ALLOC)) {
/linux-master/tools/objtool/
H A Delf.c1145 sec->sh.sh_flags = SHF_ALLOC;
/linux-master/scripts/mod/
H A Dmodpost.c761 * This is used to find sections missing the SHF_ALLOC flag.
771 !(sechdr->sh_flags & SHF_ALLOC) &&

Completed in 356 milliseconds