Home
last modified time | relevance | path

Searched refs:e_shstrndx (Results 1 – 25 of 60) sorted by relevance

123

/titanic_52/usr/src/cmd/sgs/libelf/common/
H A Dgetshstrndx.c53 if (ehdr.e_shstrndx != SHN_XINDEX) { in elf_getshdrstrndx()
54 *shstrndx = ehdr.e_shstrndx; in elf_getshdrstrndx()
H A Dgelf.c115 dst->e_shstrndx = e->e_shstrndx; in gelf_getehdr()
177 d->e_shstrndx = src->e_shstrndx; in gelf_update_ehdr()
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c350 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 Dctf_lib.c358 dst->e_shstrndx = src->e_shstrndx; in ehdr_to_gelf()
507 shstrndx = hdr.e64.e_shstrndx; in ctf_fdcreate_int()
/titanic_52/usr/src/grub/grub-0.97/netboot/
H A Delf.h179 Elf32_Half e_shstrndx; /* Section name strings section. */ member
196 Elf64_Half e_shstrndx; /* Section name strings section. */ member
/titanic_52/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c76 * The e_shnum, e_shstrndx and e_phnum entries may have a different in Elf_ehdr()
79 if (ehdr->e_shstrndx == SHN_XINDEX) { in Elf_ehdr()
85 ehdr->e_ehsize, ehdr->e_shstrndx); in Elf_ehdr()
/titanic_52/usr/src/tools/ctf/cvt/
H A Doutput.c500 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); in write_file()
556 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); in write_file()
567 if (srcidx == sehdr.e_shstrndx) { in write_file()
660 dehdr.e_shstrndx = secxlate[sehdr.e_shstrndx]; in write_file()
H A Dutil.c82 if ((name = elf_strptr(elf, ehdr.e_shstrndx, in findelfsecidx()
/titanic_52/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c69 EHDR_CMD_T_E_SHSTRNDX = 14, /* ehdr:e_shstrndx */
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()
[all...]
H A Dstr.msg152 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\
/titanic_52/usr/src/cmd/mdb/tools/common/
H A Dfindscn.c49 (name = elf_strptr(elf, ehdr.e_shstrndx, in findelfsecidx()
/titanic_52/usr/src/cmd/sgs/libelf/demo/
H A Ddcom.c268 tehdr.e_shstrndx = shndx[shstrndx]; in delete_comment()
289 tehdr.e_shstrndx = SHN_XINDEX; in delete_comment()
/titanic_52/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c264 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 Dload_elf.c527 chunk = shdr[ehdr->e_shstrndx].sh_size; in __elfN()
529 shstr = alloc_pread(ef->fd, shdr[ehdr->e_shstrndx].sh_offset, chunk); in __elfN()
814 shstrtab = alloc_pread(ef.fd, shdr[ef.ehdr->e_shstrndx].sh_offset, in __elfN()
815 shdr[ef.ehdr->e_shstrndx].sh_size); in __elfN()
/titanic_52/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h90 Elf32_Half e_shstrndx; /* section header table index */ member
/titanic_52/usr/src/lib/libproc/common/
H A DPcore.c1610 efp->e_hdr.e_shstrndx = (Elf64_Word)e64.e_shstrndx; in core_elf_fdopen()
1630 efp->e_hdr.e_shstrndx = (Elf64_Word)e32.e_shstrndx; in core_elf_fdopen()
1641 efp->e_hdr.e_shstrndx == SHN_XINDEX || in core_elf_fdopen()
1679 if (efp->e_hdr.e_shstrndx == SHN_XINDEX) { in core_elf_fdopen()
1680 efp->e_hdr.e_shstrndx = shdr.sh_link; in core_elf_fdopen()
2075 if (efp->e_hdr.e_shstrndx >= efp->e_hdr.e_shnum) { in core_load_shdrs()
2077 efp->e_hdr.e_shstrndx, efp->e_hdr.e_shnum); in core_load_shdrs()
2122 shp = &shdrs[efp->e_hdr.e_shstrndx]; in core_load_shdrs()
[all...]
H A DPcontrol.h187 Elf64_Word e_shstrndx; /* shdr string index extended to 32 bits */ member
/titanic_52/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c80 ehdr.e_shstrndx, (size_t)textshdr.sh_name)) == 0) { in walk_symtab()
/titanic_52/usr/src/boot/sys/sys/
H A Delf32.h69 Elf32_Half e_shstrndx; /* Section name strings section. */ member
H A Delf64.h78 Elf64_Half e_shstrndx; /* Section name strings section. */ member
/titanic_52/usr/src/cmd/ctfmerge/
H A Dctfmerge.c159 sname = elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name); in ctfmerge_elfopen()
192 strsect.cts_name = elf_strptr(elf, ehdr.e_shstrndx, in ctfmerge_elfopen()
/titanic_52/usr/src/cmd/sgs/prof/common/
H A DsymintOpen.c181 tscn_p = elf_getscn(telf_p, k = pfile_p->pf_elfhd_p->e_shstrndx); in _symintOpen()
/titanic_52/usr/src/uts/common/sys/
H A Delf.h83 Elf32_Half e_shstrndx; /* shdr string index */ member
101 Elf64_Half e_shstrndx; /* shdr string index */ member
/titanic_52/usr/src/uts/common/os/
H A Dksyms_snapshot.c155 hdr.elf_hdr.e_shstrndx = KSHDR_SHSTRTAB; in ksyms_snapshot()
/titanic_52/usr/src/lib/libtnfctl/
H A Dtraverse.c93 strs = elf_strptr(elf, ehdr->e_shstrndx, NULL); in _tnfctl_traverse_object()

123