Searched refs:sh_entsize (Results 26 - 49 of 49) sorted by relevance

12

/external/linux-tools-perf/src/tools/perf/util/
H A Dsymbol-elf.c252 nr_rel_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize;
261 plt_offset += shdr_plt.sh_entsize;
266 f = symbol__new(plt_offset, shdr_plt.sh_entsize,
283 plt_offset += shdr_plt.sh_entsize;
288 f = symbol__new(plt_offset, shdr_plt.sh_entsize,
739 nr_syms = shdr.sh_size / shdr.sh_entsize;
/external/elfutils/src/libdwfl/
H A Ddwfl_module_getdwarf.c578 if (shdr->sh_entsize == 0)
584 *syments = shdr->sh_size / shdr->sh_entsize;
594 if (shdr->sh_entsize == 0)
599 *syments = shdr->sh_size / shdr->sh_entsize;
966 mod->aux_syments = shdr->sh_size / shdr->sh_entsize;
1112 if (mod->syments > mod->symdata->d_size / shdr->sh_entsize
1155 if (mod->aux_syments > mod->aux_symdata->d_size / shdr->sh_entsize
H A Drelocate.c506 size_t sh_entsize local
509 size_t nrels = shdr->sh_size / sh_entsize;
611 shdr->sh_size = reldata->d_size = nrels * sh_entsize;
/external/ltrace/
H A Dltrace-elf.c435 *countp = shdr->sh_size / shdr->sh_entsize;
509 if ((shdr->sh_size % shdr->sh_entsize) != 0) {
511 "of its sh_entsize (%" PRIx64 "d).\n",
512 shdr->sh_size, shdr->sh_entsize);
516 GElf_Xword relplt_count = shdr->sh_size / shdr->sh_entsize;
555 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) {
624 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) {
/external/elfutils/src/src/
H A Darlib.c251 int nsyms = shdr->sh_size / shdr->sh_entsize;
H A Di386_ld.c100 maxcnt = shdr->sh_size / shdr->sh_entsize;
197 shdr->sh_entsize = PLT_ENTRY_SIZE;
531 size_t maxcnt = shdr->sh_size / shdr->sh_entsize;
747 int nrels = rshdr->sh_size / rshdr->sh_entsize;
H A Dobjdump.c421 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local
422 int nentries = shdr->sh_size / sh_entsize;
442 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local
443 int nentries = shdr->sh_size / sh_entsize;
H A Dstrip.c1051 shdr_info[cnt].shdr.sh_entsize = 0;
1108 shdr_info[cnt].shdr.sh_entsize = 0;
1427 / shdr_info[cnt].shdr.sh_entsize);
1488 if (shdr_info[cnt].shdr.sh_entsize == sizeof (Elf32_Word))
1542 elf_assert (shdr_info[cnt].shdr.sh_entsize
1829 size_t nrels = shdr->sh_size / shdr->sh_entsize;
1861 shdr->sh_size = reldata->d_size = nrels * shdr->sh_entsize;
H A Dldgeneric.c997 search.entsize = shdr->sh_entsize;
1073 queued->entsize = shdr->sh_entsize;
1171 fileinfo->nsymtab = shdr->sh_size / shdr->sh_entsize;
1179 fileinfo->ndynsymtab = shdr->sh_size / shdr->sh_entsize;
1190 nsymbols = shdr->sh_size / shdr->sh_entsize;
2085 int cnt = dynshdr->sh_size / dynshdr->sh_entsize;
2912 newp->entsize = SCNINFO_SHDR (found->shdr).sh_entsize;
3295 shdr->sh_entsize = head->entsize;
3296 assert (shdr->sh_entsize != 0 || (shdr->sh_flags & SHF_MERGE) == 0);
4826 if (SCNINFO_SHDR (head->last->shdr).sh_entsize
[all...]
H A Dreadelf.c1148 shdr->sh_entsize, flagbuf, shdr->sh_link, shdr->sh_info,
1569 size_t sh_entsize; local
1581 sh_entsize = gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT);
1592 shdr->sh_size / sh_entsize),
1593 (unsigned long int) (shdr->sh_size / sh_entsize),
1600 for (cnt = 0; cnt < shdr->sh_size / sh_entsize; ++cnt)
1749 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local
1750 int nentries = shdr->sh_size / sh_entsize;
1939 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local
1940 int nentries = shdr->sh_size / sh_entsize;
2844 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_HALF, 1, EV_CURRENT); local
3246 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_LIB, 1, EV_CURRENT); local
[all...]
H A Dnm.c1168 size_t entsize = shdr->sh_entsize;
/external/elfutils/src/tests/
H A Dalldts.c201 shdr->sh_entsize = 1;
H A Dasm-tst9.c290 if (shdr->sh_entsize != 0)
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dplt.c222 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) {
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp545 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize();
1215 size_t num_symbols = symtab_data.GetByteSize() / symtab_hdr->sh_entsize;
1307 const elf_xword plt_entsize = plt_hdr->sh_entsize;
1308 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
1335 lldb::offset_t symbol_offset = reloc_symbol(rel) * sym_hdr->sh_entsize;
1712 s->Printf(" %8.8" PRIx64 " %8.8" PRIx64, sh.sh_addralign, sh.sh_entsize);
/external/elfutils/src/libelf/
H A Dabstract.h93 TYPE_NAME (ElfW2(32, Ext##Word), sh_entsize) \
106 TYPE_NAME (ElfW2(64, Ext##Xword), sh_entsize) \
H A Delf.h283 Elf32_Word sh_entsize; /* Entry size if section holds table */ member in struct:__anon4632
297 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member in struct:__anon4633
/external/llvm/include/llvm/Support/
H A DELF.h551 Elf32_Word sh_entsize; // Size of records contained within the section member in struct:llvm::ELF::Elf32_Shdr
565 Elf64_Xword sh_entsize; member in struct:llvm::ELF::Elf64_Shdr
/external/libunwind/src/
H A Delfxx.c183 GET_SHDR_FIELD(ei, shdr_offset, &shdr, sh_entsize);
191 sym_offset += shdr.sh_entsize) {
338 sym = (Elf_W(Sym) *) ((char *) sym + shdr->sh_entsize)) {
/external/llvm/test/tools/llvm-readobj/Inputs/
H A Drelocs.py173 self.sh_entsize = f.word()
180 entries = self.sh_size // self.sh_entsize
183 f.seek(self.sh_offset + index * self.sh_entsize)
/external/google-breakpad/src/common/solaris/
H A Ddump_symbols.cc466 for (int i = 0; i < symtab_section.sh_size/symtab_section.sh_entsize; ++i) {
/external/llvm/include/llvm/Object/
H A DELFObjectFile.h525 RelData.d.b = S->sh_size / S->sh_entsize;
/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp592 W.printNumber("EntrySize", Section->sh_entsize);
/external/valgrind/perf/
H A Dtinycc.c311 Elf32_Word sh_entsize; /* Entry size if section holds table */ member in struct:__anon16806
325 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member in struct:__anon16807
2207 int sh_entsize; /* elf entry size */
18365 sr->sh_entsize = sizeof(Elf32_Rel);
18796 s1->got->sh_entsize = 4;
19017 symtab->sh_entsize = sizeof(Elf32_Sym);
19026 hash->sh_entsize = sizeof(int);
19273 dynamic->sh_entsize = sizeof(Elf32_Dyn);
19278 s1->plt->sh_entsize = 4;
19819 sh->sh_entsize
2205 int sh_entsize; /* elf entry size */ member in struct:Section
[all...]

Completed in 3278 milliseconds

12