Home
last modified time | relevance | path

Searched refs:e_shentsize (Results 1 – 25 of 44) sorted by relevance

12

/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c323 eh->e_shentsize = (Half)elf_fsize(ELF_T_SHDR, 1, ver); in _elf_upd_lib()
324 hi += eh->e_shentsize * scncnt; in _elf_upd_lib()
327 eh->e_shentsize = 0; in _elf_upd_lib()
430 eh->e_shentsize = (Half)elf_fsize(ELF_T_SHDR, 1, ver); in _elf_upd_usr()
440 eh->e_shentsize = 0; in _elf_upd_usr()
443 if ((sz = eh->e_shoff + eh->e_shentsize * scncnt) > hi) in _elf_upd_usr()
677 dst.d_size = eh->e_shentsize; in wrt()
689 dst.d_buf = (char *)dst.d_buf + eh->e_shentsize; in wrt()
H A Dgelf.c113 dst->e_shentsize = e->e_shentsize; in gelf_getehdr()
175 d->e_shentsize = src->e_shentsize; in gelf_update_ehdr()
/titanic_50/usr/src/grub/grub-0.97/netboot/
H A Delf.h177 Elf32_Half e_shentsize; /* Size of section header entry. */ member
194 Elf64_Half e_shentsize; /* Size of section header entry. */ member
/titanic_50/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c89 ehdr->e_shentsize); in Elf_ehdr()
93 ehdr->e_shentsize, ehdr->e_shnum); in Elf_ehdr()
/titanic_50/usr/src/cmd/sgs/prof/common/
H A DsymintOpen.c213 pfile_p->pf_shdarr_p = _Malloc(pfile_p->pf_elfhd_p->e_shentsize, in _symintOpen()
222 int shdsize = pfile_p->pf_elfhd_p->e_shentsize; in _symintOpen()
/titanic_50/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c284 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations()
307 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
H A Dkobj_isa.c96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
/titanic_50/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c870 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in init_xen_module()
876 shp = (Shdr *)(mp->shdrs + mp->hdr.e_shstrndx * mp->hdr.e_shentsize); in init_xen_module()
888 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in init_xen_module()
953 (mp->shdrs + mp->symhdr->sh_link * mp->hdr.e_shentsize); in init_xen_module()
994 kmem_free(mp->shdrs, mp->hdr.e_shentsize * mp->hdr.e_shnum); in init_xen_module()
/titanic_50/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c290 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations()
313 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
H A Dkobj_isa.c96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
/titanic_50/usr/src/uts/common/krtld/
H A Dkobj.c914 shsize = mp->hdr.e_shentsize * mp->hdr.e_shnum; in load_linker()
919 shp = (Shdr *)(mp->shdrs + (i * mp->hdr.e_shentsize)); in load_linker()
938 (mp->shdrs + mp->symhdr->sh_link * mp->hdr.e_shentsize); in load_linker()
1243 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in bind_primary()
1618 shp = (Shdr *)(omp->shdrs + shn * omp->hdr.e_shentsize); in kobj_export_ksyms()
1629 kobj_free(omp->shdrs, omp->hdr.e_shentsize * omp->hdr.e_shnum); in kobj_export_ksyms()
1760 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in do_dynamic()
1785 dstrp = (Shdr *)(mp->shdrs + dshp->sh_link * mp->hdr.e_shentsize); in do_dynamic()
1957 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in kobj_load_module()
2222 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in free_module_data()
[all …]
/titanic_50/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c349 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations()
371 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
H A Dkobj_isa.c112 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
/titanic_50/usr/src/lib/libm/common/m9x/
H A D__fex_sym.c124 h.e_shentsize != sizeof(Elf_Shdr)) in __fex_read_syms()
149 size = h.e_shnum * h.e_shentsize; in __fex_read_syms()
/titanic_50/usr/src/psm/stand/boot/common/
H A Dreadfile.c252 elfhdr64.e_shentsize : elfhdr.e_shentsize)); in readfile()
1139 size = ehdr->e_shentsize * ehdr->e_shnum; in iload32()
1162 sp = (Elf32_Shdr *)(shdrs + (i*ehdr->e_shentsize)); in iload32()
1295 size = ehdr->e_shentsize * ehdr->e_shnum;
1324 sp = (Elf64_Shdr *)(shdrs + (i*ehdr->e_shentsize));
/titanic_50/usr/src/uts/common/exec/elf/
H A Delf.c1140 if (ehdr->e_shentsize < minsize || (ehdr->e_shentsize & 3) || in getelfshdr()
1144 *shsizep = nshdrs * ehdr->e_shentsize; in getelfshdr()
1164 shdr = (Shdr *)(*shbasep + shstrndx * ehdr->e_shentsize); in getelfshdr()
1540 off = ehdr.e_shentsize; in process_scns()
1541 for (j = 1; j < nshdrs; j++, off += ehdr.e_shentsize) { in process_scns()
1559 shdr->sh_link * ehdr.e_shentsize); in process_scns()
1625 symtab->sh_link * ehdr.e_shentsize); in process_scns()
1882 ehdr->e_shentsize = sizeof (Shdr); in elfcore()
/titanic_50/usr/src/uts/i86pc/dboot/
H A Ddboot_elfload.c180 shdr = (Elf64_Shdr *)(sechdrs + eh->e_shentsize * i); in dboot_elfload64()
/titanic_50/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h80 Elf32_Half e_shentsize; /* section header entry size */ member
/titanic_50/usr/src/uts/common/sys/
H A Delf.h81 Elf32_Half e_shentsize; /* sizeof shdr */ member
99 Elf64_Half e_shentsize; /* sizeof shdr */ member
/titanic_50/usr/src/lib/libproc/common/
H A DPcore.c1380 b->ehdr.e_shentsize = sizeof (b->shdr[0]); in fake_up_symtab()
1446 b->ehdr.e_shentsize = sizeof (b->shdr[0]); in fake_up_symtab()
1608 efp->e_hdr.e_shentsize = e64.e_shentsize; in core_elf_fdopen()
1628 efp->e_hdr.e_shentsize = e32.e_shentsize; in core_elf_fdopen()
1723 (uint64_t)efp->e_hdr.e_shnum * efp->e_hdr.e_shentsize; in core_elf_fdopen()
2091 nbytes = efp->e_hdr.e_shnum * efp->e_hdr.e_shentsize; in core_load_shdrs()
2107 void *p = (uchar_t *)buf + efp->e_hdr.e_shentsize * i; in core_load_shdrs()
H A DPcontrol.h184 Elf64_Half e_shentsize; member
H A DPsymtab_machelf32.c459 ep->e_shentsize = sizeof (Shdr); in fake_elf64()
470 off = ep->e_shoff + ep->e_shentsize * ep->e_shnum; in fake_elf64()
/titanic_50/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c523 EC_WORD(ehdr->e_shentsize)); in print_ehdr()
1047 if (ehdr->e_shentsize == shentsize) { in cmd_body()
1050 EC_WORD(ehdr->e_shentsize)); in cmd_body()
1054 EC_WORD(ehdr->e_shentsize), in cmd_body()
1057 ehdr->e_shentsize = shentsize; in cmd_body()
H A Dehdr.msg385 header table. This information is found in the e_shentsize\n\
388 If ehdr:e_shentsize is called without an argument, the value of\n\
389 e_shentsize is shown. If called with the value argument, the\n\
390 e_shentsize field is updated with the new value.\n\
392 Note: Changing the e_shentsize field of the ELF header does\n\
634 @ MSG_CMD_E_SHENTSIZE "e_shentsize"
/titanic_50/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c620 ehdr.e_shentsize = sizeof (Elf64_Shdr); in objfs_data_read()
626 ehdr.e_shentsize = sizeof (Elf32_Shdr); in objfs_data_read()

12