Home
last modified time | relevance | path

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

123

/titanic_44/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_44/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_44/usr/src/cmd/sgs/liblddbg/common/
H A Delf.c79 if (ehdr->e_shstrndx == SHN_XINDEX) { in Elf_ehdr()
85 ehdr->e_ehsize, ehdr->e_shstrndx); in Elf_ehdr()
/titanic_44/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_44/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c545 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 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_44/usr/src/cmd/mdb/tools/common/
H A Dfindscn.c49 (name = elf_strptr(elf, ehdr.e_shstrndx, in findelfsecidx()
/titanic_44/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_44/usr/src/lib/libctf/common/
H A Dctf_lib.c133 dst->e_shstrndx = src->e_shstrndx; in ehdr_to_gelf()
279 shstrndx = hdr.e64.e_shstrndx; in ctf_fdopen()
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h90 Elf32_Half e_shstrndx; /* section header table index */ member
/titanic_44/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()
2593 (sname = elf_strptr(aout.e_elf, aout.e_hdr.e_shstrndx, in Pfgrab_core()
H A DPcontrol.h187 Elf64_Word e_shstrndx; /* shdr string index extended to 32 bits */ member
/titanic_44/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c80 ehdr.e_shstrndx, (size_t)textshdr.sh_name)) == 0) { in walk_symtab()
/titanic_44/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_44/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_44/usr/src/lib/libtnfctl/
H A Dtraverse.c93 strs = elf_strptr(elf, ehdr->e_shstrndx, NULL); in _tnfctl_traverse_object()
/titanic_44/usr/src/uts/common/os/
H A Dksyms_snapshot.c155 hdr.elf_hdr.e_shstrndx = KSHDR_SHSTRTAB; in ksyms_snapshot()
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c193 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()
/titanic_44/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c648 oehdr->e_shstrndx = SHN_XINDEX; in rt_dldump()
659 oehdr->e_shstrndx = (Half)elf_ndxscn(scn); in rt_dldump()
/titanic_44/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_elf_access.c268 ret_scn->name = elf_strptr(obj->elf, obj->ehdr64->e_shstrndx, in dwarf_elf_object_access_get_section_info()
289 ret_scn->name = elf_strptr(obj->elf, obj->ehdr32->e_shstrndx, in dwarf_elf_object_access_get_section_info()
/titanic_44/usr/src/cmd/sgs/mcs/common/
H A Dfile.c734 dst_ehdr.e_shstrndx = SHN_UNDEF; in build_file()
1145 dst_ehdr.e_shstrndx = in build_file()
1146 state->sec_table[dst_ehdr.e_shstrndx].secno; in build_file()
1155 dst_ehdr.e_shstrndx = SHN_XINDEX; in build_file()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dmod.c147 ehdr.e_shstrndx, (size_t)shdr.sh_name); in mod_binary_path_get()
/titanic_44/usr/src/cmd/strings/
H A Dstrings.c140 if ((scn_name = elf_strptr(elf, ehdr.e_shstrndx, in look_in_sections()

123