/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | gelf_shdr.c | 80 d->sh_entsize = (Elf64_Xword) sh32->sh_entsize; 127 LIBELF_COPY_U32(sh32, s, sh_entsize);
|
H A D | elf_update.c | 122 uint64_t sh_align, sh_entsize, sh_offset, sh_size; local 131 sh_entsize = (uint64_t) shdr32->sh_entsize; 137 sh_entsize = shdr64->sh_entsize; 303 * 'sh_entsize' field set to zero. 305 if (sh_entsize == 0 && 306 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version, 308 sh_entsize = 0; 324 shdr32->sh_entsize [all...] |
/freebsd-current/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 175 dst->sh_entsize = src->sh_entsize; 404 ctfsect.cts_entsize = shp->sh_entsize; 412 symsect.cts_entsize = shp->sh_entsize; 419 strsect.cts_entsize = lhp->sh_entsize;
|
/freebsd-current/usr.bin/gprof/ |
H A D | elf.c | 95 symtabct = sh_symtab->sh_size / sh_symtab->sh_entsize;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 169 elf_xword sh_entsize; ///< Byte size of each section entry. member in struct:elf::ELFSectionHeader
|
H A D | ObjectFileELF.cpp | 880 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize(); 888 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize(); 2379 size_t num_symbols = symtab_data.GetByteSize() / symtab_hdr->sh_entsize; 2459 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; 2465 ? llvm::alignTo(plt_hdr->sh_entsize, plt_hdr->sh_addralign) 2466 : plt_hdr->sh_entsize; 2468 // Some linkers e.g ld for arm, fill plt_hdr->sh_entsize field incorrectly. 2473 // The linker haven't set the plt_hdr->sh_entsize field. Try to guess the 2503 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; 2526 lldb::offset_t symbol_offset = reloc_symbol(rel) * sym_hdr->sh_entsize; [all...] |
/freebsd-current/sys/sys/ |
H A D | elf64.h | 108 Elf64_Xword sh_entsize; /* Size of each entry in section. */ member in struct:__anon6082
|
H A D | elf32.h | 99 Elf32_Word sh_entsize; /* Size of each entry in section. */ member in struct:__anon6064
|
/freebsd-current/contrib/file/src/ |
H A D | readelf.h | 216 Elf32_Word sh_entsize; member in struct:__anon681 229 Elf64_Off sh_entsize; member in struct:__anon682
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 160 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base 175 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base 180 using Elf_Shdr_Base<ELFT>::sh_entsize; 185 if (sh_entsize == 0) 187 return sh_size / sh_entsize;
|
H A D | ELF.h | 568 if (Sec.sh_entsize != sizeof(T) && sizeof(T) != 1) 570 " has invalid sh_entsize: expected " + Twine(sizeof(T)) + 571 ", but got " + Twine(Sec.sh_entsize)); 579 ") which is not a multiple of its sh_entsize (" + 580 Twine(Sec.sh_entsize) + ")"); 783 if (Sec.sh_size % Sec.sh_entsize != 0) { 786 Twine(Sec.sh_size) + ") % sh_entsize (" + 787 Twine(Sec.sh_entsize) + ") that is not 0"); 789 return Sec.sh_size / Sec.sh_entsize;
|
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 355 nent = shdr.sh_size / shdr.sh_entsize; 616 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) { 617 int nsym = shdr.sh_size / shdr.sh_entsize;
|
H A D | input.c | 363 si->si_nument = si->si_shdr.sh_size / si->si_shdr.sh_entsize;
|
/freebsd-current/sys/dev/ksyms/ |
H A D | ksyms.c | 333 hdr->kh_shdr[SHDR_SYMTAB].sh_entsize = sizeof(Elf_Sym); 346 hdr->kh_shdr[SHDR_STRTAB].sh_entsize = 0; 360 hdr->kh_shdr[SHDR_SHSTRTAB].sh_entsize = 0;
|
/freebsd-current/contrib/elftoolchain/elfcopy/ |
H A D | sections.c | 649 if (ish.sh_entsize == 0) 650 ish.sh_entsize = 4; 672 n = ish.sh_size / ish.sh_entsize; 750 n = ish.sh_size / ish.sh_entsize; 850 n = osh.sh_size / osh.sh_entsize; 1191 osh.sh_entsize = ish.sh_entsize; 1522 sh.sh_entsize = 0;
|
H A D | symbols.c | 310 len = d->d_size / sh.sh_entsize; 489 sc = ish.sh_size / ish.sh_entsize; 1113 shy.sh_entsize = gelf_fsize(ecp->eout, ELF_T_SYM, 1, 1127 sht.sh_entsize = 0;
|
H A D | archive.c | 304 len = data->d_size / shdr.sh_entsize;
|
/freebsd-current/contrib/libexecinfo/ |
H A D | symtab.c | 127 ns = shdr.sh_size / shdr.sh_entsize;
|
/freebsd-current/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | sym.c | 201 nsyms = shdr.sh_size / shdr.sh_entsize;
|
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 565 shp->sh_entsize = sizeof (Elf32_Sym); 587 shp->sh_entsize = sizeof (de.de_rel[0]); 722 shp->sh_entsize = sizeof (Elf64_Sym); 744 shp->sh_entsize = sizeof (de.de_rel[0]); 1367 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) { 1520 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) {
|
/freebsd-current/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 298 StrTab.Shdr.sh_entsize = 0; 314 SymTab.Shdr.sh_entsize = sizeof(Elf_Sym); 327 DynTab.Shdr.sh_entsize = sizeof(Elf_Dyn);
|
/freebsd-current/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFEmitter.cpp | 809 SHeader.sh_entsize = *Sec->EntSize; 811 SHeader.sh_entsize = ELFYAML::getDefaultShEntSize<ELFT>( 1337 SHeader.sh_size = Shndx.Entries->size() * SHeader.sh_entsize; 1362 SHeader.sh_size = SHeader.sh_entsize * Section.Members->size(); 1374 SHeader.sh_size = Section.Entries->size() * SHeader.sh_entsize; 1685 SHeader.sh_size = SHeader.sh_entsize;
|
/freebsd-current/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 394 nsyms = xewtoh(symtabshdr->sh_size) / xewtoh(symtabshdr->sh_entsize);
|
/freebsd-current/lib/libpmcstat/ |
H A D | libpmcstat_image.c | 78 nshsyms = sh->sh_size / sh->sh_entsize;
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 1016 Elf32_Word sh_entsize; // Size of records contained within the section member in struct:llvm::ELF::Elf32_Shdr 1030 Elf64_Xword sh_entsize; member in struct:llvm::ELF::Elf64_Shdr
|