/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | update.c | 326 eh->e_shentsize = (Half)elf_fsize(ELF_T_SHDR, 1, ver); in _elf_upd_lib() 327 hi += eh->e_shentsize * scncnt; in _elf_upd_lib() 330 eh->e_shentsize = 0; in _elf_upd_lib() 432 eh->e_shentsize = (Half)elf_fsize(ELF_T_SHDR, 1, ver); in _elf_upd_usr() 442 eh->e_shentsize = 0; in _elf_upd_usr() 445 if ((sz = eh->e_shoff + eh->e_shentsize * scncnt) > hi) in _elf_upd_usr() 678 dst.d_size = eh->e_shentsize; in wrt() 690 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()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dw_elfstructs.h | 72 TYP(e_shentsize,2); 90 TYP(e_shentsize,2);
|
H A D | dwarf_elfstructs.h | 80 TYP(e_shentsize,2); 98 TYP(e_shentsize,2);
|
/illumos-gate/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
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 850 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in init_xen_module() 856 shp = (Shdr *)(mp->shdrs + mp->hdr.e_shstrndx * mp->hdr.e_shentsize); in init_xen_module() 868 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in init_xen_module() 933 (mp->shdrs + mp->symhdr->sh_link * mp->hdr.e_shentsize); in init_xen_module() 974 kmem_free(mp->shdrs, mp->hdr.e_shentsize * mp->hdr.e_shnum); in init_xen_module()
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_reloc.c | 295 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations() 318 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
|
H A D | kobj_isa.c | 94 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits_size()
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_reloc.c | 294 (mp->shdrs + shn * mp->hdr.e_shentsize); in do_relocations() 316 (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()
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 903 shsize = mp->hdr.e_shentsize * mp->hdr.e_shnum; in load_linker() 908 shp = (Shdr *)(mp->shdrs + (i * mp->hdr.e_shentsize)); in load_linker() 1227 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in bind_primary() 1744 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in do_dynamic() 1941 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; in kobj_load_module() 2231 mp->hdr.e_shentsize * mp->hdr.e_shnum); in free_module_data() 2389 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_progbits() 2482 shp = (Shdr *)(mp->shdrs + shn * mp->hdr.e_shentsize); in get_syms() 2574 sp->st_shndx * mp->hdr.e_shentsize); in get_syms() 2654 shp = (Shdr *)(mp->shdrs + i * mp->hdr.e_shentsize); in get_ctf() [all …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 212 elfhdr64.e_shentsize : elfhdr.e_shentsize)); in readfile() 1015 size = ehdr->e_shentsize * ehdr->e_shnum; in iload32() 1038 sp = (Elf32_Shdr *)(shdrs + (i*ehdr->e_shentsize)); in iload32() 1162 size = ehdr->e_shentsize * ehdr->e_shnum; in iload64() 1186 sp = (Elf64_Shdr *)(shdrs + (i*ehdr->e_shentsize)); in iload64()
|
/illumos-gate/usr/src/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()
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 184 shdr = (Elf64_Shdr *)(sechdrs + eh->e_shentsize * i); in dboot_elfload64()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 80 Elf32_Half e_shentsize; /* section header entry size */ member
|
/illumos-gate/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
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 1244 if (ehdr->e_shentsize < MINSHDRSZ || (ehdr->e_shentsize & 3) || in getelfshdr() 1249 *shsizep = nshdrs * ehdr->e_shentsize; in getelfshdr() 1269 shdr = (Shdr *)(*shbasep + shstrndx * ehdr->e_shentsize); in getelfshdr() 1721 off = ehdr.e_shentsize; in elf_process_obj_scns() 1722 for (uint_t i = 1; i < nshdrs; i++, off += ehdr.e_shentsize) { in elf_process_obj_scns() 1738 shdr->sh_link * ehdr.e_shentsize); in elf_process_obj_scns() 1805 strchk = (Shdr *)(shbase + symchk->sh_link * ehdr.e_shentsize); in elf_process_obj_scns() 2216 ehdr->e_shentsize = sizeof (Shdr); in elfcore()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1499 b->ehdr.e_shentsize = sizeof (b->shdr[0]); in fake_up_symtab() 1565 b->ehdr.e_shentsize = sizeof (b->shdr[0]); in fake_up_symtab() 1727 efp->e_hdr.e_shentsize = e64.e_shentsize; in core_elf_fdopen() 1747 efp->e_hdr.e_shentsize = e32.e_shentsize; in core_elf_fdopen() 1842 (uint64_t)efp->e_hdr.e_shnum * efp->e_hdr.e_shentsize; in core_elf_fdopen() 2210 nbytes = efp->e_hdr.e_shnum * efp->e_hdr.e_shentsize; in core_load_shdrs() 2226 void *p = (uchar_t *)buf + efp->e_hdr.e_shentsize * i; in core_load_shdrs()
|
H A D | Psymtab_machelf32.c | 461 ep->e_shentsize = sizeof (Shdr); in fake_elf64() 472 off = ep->e_shoff + ep->e_shentsize * ep->e_shnum; in fake_elf64()
|
H A D | Pcontrol.h | 194 Elf64_Half e_shentsize; member
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 82 Elf32_Half e_shentsize; /* sizeof shdr */ member 100 Elf64_Half e_shentsize; /* sizeof shdr */ member
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 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()
|