/external/elfutils/libelf/ |
D | elf32_updatenull.c | 220 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize; in __elfw2() 227 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1); in __elfw2() 230 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_RELA, 1); in __elfw2() 241 sh_entsize = elf_typesize (32, ELF_T_WORD, 1); in __elfw2() 244 sh_entsize = SH_ENTSIZE_HASH (ehdr); in __elfw2() 247 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_DYN, 1); in __elfw2() 250 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_REL, 1); in __elfw2() 253 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1); in __elfw2() 256 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_MOVE, 1); in __elfw2() 259 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYMINFO, 1); in __elfw2() [all …]
|
D | gelf_update_shdr.c | 89 || unlikely (src->sh_entsize > 0xffffffffull)) in gelf_update_shdr() 106 COPY (sh_entsize); in gelf_update_shdr()
|
D | elf32_getshdr.c | 147 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); in ElfW2() 192 CONVERT (shdr[cnt].sh_entsize); in ElfW2()
|
D | gelf_getshdr.c | 102 COPY (sh_entsize);
|
/external/elfutils/tests/ |
D | update4.c | 144 shdr->sh_entsize = 1; in main() 180 shdr->sh_entsize = 1; in main() 216 shdr->sh_entsize = 1; in main() 252 shdr->sh_entsize = 1; in main() 289 shdr->sh_entsize = 1; in main()
|
D | sectiondump.c | 120 shdr->sh_entsize); in handle_section()
|
/external/elfutils/backends/ |
D | alpha_symbol.c | 102 && scn_shdr.sh_entsize != 0) in alpha_check_special_section() 107 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i) in alpha_check_special_section()
|
D | sparc_symbol.c | 90 && scn_shdr.sh_entsize != 0) in sparc_check_special_section() 94 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i) in sparc_check_special_section()
|
D | ppc_symbol.c | 95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j) in find_dyn_got()
|
/external/elfutils/src/ |
D | elflint.c | 616 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT)) in check_symtab() 654 for (size_t cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_symtab() 1012 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt) in is_rel_dyn() 1030 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize) in is_rel_dyn() 1042 inner < shdr->sh_size / shdr->sh_entsize; in is_rel_dyn() 1082 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize) in is_rel_dyn() 1094 inner < shdr->sh_size / shdr->sh_entsize; in is_rel_dyn() 1190 if (shdr->sh_entsize != gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT)) in check_reloc_shdr() 1226 for (size_t j = 0; j < dynshdr->sh_size / dynshdr->sh_entsize; ++j) in check_reloc_shdr() 1413 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_rela() [all …]
|
D | unstrip.c | 402 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) in adjust_relocs() 413 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) in adjust_relocs() 440 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs() 441 const size_t onent = shdr->sh_size / shdr->sh_entsize; in adjust_relocs() 472 switch (shdr->sh_entsize) in adjust_relocs() 494 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs() 495 const size_t onent = shdr->sh_size / shdr->sh_entsize; in adjust_relocs() 511 data->d_size = nent * shdr->sh_entsize; in adjust_relocs() 555 const size_t nsym = shdr->sh_size / shdr->sh_entsize; in add_new_section_symbols() 559 shdr->sh_size += added * shdr->sh_entsize; in add_new_section_symbols() [all …]
|
D | elfcmp.c | 269 || shdr1->sh_entsize != shdr2->sh_entsize) in main() 290 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize); in main() 369 && hash_content_equivalent (shdr1->sh_entsize, data1, data2)) in main() 614 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); in search_for_copy_reloc() 628 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); in search_for_copy_reloc()
|
D | findtextrel.c | 281 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; in process_file() 420 (size_t) cnt < shdr->sh_size / shdr->sh_entsize; in process_file() 443 (size_t) cnt < shdr->sh_size / shdr->sh_entsize; in process_file() 536 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize; in check_rel()
|
D | i386_ld.c | 108 maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_relocate_section() 205 shdr->sh_entsize = PLT_ENTRY_SIZE; in elf_i386_initialize_plt() 539 size_t maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_count_relocations() 755 int nrels = rshdr->sh_size / rshdr->sh_entsize; in elf_i386_create_relocations()
|
/external/elfutils/libasm/ |
D | asm_end.c | 153 assert (shdr->sh_entsize == 0); in binary_end() 234 shdr->sh_entsize = sizeof (Elf32_Word); in binary_end() 278 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT); in binary_end() 304 assert (shdr->sh_entsize == 0); in binary_end()
|
D | disasm_cb.c | 93 int nsyms = shdr->sh_size / shdr->sh_entsize; in read_symtab_exec()
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 144 Elf_Word sh_entsize; // Size of records contained within the section 159 Elf_Xword sh_entsize; // Size of records contained within the section 164 using Elf_Shdr_Base<ELFT>::sh_entsize; 169 if (sh_entsize == 0) 171 return sh_size / sh_entsize; 761 return Elf_Sym_iterator(DynSymtab->sh_entsize, 769 return Elf_Sym_iterator(DynSymtab->sh_entsize, (const char *)base() + 775 return Elf_Rela_Iter(sec->sh_entsize, 780 return Elf_Rela_Iter(sec->sh_entsize, (const char *) 785 return Elf_Rel_Iter(sec->sh_entsize, [all …]
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 300 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_entsize); in parse_elf_section() 316 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_entsize); in parse_elf_section() 431 ofst += shdr.sh_entsize) { in parse_elf() 513 ofst += shdr.sh_entsize) { in parse_elf()
|
/external/chromium_org/courgette/ |
D | types_elf.h | 69 Elf32_Word sh_entsize; member
|
D | disassembler_elf_32_x86.cc | 92 section_header->sh_entsize; in ParseRelocationSection()
|
/external/qemu/elff/ |
D | elff_elf.h | 238 Elf_Word sh_entsize; member
|
/external/llvm/test/MC/ELF/ |
D | entsize.ll | 3 ; Test that constant mergeable strings have sh_entsize set.
|
/external/grub/stage2/ |
D | i386-elf.h | 114 Elf32_Word sh_entsize; /* Entry size if section holds table */ member
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 223 SHeader.sh_entsize = sizeof(Elf_Sym); in handleSymtabSectionHeader() 336 SHeader.sh_entsize = 0; in writeELF()
|
/external/chromium_org/base/third_party/symbolize/ |
D | symbolize.cc | 272 const int num_symbols = symtab->sh_size / symtab->sh_entsize; in FindSymbol() 274 off_t offset = symtab->sh_offset + i * symtab->sh_entsize; in FindSymbol()
|