Lines Matching refs:sh_flags
758 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections()
760 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections()
784 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC) in compare_sections()
785 return (s1->shdr.sh_flags & SHF_ALLOC) ? -1 : 1; in compare_sections()
787 return ((s1->shdr.sh_flags & SHF_ALLOC) in compare_sections()
983 return (sections_flags_match (sections[i].shdr.sh_flags, shdr->sh_flags, in sections_match()
1099 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1188 COPY (sh_flags); in find_alloc_sections_prelink()
1200 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1224 if (!(shdr->sh_flags & SHF_ALLOC)) in find_alloc_sections_prelink()
1271 && sec->shdr.sh_flags == undo_sec->shdr.sh_flags in find_alloc_sections_prelink()
1448 while (nalloc > 0 && !(sections[nalloc - 1].shdr.sh_flags & SHF_ALLOC)) in copy_elided_sections()
1486 if (shdr->sh_flags & SHF_ALLOC) in copy_elided_sections()
1614 if (!(sec->shdr.sh_flags & SHF_ALLOC) in copy_elided_sections()
1670 || !(shdr_mem.sh_flags & SHF_ALLOC) in copy_elided_sections()
1682 && sec->shdr.sh_flags != shdr_mem.sh_flags in copy_elided_sections()
1683 && (sec->shdr.sh_flags & SHF_INFO_LINK) != 0) in copy_elided_sections()
1684 shdr_mem.sh_flags |= SHF_INFO_LINK; in copy_elided_sections()
1714 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC)) in copy_elided_sections()