Home
last modified time | relevance | path

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

123

/NextBSD/contrib/elftoolchain/libelf/
HDgelf_shdr.c80 d->sh_entsize = (Elf64_Xword) sh32->sh_entsize; in gelf_getshdr()
127 LIBELF_COPY_U32(sh32, s, sh_entsize); in gelf_update_shdr()
HDelf_update.c122 uint64_t sh_align, sh_entsize, sh_offset, sh_size; in _libelf_compute_section_extents() local
131 sh_entsize = (uint64_t) shdr32->sh_entsize; in _libelf_compute_section_extents()
137 sh_entsize = shdr64->sh_entsize; in _libelf_compute_section_extents()
299 if (sh_entsize == 0 && in _libelf_compute_section_extents()
300 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version, in _libelf_compute_section_extents()
302 sh_entsize = 0; in _libelf_compute_section_extents()
318 shdr32->sh_entsize = (uint32_t) sh_entsize; in _libelf_compute_section_extents()
323 shdr64->sh_entsize = sh_entsize; in _libelf_compute_section_extents()
HDelf_types.m4205 `sh_entsize, WORD',
218 `sh_entsize, XWORD',
/NextBSD/cddl/contrib/opensolaris/lib/libctf/common/
HDctf_lib.c174 dst->sh_entsize = src->sh_entsize; in shdr_to_gelf()
401 ctfsect.cts_entsize = shp->sh_entsize; in ctf_fdopen()
409 symsect.cts_entsize = shp->sh_entsize; in ctf_fdopen()
416 strsect.cts_entsize = lhp->sh_entsize; in ctf_fdopen()
/NextBSD/contrib/binutils/include/elf/
HDexternal.h110 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
123 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
HDinternal.h84 bfd_size_type sh_entsize; /* Entry size if section holds table */ member
/NextBSD/contrib/llvm/include/llvm/Object/
HDELFTypes.h107 Elf_Word sh_entsize; // Size of records contained within the section
122 Elf_Xword sh_entsize; // Size of records contained within the section
127 using Elf_Shdr_Base<ELFT>::sh_entsize;
132 if (sh_entsize == 0)
134 return sh_size / sh_entsize;
HDELF.h299 if (DotDynSymSec->sh_entsize != sizeof(Elf_Sym)) in dynamic_symbol_begin()
331 return Elf_Rela_Iter(sec->sh_entsize, in rela_begin()
337 sec->sh_entsize, in rela_end()
342 return Elf_Rel_Iter(sec->sh_entsize, in rel_begin()
347 return Elf_Rel_Iter(sec->sh_entsize, in rel_end()
671 DynamicRegion.EntSize = Sec.sh_entsize; in ELFFile()
809 if (dot_symtab_sec->sh_entsize != sizeof(Elf_Sym)) in symbol_begin()
880 (Entry * Section->sh_entsize)); in getEntry()
/NextBSD/contrib/file/src/
HDreadelf.h180 Elf32_Word sh_entsize; member
193 Elf64_Off sh_entsize; member
/NextBSD/contrib/elftoolchain/elfcopy/
HDsections.c619 if (ish.sh_entsize == 0) in update_section_group()
620 ish.sh_entsize = 4; in update_section_group()
642 n = ish.sh_size / ish.sh_entsize; in update_section_group()
722 n = ish.sh_size / ish.sh_entsize; in filter_reloc()
805 n = osh.sh_size / osh.sh_entsize; in update_reloc()
1096 osh.sh_entsize = ish.sh_entsize; in copy_shdr()
1374 sh.sh_entsize = 0; in set_shstrtab()
HDsymbols.c290 len = d->d_size / sh.sh_entsize; in mark_reloc_symbols()
469 sc = ish.sh_size / ish.sh_entsize; in generate_symbols()
1076 shy.sh_entsize = gelf_fsize(ecp->eout, ELF_T_SYM, 1, in create_symtab_data()
1090 sht.sh_entsize = 0; in create_symtab_data()
/NextBSD/sys/dev/ksyms/
HDksyms.c308 hdr->kh_shdr[SHDR_SYMTAB].sh_entsize = sizeof(Elf_Sym); in ksyms_snapshot()
321 hdr->kh_shdr[SHDR_STRTAB].sh_entsize = 0; in ksyms_snapshot()
335 hdr->kh_shdr[SHDR_SHSTRTAB].sh_entsize = 0; in ksyms_snapshot()
/NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/
HDoutput.c355 nent = shdr.sh_size / shdr.sh_entsize; in sort_iidescs()
618 if (shdr.sh_type == symtab_type && shdr.sh_entsize != 0) { in write_file()
619 int nsym = shdr.sh_size / shdr.sh_entsize; in write_file()
/NextBSD/usr.bin/gprof/
HDelf.c99 symtabct = sh_symtab->sh_size / sh_symtab->sh_entsize; in elf_getnfile()
/NextBSD/contrib/binutils/binutils/
HDreadelf.c3660 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_32bit_section_headers()
3697 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_64bit_section_headers()
3738 number = section->sh_size / section->sh_entsize; in get_32bit_elf_symbols()
3801 number = section->sh_size / section->sh_entsize; in get_64bit_elf_symbols()
4101 if (section->sh_entsize != expected_entsize) \ in process_section_headers()
4103 i, (unsigned long int) section->sh_entsize, \ in process_section_headers()
4105 section->sh_entsize = expected_entsize; \ in process_section_headers()
4127 num_dynamic_syms = section->sh_size / section->sh_entsize; in process_section_headers()
4264 (unsigned long) section->sh_entsize); in process_section_headers()
4296 if ((unsigned long) section->sh_entsize == section->sh_entsize) in process_section_headers()
[all …]
/NextBSD/contrib/binutils/bfd/
HDelfcode.h311 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in()
334 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out()
952 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()
1375 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section()
1538 (long) hdr->sh_entsize); in elf_debug_section()
HDelf64-sparc.c78 entsize = rel_hdr->sh_entsize; in elf64_sparc_slurp_one_reloc_table()
329 rela_hdr->sh_size = rela_hdr->sh_entsize * count; in elf64_sparc_write_relocs()
725 elf_section_data (sec)->this_hdr.sh_entsize = 12; in elf64_sparc_fake_sections()
HDelf.c517 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ in setup_group()
835 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr()
1911 if (hdr->sh_entsize != bed->s->sizeof_sym) in bfd_section_from_shdr()
1963 if (hdr->sh_entsize != bed->s->sizeof_sym) in bfd_section_from_shdr()
2048 if (hdr->sh_entsize in bfd_section_from_shdr()
2153 if (hdr->sh_entsize != sizeof (Elf_External_Versym)) in bfd_section_from_shdr()
2745 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr()
2831 this_hdr->sh_entsize = bed->s->sizeof_hash_entry; in elf_fake_sections()
2835 this_hdr->sh_entsize = bed->s->sizeof_sym; in elf_fake_sections()
2839 this_hdr->sh_entsize = bed->s->sizeof_dyn; in elf_fake_sections()
[all …]
HDelf64-mips.c2391 count = s->size / elf_section_data (s)->this_hdr.sh_entsize * 3; in mips_elf64_canonicalize_dynamic_reloc()
2435 entsize = rel_hdr->sh_entsize; in mips_elf64_slurp_one_reloc_table()
2710 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel)) in mips_elf64_write_relocs()
2712 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela)) in mips_elf64_write_relocs()
2729 rel_hdr->sh_size = rel_hdr->sh_entsize * *count; in mips_elf64_write_rel()
2827 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
HDObjectFileELF.cpp1076 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize(); in GetImageInfoAddress()
1081 addr_t offset = i * dynsym_hdr->sh_entsize + GetAddressByteSize(); in GetImageInfoAddress()
2148 size_t num_symbols = symtab_data.GetByteSize() / symtab_hdr->sh_entsize; in ParseSymbolTable()
2234 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; in GetPltEntrySizeAndOffset()
2239 llvm::RoundUpToAlignment (plt_hdr->sh_entsize, plt_hdr->sh_addralign) : plt_hdr->sh_entsize; in GetPltEntrySizeAndOffset()
2277 const elf_xword num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; in ParsePLTRelocations()
2304 lldb::offset_t symbol_offset = reloc_symbol(rel) * sym_hdr->sh_entsize; in ParsePLTRelocations()
2427 const unsigned num_relocations = rel_hdr->sh_size / rel_hdr->sh_entsize; in RelocateSection()
2897 s->Printf(" %8.8" PRIx64 " %8.8" PRIx64, sh.sh_addralign, sh.sh_entsize); in DumpELFSectionHeader()
HDELFHeader.h164 elf_xword sh_entsize; ///< Byte size of each section entry. member
/NextBSD/sys/sys/
HDelf32.h99 Elf32_Word sh_entsize; /* Size of each entry in section. */ member
HDelf64.h108 Elf64_Xword sh_entsize; /* Size of each entry in section. */ member
/NextBSD/contrib/libexecinfo/
HDsymtab.c118 ns = shdr.sh_size / shdr.sh_entsize; in symtab_create()
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_link.c601 shp->sh_entsize = sizeof (Elf32_Sym); in dump_elf32()
627 shp->sh_entsize = sizeof (de.de_rel[0]); in dump_elf32()
747 shp->sh_entsize = sizeof (Elf64_Sym); in dump_elf64()
769 shp->sh_entsize = sizeof (de.de_rel[0]); in dump_elf64()
1381 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) { in process_obj()
1514 for (i = 0; i < shdr_rel.sh_size / shdr_rel.sh_entsize; i++) { in process_obj()

123