Searched refs:sh_entsize (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c80 d->sh_entsize = (Elf64_Xword) sh32->sh_entsize;
127 LIBELF_COPY_U32(sh32, s, sh_entsize);
H A Delf_update.c122 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-11-stable/contrib/binutils/include/elf/
H A Dexternal.h110 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member in struct:__anon505
123 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member in struct:__anon506
H A Dinternal.h84 bfd_size_type sh_entsize; /* Entry size if section holds table */ member in struct:elf_internal_shdr
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c174 dst->sh_entsize = src->sh_entsize;
402 ctfsect.cts_entsize = shp->sh_entsize;
410 symsect.cts_entsize = shp->sh_entsize;
417 strsect.cts_entsize = lhp->sh_entsize;
/freebsd-11-stable/usr.bin/gprof/
H A Delf.c99 symtabct = sh_symtab->sh_size / sh_symtab->sh_entsize;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp454 SHeader.sh_entsize = *Sec->EntSize;
468 SHeader.sh_entsize = 0;
624 SHeader.sh_entsize = (YAMLSec && YAMLSec->EntSize)
665 SHeader.sh_entsize = *YAMLSec->EntSize;
778 SHeader.sh_entsize = *Section.EntSize;
799 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel);
800 SHeader.sh_size = SHeader.sh_entsize * Section.Relocations.size();
838 SHeader.sh_entsize =
869 SHeader.sh_entsize = Shndx.EntSize ? (uint64_t)*Shndx.EntSize : 4;
870 SHeader.sh_size = Shndx.Entries.size() * SHeader.sh_entsize;
[all...]
/freebsd-11-stable/contrib/libexecinfo/
H A Dsymtab.c118 ns = shdr.sh_size / shdr.sh_entsize;
/freebsd-11-stable/sys/sys/
H A Delf64.h108 Elf64_Xword sh_entsize; /* Size of each entry in section. */ member in struct:__anon8485
H A Delf32.h99 Elf32_Word sh_entsize; /* Size of each entry in section. */ member in struct:__anon8467
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h169 elf_xword sh_entsize; ///< Byte size of each section entry. member in struct:elf::ELFSectionHeader
/freebsd-11-stable/contrib/file/src/
H A Dreadelf.h216 Elf32_Word sh_entsize; member in struct:__anon38
229 Elf64_Off sh_entsize; member in struct:__anon39
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h393 if (Sec->sh_entsize != sizeof(T) && sizeof(T) != 1)
395 " has an invalid sh_entsize: " + Twine(Sec->sh_entsize));
403 ") which is not a multiple of its sh_entsize (" +
404 Twine(Sec->sh_entsize) + ")");
572 if (sizeof(T) != Section->sh_entsize)
574 " has invalid sh_entsize: expected " + Twine(sizeof(T)) +
575 ", but got " + Twine(Section->sh_entsize));
H A DELFTypes.h131 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-11-stable/contrib/binutils/bfd/
H A Delf64-sparc.c78 entsize = rel_hdr->sh_entsize;
329 rela_hdr->sh_size = rela_hdr->sh_entsize * count;
727 elf_section_data (sec)->this_hdr.sh_entsize = 12;
H A Delf.c517 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \
835 newsect->entsize = hdr->sh_entsize;
1916 if (hdr->sh_entsize != bed->s->sizeof_sym)
1968 if (hdr->sh_entsize != bed->s->sizeof_sym)
2053 if (hdr->sh_entsize
2158 if (hdr->sh_entsize != sizeof (Elf_External_Versym))
2750 rel_hdr->sh_entsize = (use_rela_p
2801 /* The sh_entsize and sh_info fields may have been set already by
2836 this_hdr->sh_entsize = bed->s->sizeof_hash_entry;
2840 this_hdr->sh_entsize
[all...]
H A Delfcode.h312 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize);
335 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize);
955 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count;
1378 entsize = rel_hdr->sh_entsize;
1540 fprintf (stderr, "sh_entsize = %ld\n",
1541 (long) hdr->sh_entsize);
H A Delf64-mips.c2396 count = s->size / elf_section_data (s)->this_hdr.sh_entsize * 3;
2440 entsize = rel_hdr->sh_entsize;
2715 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel))
2717 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela))
2734 rel_hdr->sh_size = rel_hdr->sh_entsize * *count;
2832 rela_hdr->sh_size = rela_hdr->sh_entsize * *count;
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c355 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 Dinput.c363 si->si_nument = si->si_shdr.sh_size / si->si_shdr.sh_entsize;
/freebsd-11-stable/sys/dev/ksyms/
H A Dksyms.c323 hdr->kh_shdr[SHDR_SYMTAB].sh_entsize = sizeof(Elf_Sym);
336 hdr->kh_shdr[SHDR_STRTAB].sh_entsize = 0;
350 hdr->kh_shdr[SHDR_SHSTRTAB].sh_entsize = 0;
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dsections.c649 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;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c200 nsyms = shdr->sh_size / shdr->sh_entsize;
/freebsd-11-stable/contrib/binutils/binutils/
H A Dreadelf.c3663 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize);
3700 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize);
3741 number = section->sh_size / section->sh_entsize;
3804 number = section->sh_size / section->sh_entsize;
4104 if (section->sh_entsize != expected_entsize) \
4105 error (_("Section %d has invalid sh_entsize %lx (expected %lx)\n"), \
4106 i, (unsigned long int) section->sh_entsize, \
4108 section->sh_entsize
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c583 shp->sh_entsize = sizeof (Elf32_Sym);
609 shp->sh_entsize = sizeof (de.de_rel[0]);
729 shp->sh_entsize = sizeof (Elf64_Sym);
751 shp->sh_entsize = sizeof (de.de_rel[0]);
1368 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) {
1500 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) {

Completed in 396 milliseconds

123