Home
last modified time | relevance | path

Searched refs:sh_type (Results 1 – 25 of 68) sorted by relevance

123

/external/elfutils/libelf/
Delf-knowledge.h62 && (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 \
Delf32_getshdr.c138 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()
Delf_strptr.c112 if (unlikely (strscn->shdr.e32->sh_type != SHT_STRTAB))
128 if (unlikely (strscn->shdr.e64->sh_type != SHT_STRTAB))
Dnlist.c122 if (shdr->sh_type == SHT_SYMTAB) in nlist()
129 if (shdr->sh_type == SHT_DYNSYM) in nlist()
Delf32_updatenull.c224 switch (shdr->sh_type) in __elfw2()
339 + (shdr->sh_type != SHT_NOBITS in __elfw2()
378 if (shdr->sh_type != SHT_NOBITS) in __elfw2()
Dgelf_getshdr.c94 COPY (sh_type);
/external/llvm/test/Scripts/
Delf-dump58 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/
Deblsectionstripp.c70 if (shdr->sh_type == SHT_RELA || shdr->sh_type == SHT_REL) in ebl_section_strip_p()
/external/elfutils/src/
Delfcmp.c258 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()
Dstrip.c600 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 …]
Dunstrip.c323 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 …]
Dfindtextrel.c277 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()
Delflint.c533 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 …]
Dldgeneric.c539 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 …]
Dobjdump.c554 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/
Dlinker.c327 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/
Dupdate4.c139 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()
Dsectiondump.c112 shdr->sh_type, in handle_section()
128 switch (shdr->sh_type) in handle_section()
/external/valgrind/main/VEX/switchback/
Dlinker.c393 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/
Dderelocate.c145 && (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()
Drelocate.c139 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/
Dentsize.ll24 ; 64-NEXT: ('sh_type', 0x00000001)
35 ; 64-NEXT: ('sh_type', 0x00000001)
/external/elfutils/libasm/
Dasm_end.c152 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/
Dobj_int_extract.c396 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/
DELF.h112 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 …]

123