Home
last modified time | relevance | path

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

12

/external/elfutils/libelf/
Delf32_updatenull.c220 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 …]
Dgelf_update_shdr.c89 || unlikely (src->sh_entsize > 0xffffffffull)) in gelf_update_shdr()
106 COPY (sh_entsize); in gelf_update_shdr()
Delf32_getshdr.c147 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); in ElfW2()
192 CONVERT (shdr[cnt].sh_entsize); in ElfW2()
Dgelf_getshdr.c102 COPY (sh_entsize);
/external/elfutils/tests/
Dupdate4.c144 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()
Dsectiondump.c120 shdr->sh_entsize); in handle_section()
/external/elfutils/backends/
Dalpha_symbol.c102 && 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()
Dsparc_symbol.c90 && 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()
Dppc_symbol.c95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j) in find_dyn_got()
/external/elfutils/src/
Delflint.c616 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 …]
Dunstrip.c402 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 …]
Delfcmp.c269 || 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()
Dfindtextrel.c281 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()
Di386_ld.c108 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/
Dasm_end.c153 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()
Ddisasm_cb.c93 int nsyms = shdr->sh_size / shdr->sh_entsize; in read_symtab_exec()
/external/llvm/include/llvm/Object/
DELF.h144 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/
Dobj_int_extract.c300 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/
Dtypes_elf.h69 Elf32_Word sh_entsize; member
Ddisassembler_elf_32_x86.cc92 section_header->sh_entsize; in ParseRelocationSection()
/external/qemu/elff/
Delff_elf.h238 Elf_Word sh_entsize; member
/external/llvm/test/MC/ELF/
Dentsize.ll3 ; Test that constant mergeable strings have sh_entsize set.
/external/grub/stage2/
Di386-elf.h114 Elf32_Word sh_entsize; /* Entry size if section holds table */ member
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp223 SHeader.sh_entsize = sizeof(Elf_Sym); in handleSymtabSectionHeader()
336 SHeader.sh_entsize = 0; in writeELF()
/external/chromium_org/base/third_party/symbolize/
Dsymbolize.cc272 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()

12