Home
last modified time | relevance | path

Searched refs:symndx (Results 1 – 25 of 27) sorted by relevance

12

/titanic_41/usr/src/cmd/sgs/link_audit/common/
H A Dtruss.c185 la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook, in la_symbind64() argument
189 la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook, in la_symbind64()
226 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter() argument
231 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
235 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
240 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
278 la_pltexit64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_pltexit64() argument
282 la_pltexit(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_pltexit64()
H A Dperfcnt.c171 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter() argument
176 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
180 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
185 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke, in la_sparcv9_pltenter()
201 la_pltexit64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_pltexit64() argument
205 la_pltexit(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_pltexit64()
H A Dsymbindrep.c90 la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook, in la_symbind64() argument
94 la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook, in la_symbind64()
H A Dwho.c282 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter() argument
287 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
291 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
296 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke, in la_sparcv9_pltenter()
H A Dbindings.c360 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcooke, in la_sparcv9_pltenter() argument
365 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke, in la_sparcv9_pltenter()
369 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcooke, in la_sparcv9_pltenter()
374 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcooke, in la_sparcv9_pltenter()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dcap.c1323 cap_match(Sresult *srp, uint_t symndx, Sym *symtabptr, char *strtabptr) in cap_match() argument
1337 grpndx = (uchar_t)ELF_C_GROUP(CAPINFO(ilmp)[symndx]); in cap_match()
1347 srp->sr_name, symndx)); in cap_match()
1356 ochainndx = (uint_t)ELF_C_SYM(CAPINFO(ilmp)[symndx]); in cap_match()
1382 symndx, M_MACH, NULL)); in cap_match()
1385 bndx = symndx; in cap_match()
1390 for (nchainndx = ochainndx + 1, symndx = capchain[nchainndx]; symndx; in cap_match()
1391 nchainndx++, symndx = capchain[nchainndx]) { in cap_match()
1392 Sym *nsym = symtabptr + symndx; in cap_match()
1397 (uchar_t)ELF_C_GROUP(CAPINFO(ilmp)[symndx])) == 0) in cap_match()
[all …]
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dmachsym.sparc.c162 int symndx, Word shndx, const char *symsecname, sd_flag_t *flags) in ld_is_regsym_sparc() argument
178 ifl->ifl_name, symsecname, symndx, EC_XWORD(sym->st_value)); in ld_is_regsym_sparc()
187 ifl->ifl_name, symsecname, symndx, EC_XWORD(sym->st_value)); in ld_is_regsym_sparc()
203 ifl->ifl_name, symsecname, symndx, in ld_is_regsym_sparc()
H A Dsyms.c78 int symndx, Word shndx, Word symsecndx, const char *symsecname, in string() argument
87 symndx, EC_XWORD(name)); in string()
93 EC_WORD(symsecndx), symsecname, symndx, in string()
105 sym, strs, symndx, shndx, symsecname, flags); in string()
124 ifl->ifl_name, EC_WORD(symsecndx), symsecname, symndx, in string()
142 demangle_symname(const char *name, const char *symtab_name, Word symndx) in demangle_symname() argument
181 symtab_name, EC_WORD(symndx)); in demangle_symname()
H A Dupdate.c205 Word *symndx; /* symbol index (for */ in update_osym() local
298 symndx = &dynsym_ndx; in update_osym()
300 symndx = &symtab_ndx; in update_osym()
426 versym[*symndx - 1] = 0; in update_osym()
427 osp->os_identndx = *symndx - 1; in update_osym()
489 rsdp->sd_symndx = *symndx; in update_osym()
712 sdp->sd_symndx = *symndx; in update_osym()
1242 sdp->sd_symndx = *symndx; in update_osym()
/titanic_41/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c476 la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook, in la_symbind64() argument
480 la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook, in la_symbind64()
557 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter() argument
562 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
566 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
571 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
711 la_pltexit64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_pltexit64() argument
715 la_pltexit(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_pltexit64()
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c268 relsymname(Cache *cache, Cache *csec, Cache *strsec, Word symndx, Word symnum, in relsymname() argument
274 if (symndx >= symnum) { in relsymname()
276 file, EC_WORD(symndx), EC_WORD(relndx)); in relsymname()
280 sym = (Sym *)(syms + symndx); in relsymname()
281 name = string(csec, symndx, strsec, file, sym->st_name); in relsymname()
1070 output_symbol(SYMTBL_STATE *state, Word symndx, Word info, Word disp_symndx, in output_symbol() argument
1109 if (symndx >= state->symn) { in output_symbol()
1111 state->file, state->secname, EC_WORD(symndx)); in output_symbol()
1123 symname = string(state->seccache, symndx, in output_symbol()
1151 if (symndx > state->shxndx.n) { in output_symbol()
[all …]
H A Delfdump.msg230 @ MSG_CAPCHAIN_ENTRY " chainndx symndx name"
245 @ MSG_ELF_HASH_INFO " bucket symndx name"
287 @ MSG_MOVE_TITLE " symndx offset size repeat stride \
/titanic_41/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c126 uint_t symndx, uint_t pltndx, caddr_t to, uint_t sb_flags, int *fail) in elf_plt_trace_write() argument
185 *dyndata = (uintptr_t)(((uint64_t)sb_flags << 32) | symndx); in elf_plt_trace_write()
303 uint_t symndx = (((uintptr_t)nsym - in elf_bndr() local
305 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
318 uint_t symndx = (((uintptr_t)nsym - in elf_bndr() local
322 nsym, symndx, pltndx, (caddr_t)symval, sb_flags, in elf_bndr()
869 int symndx = (((uintptr_t)symdef - in elf_reloc() local
873 symdef, symndx, pltndx, (caddr_t)value, in elf_reloc()
H A Dboot_elf.s262 movl SYMNDX_OFF(%r11), %ecx / arg4 (symndx)
464 movq SYMNDX_OFF(%r11), %r8 / arg5 (symndx)
/titanic_41/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c106 uint_t symndx, uint_t pltndx, caddr_t to, uint_t sb_flags, int *fail) in elf_plt_trace_write() argument
165 *dyndata++ = (uint_t)symndx; in elf_plt_trace_write()
282 uint_t symndx = (((uintptr_t)nsym - in elf_bndr() local
284 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
297 uint_t symndx = (((uintptr_t)nsym - in elf_bndr() local
301 nsym, symndx, pltndx, (caddr_t)symval, sb_flags, in elf_bndr()
844 int symndx = (((uintptr_t)symdef - in elf_reloc() local
848 symdef, symndx, pltndx, (caddr_t)value, in elf_reloc()
H A Dboot_elf.s129 pushl SYMNDX_OFF(%edi) / arg3 (symndx)
248 pushl SYMNDX_OFF(%edi) / arg4 (symndx)
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c239 Sym *sym, ulong_t symndx, ulong_t pltndx, caddr_t to, ulong_t sb_flags, in elf_plt_trace_write() argument
319 *(ulong_t *)dyndata++ = symndx; in elf_plt_trace_write()
454 ulong_t symndx = (((uintptr_t)nsym - in elf_bndr() local
457 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
472 ulong_t symndx = (((uintptr_t)nsym - in elf_bndr() local
476 rptr, lmp, nlmp, nsym, symndx, pltndx, in elf_bndr()
1048 ulong_t symndx = (((uintptr_t)symdef - in elf_reloc() local
1052 (Rela *)rel, lmp, _lmp, symdef, symndx, in elf_reloc()
H A Dboot_elf.s387 ld [%l1 + SYMNDX_OFF], %o4 ! %o4 = symndx
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/
H A Dsym.msg80 @ MSG_ERR_NEEDEXPSYMTAB "The -symndx option requires a symbol table to be \
137 -shtyp option) when -symndx is used.\n".
204 symbol in the symbol table is shown. If called with the symndx\n\
219 called with the symndx argument, the value of the symbol at that\n\
235 symndx argument, the value of the symbol at that index is displayed.\n\
249 symndx argument, the name of the symbol at that index is displayed.\n\
277 symndx argument, the value of the symbol at that index is displayed.\n\
293 symndx argument, the value of the symbol at that index is displayed.\n\
311 the symndx argument, the size of the symbol at that index is\n\
326 called with the symndx argument, the value of the symbol at that\n\
[all …]
H A Dsyminfo.c433 Word symndx; in arg_to_symndx() local
451 argstate->str.sec, arg, ELFEDIT_MSG_ERR, &symndx); in arg_to_symndx()
453 return (symndx); in arg_to_symndx()
H A Dsym.c688 Word symndx; in cmd_body_set_st_bind() local
714 symndx = symstate->sym.sec->sec_shndx; in cmd_body_set_st_bind()
718 EC_WORD(symndx), symstate->sym.sec->sec_name, in cmd_body_set_st_bind()
719 symstate->ndx, EC_WORD(symndx), gbl_ndx); in cmd_body_set_st_bind()
723 EC_WORD(symndx), symstate->sym.sec->sec_name, in cmd_body_set_st_bind()
724 symstate->ndx, EC_WORD(symndx), gbl_ndx); in cmd_body_set_st_bind()
H A Dsyminfo.msg171 @ MSG_STR_MINUS_SYMNDX "-symndx"
/titanic_41/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c621 la_sparcv9_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter() argument
626 la_sparcv8_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
630 la_amd64_pltenter(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
635 la_i86_pltenter(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcookie, in la_sparcv9_pltenter()
667 return (plt_cg_interp(symndx, (caddr_t)from, (caddr_t)symp->st_value)); in la_sparcv9_pltenter()
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c387 Sym *sym, uint_t symndx, ulong_t pltndx, caddr_t to, uint_t sb_flags, in elf_plt_trace_write() argument
447 *(Word *)dyndata = symndx; in elf_plt_trace_write()
596 uint_t symndx = (uint_t)(((uintptr_t)nsym - in elf_bndr() local
599 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
615 uint_t symndx = (uint_t)(((uintptr_t)nsym - in elf_bndr() local
619 rptr, lmp, nlmp, nsym, symndx, pltndx, in elf_bndr()
1282 uint_t symndx = (uint_t)(((uintptr_t)symdef - in elf_reloc() local
1286 (Rela *)rel, lmp, _lmp, symdef, symndx, in elf_reloc()
/titanic_41/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c105 Dbg_syms_ignore_gnuver(Rt_map *lmp, const char *name, Word symndx, in Dbg_syms_ignore_gnuver() argument
114 EC_WORD(symndx), EC_HALF(verndx), NAME(lmp)); in Dbg_syms_ignore_gnuver()

12