Lines Matching refs:usdp
639 Sym_desc *usdp; in sym_add_spec() local
646 if (usdp = ld_sym_find(uname, hash, &where, ofl)) { in sym_add_spec()
652 if ((usdp->sd_shndx == SHN_UNDEF) || in sym_add_spec()
653 (usdp->sd_ref != REF_REL_NEED)) { in sym_add_spec()
654 usdp->sd_ref = REF_REL_NEED; in sym_add_spec()
655 usdp->sd_shndx = usdp->sd_sym->st_shndx = SHN_ABS; in sym_add_spec()
656 usdp->sd_flags |= FLG_SY_SPECSEC | sdflags_u; in sym_add_spec()
657 usdp->sd_sym->st_info = in sym_add_spec()
659 usdp->sd_isc = NULL; in sym_add_spec()
660 usdp->sd_sym->st_size = 0; in sym_add_spec()
661 usdp->sd_sym->st_value = 0; in sym_add_spec()
663 usdp->sd_aux->sa_symspec = (Half)sdaux_id; in sym_add_spec()
672 if (!SYM_IS_HIDDEN(usdp) && in sym_add_spec()
674 usdp->sd_aux->sa_overndx = VER_NDX_GLOBAL; in sym_add_spec()
676 usdp->sd_flags &= ~FLG_SY_NDIR; in sym_add_spec()
677 usdp->sd_flags |= FLG_SY_PROTECT; in sym_add_spec()
678 usdp->sd_sym->st_other = STV_PROTECTED; in sym_add_spec()
680 ((usdp->sd_flags & FLG_SY_DIR) == 0) && in sym_add_spec()
682 usdp->sd_flags |= FLG_SY_NDIR; in sym_add_spec()
685 usdp->sd_flags |= sdflags; in sym_add_spec()
691 if (usdp->sd_flags & FLG_SY_MAPREF) in sym_add_spec()
692 usdp->sd_flags |= FLG_SY_MAPUSED; in sym_add_spec()
694 DBG_CALL(Dbg_syms_updated(ofl, usdp, uname)); in sym_add_spec()
697 uname, usdp->sd_file->ifl_name); in sym_add_spec()
709 if ((usdp = ld_sym_enter(uname, sym, hash, (Ifl_desc *)NULL, in sym_add_spec()
713 usdp->sd_ref = REF_REL_NEED; in sym_add_spec()
715 usdp->sd_aux->sa_symspec = (Half)sdaux_id; in sym_add_spec()
717 usdp->sd_aux->sa_overndx = VER_NDX_GLOBAL; in sym_add_spec()
720 usdp->sd_flags |= FLG_SY_PROTECT; in sym_add_spec()
721 usdp->sd_sym->st_other = STV_PROTECTED; in sym_add_spec()
724 usdp->sd_flags |= FLG_SY_NDIR; in sym_add_spec()
726 usdp->sd_flags |= sdflags; in sym_add_spec()
747 if (usdp->sd_aux->sa_symspec) { in sym_add_spec()
748 usdp->sd_aux->sa_linkndx = 0; in sym_add_spec()