Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmachrel.intel.c467 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() argument
469 Sym_desc *sdp = arsp->rel_sym; in tls_fixups()
470 Word rtype = arsp->rel_rtype; in tls_fixups()
473 offset = (uchar_t *)((uintptr_t)arsp->rel_roffset + in tls_fixups()
474 (uintptr_t)_elf_getxoff(arsp->rel_isdesc->is_indata) + in tls_fixups()
475 (uintptr_t)RELAUX_GET_OSDESC(arsp)->os_outdata->d_buf); in tls_fixups()
493 R_386_TLS_GOTIE, arsp, ld_reloc_sym_name)); in tls_fixups()
494 arsp->rel_rtype = R_386_TLS_GOTIE; in tls_fixups()
495 arsp->rel_roffset += 5; in tls_fixups()
518 R_386_NONE, arsp, ld_reloc_sym_name)); in tls_fixups()
[all …]
H A Dmachrel.amd.c551 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() argument
553 Sym_desc *sdp = arsp->rel_sym; in tls_fixups()
554 Word rtype = arsp->rel_rtype; in tls_fixups()
557 offset = (uchar_t *)((uintptr_t)arsp->rel_roffset + in tls_fixups()
558 (uintptr_t)_elf_getxoff(arsp->rel_isdesc->is_indata) + in tls_fixups()
559 (uintptr_t)RELAUX_GET_OSDESC(arsp)->os_outdata->d_buf); in tls_fixups()
587 R_AMD64_GOTTPOFF, arsp, ld_reloc_sym_name)); in tls_fixups()
588 arsp->rel_rtype = R_AMD64_GOTTPOFF; in tls_fixups()
589 arsp->rel_roffset += 8; in tls_fixups()
590 arsp->rel_raddend = (Sxword)-4; in tls_fixups()
[all …]
H A Dmachrel.sparc.c855 tls_fixups(Ofl_desc *ofl, Rel_desc *arsp) in tls_fixups() argument
857 Sym_desc *sdp = arsp->rel_sym; in tls_fixups()
858 Word rtype = arsp->rel_rtype; in tls_fixups()
860 int bswap = OFL_SWAP_RELOC_DATA(ofl, arsp); in tls_fixups()
863 offset = (Word *)((uintptr_t)arsp->rel_roffset + in tls_fixups()
864 (uintptr_t)_elf_getxoff(arsp->rel_isdesc->is_indata) + in tls_fixups()
865 (uintptr_t)RELAUX_GET_OSDESC(arsp)->os_outdata->d_buf); in tls_fixups()
874 R_SPARC_TLS_IE_HI22, arsp, in tls_fixups()
876 arsp->rel_rtype = R_SPARC_TLS_IE_HI22; in tls_fixups()
881 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 …]
/illumos-gate/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()