Home
last modified time | relevance | path

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

12

/external/elfutils/libelf/
Delf-knowledge.h27 && (shdr)->sh_type != SHT_NOTE \
32 || (((shdr)->sh_type == SHT_RELA || (shdr)->sh_type == SHT_REL) \
42 && ((shdr)->sh_type != SHT_PROGBITS \
49 && (shdr)->sh_type < SHT_NUM)
62 ((Shdr)->sh_type == SHT_REL || (Shdr)->sh_type == SHT_RELA \
Delf_strptr.c79 if (unlikely (strscn->shdr.e32->sh_type != SHT_STRTAB))
95 if (unlikely (strscn->shdr.e64->sh_type != SHT_STRTAB))
Delf32_getshdr.c117 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type);
146 CONVERT (shdr[cnt].sh_type);
Dnlist.c89 if (shdr->sh_type == SHT_SYMTAB) in nlist()
96 if (shdr->sh_type == SHT_DYNSYM) in nlist()
Delf32_updatenull.c184 switch (shdr->sh_type) in __elfw2()
286 + (shdr->sh_type != SHT_NOBITS in __elfw2()
315 if (shdr->sh_type != SHT_NOBITS) in __elfw2()
Dgelf_getshdr.c60 COPY (sh_type);
Dgelf_update_shdr.c64 COPY (sh_type); in gelf_update_shdr()
Delf32_updatefile.c206 if (shdr->sh_type != SHT_NOBITS && scn->data_list_rear != NULL) in __elfw2()
267 else if (shdr->sh_type != SHT_NOBITS && scn->index != 0) in __elfw2()
514 if (shdr->sh_type != SHT_NOBITS && scn->data_list_rear != NULL in __elfw2()
583 else if (shdr->sh_type != SHT_NOBITS && scn->index != 0) in __elfw2()
/external/llvm/test/Scripts/
Delf-dump69 self.sh_type = f.read32()
81 print " ('sh_type', %s)" % common_dump.HexDump(self.sh_type)
90 if self.sh_type == 2: # SHT_SYMTAB
94 elif self.sh_type == 4 or self.sh_type == 9: # SHT_RELA / SHT_REL
96 dumpRel(f, self, self.sh_type == 4)
100 if self.sh_type != 8: # != SHT_NOBITS
/external/elfutils/src/
Dstrip.c588 if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB_SHNDX)) in handle_elf()
593 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GROUP)) in handle_elf()
618 else if (unlikely (shdr_info[cnt].shdr.sh_type == SHT_GNU_versym)) in handle_elf()
704 if ((shdr_info[cnt].shdr.sh_type == SHT_REL in handle_elf()
705 || shdr_info[cnt].shdr.sh_type == SHT_RELA) in handle_elf()
715 if (shdr_info[cnt].shdr.sh_type == SHT_DYNSYM in handle_elf()
716 || shdr_info[cnt].shdr.sh_type == SHT_SYMTAB) in handle_elf()
737 assert (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB); in handle_elf()
843 debugshdr.sh_type = SHT_NOBITS; in handle_elf()
969 shdr_info[cnt].shdr.sh_type = SHT_PROGBITS; in handle_elf()
[all …]
Delflint.c550 if (shdr->sh_type != SHT_GROUP) in check_scn_group()
600 if (strshdr->sh_type != SHT_STRTAB) in check_symtab()
622 if (xndxshdr->sh_type == SHT_SYMTAB_SHNDX in check_symtab()
962 if (rcshdr->sh_type == SHT_DYNAMIC) in is_rel_dyn()
1030 if(destshdr->sh_type != SHT_PROGBITS in check_rela()
1031 && destshdr->sh_type != SHT_NOBITS) in check_rela()
1165 if (destshdr->sh_type != SHT_PROGBITS in check_rel()
1166 && destshdr->sh_type != SHT_NOBITS) in check_rel()
1343 if (strshdr != NULL && strshdr->sh_type != SHT_STRTAB) in check_dynamic()
1496 if (symshdr != NULL && symshdr->sh_type != SHT_SYMTAB) in check_symtab_shndx()
[all …]
Dldgeneric.c837 && ((shdr->sh_type != SHT_RELA && shdr->sh_type != SHT_REL) in mark_section_group()
867 if (unlikely (scninfo->shdr.sh_type == SHT_NULL)) in mark_section_used()
928 || shdr->sh_type == SHT_NOTE in add_section()
929 || (shdr->sh_type == SHT_PROGBITS in add_section()
946 search.type = shdr->sh_type; in add_section()
991 queued->type = shdr->sh_type; in add_section()
1047 if (fileinfo->scninfo[cnt].shdr.sh_type == SHT_NULL) in add_relocatable_file()
1077 if (unlikely (shdr->sh_type == SHT_SYMTAB) in add_relocatable_file()
1078 || unlikely (shdr->sh_type == SHT_DYNSYM)) in add_relocatable_file()
1080 if (shdr->sh_type == SHT_SYMTAB) in add_relocatable_file()
[all …]
Dreadelf.c752 ebl_section_type_name (ebl, shdr->sh_type, buf, sizeof (buf)), in print_shdr()
999 if (shdr != NULL && shdr->sh_type == SHT_GROUP) in print_scngrp()
1258 if (shdr != NULL && shdr->sh_type == SHT_DYNAMIC) in print_dynamic()
1282 if (shdr->sh_type == SHT_REL) in print_relocs()
1284 else if (shdr->sh_type == SHT_RELA) in print_relocs()
1338 if (xndxshdr != NULL && xndxshdr->sh_type == SHT_SYMTAB_SHNDX in handle_relocs_rel()
1496 if (xndxshdr != NULL && xndxshdr->sh_type == SHT_SYMTAB_SHNDX in handle_relocs_rela()
1619 if (shdr != NULL && shdr->sh_type == (GElf_Word) type) in print_symtab()
1656 if (runshdr->sh_type == SHT_GNU_versym in handle_symtab()
1660 else if (runshdr->sh_type == SHT_GNU_verneed) in handle_symtab()
[all …]
/external/elfutils/tests/
Dupdate4.c127 shdr->sh_type = SHT_PROGBITS; in main()
163 shdr->sh_type = SHT_PROGBITS; in main()
199 shdr->sh_type = SHT_PROGBITS; in main()
235 shdr->sh_type = SHT_NOBITS; in main()
272 shdr->sh_type = SHT_STRTAB; in main()
Dsectiondump.c100 shdr->sh_type, in handle_section()
116 switch (shdr->sh_type) in handle_section()
Dasm-tst7.c104 if (shdr->sh_type != SHT_SYMTAB) in main()
Dasm-tst8.c105 if (shdr->sh_type != SHT_SYMTAB) in main()
/external/llvm/test/MC/ELF/
Dentsize.ll24 ; 64-NEXT: ('sh_type', 0x00000001)
35 ; 64-NEXT: ('sh_type', 0x00000001)
/external/elfutils/libasm/
Dasm_end.c141 shdr->sh_type = SHT_STRTAB; in binary_end()
220 shdr->sh_type = SHT_SYMTAB_SHNDX; in binary_end()
262 shdr->sh_type = SHT_SYMTAB; in binary_end()
288 shdr->sh_type = SHT_STRTAB; in binary_end()
352 shdr->sh_type = SHT_GROUP; in binary_end()
/external/llvm/lib/Object/
DELFObjectFile.cpp96 Elf_Word sh_type; // Section type (SHT_*) member
111 Elf_Word sh_type; // Section type (SHT_*) member
374 switch (Section->sh_type) { in getSymbolNMTypeChar()
536 if (sh->sh_type == ELF::SHT_SYMTAB) { in ELFObjectFile()
556 if (sh->sh_type == ELF::SHT_STRTAB) { in ELFObjectFile()
676 if (sec->sh_type != ELF::SHT_SYMTAB) in getSection()
707 assert(section && section->sh_type == ELF::SHT_STRTAB && "Invalid section!"); in getString()
/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/kernel-headers/original/linux/
Delf.h271 Elf32_Word sh_type; member
284 Elf64_Word sh_type; /* Type of section */ member
/external/llvm/test/MC/ARM/
Dxscale-attributes.ll22 ; OBJ-NEXT: 'sh_type', 0x70000003
/external/llvm/test/CodeGen/ARM/
D2010-11-30-reloc-movt.ll13 ; OBJ-NEXT: 'sh_type'
/external/qemu/elff/
Delff_elf.h210 Elf_Word sh_type; member

12