/opensolaris-onvv-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 253 dprintf("e_shnum\t\t%d\n", (is64 ? 254 elfhdr64.e_shnum : elfhdr.e_shnum)); 1139 size = ehdr->e_shentsize * ehdr->e_shnum; 1157 for (i = 1; i < ehdr->e_shnum; i++) { 1295 size = ehdr->e_shentsize * ehdr->e_shnum; 1320 for (i = 1; i < ehdr->e_shnum; i++) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | clscook.c | 364 if ((eh->e_shnum == 0) && (eh->e_shoff == 0)) 378 if ((scncnt = eh->e_shnum) == 0) {
|
H A D | gelf.c | 114 dst->e_shnum = e->e_shnum; 176 d->e_shnum = src->e_shnum;
|
H A D | xlate.m4 | 1006 tofh(dst, src->e_shnum, E1_shnum_$2); 1541 dst->e_shnum = tomh(src, E1_shnum_$2);
|
H A D | xlate64.m4 | 997 tofh(dst, src->e_shnum, E1_shnum_$2); 1579 dst->e_shnum = tomh(src, E1_shnum_$2);
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 78 Elf32_Half e_shnum; /* number shdrs */ member in struct:__anon7388 96 Elf64_Half e_shnum; /* number shdrs */ member in struct:__anon7389
|
/opensolaris-onvv-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.h | 174 Elf64_Word e_shnum; /* shdr count extended to 32 bits */ member in struct:elf_file_header
|
H A D | Psymtab_machelf32.c | 460 ep->e_shnum = 5 + (pltsz != 0) + (d[DI_SUNW_SYMTAB] != NULL); 465 off = ep->e_shoff + ep->e_shentsize * ep->e_shnum;
|
H A D | Pgcore.c | 1067 ehdr.e_shnum = 0; 1069 ehdr.e_shnum = (unsigned short)nshdrs; 1125 ehdr.e_shnum = 0; 1127 ehdr.e_shnum = (unsigned short)nshdrs;
|
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 154 hdr.elf_hdr.e_shnum = KSHDR_NUM;
|
H A D | brand.c | 457 dst->e_shnum = src->e_shnum;
|
/opensolaris-onvv-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 868 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; 885 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 949 if ((mp->symhdr != NULL) && (mp->symhdr->sh_link < mp->hdr.e_shnum)) { 992 kmem_free(mp->shdrs, mp->hdr.e_shentsize * mp->hdr.e_shnum);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/common/ |
H A D | dldump.c | 330 num = iehdr->e_shnum; 733 if ((mcache = malloc(mehdr->e_shnum * sizeof (Cache))) == 0) {
|
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 661 mbi.syms.e.num = pu.elf->e_shnum; 669 tab_size = pu.elf->e_shentsize * pu.elf->e_shnum;
|
/opensolaris-onvv-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_data.c | 643 ehdr.e_shnum = 0; 652 ehdr.e_shnum++;
|
/opensolaris-onvv-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 211 EI_Ehdr_shnum = EI_Ehdr.e_shnum;
|
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 192 dst->e_shnum = src->e_shnum; 600 gf->gf_ehdr.e_shnum = ehdr->e_shnum; 603 gf->gf_shnum = gf->gf_ehdr.e_shnum; 662 gf->gf_shnum = gf->gf_ehdr.e_shnum;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 1391 EC_WORD(elf_head_p->e_shnum), 1398 EC_WORD(elf_head_p->e_shnum)); 1400 if ((elf_head_p->e_shnum == 0) && (elf_head_p->e_shoff > 0)) {
|
/opensolaris-onvv-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 976 *nshdrs = ehdr->e_shnum; 981 * If e_shnum, e_shstrndx, or e_phnum is its sentinel value, we need 1815 ehdr->e_shnum = 0; 1817 ehdr->e_shnum = (unsigned short)nshdrs;
|
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 499 elf_file.ehdr.e_shnum = nshdr; 636 elf_file.ehdr.e_shnum = nshdr;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/ar/common/ |
H A D | file.c | 226 ? (ehdr.e_shoff + (ehdr.e_shnum * ehdr.e_shentsize)) : 0;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/pvs/common/ |
H A D | pvs.c | 1157 if ((cache = calloc(ehdr.e_shnum, sizeof (Cache))) == NULL) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/ |
H A D | files.c | 109 * e_shnum & e_shstrndx which can be found at: 111 * e_shnum == Shdr[0].sh_size 114 if ((ehdr->e_shnum == 0) && (ehdr->e_shoff != 0)) { 134 ifl->ifl_shnum = ehdr->e_shnum;
|
H A D | syms.c | 2056 } else if (shndx > ifl->ifl_ehdr->e_shnum) { 2371 } else if (shndx > ifl->ifl_ehdr->e_shnum) {
|
/opensolaris-onvv-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 639 if ((c->obj->ehdr->e_shoff == 0) || (c->obj->ehdr->e_shnum == 0)) {
|