Home
last modified time | relevance | path

Searched refs:pltoff (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c106 Xword pltoff; in ldso_plt_init() local
111 pltoff = (2 * M_PLT_ENTSIZE) / M_PLT_INSSIZE; in ldso_plt_init()
112 elf_plt2_init(PLTGOT(lmp) + pltoff, lmp); in ldso_plt_init()
126 pltoff = M_PLT_ENTSIZE / M_PLT_INSSIZE; in ldso_plt_init()
127 elf_plt_init(PLTGOT(lmp) + pltoff, (caddr_t)elf_rtbndr); in ldso_plt_init()
477 elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from) in elf_bndr() argument
516 addr = pltoff - M_PLT_RESERVSZ; in elf_bndr()
518 if (pltoff < (M64_PLT_NEARPLTS * M_PLT_ENTSIZE)) { in elf_bndr()
523 pltblockoff = pltoff - (M64_PLT_NEARPLTS * M_PLT_ENTSIZE); in elf_bndr()
542 EC_NATPTR(lmp), EC_XWORD(pltoff), EC_NATPTR(from)); in elf_bndr()
[all …]
H A Dboot_elf.s101 elf_rtbndr(Rt_map *lmp, unsigned long pltoff, caddr_t from)
103 (void) elf_bndr(lmp, pltoff, from);
131 elf_rtbndr_far(Rt_map *lmp, unsigned long pltoff, caddr_t from)
133 (void) elf_bndr(lmp, pltoff, from);
142 sub %i0, %o2, %o1 ! pltoff = pc - 0x10 - .PLT0
/titanic_41/usr/src/cmd/sgs/librtld_db/amd64/
H A Dplt64_resolution.c56 psaddr_t pltoff, pltaddr; in plt64_resolution() local
64 pltoff = pc - pltbase; in plt64_resolution()
66 ((pltoff / M_PLT_ENTSIZE) * M_PLT_ENTSIZE); in plt64_resolution()
/titanic_41/usr/src/cmd/sgs/librtld_db/sparcv9/
H A Dplt64_resolution.c59 psaddr_t pltoff; in plt64_resolution() local
67 pltoff = pc - pltbase; in plt64_resolution()
69 if (pltoff >= (M64_PLT_NEARPLTS * M64_PLT_ENTSIZE)) { in plt64_resolution()
86 pltblockoff = pltoff - (M64_PLT_NEARPLTS * M64_PLT_ENTSIZE); in plt64_resolution()
150 ((pltoff / M64_PLT_ENTSIZE) * M64_PLT_ENTSIZE); in plt64_resolution()
/titanic_41/usr/src/cmd/sgs/librtld_db/sparc/
H A Dplt32_resolution.c56 psaddr_t pltoff, pltaddr; in plt32_resolution() local
59 pltoff = pc - pltbase; in plt32_resolution()
61 ((pltoff / M32_PLT_ENTSIZE) * M32_PLT_ENTSIZE); in plt32_resolution()
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dmachrel.sparc.c287 Sxword pltoff; /* offset to PLT instr. sequence */ in plt_far_entry() local
313 pltoff = pltblockoff + in plt_far_entry()
347 *raddend = -(pltoff + 4 + (Xword)(ofl->ofl_osplt->os_shdr->sh_addr)); in plt_far_entry()
350 pltent = (uint32_t *)(pltbuf + pltoff); in plt_far_entry()
362 pltent[3] |= (uint32_t)(pltptroff - (pltoff + 4)); in plt_far_entry()
369 *pltentptr = -(pltoff + 4); in plt_far_entry()
397 Sxword pltoff; /* Offset of this entry from PLT top */ in plt_entry() local
410 pltoff = M_PLT_RESERVSZ + (pltndx - 1) * M_PLT_ENTSIZE; in plt_entry()
411 pltent = (uchar_t *)ofl->ofl_osplt->os_outdata->d_buf + pltoff; in plt_entry()
413 *roffset = pltoff + (Xword)(ofl->ofl_osplt->os_shdr->sh_addr); in plt_entry()
[all …]
/titanic_41/usr/src/cmd/sgs/librtld_db/i386/
H A Dplt32_resolution.c151 psaddr_t pltoff, pltaddr; in plt32_resolution() local
159 pltoff = pc - pltbase; in plt32_resolution()
161 ((pltoff / M_PLT_ENTSIZE) * M_PLT_ENTSIZE); in plt32_resolution()
/titanic_41/usr/src/lib/libproc/sparcv9/
H A DPisadep.c66 uintptr_t pltoff; in Ppltdest() local
68 pltoff = pltaddr - fp->file_plt_base; in Ppltdest()
69 if (pltoff < (M64_PLT_NEARPLTS * M64_PLT_ENTSIZE)) { in Ppltdest()
74 pltblockoff = pltoff - (M64_PLT_NEARPLTS * in Ppltdest()
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A Dboot_elf.s76 elf_rtbndr(Rt_map *lmp, unsigned long pltoff, caddr_t from)
78 (void) elf_bndr(lmp, pltoff, from);
H A Dsparc_elf.c350 elf_bndr(Rt_map *lmp, ulong_t pltoff, caddr_t from) in elf_bndr() argument
388 addr = pltoff - M_PLT_RESERVSZ; in elf_bndr()
401 EC_NATPTR(lmp), EC_XWORD(pltoff), EC_NATPTR(from)); in elf_bndr()