Lines Matching refs:sdp

97 	Sym_desc	*sdp = rdesc->rel_sym;
111 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, rdesc);
171 ld_calc_plt_addr(Sym_desc *sdp, Ofl_desc *ofl)
176 M_PLT_RESERVSZ + ((sdp->sd_aux->sa_PLTndx - 1) * M_PLT_ENTSIZE);
194 plt_entry(Ofl_desc * ofl, Sym_desc * sdp)
202 got_off = sdp->sd_aux->sa_PLTGOTndx * M_GOT_ENTSIZE;
203 plt_off = M_PLT_RESERVSZ + ((sdp->sd_aux->sa_PLTndx - 1) *
240 sdp->sd_aux->sa_PLTndx, demangle(sdp->sd_name));
248 val1 = (Xword)(sdp->sd_aux->sa_PLTndx - 1);
254 sdp->sd_aux->sa_PLTndx, demangle(sdp->sd_name));
273 sdp->sd_aux->sa_PLTndx, demangle(sdp->sd_name));
289 Sym_desc * sdp, * psym = (Sym_desc *)0;
293 sdp = orsp->rel_sym;
318 if (ELF_ST_TYPE(sdp->sd_sym->st_info) == STT_SECTION) {
320 (sdp->sd_isc->is_flags & FLG_IS_RELUPD) &&
337 raddend += (Off)_elf_getxoff(sdp->sd_isc->is_indata);
338 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC)
340 sdp->sd_isc->is_osdesc->os_shdr->sh_addr;
344 value = sdp->sd_sym->st_value;
364 sdp->sd_aux->sa_PLTGOTndx * M_GOT_ENTSIZE;
366 if (plt_entry(ofl, sdp) == S_ERROR)
409 (ELF_ST_TYPE(sdp->sd_sym->st_info) == STT_SECTION)) {
416 if (sdp->sd_isc && sdp->sd_isc->is_osdesc)
417 ndx = sdp->sd_isc->is_osdesc->os_identndx;
419 ndx = sdp->sd_shndx;
423 ndx = sdp->sd_symndx;
538 Sym_desc *sdp = arsp->rel_sym;
550 if (sdp->sd_ref == REF_DYN_NEED) {
768 Sym_desc *sdp;
822 sdp = arsp->rel_sym;
829 else if (ELF_ST_TYPE(sdp->sd_sym->st_info) == STT_SECTION) {
836 if ((sdp->sd_isc->is_flags & FLG_IS_RELUPD) &&
858 value = _elf_getxoff(sdp->sd_isc->is_indata);
859 if (sdp->sd_isc->is_shdr->sh_flags & SHF_ALLOC)
860 value += sdp->sd_isc->is_osdesc->
863 if (sdp->sd_isc->is_shdr->sh_flags & SHF_TLS)
870 value = sdp->sd_sym->st_size;
872 } else if ((sdp->sd_flags & FLG_SY_CAP) &&
873 sdp->sd_aux && sdp->sd_aux->sa_PLTndx) {
880 value = ld_calc_plt_addr(sdp, ofl);
882 value = sdp->sd_sym->st_value;
906 if (sdp->sd_aux && sdp->sd_aux->sa_PLTndx)
907 value = ld_calc_plt_addr(sdp, ofl);
944 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, arsp);
984 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, arsp);
997 (osp == sdp->sd_isc->is_osdesc))) {
1005 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, arsp);
1013 gnp = ld_find_got_ndx(sdp->sd_GOTndxs, gref, ofl, arsp);
1127 Sym_desc *sdp = rsp->rel_sym;
1143 if (sdp && (rsp->rel_rtype != M_R_RELATIVE) &&
1145 (ELF_ST_TYPE(sdp->sd_sym->st_info) == STT_SECTION))) {
1153 if ((sdp->sd_flags & FLG_SY_SPECSEC) &&
1154 (sdp->sd_sym->st_shndx == SHN_COMMON)) {
1155 if (ELF_ST_TYPE(sdp->sd_sym->st_info) != STT_TLS)
1161 Is_desc *isp = sdp->sd_isc;
1224 Sym_desc *sdp = rsp->rel_sym;
1225 Word shndx = sdp->sd_sym->st_shndx;
1240 (((sdp->sd_flags & FLG_SY_SPECSEC) == 0) ||
1241 (shndx != SHN_ABS) || (sdp->sd_aux && sdp->sd_aux->sa_symspec))) {
1276 ((sdp->sd_ref == REF_DYN_NEED) &&
1277 ((sdp->sd_flags & FLG_SY_MVTOCOMM) == 0)))) {
1306 Sym_desc *sdp = rsp->rel_sym;
1324 if ((gnp = ld_find_got_ndx(sdp->sd_GOTndxs,
1327 if (ld_assign_got_TLS(local, rsp, ofl, sdp,
1361 if (IS_TLS_LD(rtype) && ((gnp = ld_find_got_ndx(sdp->sd_GOTndxs,
1364 if (ld_assign_got_TLS(local, rsp, ofl, sdp, gnp, GOT_REF_TLSLD,
1369 ((gnp = ld_find_got_ndx(sdp->sd_GOTndxs, GOT_REF_TLSGD,
1372 if (ld_assign_got_TLS(local, rsp, ofl, sdp, gnp, GOT_REF_TLSGD,
1387 Rel_desc *rsp, Sym_desc *sdp)
1440 ld_assign_plt_ndx(Sym_desc * sdp, Ofl_desc *ofl)
1442 sdp->sd_aux->sa_PLTndx = 1 + ofl->ofl_pltcnt++;
1443 sdp->sd_aux->sa_PLTGOTndx = ofl->ofl_gotcnt++;
1465 Sym_desc *sdp;
1467 if ((sdp = ld_sym_find(MSG_ORIG(MSG_SYM_DYNAMIC_U),
1474 *(Xword *)genptr = sdp->sd_sym->st_value;