/external/elfutils/libelf/ |
D | elf_compress_gnu.c | 60 Elf64_Word sh_type; in elf_compress_gnu() local 69 sh_type = shdr->sh_type; in elf_compress_gnu() 79 sh_type = shdr->sh_type; in elf_compress_gnu() 91 if (sh_type == SHT_NULL || sh_type == SHT_NOBITS) in elf_compress_gnu() 200 __libelf_data_type (elf, sh_type, sh_addralign)); in elf_compress_gnu()
|
D | elf-knowledge.h | 41 && (shdr)->sh_type != SHT_NOTE \ 42 && (((shdr)->sh_type) != SHT_PROGBITS \ 61 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \
|
D | elf_compress.c | 365 Elf64_Word sh_type; in elf_compress() local 374 sh_type = shdr->sh_type; in elf_compress() 384 sh_type = shdr->sh_type; in elf_compress() 394 if (sh_type == SHT_NULL || sh_type == SHT_NOBITS) in elf_compress() 527 __libelf_data_type (elf, sh_type, in elf_compress()
|
D | elf32_getchdr.c | 57 if (shdr->sh_type == SHT_NULL in ElfW2() 58 || shdr->sh_type == SHT_NOBITS) in ElfW2()
|
D | elf32_getshdr.c | 141 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2() 155 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2() 190 CONVERT (shdr[cnt].sh_type); in ElfW2()
|
/external/elfutils/libebl/ |
D | eblcheckreloctargettype.c | 37 ebl_check_reloc_target_type (Ebl *ebl, Elf64_Word sh_type) in ebl_check_reloc_target_type() argument 39 if (ebl->check_reloc_target_type (ebl, sh_type)) in ebl_check_reloc_target_type() 42 switch (sh_type) in ebl_check_reloc_target_type()
|
D | eblsectionstripp.c | 49 if (shdr->sh_type == SHT_RELA || shdr->sh_type == SHT_REL) in ebl_section_strip_p()
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
D | elf-dump | 57 self.sh_type = f.read32() 69 print " ('sh_type', %s)" % common_dump.HexDump(self.sh_type) 78 if self.sh_type[0] == 2: # SHT_SYMTAB 82 elif self.sh_type[0] == 4 or self.sh_type[0] == 9: # SHT_RELA / SHT_REL 84 dumpRel(f, self, self.sh_type[0] == 4) 88 if self.sh_type != 8: # != SHT_NOBITS
|
/external/elfutils/src/ |
D | unstrip.c | 365 switch (shdr->sh_type) in section_can_shrink() 447 switch (shdr->sh_type) in adjust_relocs() 604 if (shdr->sh_type != SHT_NOBITS && shdr->sh_type != SHT_GROUP in adjust_all_relocs() 951 Elf64_Word sh_type) in sections_flags_match() argument 953 if (sh_type == SHT_REL || sh_type == SHT_RELA) in sections_flags_match() 968 sections[i].shdr.sh_type) in sections_match() 1019 if (shdr->sh_type != SHT_GROUP) in get_group_sig() 1068 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink() 1157 COPY (sh_type); in find_alloc_sections_prelink() 1253 && (((sec->shdr.sh_type == undo_sec->shdr.sh_type in find_alloc_sections_prelink() [all …]
|
D | strip.c | 392 if (shdr != NULL && shdr->sh_type == SHT_SYMTAB) in get_xndxdata() 402 && xndxshdr->sh_type == SHT_SYMTAB_SHNDX in get_xndxdata() 460 if (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in remove_debug_relocations() 468 if (tshdr->sh_type == SHT_NOBITS in remove_debug_relocations() 666 if (shdr->sh_type == SHT_REL) in remove_debug_relocations() 868 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() 910 GElf_Off filesz = (shdr.sh_type != SHT_NOBITS in handle_debug_relocs() 1240 if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX)) in handle_elf() 1245 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP)) in handle_elf() 1274 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym)) in handle_elf() [all …]
|
D | elfcmp.c | 317 if (shdr1->sh_type != shdr2->sh_type in main() 347 switch (shdr1->sh_type) in main() 523 assert (shdr1->sh_type == SHT_NOBITS in main() 525 assert (shdr2->sh_type == SHT_NOBITS in main() 529 || (shdr1->sh_type != SHT_NOBITS in main() 535 && shdr1->sh_type == SHT_HASH in main() 764 if ((shdr->sh_type != SHT_REL && shdr->sh_type != SHT_RELA) in search_for_copy_reloc() 774 if (shdr->sh_type == SHT_REL && shdr->sh_entsize != 0) in search_for_copy_reloc()
|
D | elflint.c | 572 if (shdr->sh_type != SHT_GROUP) in check_scn_group() 621 if (strshdr->sh_type != SHT_STRTAB) in check_symtab() 642 if (xndxshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab() 1058 && shdr->sh_type == SHT_DYNSYM) in check_symtab() 1094 if (rcshdr->sh_type == SHT_DYNAMIC && rcshdr->sh_entsize != 0) in is_rel_dyn() 1262 if(! ebl_check_reloc_target_type (ebl, (*destshdrp)->sh_type)) in check_reloc_shdr() 1323 if (dynshdr != NULL && dynshdr->sh_type == SHT_DYNAMIC in check_reloc_shdr() 1657 if (strshdr != NULL && strshdr->sh_type != SHT_STRTAB) in check_dynamic() 1939 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx() 1973 if (rshdr != NULL && rshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab_shndx() [all …]
|
D | findtextrel.c | 258 switch (shdr->sh_type) in process_file() 400 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in process_file() 414 if (shdr->sh_type == SHT_REL) in process_file() 438 else if (shdr->sh_type == SHT_RELA) in process_file()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 293 assert(SymTable->sh_type == ELF::SHT_SYMTAB || in toDRI() 294 SymTable->sh_type == ELF::SHT_DYNSYM); in toDRI() 386 if (Sec.sh_type == ELF::SHT_ARM_ATTRIBUTES) { in getBuildAttributes() 449 return getSection(Sec)->sh_type; in getSectionType() 713 return EShdr->sh_type == ELF::SHT_PROGBITS && in isSectionData() 722 EShdr->sh_type == ELF::SHT_NOBITS; in isSectionBSS() 736 if (Sec.sh_type != ELF::SHT_DYNAMIC) in dynamic_relocation_sections() 756 return getSection(Sec)->sh_type == ELF::SHT_NOBITS; in isSectionVirtual() 777 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end() 798 uintX_t Type = EShdr->sh_type; in getRelocatedSection() [all …]
|
/external/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 262 assert(SymTable->sh_type == ELF::SHT_SYMTAB || in toDRI() 263 SymTable->sh_type == ELF::SHT_DYNSYM); in toDRI() 380 return getSection(Sec)->sh_type; in getSectionType() 611 EShdr->sh_type == ELF::SHT_PROGBITS; in isSectionData() 618 EShdr->sh_type == ELF::SHT_NOBITS; in isSectionBSS() 623 return getSection(Sec)->sh_type == ELF::SHT_NOBITS; in isSectionVirtual() 641 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end() 662 uintX_t Type = EShdr->sh_type; in getRelocatedSection() 683 if (sec->sh_type == ELF::SHT_REL) in getRelocationSymbol() 702 if (sec->sh_type == ELF::SHT_REL) in getRelocationOffset() [all …]
|
D | ELF.h | 436 if (Section->sh_type != ELF::SHT_STRTAB) in getStringTable() 451 assert(Section.sh_type == ELF::SHT_SYMTAB_SHNDX); in getSHNDXTable() 465 if (SymTable.sh_type != ELF::SHT_SYMTAB && in getSHNDXTable() 466 SymTable.sh_type != ELF::SHT_DYNSYM) in getSHNDXTable() 476 if (Sec.sh_type != ELF::SHT_SYMTAB && Sec.sh_type != ELF::SHT_DYNSYM) in getStringTableForSymtab()
|
/external/u-boot/tools/ |
D | mips-relocs.c | 197 unsigned int i, j, i_rel_shdr, sh_type, sh_entsize, sh_entries; in main() local 322 sh_type = shdr_field(i, sh_type); in main() 323 if ((sh_type != SHT_REL) && (sh_type != SHT_RELA)) in main() 354 if (sh_type == SHT_REL) { in main()
|
/external/elfutils/tests/ |
D | update4.c | 131 shdr->sh_type = SHT_PROGBITS; in main() 167 shdr->sh_type = SHT_PROGBITS; in main() 203 shdr->sh_type = SHT_PROGBITS; in main() 239 shdr->sh_type = SHT_NOBITS; in main() 276 shdr->sh_type = SHT_STRTAB; in main()
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | ELFObjectFile.cpp | 99 Elf_Word sh_type; // Section type (SHT_*) member 114 Elf_Word sh_type; // Section type (SHT_*) member 548 switch (Section->sh_type) { in getSymbolNMTypeChar() 727 && sec->sh_type == ELF::SHT_PROGBITS) in isSectionData() 740 && sec->sh_type == ELF::SHT_NOBITS) in isSectionBSS() 826 switch (sec->sh_type) { in getRelocationSymbol() 854 switch (sec->sh_type) { in getRelocationAddress() 876 switch (sec->sh_type) { in getRelocationType() 901 switch (sec->sh_type) { in getRelocationTypeName() 1012 switch (sec->sh_type) { in getRelocationAdditionalInfo() [all …]
|
/external/elfutils/libdwelf/ |
D | dwelf_scn_gnu_compressed_size.c | 48 || shdr.sh_type == SHT_NULL in dwelf_scn_gnu_compressed_size() 49 || shdr.sh_type == SHT_NOBITS) in dwelf_scn_gnu_compressed_size()
|
/external/elfutils/libdwfl/ |
D | relocate.c | 133 if ((shdr->sh_type == SHT_SYMTAB in relocate_getsym() 134 || shdr->sh_type == SHT_SYMTAB_SHNDX) in relocate_getsym() 139 switch (shdr->sh_type) in relocate_getsym() 533 if (unlikely (tshdr->sh_type == SHT_NOBITS) in relocate_section() 624 = gelf_fsize (relocated, shdr->sh_type == SHT_REL ? ELF_T_REL : ELF_T_RELA, in relocate_section() 628 if (shdr->sh_type == SHT_REL) in relocate_section() 706 if (shdr->sh_type == SHT_REL) in relocate_section() 776 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in __libdwfl_relocate()
|
D | derelocate.c | 147 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in cache_sections() 210 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)) in cache_sections()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 243 EXPECT_EQ(static_cast<unsigned int>(SHT_NULL), shdr[0].sh_type); in TYPED_TEST() 254 EXPECT_EQ(static_cast<unsigned int>(SHT_STRTAB), shdr[1].sh_type); in TYPED_TEST() 318 EXPECT_EQ(static_cast<unsigned int>(SHT_NULL), shdr[0].sh_type); in TYPED_TEST() 329 EXPECT_EQ(static_cast<unsigned int>(SHT_PROGBITS), shdr[1].sh_type); in TYPED_TEST() 340 EXPECT_EQ(static_cast<unsigned int>(SHT_NOBITS), shdr[2].sh_type); in TYPED_TEST() 351 EXPECT_EQ(static_cast<unsigned int>(SHT_STRTAB), shdr[3].sh_type); in TYPED_TEST()
|
/external/elfutils/backends/ |
D | ia64_symbol.c | 155 ia64_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in ia64_check_reloc_target_type() argument 157 return sh_type == SHT_IA_64_UNWIND; in ia64_check_reloc_target_type()
|
D | arm_symbol.c | 130 arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in arm_check_reloc_target_type() argument 132 return sh_type == SHT_ARM_EXIDX; in arm_check_reloc_target_type()
|