Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dmachrel.intel.c441 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() argument
443 Sym_desc *sdp = arsp->rel_sym; in tls_fixups()
444 Word rtype = arsp->rel_rtype; in tls_fixups()
447 offset = (uchar_t *)((uintptr_t)arsp->rel_roffset + in tls_fixups()
448 (uintptr_t)_elf_getxoff(arsp->rel_isdesc->is_indata) + in tls_fixups()
449 (uintptr_t)RELAUX_GET_OSDESC(arsp)->os_outdata->d_buf); in tls_fixups()
467 R_386_TLS_GOTIE, arsp, ld_reloc_sym_name)); in tls_fixups()
468 arsp->rel_rtype = R_386_TLS_GOTIE; in tls_fixups()
469 arsp->rel_roffset += 5; in tls_fixups()
492 R_386_NONE, arsp, ld_reloc_sym_name)); in tls_fixups()
[all …]
H A Dmachrel.amd.c536 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() argument
538 Sym_desc *sdp = arsp->rel_sym; in tls_fixups()
539 Word rtype = arsp->rel_rtype; in tls_fixups()
542 offset = (uchar_t *)((uintptr_t)arsp->rel_roffset + in tls_fixups()
543 (uintptr_t)_elf_getxoff(arsp->rel_isdesc->is_indata) + in tls_fixups()
544 (uintptr_t)RELAUX_GET_OSDESC(arsp)->os_outdata->d_buf); in tls_fixups()
572 R_AMD64_GOTTPOFF, arsp, ld_reloc_sym_name)); in tls_fixups()
573 arsp->rel_rtype = R_AMD64_GOTTPOFF; in tls_fixups()
574 arsp->rel_roffset += 8; in tls_fixups()
575 arsp->rel_raddend = (Sxword)-4; in tls_fixups()
[all …]
H A Dmachrel.sparc.c835 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() argument
837 Sym_desc *sdp = arsp->rel_sym; in tls_fixups()
838 Word rtype = arsp->rel_rtype; in tls_fixups()
840 int bswap = OFL_SWAP_RELOC_DATA(ofl, arsp); in tls_fixups()
843 offset = (Word *)((uintptr_t)arsp->rel_roffset + in tls_fixups()
844 (uintptr_t)_elf_getxoff(arsp->rel_isdesc->is_indata) + in tls_fixups()
845 (uintptr_t)RELAUX_GET_OSDESC(arsp)->os_outdata->d_buf); in tls_fixups()
854 R_SPARC_TLS_IE_HI22, arsp, in tls_fixups()
856 arsp->rel_rtype = R_SPARC_TLS_IE_HI22; in tls_fixups()
861 R_SPARC_TLS_IE_LO10, arsp, in tls_fixups()
[all …]
H A Drelocate.c606 Rel_desc *arsp; in ld_reloc_enter() local
618 arsp = rcbp->rc_free; in ld_reloc_enter()
626 if (!ld_add_rel_aux(ofl, arsp)) in ld_reloc_enter()
628 auxp = arsp->rel_aux; in ld_reloc_enter()
632 *arsp = *rdesc; in ld_reloc_enter()
639 arsp->rel_aux = auxp; in ld_reloc_enter()
642 arsp->rel_flags |= flags; in ld_reloc_enter()
647 return (arsp); in ld_reloc_enter()
797 Rel_desc *arsp; in ld_add_actrel() local
799 if ((arsp = ld_reloc_enter(ofl, &ofl->ofl_actrels, rsp, flags)) == NULL) in ld_add_actrel()
[all …]
/titanic_50/usr/src/cmd/sgs/liblddbg/common/
H A Drelocate.c402 Rel_desc *arsp) in Dbg_reloc_ars_entry() argument
412 if (arsp->rel_flags & (FLG_REL_GOT | FLG_REL_FPTR)) in Dbg_reloc_ars_entry()
415 secname = RELAUX_GET_OSDESC(arsp)->os_name; in Dbg_reloc_ars_entry()
418 conv_reloc_type(mach, arsp->rel_rtype, 0, &inv_buf), in Dbg_reloc_ars_entry()
419 arsp->rel_roffset, arsp->rel_raddend, secname, in Dbg_reloc_ars_entry()
420 arsp->rel_sym->sd_name, MSG_ORIG(MSG_STR_EMPTY)); in Dbg_reloc_ars_entry()