/external/elfutils/libelf/ |
H A D | elf32_updatenull.c | 215 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 D | gelf_update_shdr.c | 68 || unlikely (src->sh_entsize > 0xffffffffull)) 85 COPY (sh_entsize);
|
H A D | gelf_getshdr.c | 79 COPY (sh_entsize);
|
H A D | elf32_getshdr.c | 150 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); 198 CONVERT (shdr[cnt].sh_entsize);
|
/external/elfutils/backends/ |
H A D | alpha_symbol.c | 106 && scn_shdr.sh_entsize != 0) 111 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
|
H A D | sparc_symbol.c | 93 && scn_shdr.sh_entsize != 0) 97 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
|
H A D | ppc_symbol.c | 102 && shdr->sh_entsize != 0) 103 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
|
/external/elfutils/tests/ |
H A D | update4.c | 136 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 D | asm-tst1.c | 238 if (shdr->sh_entsize != 0)
|
H A D | asm-tst2.c | 260 if (shdr->sh_entsize != 0)
|
H A D | sectiondump.c | 112 shdr->sh_entsize);
|
H A D | update3.c | 133 shdr->sh_entsize = 0;
|
/external/llvm/tools/yaml2obj/ |
H A D | yaml2elf.cpp | 249 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 D | elflint.c | 639 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 D | elfcmp.c | 314 || 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 D | findtextrel.c | 283 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 D | unstrip.c | 443 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 D | objdump.c | 417 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 D | synth_elf_unittest.cc | 251 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 D | disasm_cb.c | 96 int nsyms = shdr->sh_size / shdr->sh_entsize;
|
H A D | asm_end.c | 156 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 D | ELFTypes.h | 106 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 D | ELF.h | 128 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 D | dwfl_module_getdwarf.c | 610 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 D | elf.h | 309 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
|