Lines Matching refs:sh_flags
845 if ((destshdr->sh_flags & SHF_TLS) == 0) in check_symtab()
1283 if ((((*destshdrp)->sh_flags & SHF_MERGE) != 0) in check_reloc_shdr()
1284 && ((*destshdrp)->sh_flags & SHF_STRINGS) != 0) in check_reloc_shdr()
1386 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
1453 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
2343 if ((shdr->sh_flags & SHF_ALLOC) == 0) in check_hash()
2651 if (shdr->sh_flags != 0) in check_group()
2751 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()
3722 if (shdr->sh_flags != 0) in check_sections()
3810 if ((shdr->sh_flags & ~EXTRA_SHFLAGS) in check_sections()
3818 section_flags_string (shdr->sh_flags in check_sections()
3824 if ((shdr->sh_flags & special_sections[s].attr) in check_sections()
3826 || ((shdr->sh_flags in check_sections()
3838 section_flags_string (shdr->sh_flags in check_sections()
3852 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3857 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3884 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3889 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3933 if (shdr->sh_flags & ~(GElf_Xword) ALL_SH_FLAGS) in check_sections()
3935 GElf_Xword sh_flags = shdr->sh_flags & ~(GElf_Xword) ALL_SH_FLAGS; in check_sections() local
3936 if (sh_flags & SHF_MASKPROC) in check_sections()
3942 sh_flags &= ~(GElf_Xword) SHF_EXCLUDE; in check_sections()
3944 sh_flags & SHF_MASKPROC)) in check_sections()
3948 cnt, section_name (ebl, cnt), sh_flags & SHF_MASKPROC); in check_sections()
3949 sh_flags &= ~(GElf_Xword) SHF_MASKPROC; in check_sections()
3951 if (sh_flags & SHF_MASKOS) in check_sections()
3953 sh_flags &= ~(GElf_Xword) SHF_GNU_RETAIN; in check_sections()
3954 if (sh_flags != 0) in check_sections()
3957 cnt, section_name (ebl, cnt), sh_flags); in check_sections()
3959 if (shdr->sh_flags & SHF_TLS) in check_sections()
3970 if (shdr->sh_flags & SHF_COMPRESSED) in check_sections()
3972 if (shdr->sh_flags & SHF_ALLOC) in check_sections()
3999 if ((shdr->sh_flags & SHF_MERGE) == 0 in check_sections()
4000 && (shdr->sh_flags & SHF_STRINGS) != 0 in check_sections()
4006 if ((shdr->sh_flags & SHF_MERGE) != 0 && shdr->sh_entsize == 0) in check_sections()
4011 if (shdr->sh_flags & SHF_GROUP) in check_sections()
4014 if (shdr->sh_flags & SHF_EXECINSTR) in check_sections()
4032 if (shdr->sh_flags & SHF_WRITE) in check_sections()
4048 if (ehdr->e_type != ET_REL && (shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
4060 && (shdr->sh_flags & SHF_TLS) == 0) in check_sections()
4062 && (shdr->sh_flags & SHF_TLS) != 0)) in check_sections()
4127 if ((shdr->sh_flags & SHF_EXECINSTR) != 0) in check_sections()
4136 if ((shdr->sh_flags & SHF_WRITE) != 0) in check_sections()
4707 else if (shdr != NULL && (shdr->sh_flags & SHF_ALLOC) == 0) in check_program_header()
4714 else if (shdr != NULL && (shdr->sh_flags & SHF_WRITE) != 0) in check_program_header()
4722 else if (shdr != NULL && (shdr->sh_flags & SHF_EXECINSTR) != 0) in check_program_header()