Lines Matching refs:sh_flags
715 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections()
717 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections()
731 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC) in compare_sections()
732 return (s1->shdr.sh_flags & SHF_ALLOC) ? -1 : 1; in compare_sections()
734 return ((s1->shdr.sh_flags & SHF_ALLOC) in compare_sections()
925 return (sections_flags_match (sections[i].shdr.sh_flags, shdr->sh_flags, in sections_match()
989 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1075 COPY (sh_flags); in find_alloc_sections_prelink()
1087 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1120 if (!(shdr->sh_flags & SHF_ALLOC)) in find_alloc_sections_prelink()
1167 && sec->shdr.sh_flags == undo_sec->shdr.sh_flags in find_alloc_sections_prelink()
1327 while (nalloc > 0 && !(sections[nalloc - 1].shdr.sh_flags & SHF_ALLOC)) in copy_elided_sections()
1384 if (shdr->sh_flags & SHF_ALLOC) in copy_elided_sections()
1495 if (!(sec->shdr.sh_flags & SHF_ALLOC) in copy_elided_sections()
1551 || !(shdr_mem.sh_flags & SHF_ALLOC) in copy_elided_sections()
1563 && sec->shdr.sh_flags != shdr_mem.sh_flags in copy_elided_sections()
1564 && (sec->shdr.sh_flags & SHF_INFO_LINK) != 0) in copy_elided_sections()
1565 shdr_mem.sh_flags |= SHF_INFO_LINK; in copy_elided_sections()
1583 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC)) in copy_elided_sections()