Lines Matching refs:nsym
273 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()
437 vis = ELF_ST_VISIBILITY(nsym->st_other); in ld_sym_enter()
474 (nsym->st_shndx != SHN_UNDEF)) { in ld_sym_enter()
496 if ((vis == STV_SINGLETON) && (nsym->st_shndx != SHN_UNDEF)) in ld_sym_enter()
513 if (nsym->st_shndx == SHN_SUNW_IGNORE) { in ld_sym_enter()
525 (ELF_ST_BIND(nsym->st_info) == STB_GLOBAL) && in ld_sym_enter()
526 ((nsym->st_shndx == SHN_UNDEF) || ((sdflags & FLG_SY_SPECSEC) && in ld_sym_enter()
528 ((nsym->st_shndx == SHN_COMMON) || in ld_sym_enter()
530 (nsym->st_shndx == SHN_X86_64_LCOMMON)))))) in ld_sym_enter()
533 (nsym->st_shndx == SHN_COMMON)))) in ld_sym_enter()
557 if (nsym->st_shndx == SHN_UNDEF) { in ld_sym_enter()
605 DBG_CALL(Dbg_syms_entered(ofl, nsym, sdp)); in ld_sym_enter()
2360 Sym *nsym = sym; in ld_sym_process() local
2367 if (symshndx && (nsym->st_shndx == SHN_XINDEX)) { in ld_sym_process()
2369 } else if ((shndx = nsym->st_shndx) >= SHN_LORESERVE) { in ld_sym_process()
2379 if ((name = string(ofl, ifl, nsym, strs, strsize, ndx, shndx, in ld_sym_process()
2390 conv_sym_shndx(osabi, mach, nsym->st_shndx, in ld_sym_process()
2411 if (name[0] && (etype == ET_DYN) && (nsym->st_size == 0) && in ld_sym_process()
2412 (ELF_ST_TYPE(nsym->st_info) == STT_OBJECT) && in ld_sym_process()
2469 bind = ELF_ST_BIND(nsym->st_info); in ld_sym_process()
2485 (nsym->st_shndx != SHN_UNDEF)) { in ld_sym_process()
2499 conv_sym_shndx(osabi, mach, nsym->st_shndx, in ld_sym_process()
2516 sdp->sd_sym = nsym; in ld_sym_process()
2554 ntype = ELF_ST_TYPE(nsym->st_info); in ld_sym_process()
2555 if (cdp && (nsym->st_shndx != SHN_UNDEF) && in ld_sym_process()
2575 DBG_CALL(Dbg_syms_cap_convert(ofl, ndx, name, nsym)); in ld_sym_process()
2590 cpp->c_osdp->sd_sym = nsym; in ld_sym_process()
2611 *rsym = *nsym; in ld_sym_process()
2620 nsym = rsym; in ld_sym_process()
2631 if ((sdp = ld_sym_enter(name, nsym, hash, ifl, ofl, ndx, in ld_sym_process()
2635 } else if (ld_sym_resolve(sdp, nsym, ifl, ofl, ndx, shndx, in ld_sym_process()
2650 if ((etype == ET_DYN) && (nsym->st_shndx != SHN_UNDEF) && in ld_sym_process()