Home
last modified time | relevance | path

Searched refs:nsym (Results 1 – 19 of 19) sorted by relevance

/titanic_52/usr/src/cmd/sgs/libld/common/
H A Dresolve.c55 sym_null(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl, in sym_null() argument
61 sym_visibility_diag(Error err, Sym_desc *sdp, Sym *osym, Sym *nsym, in sym_visibility_diag() argument
73 ifl->ifl_name, conv_sym_other(nsym->st_other, &inv_nbuf)); in sym_visibility_diag()
120 sym_visibility(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, Ofl_desc *ofl) in sym_visibility() argument
127 wnvis = nvis = ELF_ST_VISIBILITY(nsym->st_other); in sym_visibility()
152 (nsym->st_shndx != SHN_UNDEF) && (wnvis == STV_SINGLETON)) in sym_visibility()
160 (nsym->st_shndx == SHN_UNDEF) && (wovis == STV_SINGLETON)) in sym_visibility()
189 nsym, ifl, ofl); in sym_visibility()
192 nsym, ifl, ofl); in sym_visibility()
202 nsym, if in sym_visibility()
268 sym_typecheck(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_typecheck() argument
300 sym_mach_check(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_mach_check() argument
316 sym_promote(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_promote() argument
358 sym_override(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_override() argument
520 sym_twoundefs(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_twoundefs() argument
550 sym_tworeals(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_tworeals() argument
652 sym_realtent(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) sym_realtent() argument
830 sym_twotent(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) global() argument
1082 ld_sym_resolve(Sym_desc * sdp,Sym * nsym,Ifl_desc * ifl,Ofl_desc * ofl,int ndx,Word nshndx,sd_flag_t nsdflags) global() argument
[all...]
H A Dmachsym.sparc.c58 ld_reg_check_sparc(Sym_desc *sdp, Sym *nsym, const char *nname, Ifl_desc *ifl, in ld_reg_check_sparc() argument
68 if ((osym->st_name == 0) && (nsym->st_name == 0)) in ld_reg_check_sparc()
75 (ELF_ST_BIND(nsym->st_info) == STB_LOCAL)) { in ld_reg_check_sparc()
76 if (osym->st_value == nsym->st_value) { in ld_reg_check_sparc()
88 if (osym->st_value == nsym->st_value) { in ld_reg_check_sparc()
93 if (((osym->st_name == 0) || (nsym->st_name == 0)) || in ld_reg_check_sparc()
106 (nsym->st_shndx == SHN_ABS)) { in ld_reg_check_sparc()
119 conv_sym_SPARC_value(nsym->st_value, 0, &inv_buf2)); in ld_reg_check_sparc()
126 ld_mach_sym_typecheck_sparc(Sym_desc *sdp, Sym *nsym, Ifl_desc *ifl, in ld_mach_sym_typecheck_sparc() argument
132 Byte ntype = ELF_ST_TYPE(nsym in ld_mach_sym_typecheck_sparc()
[all...]
H A Dsyms.c273 Sym *nsym; in ld_sym_copy() local
276 if ((nsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_copy()
278 *nsym = *(sdp->sd_sym); in ld_sym_copy()
279 sdp->sd_sym = nsym; in ld_sym_copy()
334 Sym *nsym; in ld_sym_enter() local
371 sdp->sd_sym = nsym = &sap->sa_sym; in ld_sym_enter()
372 *nsym = *osym; in ld_sym_enter()
400 if ((sdflags & FLG_SY_SPECSEC) || (nsym->st_shndx == SHN_UNDEF)) in ld_sym_enter()
425 if (nsym->st_shndx == SHN_COMMON) in ld_sym_enter()
429 (nsym->st_shndx == SHN_X86_64_LCOMMON)) in ld_sym_enter()
[all …]
/titanic_52/usr/src/cmd/sgs/rtld/common/
H A Daudit.c858 Sym nsym = *sym; in audit_pltenter() local
862 return (nsym.st_value); in audit_pltenter()
871 _audit_pltenter(auditors->ad_list, rlmp, dlmp, &nsym, in audit_pltenter()
875 _audit_pltenter(AUDITORS(rlmp)->ad_list, rlmp, dlmp, &nsym, in audit_pltenter()
881 return (nsym.st_value); in audit_pltenter()
1049 Sym nsym; in audit_symbind() local
1059 nsym = *sym; in audit_symbind()
1060 nsym.st_value = value; in audit_symbind()
1063 return (nsym.st_value); in audit_symbind()
1066 nsym in audit_symbind()
[all...]
H A Dcap.c1392 Sym *nsym = symtabptr + symndx; in cap_match() local
1393 const char *nname = strtabptr + nsym->st_name; in cap_match()
1410 bsym = nsym; in cap_match()
/titanic_52/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c149 uintptr_t nsym = ~symval; in elf_plt_write() local
213 if ((nsym >> 32) == 0) { in elf_plt_write()
219 if ((nsym >> 44) == 0) { in elf_plt_write()
483 Sym *rsym, *nsym; in elf_bndr() local
578 nsym = sr.sr_sym; in elf_bndr()
580 symval = nsym->st_value; in elf_bndr()
583 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
596 uint_t symndx = (uint_t)(((uintptr_t)nsym - in elf_bndr()
599 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
615 uint_t symndx = (uint_t)(((uintptr_t)nsym in elf_bndr()
[all...]
H A Dboot_elf.s390 ulong_t nsym = ~sym;
394 plttab[2] = (uint_t)(M_XNOR_G5G1 | LO10(nsym));
396 ((ulong_t)M_NOP << 32) | (M_SETHI_G5 | LM22(nsym));
439 ulong_t nsym = ~sym;
446 plttab[2] = (uint_t)(M_XNOR_G5G1 | M44(nsym));
447 *(ulong_t *)pc = ((ulong_t)M_NOP << 32) | (M_SETHI_G5 | H44(nsym));
/titanic_52/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c218 Sym *rsym, *nsym; in elf_bndr() local
286 nsym = sr.sr_sym; in elf_bndr()
288 symval = nsym->st_value; in elf_bndr()
291 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
303 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
305 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
318 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
322 nsym, symndx, pltndx, (caddr_t)symval, sb_flags, in elf_bndr()
340 nsym->st_value, name, binfo)); in elf_bndr()
/titanic_52/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c199 Sym *rsym, *nsym; in elf_bndr() local
265 nsym = sr.sr_sym; in elf_bndr()
267 symval = nsym->st_value; in elf_bndr()
270 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
282 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
284 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
297 uint_t symndx = (((uintptr_t)nsym - in elf_bndr()
301 nsym, symndx, pltndx, (caddr_t)symval, sb_flags, in elf_bndr()
319 nsym->st_value, name, binfo)); in elf_bndr()
/titanic_52/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c356 Sym *rsym, *nsym; in elf_bndr() local
437 nsym = sr.sr_sym; in elf_bndr()
439 symval = nsym->st_value; in elf_bndr()
442 (nsym->st_shndx != SHN_ABS)) in elf_bndr()
454 ulong_t symndx = (((uintptr_t)nsym - in elf_bndr()
457 symval = audit_symbind(lmp, nlmp, nsym, symndx, symval, in elf_bndr()
472 ulong_t symndx = (((uintptr_t)nsym - in elf_bndr()
476 rptr, lmp, nlmp, nsym, symndx, pltndx, in elf_bndr()
494 pltndx, pbtype, nlmp, (Addr)symval, nsym->st_value, name, binfo)); in elf_bndr()
/titanic_52/usr/src/cmd/dis/
H A Ddis_target.c247 int nsym = 0; /* count of symbols we're not interested in */ in construct_symtab() local
288 nsym++; in construct_symtab()
296 nsym++; in construct_symtab()
327 nsym++; in construct_symtab()
349 nsym++; in construct_symtab()
357 nsym++; in construct_symtab()
372 tgt->dt_symcount -= nsym; in construct_symtab()
/titanic_52/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c175 Word nsym = 0; /* no. of symtab ntries */ in profile_open() local
267 nsym = hashp[1]; in profile_open()
281 csize = (nsym + 1) * PRF_CGINIT * sizeof (L_cgarc); in profile_open()
355 Hptr->hd_ncndx = nsym; in profile_open()
356 Hptr->hd_lcndx = (nsym + 1) * PRF_CGINIT; in profile_open()
/titanic_52/usr/src/lib/libdtrace/common/
H A Ddt_link.c717 dt_symtab_lookup(Elf_Data *data_sym, int nsym, uintptr_t addr, uint_t shn, in dt_symtab_lookup() argument
723 for (i = 0; i < nsym && gelf_getsym(data_sym, i, sym) != NULL; i++) { in dt_symtab_lookup()
1029 size_t symsize, nsym, isym, istr, len; in process_obj() local
1170 nsym = 0; in process_obj()
1235 nsym++; in process_obj()
1250 if (nsym > 0) { in process_obj()
1272 nsym * symsize)) == NULL) { in process_obj()
1291 data_sym->d_size += nsym * symsize; in process_obj()
1294 shdr_sym.sh_size += nsym * symsize; in process_obj()
1297 nsym in process_obj()
[all...]
/titanic_52/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c194 int i, nsym, res, ret, shdrbytes, symstrindex; in __elfN() local
232 nsym = 0; in __elfN()
236 nsym++; in __elfN()
243 if (nsym != 1) { in __elfN()
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c233 int nsym = shdr.sh_size / shdr.sh_entsize; in ctf_write_elf() local
245 for (i = 0; i < nsym; i++) { in ctf_write_elf()
/titanic_52/usr/src/boot/sys/sys/
H A Dlinker.h281 int nsym; /* Number of symbols. */ member
/titanic_52/usr/src/tools/ctf/cvt/
H A Doutput.c584 int nsym = shdr.sh_size / shdr.sh_entsize; in write_file() local
591 for (i = 0; i < nsym; i++) { in write_file()
/titanic_52/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c443 int col, Sym *osym, Sym *nsym, Sym_desc *sdp, Ifl_desc *ifl) in Dbg_syms_resolving() argument
463 osabi, mach, nsym, 0, 0, NULL, ifl->ifl_name); in Dbg_syms_resolving()
/titanic_52/usr/src/lib/libtecla/common/
H A Dgetline.c6207 int nsym; /* The number of ambiguous matches */ in _gl_rebind_arrow_key() local
6212 if(_kt_lookup_keybinding(gl->bindings, name, strlen(name), &keysym, &nsym) in _gl_rebind_arrow_key()
8235 int nsym; /* The number of ambiguously matching key-sequences */ in gl_interpret_char() local
8259 switch(_kt_lookup_keybinding(gl->bindings, keyseq, nkey, &keysym, &nsym)) { in gl_interpret_char()