/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getshnum.c | 59 if (ehdr.e_shnum > 0) { 60 *shnum = ehdr.e_shnum; 63 if ((ehdr.e_shnum == 0) && (ehdr.e_shoff == 0)) {
|
H A D | newscn.c | 82 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum 112 ((Elf64_Ehdr *)elf->ed_ehdr)->e_shnum
|
H A D | checksum.c | 132 for (shnum = 1; shnum < ehdr->e_shnum; shnum++) {
|
H A D | update.c | 195 * is used to hold an alternative e_shnum, e_shstrndx and e_phnum. 197 * would have been zeroed. The e_shnum is initialized later, after the 203 eh->e_shnum = 0; 306 * e_shnum is stored in the sh_size field of the 309 * NOTE: we set e_shnum to '0' because it's specified 315 eh->e_shnum = scncnt; 320 eh->e_shnum = 0; 388 eh->e_shnum = 0; 390 eh->e_shnum = 1; 402 ++eh->e_shnum; [all...] |
/opensolaris-onvv-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 111 dboot_panic("Failed to get section headers e_shnum = %d", 112 eh->e_shnum); 179 for (i = 0; i < eh->e_shnum; i++) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 76 * The e_shnum, e_shstrndx and e_phnum entries may have a different 87 if (ehdr->e_shnum == 0) { 93 ehdr->e_shentsize, ehdr->e_shnum);
|
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 178 Elf32_Half e_shnum; /* Number of section header entries. */ member in struct:__anon2327 195 Elf64_Half e_shnum; /* Number of section header entries. */ member in struct:__anon2328
|
/opensolaris-onvv-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | kobj_isa.c | 95 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
|
H A D | kobj_reloc.c | 288 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 303 if (rshp->sh_info >= mp->hdr.e_shnum) {
|
/opensolaris-onvv-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | kobj_isa.c | 95 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
|
H A D | kobj_reloc.c | 282 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 297 if (rshp->sh_info >= mp->hdr.e_shnum) {
|
/opensolaris-onvv-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 111 for (shn = 1; shn < mp->hdr.e_shnum; shn++) {
|
H A D | kobj_reloc.c | 191 for (i = 0; i < mp->hdr.e_shnum; i++, shp++) { 347 for (shn = 1; shn < mp->hdr.e_shnum; shn++) { 362 if (rshp->sh_info >= mp->hdr.e_shnum) {
|
/opensolaris-onvv-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 134 dst->e_shnum = src->e_shnum; 280 if (hdr.e64.e_shstrndx >= hdr.e64.e_shnum) 283 n = hdr.e64.e_shnum; 340 if (shp->sh_link >= hdr.e64.e_shnum)
|
/opensolaris-onvv-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 846 b->ehdr.e_shnum = 3; 912 b->ehdr.e_shnum = 3; 1074 efp->e_hdr.e_shnum = (Elf64_Word)e64.e_shnum; 1094 efp->e_hdr.e_shnum = (Elf64_Word)e32.e_shnum; 1105 if ((efp->e_hdr.e_shnum == 0 && efp->e_hdr.e_shoff != 0) || 1138 if (efp->e_hdr.e_shnum == 0) { 1139 efp->e_hdr.e_shnum = shdr.sh_size; 1188 (uint64_t)efp->e_hdr.e_shnum * ef [all...] |
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 163 mdb_printf(" e_shoff: 0x%16lx e_shentsize: %8hu e_shnum: %hu\n", 164 ehdr->e_shoff, ehdr->e_shentsize, ehdr->e_shnum); 248 nbytes = sizeof (Shdr) * mod.hdr.e_shnum; 252 for (i = 0; i < mod.hdr.e_shnum; i++)
|
/opensolaris-onvv-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 177 (size_t)(ehdr->e_shentsize * ehdr->e_shnum), 178 (size_t)(ehdr->e_shnum * sizeof (Elf32_Ehdr)), 187 for (i = 0; i < (Elf32_Word)ehdr->e_shnum; i++, symhdr++) 192 (symhdr->sh_link >= ehdr->e_shnum)) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/size/common/ |
H A D | process.c | 131 if (ehdr.e_shnum == 0) { 134 numsect = ehdr.e_shnum;
|
/opensolaris-onvv-gate/usr/src/common/crypto/fips/ |
H A D | fips_checksum.c | 140 numsec = ehdr->e_shnum; 215 numsec = ehdr->e_shnum;
|
/opensolaris-onvv-gate/usr/src/lib/libtnfctl/ |
H A D | traverse.c | 97 tnf_long, num_sections_found, ehdr->e_shnum); 99 for (idx = 1; idx < ehdr->e_shnum; idx++) {
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/prof/common/ |
H A D | symintOpen.c | 214 pfile_p->pf_elfhd_p->e_shnum);
|
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 81 Elf32_Half e_shnum; /* number of entries in section header */ member in struct:__anon2425
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 68 EHDR_CMD_T_E_SHNUM = 13, /* ehdr:e_shnum */ 528 Word num = ehdr->e_shnum; 1070 Half e_shnum; local 1074 e_shnum = 0; 1077 e_shnum = shnum; 1081 if (ehdr->e_shnum == e_shnum) { 1084 EC_WORD(ehdr->e_shnum)); 1088 EC_WORD(ehdr->e_shnum), e_shnum); [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/krtld/ |
H A D | kobj.c | 910 shsize = mp->hdr.e_shentsize * mp->hdr.e_shnum; 914 for (i = 1; i < (int)mp->hdr.e_shnum; i++) { 1239 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; 1555 mp->hdr.e_shnum = 2; 1599 for (shn = 1; shn < omp->hdr.e_shnum; shn++) { 1611 kobj_free(omp->shdrs, omp->hdr.e_shentsize * omp->hdr.e_shnum); 1741 for (dshp = NULL, shn = 1; shn < mp->hdr.e_shnum; shn++) { 1762 if (dshp->sh_link > mp->hdr.e_shnum) { 1939 n = mp->hdr.e_shentsize * mp->hdr.e_shnum; 2203 for (shn = 1; shn < mp->hdr.e_shnum; sh [all...] |
/opensolaris-onvv-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 496 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum); 497 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) { 532 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) {
|