Lines Matching refs:orsp
281 ld_perform_outreloc(Rel_desc * orsp, Ofl_desc * ofl, Boolean *remain_seen) in ld_perform_outreloc() argument
292 raddend = orsp->rel_raddend; in ld_perform_outreloc()
293 sdp = orsp->rel_sym; in ld_perform_outreloc()
299 if (orsp->rel_isdesc && ((orsp->rel_flags & in ld_perform_outreloc()
301 (orsp->rel_isdesc->is_flags & FLG_IS_DISCARD)) { in ld_perform_outreloc()
302 DBG_CALL(Dbg_reloc_discard(ofl->ofl_lml, M_MACH, orsp)); in ld_perform_outreloc()
310 if (RELAUX_GET_MOVE(orsp)) in ld_perform_outreloc()
311 ld_adj_movereloc(ofl, orsp); in ld_perform_outreloc()
322 (psym = ld_am_I_partial(orsp, orsp->rel_raddend))) { in ld_perform_outreloc()
346 if (orsp->rel_flags & FLG_REL_GOT) { in ld_perform_outreloc()
355 roffset = ld_calc_got_offset(orsp, ofl); in ld_perform_outreloc()
357 } else if (orsp->rel_flags & FLG_REL_PLT) { in ld_perform_outreloc()
369 } else if (orsp->rel_flags & FLG_REL_BSS) { in ld_perform_outreloc()
383 osp = RELAUX_GET_OSDESC(orsp); in ld_perform_outreloc()
390 roffset = orsp->rel_roffset + in ld_perform_outreloc()
391 (Off)_elf_getxoff(orsp->rel_isdesc->is_indata); in ld_perform_outreloc()
393 roffset += orsp->rel_isdesc->is_osdesc-> in ld_perform_outreloc()
406 if (orsp->rel_rtype == R_AMD64_RELATIVE) in ld_perform_outreloc()
408 else if ((orsp->rel_flags & FLG_REL_SCNNDX) || in ld_perform_outreloc()
428 if (orsp->rel_flags & FLG_REL_ADVAL) in ld_perform_outreloc()
435 if (orsp->rel_rtype == R_AMD64_DTPMOD64) in ld_perform_outreloc()
438 if ((orsp->rel_rtype != M_R_NONE) && in ld_perform_outreloc()
439 (orsp->rel_rtype != M_R_RELATIVE)) { in ld_perform_outreloc()
442 Is_desc *isp = orsp->rel_isdesc; in ld_perform_outreloc()
446 orsp->rel_rtype, 0, &inv_buf), in ld_perform_outreloc()
453 rea.r_info = ELF_R_INFO(ndx, orsp->rel_rtype); in ld_perform_outreloc()
457 ld_reloc_sym_name(orsp))); in ld_perform_outreloc()
476 if (orsp->rel_rtype == R_AMD64_JUMP_SLOT) in ld_perform_outreloc()
479 ld_reloc_remain_entry(orsp, osp, ofl, remain_seen); in ld_perform_outreloc()
1140 Rel_desc *orsp; in ld_add_outrel() local
1199 if ((orsp = ld_reloc_enter(ofl, &ofl->ofl_outrels, rsp, flags)) == NULL) in ld_add_outrel()
1211 RELAUX_GET_OSDESC(orsp)->os_szoutrels += (Xword)sizeof (Rela); in ld_add_outrel()
1213 if (orsp->rel_rtype == M_R_RELATIVE) in ld_add_outrel()
1227 if (IS_GOT_REQUIRED(orsp->rel_rtype)) in ld_add_outrel()
1233 if (orsp->rel_flags & FLG_REL_DISP) { in ld_add_outrel()
1237 ld_disp_errmsg(MSG_INTL(MSG_REL_DISPREL4), orsp, ofl); in ld_add_outrel()
1240 M_MACH, orsp)); in ld_add_outrel()