/external/elfutils/libelf/ |
D | elf_compress_gnu.c | 59 Elf64_Xword sh_flags; in elf_compress_gnu() local 68 sh_flags = shdr->sh_flags; in elf_compress_gnu() 78 sh_flags = shdr->sh_flags; in elf_compress_gnu() 85 if ((sh_flags & SHF_ALLOC) != 0 || (sh_flags & SHF_COMPRESSED)) in elf_compress_gnu()
|
D | elf_compress.c | 362 Elf64_Xword sh_flags; in elf_compress() local 371 sh_flags = shdr->sh_flags; in elf_compress() 381 sh_flags = shdr->sh_flags; in elf_compress() 386 if ((sh_flags & SHF_ALLOC) != 0) in elf_compress() 398 int compressed = (sh_flags & SHF_COMPRESSED); in elf_compress() 462 shdr->sh_flags |= SHF_COMPRESSED; in elf_compress() 469 shdr->sh_flags |= SHF_COMPRESSED; in elf_compress() 513 shdr->sh_flags &= ~SHF_COMPRESSED; in elf_compress() 520 shdr->sh_flags &= ~SHF_COMPRESSED; in elf_compress()
|
D | elf-knowledge.h | 39 (((shdr)->sh_flags & SHF_ALLOC) == 0 \ 62 || ((Shdr)->sh_flags & SHF_INFO_LINK) != 0)
|
D | elf32_getchdr.c | 51 if ((shdr->sh_flags & SHF_ALLOC) != 0) in ElfW2() 64 if ((shdr->sh_flags & SHF_COMPRESSED) == 0) in ElfW2()
|
D | gelf_update_shdr.c | 63 if (unlikely (src->sh_flags > 0xffffffffull) in gelf_update_shdr() 78 COPY (sh_flags); in gelf_update_shdr()
|
D | elf_strptr.c | 129 if ((shdr->sh_flags & SHF_COMPRESSED) == 0) in elf_strptr() 155 if ((shdr->sh_flags & SHF_COMPRESSED) == 0) in elf_strptr()
|
D | elf32_getshdr.c | 142 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2() 191 CONVERT (shdr[cnt].sh_flags); in ElfW2()
|
/external/elfutils/backends/ |
D | alpha_symbol.c | 81 alpha_machine_section_flag_check (GElf_Xword sh_flags) in alpha_machine_section_flag_check() argument 83 return (sh_flags &~ (SHF_ALPHA_GPREL)) == 0; in alpha_machine_section_flag_check() 92 if ((shdr->sh_flags in alpha_check_special_section()
|
D | ia64_symbol.c | 94 ia64_machine_section_flag_check (GElf_Xword sh_flags) in ia64_machine_section_flag_check() argument 96 return (sh_flags &~ (SHF_IA_64_SHORT | SHF_IA_64_NORECOV)) == 0; in ia64_machine_section_flag_check()
|
/external/elfutils/libdwfl/ |
D | offline.c | 54 assert (shdr->sh_flags & SHF_ALLOC); in dwfl_offline_section_address() 75 if (sh->sh_flags & SHF_ALLOC) in dwfl_offline_section_address() 86 if ((main_shdr->sh_flags & SHF_ALLOC) && skip_alloc-- == 0) in dwfl_offline_section_address() 88 assert (main_shdr->sh_flags == shdr->sh_flags); in dwfl_offline_section_address()
|
D | dwfl_module_getdwarf.c | 242 GElf_Xword sh_flags, in consider_shdr() argument 247 if ((sh_flags & SHF_ALLOC) in consider_shdr() 289 && !(shdr->sh_flags & SHF_ALLOC) in find_prelink_address_sync() 487 consider_shdr (main_interp, sh->sh_type, sh->sh_flags, in find_prelink_address_sync() 500 (*s32)[i].sh_flags, (*s32)[i].sh_addr, in find_prelink_address_sync() 508 (*s64)[i].sh_flags, (*s64)[i].sh_addr, in find_prelink_address_sync() 1170 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in find_symtab() 1186 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in find_symtab() 1199 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in find_symtab() 1253 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in find_symtab() [all …]
|
D | relocate.c | 57 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC)) in __libdwfl_relocate_value() 88 if (refshdr->sh_flags & SHF_ALLOC) in __libdwfl_relocate_value() 135 && (shdr->sh_flags & SHF_COMPRESSED) != 0) in relocate_getsym() 243 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in resolve_symbol() 524 if ((tshdr->sh_flags & SHF_COMPRESSED) != 0) in relocate_section() 545 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in relocate_section()
|
/external/elfutils/src/ |
D | elfcompress.c | 480 && (shdr->sh_flags & SHF_COMPRESSED) == 0 in process_file() 487 && (shdr->sh_flags & SHF_COMPRESSED) != 0) in process_file() 499 && (shdr->sh_flags & SHF_ALLOC) == 0) in process_file() 543 if ((shdr->sh_flags & SHF_ALLOC) != 0) in process_file() 723 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in process_file() 745 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in process_file() 800 if ((shdr->sh_flags & SHF_COMPRESSED) == 0) in process_file() 923 if ((shdr->sh_flags == SHF_COMPRESSED) != 0) in process_file() 1028 shdr->sh_flags = 0; in process_file() 1077 if ((shdr->sh_flags & SHF_COMPRESSED) != 0) in process_file() [all …]
|
D | elflint.c | 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() [all …]
|
D | unstrip.c | 756 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections() 758 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections() 782 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC) in compare_sections() 783 return (s1->shdr.sh_flags & SHF_ALLOC) ? -1 : 1; in compare_sections() 785 return ((s1->shdr.sh_flags & SHF_ALLOC) in compare_sections() 981 return (sections_flags_match (sections[i].shdr.sh_flags, shdr->sh_flags, in sections_match() 1083 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink() 1172 COPY (sh_flags); in find_alloc_sections_prelink() 1184 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink() 1218 if (!(shdr->sh_flags & SHF_ALLOC)) in find_alloc_sections_prelink() [all …]
|
D | size.c | 412 if (name != NULL && (shdr->sh_flags & SHF_ALLOC) != 0) in show_sysv() 435 if ((shdr->sh_flags & SHF_ALLOC) != 0) in show_sysv() 485 if ((shdr->sh_flags & SHF_ALLOC) == 0) in show_sysv_one_line() 537 if ((shdr->sh_flags & SHF_ALLOC) == 0) in show_bsd() 540 if ((shdr->sh_flags & SHF_WRITE) == 0) in show_bsd()
|
/external/elfutils/tests/ |
D | update4.c | 133 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main() 169 shdr->sh_flags = SHF_ALLOC | SHF_WRITE; in main() 205 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main() 241 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main() 278 shdr->sh_flags = 0; in main()
|
D | asm-tst1.c | 193 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_EXECINSTR)) in main() 194 || (cnt == 2 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main() 195 || (cnt == 3 && shdr->sh_flags != 0)) in main()
|
D | elfstrmerge.c | 190 if ((shdrstrshdr->sh_flags & SHF_ALLOC) != 0) in main() 215 if ((symtabshdr->sh_flags & SHF_ALLOC) != 0) in main() 233 if ((strtabshdr->sh_flags & SHF_ALLOC) != 0) in main() 284 if ((shdr->sh_flags & SHF_ALLOC) != 0) in main() 459 newshdr.sh_flags = shdr->sh_flags; in main() 603 if ((shdr->sh_flags & SHF_ALLOC) != 0) in main()
|
D | elfputzdata.c | 81 || (shdr->sh_flags & SHF_ALLOC) != 0) in main() 85 else if ((shdr->sh_flags & SHF_COMPRESSED) != 0 in main()
|
D | asm-tst2.c | 209 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main() 210 || (cnt == 2 && shdr->sh_flags != 0)) in main()
|
D | asm-tst9.c | 243 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main() 244 || (cnt == 2 && shdr->sh_flags != 0)) in main()
|
D | asm-tst3.c | 209 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE)) in main() 210 || (cnt != 1 && shdr->sh_flags != 0)) in main()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 244 EXPECT_EQ(0U, shdr[0].sh_flags); in TYPED_TEST() 255 EXPECT_EQ(0U, shdr[1].sh_flags); in TYPED_TEST() 319 EXPECT_EQ(0U, shdr[0].sh_flags); in TYPED_TEST() 330 EXPECT_EQ(0U, shdr[1].sh_flags); in TYPED_TEST() 341 EXPECT_EQ(0U, shdr[2].sh_flags); in TYPED_TEST() 352 EXPECT_EQ(0U, shdr[3].sh_flags); in TYPED_TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 484 return getSection(Sec)->sh_flags; in getSectionFlags() 743 return getSection(Sec)->sh_flags & ELF::SHF_COMPRESSED; in isSectionCompressed() 748 return getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR; in isSectionText() 755 EShdr->sh_flags & ELF::SHF_ALLOC && in isSectionData() 756 !(EShdr->sh_flags & ELF::SHF_EXECINSTR); in isSectionData() 762 return EShdr->sh_flags & (ELF::SHF_ALLOC | ELF::SHF_WRITE) && in isSectionBSS() 802 return getSection(Sec)->sh_flags & ELF::SHF_ALLOC && in isBerkeleyText() 803 (getSection(Sec)->sh_flags & ELF::SHF_EXECINSTR || in isBerkeleyText() 804 !(getSection(Sec)->sh_flags & ELF::SHF_WRITE)); in isBerkeleyText() 811 EShdr->sh_flags & ELF::SHF_ALLOC; in isBerkeleyData()
|