Home
last modified time | relevance | path

Searched refs:sh_entsize (Results 1 – 25 of 29) sorted by relevance

12

/external/elfutils/libelf/
Delf32_updatenull.c176 ElfW2(LIBELFBITS,Word) sh_entsize; in __elfw2()
180 sh_entsize = shdr->sh_entsize; in __elfw2()
187 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1); in __elfw2()
190 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_RELA, 1); in __elfw2()
201 sh_entsize = elf_typesize (32, ELF_T_WORD, 1); in __elfw2()
204 sh_entsize = SH_ENTSIZE_HASH (ehdr); in __elfw2()
207 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_DYN, 1); in __elfw2()
210 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_REL, 1); in __elfw2()
213 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1); in __elfw2()
216 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_MOVE, 1); in __elfw2()
[all …]
Dgelf_update_shdr.c55 || unlikely (src->sh_entsize > 0xffffffffull)) in gelf_update_shdr()
72 COPY (sh_entsize); in gelf_update_shdr()
Delf32_getshdr.c125 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
154 CONVERT (shdr[cnt].sh_entsize);
Dgelf_getshdr.c68 COPY (sh_entsize);
Dabstract.h81 TYPE_NAME (ElfW2(32, Ext##Word), sh_entsize) \
94 TYPE_NAME (ElfW2(64, Ext##Xword), sh_entsize) \
/external/elfutils/tests/
Dupdate4.c132 shdr->sh_entsize = 1; in main()
168 shdr->sh_entsize = 1; in main()
204 shdr->sh_entsize = 1; in main()
240 shdr->sh_entsize = 1; in main()
277 shdr->sh_entsize = 1; in main()
Dsectiondump.c108 shdr->sh_entsize); in handle_section()
Dasm-tst1.c223 if (shdr->sh_entsize != 0) in main()
Dasm-tst2.c245 if (shdr->sh_entsize != 0) in main()
Dupdate3.c128 shdr->sh_entsize = 0; in main()
Dasm-tst9.c275 if (shdr->sh_entsize != 0) in main()
/external/elfutils/src/
Delflint.c632 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT)) in check_symtab()
670 for (cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_symtab()
968 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt) in is_rel_dyn()
979 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize) in is_rel_dyn()
1056 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT)) in check_rela()
1066 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_rela()
1191 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT)) in check_rel()
1201 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_rel()
1349 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT)) in check_dynamic()
1359 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in check_dynamic()
[all …]
Di386_ld.c94 maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_relocate_section()
193 shdr->sh_entsize = PLT_ENTRY_SIZE; in elf_i386_initialize_plt()
491 size_t maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_count_relocations()
659 int nrels = rshdr->sh_size / rshdr->sh_entsize; in elf_i386_create_relocations()
Dstrip.c974 shdr_info[cnt].shdr.sh_entsize = 0; in handle_elf()
1031 shdr_info[cnt].shdr.sh_entsize = 0; in handle_elf()
1308 / shdr_info[cnt].shdr.sh_entsize); in handle_elf()
1370 if (shdr_info[cnt].shdr.sh_entsize == sizeof (Elf32_Word)) in handle_elf()
1433 assert (shdr_info[cnt].shdr.sh_entsize in handle_elf()
Dldgeneric.c948 search.entsize = shdr->sh_entsize; in add_section()
994 queued->entsize = shdr->sh_entsize; in add_section()
1084 fileinfo->nsymtab = shdr->sh_size / shdr->sh_entsize; in add_relocatable_file()
1092 fileinfo->ndynsymtab = shdr->sh_size / shdr->sh_entsize; in add_relocatable_file()
1103 nsymbols = shdr->sh_size / shdr->sh_entsize; in add_relocatable_file()
1909 int cnt = dynshdr->sh_size / dynshdr->sh_entsize; in file_process2()
2707 newp->entsize = SCNINFO_SHDR (found->shdr).sh_entsize; in match_section()
3087 shdr->sh_entsize = head->entsize; in ld_generic_create_sections()
3088 assert (shdr->sh_entsize != 0 || (shdr->sh_flags & SHF_MERGE) == 0); in ld_generic_create_sections()
4149 if (SCNINFO_SHDR (head->last->shdr).sh_entsize == 1 in ld_generic_create_outfile()
[all …]
Dreadelf.c756 shdr->sh_entsize, flagbuf, shdr->sh_link, shdr->sh_info, in print_shdr()
1137 shdr->sh_size / shdr->sh_entsize), in handle_dynamic()
1138 (unsigned long int) (shdr->sh_size / shdr->sh_entsize), in handle_dynamic()
1147 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in handle_dynamic()
1296 int nentries = shdr->sh_size / shdr->sh_entsize; in handle_relocs_rel()
1462 int nentries = shdr->sh_size / shdr->sh_entsize; in handle_relocs_rela()
2323 shdr->sh_size / shdr->sh_entsize), in handle_versym()
2326 (int) (shdr->sh_size / shdr->sh_entsize), in handle_versym()
2335 for (cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) in handle_versym()
2522 int nentries = shdr->sh_size / shdr->sh_entsize; in print_liblist()
/external/elfcopy/
Delfcopy.c191 shdr_info[shdridx].shdr.sh_entsize = 0; in adjust_elf()
745 FAILIF(shdr_info[cnt].shdr.sh_entsize != sizeof (Elf32_Word), in adjust_elf()
973 shdr_info[i].shdr.sh_entsize, in adjust_elf()
986 shdr_info[i].shdr.sh_entsize); in adjust_elf()
1326 relsect_info->old_shdr.sh_size / relsect_info->old_shdr.sh_entsize; in update_relocations_section_symbol_references()
1328 relsect_info->shdr.sh_size / relsect_info->shdr.sh_entsize; in update_relocations_section_symbol_references()
1337 d->d_size = old_nrels * relsect_info->shdr.sh_entsize; in update_relocations_section_symbol_references()
1404 relsect_info->shdr.sh_entsize * newidx, in update_relocations_section_symbol_references()
1409 relsect_info->shdr.sh_entsize * newidx; in update_relocations_section_symbol_references()
1420 d->d_size = new_nrels * relsect_info->shdr.sh_entsize; in update_relocations_section_symbol_references()
[all …]
/external/elfutils/libasm/
Dasm_end.c142 assert (shdr->sh_entsize == 0); in binary_end()
221 shdr->sh_entsize = sizeof (Elf32_Word); in binary_end()
265 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT); in binary_end()
289 assert (shdr->sh_entsize == 0); in binary_end()
/external/kernel-headers/original/linux/
Delf.h279 Elf32_Word sh_entsize; member
292 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
/external/qemu/elff/
Delf.h240 Elf_Word sh_entsize; member
/external/chromium/base/third_party/symbolize/
Dsymbolize.cc268 const int num_symbols = symtab->sh_size / symtab->sh_entsize; in FindSymbol()
270 off_t offset = symtab->sh_offset + i * symtab->sh_entsize; in FindSymbol()
/external/grub/stage2/
Di386-elf.h114 Elf32_Word sh_entsize; /* Entry size if section holds table */ member
/external/libvpx/build/make/
Dobj_int_extract.c297 ENDIAN_ASSIGN_IN_PLACE(hdr->sh_entsize); in parse_elf32_section()
379 ofst += shdr.sh_entsize) in parse_elf32()
/external/qemu/
Delf.h1065 Elf32_Word sh_entsize; member
1078 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
Delf_ops.h41 bswapSZs(&shdr->sh_entsize); in glue()

12