Lines Matching refs:sh_flags
846 if ((destshdr->sh_flags & SHF_TLS) == 0) in check_symtab()
1284 if ((((*destshdrp)->sh_flags & SHF_MERGE) != 0) in check_reloc_shdr()
1285 && ((*destshdrp)->sh_flags & SHF_STRINGS) != 0) in check_reloc_shdr()
1387 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
1454 || (relshdr->sh_flags & SHF_ALLOC) != 0) in check_one_reloc()
2344 if ((shdr->sh_flags & SHF_ALLOC) == 0) in check_hash()
2652 if (shdr->sh_flags != 0) in check_group()
2752 if ((refshdr->sh_flags & SHF_GROUP) == 0) in check_group()
3721 if (shdr->sh_flags != 0) in check_sections()
3809 if ((shdr->sh_flags & ~EXTRA_SHFLAGS) in check_sections()
3817 section_flags_string (shdr->sh_flags in check_sections()
3823 if ((shdr->sh_flags & special_sections[s].attr) in check_sections()
3825 || ((shdr->sh_flags in check_sections()
3837 section_flags_string (shdr->sh_flags in check_sections()
3851 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3856 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3883 if ((shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
3888 else if ((shdr->sh_flags & SHF_ALLOC) == 0 in check_sections()
3932 if (shdr->sh_flags & ~(GElf_Xword) ALL_SH_FLAGS) in check_sections()
3934 GElf_Xword sh_flags = shdr->sh_flags & ~(GElf_Xword) ALL_SH_FLAGS; in check_sections() local
3935 if (sh_flags & SHF_MASKPROC) in check_sections()
3941 sh_flags &= ~(GElf_Xword) SHF_EXCLUDE; in check_sections()
3943 sh_flags & SHF_MASKPROC)) in check_sections()
3947 cnt, section_name (ebl, cnt), sh_flags & SHF_MASKPROC); in check_sections()
3948 sh_flags &= ~(GElf_Xword) SHF_MASKPROC; in check_sections()
3950 if (sh_flags & SHF_MASKOS) in check_sections()
3952 sh_flags &= ~(GElf_Xword) SHF_GNU_RETAIN; in check_sections()
3953 if (sh_flags != 0) in check_sections()
3956 cnt, section_name (ebl, cnt), sh_flags); in check_sections()
3958 if (shdr->sh_flags & SHF_TLS) in check_sections()
3969 if (shdr->sh_flags & SHF_COMPRESSED) in check_sections()
3971 if (shdr->sh_flags & SHF_ALLOC) in check_sections()
3998 if ((shdr->sh_flags & SHF_MERGE) == 0 in check_sections()
3999 && (shdr->sh_flags & SHF_STRINGS) != 0 in check_sections()
4005 if ((shdr->sh_flags & SHF_MERGE) != 0 && shdr->sh_entsize == 0) in check_sections()
4010 if (shdr->sh_flags & SHF_GROUP) in check_sections()
4013 if (shdr->sh_flags & SHF_EXECINSTR) in check_sections()
4031 if (shdr->sh_flags & SHF_WRITE) in check_sections()
4047 if (ehdr->e_type != ET_REL && (shdr->sh_flags & SHF_ALLOC) != 0 in check_sections()
4059 && (shdr->sh_flags & SHF_TLS) == 0) in check_sections()
4061 && (shdr->sh_flags & SHF_TLS) != 0)) in check_sections()
4126 if ((shdr->sh_flags & SHF_EXECINSTR) != 0) in check_sections()
4135 if ((shdr->sh_flags & SHF_WRITE) != 0) in check_sections()
4699 else if (shdr != NULL && (shdr->sh_flags & SHF_ALLOC) == 0) in check_program_header()
4706 else if (shdr != NULL && (shdr->sh_flags & SHF_WRITE) != 0) in check_program_header()
4714 else if (shdr != NULL && (shdr->sh_flags & SHF_EXECINSTR) != 0) in check_program_header()