Searched refs:sh_entsize (Results 1 - 25 of 50) sorted by relevance

12

/external/elfutils/libelf/
H A Delf32_updatenull.c215 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize;
223 /* Set the sh_entsize value if we can reliably detect it. */
227 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1);
230 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_RELA, 1);
241 sh_entsize = elf_typesize (32, ELF_T_WORD, 1);
244 sh_entsize = SH_ENTSIZE_HASH (ehdr);
247 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_DYN, 1);
250 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_REL, 1);
253 sh_entsize
[all...]
H A Dgelf_update_shdr.c68 || unlikely (src->sh_entsize > 0xffffffffull))
85 COPY (sh_entsize);
H A Dgelf_getshdr.c79 COPY (sh_entsize);
H A Delf32_getshdr.c150 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
198 CONVERT (shdr[cnt].sh_entsize);
/external/elfutils/backends/
H A Dalpha_symbol.c106 && scn_shdr.sh_entsize != 0)
111 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
H A Dsparc_symbol.c93 && scn_shdr.sh_entsize != 0)
97 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
H A Dppc_symbol.c102 && shdr->sh_entsize != 0)
103 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
/external/elfutils/tests/
H A Dupdate4.c136 shdr->sh_entsize = 1;
172 shdr->sh_entsize = 1;
208 shdr->sh_entsize = 1;
244 shdr->sh_entsize = 1;
281 shdr->sh_entsize = 1;
H A Dasm-tst1.c238 if (shdr->sh_entsize != 0)
H A Dasm-tst2.c260 if (shdr->sh_entsize != 0)
H A Dsectiondump.c112 shdr->sh_entsize);
H A Dupdate3.c133 shdr->sh_entsize = 0;
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp249 SHeader.sh_entsize = 0;
271 SHeader.sh_entsize = sizeof(Elf_Sym);
352 SHeader.sh_entsize = 0;
372 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel);
373 SHeader.sh_size = SHeader.sh_entsize * Section.Relocations.size();
410 SHeader.sh_entsize = sizeof(Elf_Word);
411 SHeader.sh_size = SHeader.sh_entsize * Section.Members.size();
441 SHeader.sh_entsize = sizeof(Flags);
442 SHeader.sh_size = SHeader.sh_entsize;
/external/elfutils/src/
H A Delflint.c639 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT); local
640 if (shdr->sh_entsize != sh_entsize)
678 for (size_t cnt = 1; cnt < shdr->sh_size / sh_entsize; ++cnt)
1077 if (rcshdr->sh_type == SHT_DYNAMIC && rcshdr->sh_entsize != 0)
1088 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt)
1108 if (shdr->sh_entsize != 0
1110 / shdr->sh_entsize))
1120 if (reldata != NULL && shdr->sh_entsize != 0)
1122 inner < shdr->sh_size / shdr->sh_entsize;
1271 size_t sh_entsize = gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT); local
1495 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local
1546 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local
1653 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT); local
[all...]
H A Delfcmp.c314 || shdr1->sh_entsize != shdr2->sh_entsize)
337 if (shdr1->sh_entsize == 0)
339 gettext ("symbol table [%zu] in '%s' has zero sh_entsize"),
344 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize);
521 && hash_content_equivalent (shdr1->sh_entsize, data1, data2))
772 if (shdr->sh_type == SHT_REL && shdr->sh_entsize != 0)
773 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
786 else if (shdr->sh_entsize != 0)
787 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
[all...]
H A Dfindtextrel.c283 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
434 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
457 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
551 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
H A Dunstrip.c443 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
454 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
480 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize;
481 const size_t onent = shdr->sh_size / shdr->sh_entsize;
513 switch (shdr->sh_entsize)
535 const size_t nent = symshdr->sh_size / symshdr->sh_entsize;
536 const size_t onent = shdr->sh_size / shdr->sh_entsize;
553 data->d_size = nent * shdr->sh_entsize;
597 const size_t nsym = shdr->sh_size / shdr->sh_entsize;
601 shdr->sh_size += added * shdr->sh_entsize;
[all...]
H A Dobjdump.c417 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local
418 int nentries = shdr->sh_size / sh_entsize;
438 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local
439 int nentries = shdr->sh_size / sh_entsize;
/external/google-breakpad/src/common/linux/
H A Dsynth_elf_unittest.cc251 EXPECT_EQ(0U, shdr[0].sh_entsize);
262 EXPECT_EQ(0U, shdr[1].sh_entsize);
326 EXPECT_EQ(0U, shdr[0].sh_entsize);
337 EXPECT_EQ(0U, shdr[1].sh_entsize);
348 EXPECT_EQ(0U, shdr[2].sh_entsize);
359 EXPECT_EQ(0U, shdr[3].sh_entsize);
/external/elfutils/libasm/
H A Ddisasm_cb.c96 int nsyms = shdr->sh_size / shdr->sh_entsize;
H A Dasm_end.c156 assert (shdr->sh_entsize == 0);
237 shdr->sh_entsize = sizeof (Elf32_Word);
281 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT);
307 assert (shdr->sh_entsize == 0);
/external/llvm/include/llvm/Object/
H A DELFTypes.h106 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
121 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
126 using Elf_Shdr_Base<ELFT>::sh_entsize;
131 if (sh_entsize == 0)
133 return sh_size / sh_entsize;
H A DELF.h128 if (Sec->sh_entsize != sizeof(Elf_Sym))
147 if (sec->sh_entsize != sizeof(Elf_Rela))
164 if (sec->sh_entsize != sizeof(Elf_Rel))
448 (Entry * Section->sh_entsize));
/external/elfutils/libdwfl/
H A Ddwfl_module_getdwarf.c610 if (shdr->sh_entsize == 0)
616 *syments = shdr->sh_size / shdr->sh_entsize;
626 if (shdr->sh_entsize == 0)
631 *syments = shdr->sh_size / shdr->sh_entsize;
1006 mod->aux_syments = shdr->sh_size / shdr->sh_entsize;
1200 if (shdr == NULL || shdr->sh_entsize == 0
1201 || mod->syments > mod->symdata->d_size / shdr->sh_entsize
1284 if (mod->aux_syments > mod->aux_symdata->d_size / shdr->sh_entsize
/external/kernel-headers/original/uapi/linux/
H A Delf.h309 Elf32_Word sh_entsize; member in struct:elf32_shdr
322 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member in struct:elf64_shdr

Completed in 7559 milliseconds

12