/external/elfutils/src/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 if (sh_type == SHT_PROGBITS || sh_type == SHT_NOBITS) 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/elfutils/src/libelf/ |
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 | elf32_getshdr.c | 131 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2() 145 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2() 177 CONVERT (shdr[cnt].sh_type); in ElfW2()
|
D | elf_strptr.c | 91 if (unlikely (strscn->shdr.e32->sh_type != SHT_STRTAB)) 107 if (unlikely (strscn->shdr.e64->sh_type != SHT_STRTAB))
|
/external/elfutils/src/src/ |
D | strip.c | 634 if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX)) in handle_elf() 639 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP)) in handle_elf() 667 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym)) in handle_elf() 753 if (shdr_info[cnt].shdr.sh_type == SHT_REL in handle_elf() 754 || shdr_info[cnt].shdr.sh_type == SHT_RELA) in handle_elf() 764 if (shdr_info[cnt].shdr.sh_type == SHT_GROUP) in handle_elf() 786 && (shdr_info[cnt].shdr.sh_type == SHT_DYNSYM in handle_elf() 787 || shdr_info[cnt].shdr.sh_type == SHT_SYMTAB)) in handle_elf() 804 elf_assert (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB); in handle_elf() 940 && shdr_info[cnt].shdr.sh_type != SHT_NOTE in handle_elf() [all …]
|
D | elfcmp.c | 302 if (shdr1->sh_type != shdr2->sh_type in main() 332 switch (shdr1->sh_type) in main() 501 assert (shdr1->sh_type == SHT_NOBITS in main() 503 assert (shdr2->sh_type == SHT_NOBITS in main() 507 || (shdr1->sh_type != SHT_NOBITS in main() 512 && shdr1->sh_type == SHT_HASH in main() 753 if ((shdr->sh_type != SHT_REL && shdr->sh_type != SHT_RELA) in search_for_copy_reloc() 763 if (shdr->sh_type == SHT_REL) in search_for_copy_reloc()
|
D | unstrip.c | 326 switch (shdr->sh_type) in section_can_shrink() 408 switch (shdr->sh_type) in adjust_relocs() 545 if (shdr->sh_type != SHT_NOBITS && shdr->sh_link == new_sh_link) in adjust_all_relocs() 942 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink() 1020 COPY (sh_type); in find_alloc_sections_prelink() 1114 && (((sec->shdr.sh_type == undo_sec->shdr.sh_type in find_alloc_sections_prelink() 1122 && undo_sec->shdr.sh_type == SHT_NOBITS) in find_alloc_sections_prelink() 1123 || undo_sec->shdr.sh_type == SHT_PROGBITS) in find_alloc_sections_prelink() 1125 || (sec->shdr.sh_type == SHT_RELA in find_alloc_sections_prelink() 1126 && undo_sec->shdr.sh_type == SHT_REL in find_alloc_sections_prelink() [all …]
|
D | elflint.c | 553 if (shdr->sh_type != SHT_GROUP) in check_scn_group() 601 if (strshdr->sh_type != SHT_STRTAB) in check_symtab() 622 if (xndxshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab() 696 || strshdr->sh_type != SHT_STRTAB); in check_symtab() 1028 && shdr->sh_type == SHT_DYNSYM) in check_symtab() 1064 if (rcshdr->sh_type == SHT_DYNAMIC && rcshdr->sh_entsize) in is_rel_dyn() 1226 if(! ebl_check_reloc_target_type (ebl, (*destshdrp)->sh_type)) in check_reloc_shdr() 1286 if (dynshdr != NULL && dynshdr->sh_type == SHT_DYNAMIC in check_reloc_shdr() 1620 if (strshdr != NULL && strshdr->sh_type != SHT_STRTAB) in check_dynamic() 1895 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx() [all …]
|
D | findtextrel.c | 274 switch (shdr->sh_type) in process_file() 415 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in process_file() 429 if (shdr->sh_type == SHT_REL) in process_file() 452 else if (shdr->sh_type == SHT_RELA) in process_file()
|
D | ldgeneric.c | 529 assert (SCNINFO_SHDR (fileinfo->scninfo[newgrpid].shdr).sh_type in matching_group_comdat_scn() 531 assert (SCNINFO_SHDR (oldp->file->scninfo[oldgrpid].shdr).sh_type in matching_group_comdat_scn() 886 && ((shdr->sh_type != SHT_RELA && shdr->sh_type != SHT_REL) in mark_section_group() 916 if (unlikely (scninfo->shdr.sh_type == SHT_NULL)) in mark_section_used() 977 || shdr->sh_type == SHT_NOTE in add_section() 978 || (shdr->sh_type == SHT_PROGBITS in add_section() 995 search.type = shdr->sh_type; in add_section() 1070 queued->type = shdr->sh_type; in add_section() 1133 if (fileinfo->scninfo[cnt].shdr.sh_type == SHT_NULL) in add_relocatable_file() 1164 if (unlikely (shdr->sh_type == SHT_SYMTAB) in add_relocatable_file() [all …]
|
D | objdump.c | 502 if (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in show_relocs() 541 if (xndxshdr != NULL && xndxshdr->sh_type == SHT_SYMTAB_SHNDX in show_relocs() 550 if (shdr->sh_type == SHT_REL) in show_relocs() 577 if (shdr->sh_type == SHT_PROGBITS && shdr->sh_size > 0) in show_full_content() 714 if (shdr->sh_type == SHT_PROGBITS && shdr->sh_size > 0 in show_disasm()
|
/external/valgrind/VEX/unused/ |
D | linker.c | 327 findElfSection ( void* objImage, Elf_Word sh_type ) in findElfSection() argument 337 if (shdr[i].sh_type == sh_type in findElfSection() 739 if (shdr[shnum].sh_type == SHT_REL ) { in ocResolve_ELF() 745 if (shdr[shnum].sh_type == SHT_RELA) { in ocResolve_ELF() 844 if (debug_linker>1) fprintf(stderr, "type=%2d ", (int)shdr[i].sh_type ); in ocVerifyImage_ELF() 851 if (shdr[i].sh_type == SHT_REL) { in ocVerifyImage_ELF() 853 } else if (shdr[i].sh_type == SHT_RELA) { in ocVerifyImage_ELF() 868 if (shdr[i].sh_type == SHT_STRTAB in ocVerifyImage_ELF() 889 if (shdr[i].sh_type != SHT_SYMTAB) continue; in ocVerifyImage_ELF() 980 if (hdr.sh_type == SHT_PROGBITS in ocGetNames_ELF() [all …]
|
/external/valgrind/VEX/switchback/ |
D | linker.c | 395 findElfSection ( void* objImage, Elf_Word sh_type ) 405 if (shdr[i].sh_type == sh_type 899 if (shdr[shnum].sh_type == SHT_REL ) { 905 if (shdr[shnum].sh_type == SHT_RELA) { 1007 if (debug_linker>1) fprintf(stderr, "type=%2d ", (int)shdr[i].sh_type ); 1014 if (shdr[i].sh_type == SHT_REL) { 1016 } else if (shdr[i].sh_type == SHT_RELA) { 1031 if (shdr[i].sh_type == SHT_STRTAB 1052 if (shdr[i].sh_type != SHT_SYMTAB) continue; 1143 if (hdr.sh_type == SHT_PROGBITS [all …]
|
/external/elfutils/src/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()
|
D | sectiondump.c | 104 shdr->sh_type, in handle_section() 120 switch (shdr->sh_type) in handle_section()
|
/external/elfutils/src/backends/ |
D | arm_symbol.c | 128 arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in arm_check_reloc_target_type() argument 130 return sh_type == SHT_ARM_EXIDX; in arm_check_reloc_target_type()
|
D | ia64_symbol.c | 154 ia64_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in ia64_check_reloc_target_type() argument 156 return sh_type == SHT_IA_64_UNWIND; in ia64_check_reloc_target_type()
|
/external/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 290 return toELFShdrIter(DRI)->sh_type; in getSectionType() 479 EShdr->sh_type == ELF::SHT_PROGBITS; in isSectionData() 486 EShdr->sh_type == ELF::SHT_NOBITS; in isSectionBSS() 491 return toELFShdrIter(Sec)->sh_type == ELF::SHT_NOBITS; in isSectionVirtual() 522 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end() 537 uintX_t Type = EShdr->sh_type; in getRelocatedSection() 556 switch (sec->sh_type) { in getRelocationSymbol() 574 switch (SymSec->sh_type) { in getRelocationSymbol() 619 switch (sec->sh_type) { in getROffset() 633 switch (sec->sh_type) { in getRelocationType() [all …]
|
/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/src/libdwfl/ |
D | relocate.c | 126 switch (shdr->sh_type) in relocate_getsym() 293 if (unlikely (tshdr->sh_type == SHT_NOBITS) || unlikely (tshdr->sh_size == 0)) in relocate_section() 507 = gelf_fsize (relocated, shdr->sh_type == SHT_REL ? ELF_T_REL : ELF_T_RELA, in relocate_section() 511 if (shdr->sh_type == SHT_REL) in relocate_section() 584 if (shdr->sh_type == SHT_REL) in relocate_section() 645 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in __libdwfl_relocate()
|
D | derelocate.c | 128 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in cache_sections() 188 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)) in cache_sections()
|
/external/elfutils/src/libasm/ |
D | asm_end.c | 155 shdr->sh_type = SHT_STRTAB; in binary_end() 236 shdr->sh_type = SHT_SYMTAB_SHNDX; in binary_end() 278 shdr->sh_type = SHT_SYMTAB; in binary_end() 306 shdr->sh_type = SHT_STRTAB; in binary_end() 368 shdr->sh_type = SHT_GROUP; in binary_end()
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ObjectFileELF.cpp | 769 const uint64_t section_size = header.sh_type == SHT_NOBITS ? 0 : header.sh_size; in GetSectionHeaderInfo() 786 if (header.sh_type == SHT_NOTE && !uuid.IsValid()) in GetSectionHeaderInfo() 865 const uint64_t file_size = header.sh_type == SHT_NOBITS ? 0 : header.sh_size; in CreateSections() 930 switch (header.sh_type) in CreateSections() 1196 assert(symtab_hdr->sh_type == SHT_SYMTAB || in ParseSymbolTable() 1197 symtab_hdr->sh_type == SHT_DYNSYM); in ParseSymbolTable() 1371 assert(rel_hdr->sh_type == SHT_RELA || rel_hdr->sh_type == SHT_REL); in ParseTrampolineSymbols() 1707 DumpELFSectionHeader_sh_type(s, sh.sh_type); in DumpELFSectionHeader() 1722 ObjectFileELF::DumpELFSectionHeader_sh_type(Stream *s, elf_word sh_type) in DumpELFSectionHeader_sh_type() argument 1725 switch (sh_type) in DumpELFSectionHeader_sh_type() [all …]
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 308 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_type); in parse_elf_section() 324 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_type); in parse_elf_section() 407 if (shdr.sh_type == SHT_STRTAB) { in parse_elf() 424 if (shdr.sh_type == SHT_STRTAB) { in parse_elf() 444 if (shdr.sh_type == SHT_SYMTAB) { in parse_elf() 533 if (shdr.sh_type == SHT_SYMTAB) { in parse_elf()
|