SHF_ALLOC
mod->arch.core.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
mod->arch.init.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
if (!(s->sh_flags & SHF_ALLOC) ||
pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
pltsec->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
init_tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
if ((flags & (SHF_ALLOC | SHF_EXECINSTR)) != SHF_ALLOC)
got_sec->sh_flags = SHF_ALLOC;
plt_sec->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
plt_idx_sec->sh_flags = SHF_ALLOC;
tramp->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
{SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL},
{SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL},
{SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL},
{ARCH_SHF_SMALL | SHF_ALLOC, 0}
if (!(sechdrs[i].sh_flags & SHF_ALLOC))
if (!(sechdrs[info].sh_flags & SHF_ALLOC))
&& (sechdrs[i].sh_flags & SHF_ALLOC)) {
mod->arch.plt.shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
mod->arch.got.shdr->sh_flags = SHF_ALLOC;
mod->arch.got_plt.shdr->sh_flags = SHF_ALLOC;
if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
if ((sechdrs[i].sh_flags & SHF_ALLOC)
if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
if (!(sec_applies->shdr.sh_flags & SHF_ALLOC))
#define FMC_SHF_FLAGS (SHF_MASKPROC | SHF_MASKOS | SHF_OS_NONCONFORMING | SHF_ALLOC)
if (!(sechdrs[i].sh_flags & SHF_ALLOC))
if (!(section->sh_flags & SHF_ALLOC))
if (!(sechdrs[i].sh_flags & SHF_ALLOC))
return !(sect->sh_flags & SHF_ALLOC) || sect->sh_size == 0;
symsect->sh_flags |= SHF_ALLOC;
strsect->sh_flags |= SHF_ALLOC;
if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC &&
if (!(sec->sh_flags & SHF_ALLOC)
if (!(info->sechdrs[infosec].sh_flags & SHF_ALLOC) &&
{ SHF_EXECINSTR | SHF_ALLOC, ARCH_SHF_SMALL },
{ SHF_ALLOC, SHF_WRITE | ARCH_SHF_SMALL },
{ SHF_RO_AFTER_INIT | SHF_ALLOC, ARCH_SHF_SMALL },
{ SHF_WRITE | SHF_ALLOC, ARCH_SHF_SMALL },
{ ARCH_SHF_SMALL | SHF_ALLOC, 0 }
if (!(shdr->sh_flags & SHF_ALLOC)) {
if ((shdr->sh_flags & SHF_ALLOC)
info->sechdrs[info->index.vers].sh_flags &= ~(unsigned long)SHF_ALLOC;
~(unsigned long)SHF_ALLOC;
~(unsigned long)SHF_ALLOC;
info->sechdrs[info->index.info].sh_flags &= ~(unsigned long)SHF_ALLOC;
if (!(shdr->sh_flags & SHF_ALLOC))
info->sechdrs[info->index.pcpu].sh_flags &= ~(unsigned long)SHF_ALLOC;
!(sechdr->sh_flags & SHF_ALLOC) &&
mcsec.sh_flags = _w(SHF_ALLOC);
if (!(sec->sh.sh_flags & SHF_ALLOC))
SHT_PROGBITS, 1, SHF_ALLOC);
0, SHT_PROGBITS, 8, SHF_ALLOC);
SHF_ALLOC | SHF_STRINGS | SHF_MERGE);
SHF_ALLOC | SHF_INFO_LINK | SHF_RELA_LIVEPATCH);
SHF_ALLOC);
shdr->sh_flags = SHF_ALLOC;
shdr->sh_flags = SHF_ALLOC;
shdr->sh_flags = SHF_EXECINSTR | SHF_ALLOC;
shdr->sh_flags = SHF_ALLOC;
return (flags & (SHF_ALLOC | SHF_EXECINSTR)) == (SHF_ALLOC | SHF_EXECINSTR);
if (!(shdr.sh_flags & SHF_ALLOC))
if ((shdr.sh_type != SHT_NOTE) || (shdr.sh_flags & SHF_ALLOC)) {