Home
last modified time | relevance | path

Searched refs:orsp (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/sgs/libld/common/
H A Dmachrel.intel.c225 ld_perform_outreloc(Rel_desc * orsp, Ofl_desc * ofl, Boolean *remain_seen) in ld_perform_outreloc() argument
234 sdp = orsp->rel_sym; in ld_perform_outreloc()
240 if (orsp->rel_isdesc && ((orsp->rel_flags & in ld_perform_outreloc()
242 (orsp->rel_isdesc->is_flags & FLG_IS_DISCARD)) { in ld_perform_outreloc()
243 DBG_CALL(Dbg_reloc_discard(ofl->ofl_lml, M_MACH, orsp)); in ld_perform_outreloc()
251 if (RELAUX_GET_MOVE(orsp)) in ld_perform_outreloc()
252 ld_adj_movereloc(ofl, orsp); in ld_perform_outreloc()
265 (psym = ld_am_I_partial(orsp, *(Xword *) in ld_perform_outreloc()
266 ((uchar_t *)(orsp->rel_isdesc->is_indata->d_buf) + in ld_perform_outreloc()
267 orsp->rel_roffset)))) { in ld_perform_outreloc()
[all …]
H A Dmachrel.sparc.c584 ld_perform_outreloc(Rel_desc *orsp, Ofl_desc *ofl, Boolean *remain_seen) in ld_perform_outreloc() argument
597 raddend = orsp->rel_raddend; in ld_perform_outreloc()
598 sdp = orsp->rel_sym; in ld_perform_outreloc()
605 if ((orsp->rel_rtype == M_R_REGISTER) && !sdp) { in ld_perform_outreloc()
610 ELF_R_TYPE_INFO(RELAUX_GET_TYPEDATA(orsp), in ld_perform_outreloc()
611 orsp->rel_rtype)); in ld_perform_outreloc()
612 rea.r_offset = orsp->rel_roffset; in ld_perform_outreloc()
615 relosp->os_name, ld_reloc_sym_name(orsp))); in ld_perform_outreloc()
629 if (orsp->rel_isdesc && ((orsp->rel_flags & in ld_perform_outreloc()
631 (orsp->rel_isdesc->is_flags & FLG_IS_DISCARD)) { in ld_perform_outreloc()
[all …]
H A Dmachrel.amd.c281 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()
[all …]
H A Drelocate.c2562 Rel_desc *orsp; in do_sorted_outrelocs() local
2587 REL_CACHE_TRAVERSE(&ofl->ofl_outrels, idx, rcbp, orsp) { in do_sorted_outrelocs()
2598 if (orsp->rel_flags & FLG_REL_PLT) { in do_sorted_outrelocs()
2600 (orsp, ofl, &remain_seen) == S_ERROR) in do_sorted_outrelocs()
2605 if ((orsp->rel_rtype == ld_targ.t_m.m_r_relative) || in do_sorted_outrelocs()
2606 (orsp->rel_rtype == ld_targ.t_m.m_r_register)) { in do_sorted_outrelocs()
2610 (Sym_desc *)(uintptr_t)orsp->rel_rtype; in do_sorted_outrelocs()
2613 orsp->rel_sym->sd_file->ifl_neededndx; in do_sorted_outrelocs()
2614 sorted_list[index].rl_key2 = orsp->rel_sym; in do_sorted_outrelocs()
2617 if (orsp->rel_flags & FLG_REL_GOT) { in do_sorted_outrelocs()
[all …]
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Drelocate.c360 Rel_desc *orsp) in Dbg_reloc_ors_entry() argument
370 if (orsp->rel_flags & (FLG_REL_GOT | FLG_REL_RFPTR1 | FLG_REL_RFPTR2)) { in Dbg_reloc_ors_entry()
372 } else if (orsp->rel_flags & FLG_REL_PLT) { in Dbg_reloc_ors_entry()
374 } else if (orsp->rel_flags & FLG_REL_BSS) { in Dbg_reloc_ors_entry()
377 Os_desc *osp = RELAUX_GET_OSDESC(orsp); in Dbg_reloc_ors_entry()
386 if (orsp->rel_sym != NULL) in Dbg_reloc_ors_entry()
387 symname = orsp->rel_sym->sd_name; in Dbg_reloc_ors_entry()
392 conv_reloc_type(mach, orsp->rel_rtype, 0, &inv_buf), in Dbg_reloc_ors_entry()
393 orsp->rel_roffset, orsp->rel_raddend, secname, symname, in Dbg_reloc_ors_entry()