Lines Matching refs:sh_flags
842 if ((destshdr->sh_flags & SHF_TLS) == 0) in check_symtab()
1280 if ((((*destshdrp)->sh_flags & SHF_MERGE) != 0) in check_reloc_shdr()
1281 && ((*destshdrp)->sh_flags & SHF_STRINGS) != 0) in check_reloc_shdr()
1383 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
1450 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
2340 if ((shdr->sh_flags & SHF_ALLOC) == 0) in check_hash()
2648 if (shdr->sh_flags != 0) in check_group()
2748 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()
3702 if (shdr->sh_flags != 0) in check_sections()
3790 if ((shdr->sh_flags in check_sections()
3799 section_flags_string (shdr->sh_flags in check_sections()
3805 if ((shdr->sh_flags & special_sections[s].attr) in check_sections()
3807 || ((shdr->sh_flags in check_sections()
3819 section_flags_string (shdr->sh_flags in check_sections()
3834 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3839 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3866 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3871 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3915 if (shdr->sh_flags & ~(GElf_Xword) ALL_SH_FLAGS) in check_sections()
3917 GElf_Xword sh_flags = shdr->sh_flags & ~(GElf_Xword) ALL_SH_FLAGS; in check_sections() local
3918 if (sh_flags & SHF_MASKPROC) in check_sections()
3921 sh_flags & SHF_MASKPROC)) in check_sections()
3925 cnt, section_name (ebl, cnt), sh_flags & SHF_MASKPROC); in check_sections()
3926 sh_flags &= ~(GElf_Xword) SHF_MASKPROC; in check_sections()
3928 if (sh_flags != 0) in check_sections()
3931 cnt, section_name (ebl, cnt), sh_flags); in check_sections()
3933 if (shdr->sh_flags & SHF_TLS) in check_sections()
3944 if (shdr->sh_flags & SHF_COMPRESSED) in check_sections()
3946 if (shdr->sh_flags & SHF_ALLOC) in check_sections()
3973 if ((shdr->sh_flags & SHF_MERGE) == 0 in check_sections()
3974 && (shdr->sh_flags & SHF_STRINGS) != 0 in check_sections()
3980 if ((shdr->sh_flags & SHF_MERGE) != 0 && shdr->sh_entsize == 0) in check_sections()
3985 if (shdr->sh_flags & SHF_GROUP) in check_sections()
3988 if (shdr->sh_flags & SHF_EXECINSTR) in check_sections()
4006 if (shdr->sh_flags & SHF_WRITE) in check_sections()
4022 if (ehdr->e_type != ET_REL && (shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
4034 && (shdr->sh_flags & SHF_TLS) == 0) in check_sections()
4036 && (shdr->sh_flags & SHF_TLS) != 0)) in check_sections()
4101 if ((shdr->sh_flags & SHF_EXECINSTR) != 0) in check_sections()
4110 if ((shdr->sh_flags & SHF_WRITE) != 0) in check_sections()
4673 else if (shdr != NULL && (shdr->sh_flags & SHF_ALLOC) == 0) in check_program_header()
4680 else if (shdr != NULL && (shdr->sh_flags & SHF_WRITE) != 0) in check_program_header()
4688 else if (shdr != NULL && (shdr->sh_flags & SHF_EXECINSTR) != 0) in check_program_header()