Lines Matching refs:sh_flags
746 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections()
748 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections()
772 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC) in compare_sections()
773 return (s1->shdr.sh_flags & SHF_ALLOC) ? -1 : 1; in compare_sections()
775 return ((s1->shdr.sh_flags & SHF_ALLOC) in compare_sections()
967 return (sections_flags_match (sections[i].shdr.sh_flags, shdr->sh_flags, in sections_match()
1069 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1158 COPY (sh_flags); in find_alloc_sections_prelink()
1170 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1204 if (!(shdr->sh_flags & SHF_ALLOC)) in find_alloc_sections_prelink()
1251 && sec->shdr.sh_flags == undo_sec->shdr.sh_flags in find_alloc_sections_prelink()
1413 while (nalloc > 0 && !(sections[nalloc - 1].shdr.sh_flags & SHF_ALLOC)) in copy_elided_sections()
1474 if (shdr->sh_flags & SHF_ALLOC) in copy_elided_sections()
1584 if (!(sec->shdr.sh_flags & SHF_ALLOC) in copy_elided_sections()
1640 || !(shdr_mem.sh_flags & SHF_ALLOC) in copy_elided_sections()
1652 && sec->shdr.sh_flags != shdr_mem.sh_flags in copy_elided_sections()
1653 && (sec->shdr.sh_flags & SHF_INFO_LINK) != 0) in copy_elided_sections()
1654 shdr_mem.sh_flags |= SHF_INFO_LINK; in copy_elided_sections()
1672 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC)) in copy_elided_sections()