/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() 89 if (sh_type == SHT_NULL || sh_type == SHT_NOBITS) in elf_compress_gnu() 197 __libelf_data_type (elf, sh_type)); 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 | 345 Elf64_Word sh_type; in elf_compress() local 354 sh_type = shdr->sh_type; in elf_compress() 364 sh_type = shdr->sh_type; in elf_compress() 374 if (sh_type == SHT_NULL || sh_type == SHT_NOBITS) in elf_compress() 507 __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()
|
D | elf_getdata.c | 123 __libelf_data_type (Elf *elf, int sh_type) in __libelf_data_type() argument 127 if (sh_type == SHT_HASH && elf->class == ELFCLASS64) in __libelf_data_type() 134 return shtype_map[LIBELF_EV_IDX][TYPEIDX (sh_type)]; in __libelf_data_type() 239 type = shdr->sh_type; in __libelf_set_rawdata_wrlock() 254 type = shdr->sh_type; in __libelf_set_rawdata_wrlock()
|
/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/llvm/include/llvm/Object/ |
D | ELFObjectFile.h | 252 assert(SymTable->sh_type == ELF::SHT_SYMTAB || in toDRI() 253 SymTable->sh_type == ELF::SHT_DYNSYM); in toDRI() 372 return getSection(Sec)->sh_type; in getSectionType() 587 EShdr->sh_type == ELF::SHT_PROGBITS; in isSectionData() 594 EShdr->sh_type == ELF::SHT_NOBITS; in isSectionBSS() 599 return getSection(Sec)->sh_type == ELF::SHT_NOBITS; in isSectionVirtual() 611 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_begin() 619 uint32_t SymSecType = SymSec->sh_type; in section_rel_begin() 633 if (S->sh_type != ELF::SHT_RELA && S->sh_type != ELF::SHT_REL) in section_rel_end() 647 uintX_t Type = EShdr->sh_type; in getRelocatedSection() [all …]
|
/external/elfutils/src/ |
D | unstrip.c | 357 switch (shdr->sh_type) in section_can_shrink() 439 switch (shdr->sh_type) in adjust_relocs() 578 if (shdr->sh_type != SHT_NOBITS && shdr->sh_link == new_sh_link) in adjust_all_relocs() 909 Elf64_Word sh_type) in sections_flags_match() argument 911 if (sh_type == SHT_REL || sh_type == SHT_RELA) in sections_flags_match() 926 sections[i].shdr.sh_type) in sections_match() 988 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink() 1074 COPY (sh_type); in find_alloc_sections_prelink() 1169 && (((sec->shdr.sh_type == undo_sec->shdr.sh_type in find_alloc_sections_prelink() 1177 && undo_sec->shdr.sh_type == SHT_NOBITS) in find_alloc_sections_prelink() [all …]
|
D | strip.c | 658 if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX)) in handle_elf() 663 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP)) in handle_elf() 692 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym)) in handle_elf() 780 if (shdr_info[cnt].shdr.sh_type == SHT_REL in handle_elf() 781 || shdr_info[cnt].shdr.sh_type == SHT_RELA) in handle_elf() 791 if (shdr_info[cnt].shdr.sh_type == SHT_GROUP) in handle_elf() 818 && (shdr_info[cnt].shdr.sh_type == SHT_DYNSYM in handle_elf() 819 || shdr_info[cnt].shdr.sh_type == SHT_SYMTAB)) in handle_elf() 836 elf_assert (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB); in handle_elf() 974 && shdr_info[cnt].shdr.sh_type != SHT_NOTE in handle_elf() [all …]
|
D | elfcmp.c | 303 if (shdr1->sh_type != shdr2->sh_type in main() 333 switch (shdr1->sh_type) in main() 507 assert (shdr1->sh_type == SHT_NOBITS in main() 509 assert (shdr2->sh_type == SHT_NOBITS in main() 513 || (shdr1->sh_type != SHT_NOBITS in main() 519 && shdr1->sh_type == SHT_HASH in main() 762 if ((shdr->sh_type != SHT_REL && shdr->sh_type != SHT_RELA) in search_for_copy_reloc() 772 if (shdr->sh_type == SHT_REL && shdr->sh_entsize != 0) in search_for_copy_reloc()
|
D | elflint.c | 555 if (shdr->sh_type != SHT_GROUP) in check_scn_group() 604 if (strshdr->sh_type != SHT_STRTAB) in check_symtab() 625 if (xndxshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab() 1041 && shdr->sh_type == SHT_DYNSYM) in check_symtab() 1077 if (rcshdr->sh_type == SHT_DYNAMIC && rcshdr->sh_entsize != 0) in is_rel_dyn() 1245 if(! ebl_check_reloc_target_type (ebl, (*destshdrp)->sh_type)) in check_reloc_shdr() 1306 if (dynshdr != NULL && dynshdr->sh_type == SHT_DYNAMIC in check_reloc_shdr() 1640 if (strshdr != NULL && strshdr->sh_type != SHT_STRTAB) in check_dynamic() 1922 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx() 1956 if (rshdr != NULL && rshdr->sh_type == SHT_SYMTAB_SHNDX 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()
|
/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/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/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 | elfstrmerge.c | 203 if (symtabshdr->sh_type == SHT_SYMTAB) in main() 285 GElf_Off off = shdr->sh_offset + (shdr->sh_type != SHT_NOBITS in main() 457 newshdr.sh_type = shdr->sh_type; in main() 501 switch (shdr->sh_type) in main() 609 if (newshdr.sh_type != SHT_NOBITS) in main()
|
D | sectiondump.c | 104 shdr->sh_type, in handle_section() 120 switch (shdr->sh_type) in handle_section()
|
/external/elfutils/libdwfl/ |
D | relocate.c | 128 if ((shdr->sh_type == SHT_SYMTAB in relocate_getsym() 129 || shdr->sh_type == SHT_SYMTAB_SHNDX) in relocate_getsym() 134 switch (shdr->sh_type) in relocate_getsym() 511 if (unlikely (tshdr->sh_type == SHT_NOBITS) in relocate_section() 587 = gelf_fsize (relocated, shdr->sh_type == SHT_REL ? ELF_T_REL : ELF_T_RELA, in relocate_section() 591 if (shdr->sh_type == SHT_REL) in relocate_section() 666 if (shdr->sh_type == SHT_REL) in relocate_section() 727 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in __libdwfl_relocate()
|
D | derelocate.c | 137 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in cache_sections() 200 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)) in cache_sections()
|
/external/elfutils/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/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()
|