Lines Matching refs:sh_flags
759 /* Sort by sh_flags as an arbitrary ordering. */
760 if (shdr1->sh_flags < shdr2->sh_flags)
762 if (shdr1->sh_flags > shdr2->sh_flags)
786 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC)
787 return (s1->shdr.sh_flags & SHF_ALLOC) ? -1 : 1;
789 return ((s1->shdr.sh_flags & SHF_ALLOC)
985 return (sections_flags_match (sections[i].shdr.sh_flags, shdr->sh_flags,
1101 && !(sec->shdr.sh_flags & SHF_ALLOC)
1190 COPY (sh_flags);
1202 if (sec->shdr.sh_flags & SHF_ALLOC)
1226 if (!(shdr->sh_flags & SHF_ALLOC))
1273 && sec->shdr.sh_flags == undo_sec->shdr.sh_flags
1450 while (nalloc > 0 && !(sections[nalloc - 1].shdr.sh_flags & SHF_ALLOC))
1488 if (shdr->sh_flags & SHF_ALLOC)
1616 if (!(sec->shdr.sh_flags & SHF_ALLOC)
1672 || !(shdr_mem.sh_flags & SHF_ALLOC)
1684 && sec->shdr.sh_flags != shdr_mem.sh_flags
1685 && (sec->shdr.sh_flags & SHF_INFO_LINK) != 0)
1686 shdr_mem.sh_flags |= SHF_INFO_LINK;
1716 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC))