/freebsd-13-stable/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-13-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 175 dst->sh_entsize = src->sh_entsize; 403 ctfsect.cts_entsize = shp->sh_entsize; 411 symsect.cts_entsize = shp->sh_entsize; 418 strsect.cts_entsize = lhp->sh_entsize;
|
/freebsd-13-stable/usr.bin/gprof/ |
H A D | elf.c | 101 symtabct = sh_symtab->sh_size / sh_symtab->sh_entsize;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFEmitter.cpp | 680 SHeader.sh_entsize = *Sec->EntSize; 874 SHeader.sh_entsize = (YAMLSec && YAMLSec->EntSize) 919 SHeader.sh_entsize = *YAMLSec->EntSize; 1017 SHeader.sh_entsize = *YAMLSec->EntSize; 1019 SHeader.sh_entsize = 1; 1142 SHeader.sh_entsize = 0; 1159 SHeader.sh_entsize = *Section.EntSize; 1181 SHeader.sh_entsize = *Section.EntSize; 1183 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); 1221 SHeader.sh_entsize [all...] |
/freebsd-13-stable/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 | 831 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize(); 839 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize(); 2307 size_t num_symbols = symtab_data.GetByteSize() / symtab_hdr->sh_entsize; 2387 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; 2393 ? llvm::alignTo(plt_hdr->sh_entsize, plt_hdr->sh_addralign) 2394 : plt_hdr->sh_entsize; 2396 // Some linkers e.g ld for arm, fill plt_hdr->sh_entsize field incorrectly. 2401 // The linker haven't set the plt_hdr->sh_entsize field. Try to guess the 2431 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; 2454 lldb::offset_t symbol_offset = reloc_symbol(rel) * sym_hdr->sh_entsize; [all...] |
/freebsd-13-stable/sys/sys/ |
H A D | elf32.h | 101 Elf32_Word sh_entsize; /* Size of each entry in section. */ member in struct:__anon15801
|
H A D | elf64.h | 110 Elf64_Xword sh_entsize; /* Size of each entry in section. */ member in struct:__anon15819
|
/freebsd-13-stable/contrib/file/src/ |
H A D | readelf.h | 216 Elf32_Word sh_entsize; member in struct:__anon757 229 Elf64_Off sh_entsize; member in struct:__anon758
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELF.h | 407 if (Sec->sh_entsize != sizeof(T) && sizeof(T) != 1) 409 " has an invalid sh_entsize: " + Twine(Sec->sh_entsize)); 417 ") which is not a multiple of its sh_entsize (" + 418 Twine(Sec->sh_entsize) + ")"); 615 if (sizeof(T) != Section->sh_entsize) 617 " has invalid sh_entsize: expected " + Twine(sizeof(T)) + 618 ", but got " + Twine(Section->sh_entsize));
|
H A D | ELFTypes.h | 131 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base 146 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base 151 using Elf_Shdr_Base<ELFT>::sh_entsize; 156 if (sh_entsize == 0) 158 return sh_size / sh_entsize;
|
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 355 nent = shdr.sh_size / shdr.sh_entsize; 618 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) { 619 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-13-stable/sys/dev/ksyms/ |
H A D | ksyms.c | 335 hdr->kh_shdr[SHDR_SYMTAB].sh_entsize = sizeof(Elf_Sym); 348 hdr->kh_shdr[SHDR_STRTAB].sh_entsize = 0; 362 hdr->kh_shdr[SHDR_SHSTRTAB].sh_entsize = 0;
|
/freebsd-13-stable/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;
|
/freebsd-13-stable/contrib/libexecinfo/ |
H A D | symtab.c | 127 ns = shdr.sh_size / shdr.sh_entsize;
|
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | sym.c | 206 nsyms = shdr->sh_size / shdr->sh_entsize;
|
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 555 shp->sh_entsize = sizeof (Elf32_Sym); 577 shp->sh_entsize = sizeof (de.de_rel[0]); 698 shp->sh_entsize = sizeof (Elf64_Sym); 720 shp->sh_entsize = sizeof (de.de_rel[0]); 1296 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) { 1449 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) {
|
/freebsd-13-stable/lib/libpmcstat/ |
H A D | libpmcstat_image.c | 80 nshsyms = sh->sh_size / sh->sh_entsize;
|
/freebsd-13-stable/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 396 nsyms = xewtoh(symtabshdr->sh_size) / xewtoh(symtabshdr->sh_entsize);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 793 Elf32_Word sh_entsize; // Size of records contained within the section member in struct:llvm::ELF::Elf32_Shdr 807 Elf64_Xword sh_entsize; member in struct:llvm::ELF::Elf64_Shdr
|
/freebsd-13-stable/contrib/llvm-project/lld/ELF/ |
H A D | OutputSections.cpp | 57 shdr->sh_entsize = entsize; 151 // If this section contains a table of fixed-size entries, sh_entsize 153 // set sh_entsize to 0.
|
/freebsd-13-stable/lib/libproc/ |
H A D | proc_sym.c | 181 nsyms = shdr.sh_size / shdr.sh_entsize;
|