/external/elfutils/libelf/ |
D | elf-knowledge.h | 62 && (shdr)->sh_type != SHT_NOTE \ 63 && (((shdr)->sh_type) != SHT_PROGBITS \ 71 && (shdr)->sh_type < SHT_NUM) 84 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \
|
D | elf32_getshdr.c | 138 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2() 152 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2() 184 CONVERT (shdr[cnt].sh_type); in ElfW2()
|
D | elf_strptr.c | 112 if (unlikely (strscn->shdr.e32->sh_type != SHT_STRTAB)) 128 if (unlikely (strscn->shdr.e64->sh_type != SHT_STRTAB))
|
D | nlist.c | 122 if (shdr->sh_type == SHT_SYMTAB) in nlist() 129 if (shdr->sh_type == SHT_DYNSYM) in nlist()
|
D | elf32_updatenull.c | 224 switch (shdr->sh_type) in __elfw2() 339 + (shdr->sh_type != SHT_NOBITS in __elfw2() 378 if (shdr->sh_type != SHT_NOBITS) in __elfw2()
|
D | gelf_getshdr.c | 94 COPY (sh_type);
|
/external/llvm/test/Scripts/ |
D | elf-dump | 58 self.sh_type = f.read32() 70 print " ('sh_type', %s)" % common_dump.HexDump(self.sh_type) 79 if self.sh_type[0] == 2: # SHT_SYMTAB 83 elif self.sh_type[0] == 4 or self.sh_type[0] == 9: # SHT_RELA / SHT_REL 85 dumpRel(f, self, self.sh_type[0] == 4) 89 if self.sh_type != 8: # != SHT_NOBITS
|
/external/elfutils/libebl/ |
D | eblsectionstripp.c | 70 if (shdr->sh_type == SHT_RELA || shdr->sh_type == SHT_REL) in ebl_section_strip_p()
|
/external/elfutils/src/ |
D | elfcmp.c | 258 if (shdr1->sh_type != shdr2->sh_type in main() 284 switch (shdr1->sh_type) in main() 356 assert (shdr1->sh_type == SHT_NOBITS in main() 358 assert (shdr2->sh_type == SHT_NOBITS in main() 362 || (shdr1->sh_type != SHT_NOBITS in main() 367 && shdr1->sh_type == SHT_HASH in main() 603 if ((shdr->sh_type != SHT_REL && shdr->sh_type != SHT_RELA) in search_for_copy_reloc() 613 if (shdr->sh_type == SHT_REL) in search_for_copy_reloc()
|
D | strip.c | 600 if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX)) in handle_elf() 605 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP)) in handle_elf() 628 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym)) in handle_elf() 713 if ((shdr_info[cnt].shdr.sh_type == SHT_REL in handle_elf() 714 || shdr_info[cnt].shdr.sh_type == SHT_RELA) in handle_elf() 726 && (shdr_info[cnt].shdr.sh_type == SHT_DYNSYM in handle_elf() 727 || shdr_info[cnt].shdr.sh_type == SHT_SYMTAB)) in handle_elf() 744 assert (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB); in handle_elf() 872 && shdr_info[cnt].shdr.sh_type != SHT_NOTE in handle_elf() 878 debugshdr.sh_type = SHT_NOBITS; in handle_elf() [all …]
|
D | unstrip.c | 323 switch (shdr->sh_type) in section_can_shrink() 399 switch (shdr->sh_type) in adjust_relocs() 537 if (shdr->sh_type != SHT_NOBITS && shdr->sh_link == new_sh_link) in adjust_all_relocs() 936 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink() 1014 COPY (sh_type); in find_alloc_sections_prelink() 1108 && (((sec->shdr.sh_type == undo_sec->shdr.sh_type in find_alloc_sections_prelink() 1116 && undo_sec->shdr.sh_type == SHT_NOBITS) in find_alloc_sections_prelink() 1117 || undo_sec->shdr.sh_type == SHT_PROGBITS) in find_alloc_sections_prelink() 1119 || (sec->shdr.sh_type == SHT_RELA in find_alloc_sections_prelink() 1120 && undo_sec->shdr.sh_type == SHT_REL in find_alloc_sections_prelink() [all …]
|
D | findtextrel.c | 277 if (shdr->sh_type == SHT_DYNAMIC) in process_file() 301 else if (shdr->sh_type == SHT_SYMTAB) in process_file() 401 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in process_file() 415 if (shdr->sh_type == SHT_REL) in process_file() 438 else if (shdr->sh_type == SHT_RELA) in process_file()
|
D | elflint.c | 533 if (shdr->sh_type != SHT_GROUP) in check_scn_group() 581 if (strshdr->sh_type != SHT_STRTAB) in check_symtab() 602 if (xndxshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab() 1006 if (rcshdr->sh_type == SHT_DYNAMIC) in is_rel_dyn() 1164 if((*destshdrp)->sh_type != SHT_PROGBITS in check_reloc_shdr() 1165 && (*destshdrp)->sh_type != SHT_NOBITS) in check_reloc_shdr() 1224 if (dynshdr != NULL && dynshdr->sh_type == SHT_DYNAMIC in check_reloc_shdr() 1560 if (strshdr != NULL && strshdr->sh_type != SHT_STRTAB) in check_dynamic() 1843 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx() 1871 if (rshdr != NULL && rshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab_shndx() [all …]
|
D | ldgeneric.c | 539 assert (SCNINFO_SHDR (fileinfo->scninfo[newgrpid].shdr).sh_type in matching_group_comdat_scn() 541 assert (SCNINFO_SHDR (oldp->file->scninfo[oldgrpid].shdr).sh_type in matching_group_comdat_scn() 896 && ((shdr->sh_type != SHT_RELA && shdr->sh_type != SHT_REL) in mark_section_group() 926 if (unlikely (scninfo->shdr.sh_type == SHT_NULL)) in mark_section_used() 987 || shdr->sh_type == SHT_NOTE in add_section() 988 || (shdr->sh_type == SHT_PROGBITS in add_section() 1005 search.type = shdr->sh_type; in add_section() 1080 queued->type = shdr->sh_type; in add_section() 1143 if (fileinfo->scninfo[cnt].shdr.sh_type == SHT_NULL) in add_relocatable_file() 1174 if (unlikely (shdr->sh_type == SHT_SYMTAB) in add_relocatable_file() [all …]
|
D | objdump.c | 554 if (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in show_relocs() 589 if (xndxshdr != NULL && xndxshdr->sh_type == SHT_SYMTAB_SHNDX in show_relocs() 598 if (shdr->sh_type == SHT_REL) in show_relocs() 625 if (shdr->sh_type == SHT_PROGBITS && shdr->sh_size > 0) in show_full_content() 741 if (shdr->sh_type == SHT_PROGBITS && shdr->sh_size > 0 in show_disasm()
|
/external/valgrind/main/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/elfutils/tests/ |
D | update4.c | 139 shdr->sh_type = SHT_PROGBITS; in main() 175 shdr->sh_type = SHT_PROGBITS; in main() 211 shdr->sh_type = SHT_PROGBITS; in main() 247 shdr->sh_type = SHT_NOBITS; in main() 284 shdr->sh_type = SHT_STRTAB; in main()
|
D | sectiondump.c | 112 shdr->sh_type, in handle_section() 128 switch (shdr->sh_type) in handle_section()
|
/external/valgrind/main/VEX/switchback/ |
D | linker.c | 393 findElfSection ( void* objImage, Elf_Word sh_type ) 403 if (shdr[i].sh_type == sh_type 897 if (shdr[shnum].sh_type == SHT_REL ) { 903 if (shdr[shnum].sh_type == SHT_RELA) { 1005 if (debug_linker>1) fprintf(stderr, "type=%2d ", (int)shdr[i].sh_type ); 1012 if (shdr[i].sh_type == SHT_REL) { 1014 } else if (shdr[i].sh_type == SHT_RELA) { 1029 if (shdr[i].sh_type == SHT_STRTAB 1050 if (shdr[i].sh_type != SHT_SYMTAB) continue; 1141 if (hdr.sh_type == SHT_PROGBITS [all …]
|
/external/elfutils/libdwfl/ |
D | derelocate.c | 145 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in cache_sections() 205 && (shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA)) in cache_sections()
|
D | relocate.c | 139 switch (shdr->sh_type) in relocate_getsym() 456 if (shdr->sh_type == SHT_REL) in relocate_section() 529 if (shdr->sh_type == SHT_REL) in relocate_section() 590 if ((shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) in __libdwfl_relocate()
|
/external/llvm/test/MC/ELF/ |
D | entsize.ll | 24 ; 64-NEXT: ('sh_type', 0x00000001) 35 ; 64-NEXT: ('sh_type', 0x00000001)
|
/external/elfutils/libasm/ |
D | asm_end.c | 152 shdr->sh_type = SHT_STRTAB; in binary_end() 233 shdr->sh_type = SHT_SYMTAB_SHNDX; in binary_end() 275 shdr->sh_type = SHT_SYMTAB; in binary_end() 303 shdr->sh_type = SHT_STRTAB; in binary_end() 365 shdr->sh_type = SHT_GROUP; in binary_end()
|
/external/libvpx/build/make/ |
D | obj_int_extract.c | 396 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_type); in parse_elf_section() 414 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_type); in parse_elf_section() 510 if (shdr.sh_type == SHT_STRTAB) in parse_elf() 532 if (shdr.sh_type == SHT_STRTAB) in parse_elf() 556 if (shdr.sh_type == SHT_SYMTAB) in parse_elf() 648 if (shdr.sh_type == SHT_SYMTAB) in parse_elf()
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 112 Elf_Word sh_type; // Section type (SHT_*) 127 Elf_Word sh_type; // Section type (SHT_*) 902 switch (Section->sh_type) { 1123 && sec->sh_type == ELF::SHT_PROGBITS) 1136 && sec->sh_type == ELF::SHT_NOBITS) 1160 if (sec->sh_type == ELF::SHT_NOBITS) 1257 switch (sec->sh_type) { 1285 switch (sec->sh_type) { 1308 switch (sec->sh_type) { 1330 switch (sec->sh_type) { [all …]
|