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

123

/freebsd-10-stable/lib/libelf/
H A Dgelf_shdr.c81 d->sh_entsize = (Elf64_Xword) sh32->sh_entsize;
128 LIBELF_COPY_U32(sh32, s, sh_entsize);
H A Delf_update.c95 uint64_t sh_align, sh_entsize, sh_offset, sh_size; local
105 sh_entsize = (uint64_t) shdr32->sh_entsize;
111 sh_entsize = shdr64->sh_entsize;
243 * 'sh_entsize' field set to zero.
245 if (sh_entsize == 0 &&
246 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version,
248 sh_entsize = 0;
264 shdr32->sh_entsize
[all...]
H A Delf_types.m4211 `sh_entsize, WORD',
224 `sh_entsize, XWORD',
/freebsd-10-stable/contrib/binutils/include/elf/
H A Dexternal.h110 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member in struct:__anon513
123 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member in struct:__anon514
H A Dinternal.h84 bfd_size_type sh_entsize; /* Entry size if section holds table */ member in struct:elf_internal_shdr
/freebsd-10-stable/contrib/llvm/include/llvm/Object/
H A DELF.h353 return Elf_Rela_Iter(sec->sh_entsize,
359 sec->sh_entsize,
364 return Elf_Rel_Iter(sec->sh_entsize,
369 return Elf_Rel_Iter(sec->sh_entsize,
666 DynSymRegion.EntSize = SecI->sh_entsize;
670 DynStrRegion.EntSize = DynStr->sh_entsize;
679 DynamicRegion.EntSize = SecI->sh_entsize;
743 assert(SymOffset % dot_symtab_sec->sh_entsize == 0 &&
745 return SymOffset / dot_symtab_sec->sh_entsize;
765 return Elf_Sym_Iter(dot_symtab_sec->sh_entsize,
[all...]
H A DELFTypes.h121 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
136 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
141 using Elf_Shdr_Base<ELFT>::sh_entsize;
146 if (sh_entsize == 0)
148 return sh_size / sh_entsize;
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c174 dst->sh_entsize = src->sh_entsize;
401 ctfsect.cts_entsize = shp->sh_entsize;
409 symsect.cts_entsize = shp->sh_entsize;
416 strsect.cts_entsize = lhp->sh_entsize;
/freebsd-10-stable/usr.bin/gprof/
H A Delf.c99 symtabct = sh_symtab->sh_size / sh_symtab->sh_entsize;
/freebsd-10-stable/contrib/file/src/
H A Dreadelf.h216 Elf32_Word sh_entsize; member in struct:__anon140
229 Elf64_Off sh_entsize; member in struct:__anon141
/freebsd-10-stable/contrib/libexecinfo/
H A Dsymtab.c118 ns = shdr.sh_size / shdr.sh_entsize;
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h164 elf_xword sh_entsize; ///< Byte size of each section entry. member in struct:elf::ELFSectionHeader
H A DObjectFileELF.cpp628 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize();
633 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize();
1293 size_t num_symbols = symtab_data.GetByteSize() / symtab_hdr->sh_entsize;
1393 llvm::RoundUpToAlignment (plt_hdr->sh_entsize, plt_hdr->sh_addralign) : plt_hdr->sh_entsize;
1394 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize;
1421 lldb::offset_t symbol_offset = reloc_symbol(rel) * sym_hdr->sh_entsize;
1856 s->Printf(" %8.8" PRIx64 " %8.8" PRIx64, sh.sh_addralign, sh.sh_entsize);
/freebsd-10-stable/sys/sys/
H A Delf64.h108 Elf64_Xword sh_entsize; /* Size of each entry in section. */ member in struct:__anon31
H A Delf32.h99 Elf32_Word sh_entsize; /* Size of each entry in section. */ member in struct:__anon14
/freebsd-10-stable/sys/xen/interface/
H A Delfstructs.h201 Elf32_Word sh_entsize; /* section entry size */ member in struct:__anon11685
214 Elf64_Xword sh_entsize; /* table entry size */ member in struct:__anon11686
/freebsd-10-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-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c357 nent = shdr.sh_size / shdr.sh_entsize;
620 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) {
621 int nsym = shdr.sh_size / shdr.sh_entsize;
/freebsd-10-stable/sys/dev/ksyms/
H A Dksyms.c305 hdr->kh_shdr[SHDR_SYMTAB].sh_entsize = sizeof(Elf_Sym);
318 hdr->kh_shdr[SHDR_STRTAB].sh_entsize = 0;
332 hdr->kh_shdr[SHDR_SHSTRTAB].sh_entsize = 0;
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c215 nsyms = shdr->sh_size / shdr->sh_entsize;
/freebsd-10-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-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c588 shp->sh_entsize = sizeof (Elf32_Sym);
614 shp->sh_entsize = sizeof (de.de_rel[0]);
736 shp->sh_entsize = sizeof (Elf64_Sym);
758 shp->sh_entsize = sizeof (de.de_rel[0]);
1361 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) {
1493 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) {

Completed in 197 milliseconds

123