/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | getshstrndx.c | 53 if (ehdr.e_shstrndx != SHN_XINDEX) { in elf_getshdrstrndx() 54 *shstrndx = ehdr.e_shstrndx; in elf_getshdrstrndx()
|
H A D | gelf.c | 115 dst->e_shstrndx = e->e_shstrndx; in gelf_getehdr() 177 d->e_shstrndx = src->e_shstrndx; in gelf_update_ehdr()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dw_elfstructs.h | 74 TYP(e_shstrndx,2); 92 TYP(e_shstrndx,2);
|
H A D | dwarf_elfstructs.h | 82 TYP(e_shstrndx,2); 100 TYP(e_shstrndx,2);
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 350 if (sehdr.e_shstrndx == SHN_XINDEX) in ctf_write_elf() 351 dehdr.e_shstrndx = SHN_XINDEX; in ctf_write_elf() 353 dehdr.e_shstrndx = secxlate[sehdr.e_shstrndx]; in ctf_write_elf()
|
H A D | ctf_lib.c | 358 dst->e_shstrndx = src->e_shstrndx; in ehdr_to_gelf() 507 shstrndx = hdr.e64.e_shstrndx; in ctf_fdcreate_int()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 179 Elf32_Half e_shstrndx; /* Section name strings section. */ member 196 Elf64_Half e_shstrndx; /* Section name strings section. */ member
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 79 if (ehdr->e_shstrndx == SHN_XINDEX) { in Elf_ehdr() 85 ehdr->e_ehsize, ehdr->e_shstrndx); in Elf_ehdr()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | ehdr.c | 545 Word num = ehdr->e_shstrndx; in print_ehdr() 1115 Half e_shstrndx; in cmd_body() local 1145 e_shstrndx = SHN_XINDEX; in cmd_body() 1148 e_shstrndx = shstrndx; in cmd_body() 1152 if (ehdr->e_shstrndx == e_shstrndx) { in cmd_body() 1155 EC_WORD(ehdr->e_shstrndx)); in cmd_body() 1159 EC_WORD(ehdr->e_shstrndx), e_shstrndx); in cmd_body() 1161 ehdr->e_shstrndx = e_shstrndx; in cmd_body()
|
H A D | str.msg | 152 By default, the string table referenced by the e_shstrndx field\n\ 183 By default, the string table referenced by the e_shstrndx field\n\ 227 By default, the string table referenced by the e_shstrndx field\n\ 241 By default, the string table referenced by the e_shstrndx field\n\
|
/illumos-gate/usr/src/cmd/mdb/tools/common/ |
H A D | findscn.c | 47 (name = elf_strptr(elf, ehdr.e_shstrndx, in findelfsecidx()
|
/illumos-gate/usr/src/boot/common/ |
H A D | load_elf_obj.c | 264 if (hdr->e_shstrndx == 0 || hdr->e_shstrndx >= hdr->e_shnum || in __elfN() 265 shdr[hdr->e_shstrndx].sh_type != SHT_STRTAB) { in __elfN() 270 ef->shstrindex = hdr->e_shstrndx; in __elfN()
|
H A D | load_elf.c | 562 chunk = shdr[ehdr->e_shstrndx].sh_size; in __elfN() 564 shstr = alloc_pread(ef->fd, shdr[ehdr->e_shstrndx].sh_offset, in __elfN() 861 shstrtab = alloc_pread(ef.fd, shdr[ef.ehdr->e_shstrndx].sh_offset, in __elfN() 862 shdr[ef.ehdr->e_shstrndx].sh_size); in __elfN()
|
/illumos-gate/usr/src/cmd/sgs/libelf/demo/ |
H A D | dcom.c | 268 tehdr.e_shstrndx = shndx[shstrndx]; in delete_comment() 289 tehdr.e_shstrndx = SHN_XINDEX; in delete_comment()
|
/illumos-gate/usr/src/test/os-tests/tests/cores/secmapper/ |
H A D | secmapper.c | 233 comp_name = elf_strptr(sm->sm_elf, sm->sm_ehdr.e_shstrndx, in secmap_data_cmp() 376 sname = elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name); in main()
|
/illumos-gate/usr/src/cmd/ctfmerge/ |
H A D | ctfmerge.c | 123 sname = elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name); in ctfmerge_elfopen() 156 strsect.cts_name = elf_strptr(elf, ehdr.e_shstrndx, in ctfmerge_elfopen()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1763 efp->e_hdr.e_shstrndx = (Elf64_Word)e64.e_shstrndx; in core_elf_fdopen() 1783 efp->e_hdr.e_shstrndx = (Elf64_Word)e32.e_shstrndx; in core_elf_fdopen() 1794 efp->e_hdr.e_shstrndx == SHN_XINDEX || in core_elf_fdopen() 1832 if (efp->e_hdr.e_shstrndx == SHN_XINDEX) { in core_elf_fdopen() 1833 efp->e_hdr.e_shstrndx = shdr.sh_link; in core_elf_fdopen() 2228 if (efp->e_hdr.e_shstrndx >= efp->e_hdr.e_shnum) { in core_load_shdrs() 2230 efp->e_hdr.e_shstrndx, efp->e_hdr.e_shnum); in core_load_shdrs() 2275 shp = &shdrs[efp->e_hdr.e_shstrndx]; in core_load_shdrs() 2747 (sname = elf_strptr(aout.e_elf, aout.e_hdr.e_shstrndx,
|
H A D | Pcontrol.h | 198 Elf64_Word e_shstrndx; /* shdr string index extended to 32 bits */ member
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 90 Elf32_Half e_shstrndx; /* section header table index */ member
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf32.h | 69 Elf32_Half e_shstrndx; /* Section name strings section. */ member
|
H A D | elf64.h | 78 Elf64_Half e_shstrndx; /* Section name strings section. */ member
|
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/ |
H A D | dump.c | 80 ehdr.e_shstrndx, (size_t)textshdr.sh_name)) == 0) { in walk_symtab()
|
/illumos-gate/usr/src/boot/i386/isoboot/ |
H A D | isoboot.c | 417 if (hdr.eh.e_shnum == hdr.eh.e_shstrndx + 3) { in load() 419 (hdr.eh.e_shstrndx + 1); in load()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 84 Elf32_Half e_shstrndx; /* shdr string index */ member 102 Elf64_Half e_shstrndx; /* shdr string index */ member
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 193 dst->e_shstrndx = src->e_shstrndx; in mdb_gelf_ehdr_to_gehdr() 601 gf->gf_ehdr.e_shstrndx = ehdr->e_shstrndx; in gelf32_init() 604 gf->gf_shstrndx = gf->gf_ehdr.e_shstrndx; in gelf32_init() 663 gf->gf_shstrndx = gf->gf_ehdr.e_shstrndx; in gelf64_init()
|