/titanic_52/usr/src/cmd/sgs/libelf/common/ |
H A D | update.c | 323 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 D | gelf.c | 113 dst->e_shentsize = e->e_shentsize; in gelf_getehdr() 175 d->e_shentsize = src->e_shentsize; in gelf_update_ehdr()
|
/titanic_52/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 177 Elf32_Half e_shentsize; /* Size of section header entry. */ member 194 Elf64_Half e_shentsize; /* Size of section header entry. */ member
|
/titanic_52/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 89 ehdr->e_shentsize); in Elf_ehdr() 93 ehdr->e_shentsize, ehdr->e_shnum); in Elf_ehdr()
|
/titanic_52/usr/src/cmd/sgs/prof/common/ |
H A D | symintOpen.c | 213 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_52/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_reloc.c | 284 (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 D | kobj_isa.c | 96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
/titanic_52/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 870 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_52/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 290 (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 D | kobj_isa.c | 96 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
/titanic_52/usr/src/uts/common/krtld/ |
H A D | kobj.c | 914 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_52/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 349 (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 D | kobj_isa.c | 112 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
/titanic_52/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 124 h.e_shentsize != sizeof(Elf_Shdr)) in __fex_read_syms() 149 size = h.e_shnum * h.e_shentsize; in __fex_read_syms()
|
/titanic_52/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 252 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_52/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1132 * Since we're going to be using e_shentsize to iterate down the in getelfshdr() 1135 * sh_entsize (on both 32- and 64-bit ELF files) so e_shentsize in getelfshdr() 1140 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() [all...] |
/titanic_52/usr/src/boot/sys/boot/common/ |
H A D | load_elf_obj.c | 126 if (hdr->e_shnum * hdr->e_shentsize == 0 || hdr->e_shoff == 0 || in __elfN() 127 hdr->e_shentsize != sizeof(Elf_Shdr)) { in __elfN() 202 shdrbytes = hdr->e_shnum * hdr->e_shentsize; in __elfN()
|
/titanic_52/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 180 shdr = (Elf64_Shdr *)(sechdrs + eh->e_shentsize * i); in dboot_elfload64()
|
/titanic_52/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 80 Elf32_Half e_shentsize; /* section header entry size */ member
|
/titanic_52/usr/src/boot/sys/sys/ |
H A D | elf32.h | 67 Elf32_Half e_shentsize; /* Size of section header entry. */ member
|
H A D | elf64.h | 76 Elf64_Half e_shentsize; /* Size of section header entry. */ member
|
/titanic_52/usr/src/uts/common/sys/ |
H A D | elf.h | 81 Elf32_Half e_shentsize; /* sizeof shdr */ member 99 Elf64_Half e_shentsize; /* sizeof shdr */ member
|
/titanic_52/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1380 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 D | Pcontrol.h | 184 Elf64_Half e_shentsize; member
|
/titanic_52/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 67 EHDR_CMD_T_E_SHENTSIZE = 12, /* ehdr:e_shentsize */ 523 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() 1915 /* ehdr:e_shentsize */ in elfedit_init() 2154 /* ehdr:e_shentsize */ in elfedit_init()
|