/titanic_44/usr/src/cmd/sgs/librtld_db/sparcv9/ |
H A D | plt64_resolution.c | 71 psaddr_t pltaddr; in plt64_resolution() local 93 pltaddr = pltbase + (M64_PLT_NEARPLTS * M64_PLT_ENTSIZE) + in plt64_resolution() 96 if (ps_pread(rap->rd_psp, pltaddr, (char *)instr, in plt64_resolution() 99 EC_ADDR(pltaddr))); in plt64_resolution() 106 EC_ADDR(pltaddr), EC_ADDR(instr[0]))); in plt64_resolution() 116 pltptr += pltaddr + 4; in plt64_resolution() 128 pltptrval += pltaddr + 4; in plt64_resolution() 147 psaddr_t pltaddr; in plt64_resolution() local 149 pltaddr = pltbase + in plt64_resolution() 152 if (ps_pread(rap->rd_psp, pltaddr, (char *)instr, in plt64_resolution() [all …]
|
/titanic_44/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 59 psaddr_t pltaddr; in rli_func() local 67 pltaddr = rli_data->rlid_pltaddr; in rli_func() 92 if ((pltaddr >= (phdr.p_vaddr + baseaddr)) && in rli_func() 93 (pltaddr < (phdr.p_vaddr + baseaddr + in rli_func() 151 psaddr_t pltoff, pltaddr; in plt32_resolution() local 160 pltaddr = pltbase + in plt32_resolution() 165 if (ps_pread(rap->rd_psp, pltaddr + 2, (char *)&addr, in plt32_resolution() 167 LOG(ps_plog(MSG_ORIG(MSG_DB_READFAIL_2), EC_ADDR(pltaddr + 2))); in plt32_resolution() 174 if (ps_pread(rap->rd_psp, pltaddr + 1, (char *)&ebx, in plt32_resolution() 176 LOG(ps_plog(MSG_ORIG(MSG_DB_READFAIL_2), EC_ADDR(pltaddr + 1))); in plt32_resolution() [all …]
|
/titanic_44/usr/src/cmd/sgs/librtld_db/amd64/ |
H A D | plt64_resolution.c | 56 psaddr_t pltoff, pltaddr; in plt64_resolution() local 65 pltaddr = pltbase + in plt64_resolution() 70 if (ps_pread(rap->rd_psp, pltaddr + 2, (char *)&pcrel, in plt64_resolution() 72 LOG(ps_plog(MSG_ORIG(MSG_DB_READFAIL_2), EC_ADDR(pltaddr + 2))); in plt64_resolution() 80 destaddr = pcrel + pltaddr + 6; in plt64_resolution() 90 if (destaddr == (pltaddr + 6)) { in plt64_resolution()
|
/titanic_44/usr/src/cmd/sgs/librtld_db/sparc/ |
H A D | plt32_resolution.c | 56 psaddr_t pltoff, pltaddr; in plt32_resolution() local 60 pltaddr = pltbase + in plt32_resolution() 63 if (ps_pread(rap->rd_psp, pltaddr, (char *)instr, in plt32_resolution() 65 LOG(ps_plog(MSG_ORIG(MSG_DB_READFAIL_2), EC_ADDR(pltaddr))); in plt32_resolution() 122 destaddr = ((int)pltaddr + 4) + in plt32_resolution() 142 destaddr = ((int)pltaddr + 4) + in plt32_resolution()
|
/titanic_44/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 150 uintptr_t vpltaddr, pltaddr; in elf_plt_write() local 154 pltaddr = addr + rel->r_offset; in elf_plt_write() 159 *((Sxword *)pltaddr) = (uintptr_t)symval + in elf_plt_write() 173 pltent = (uint_t *)pltaddr; in elf_plt_write() 214 plt_upper_32(pltaddr, symval); in elf_plt_write() 220 plt_upper_44(pltaddr, symval); in elf_plt_write() 230 plt_full_range(pltaddr, symval); in elf_plt_write() 674 bindpltpad(Rt_map *lmp, Alist **padlist, Addr value, void **pltaddr, in bindpltpad() argument 686 *pltaddr = ppip->pp_plt; in bindpltpad() 687 DBG_CALL(Dbg_bind_pltpad_from(lmp, (Addr)*pltaddr, in bindpltpad() [all …]
|
/titanic_44/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 49 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() argument 51 map_info_t *mp = Paddr2mptr(P, pltaddr); in Ppltdest() 59 fp->file_plt_base == 0 || pltaddr < fp->file_plt_base || in Ppltdest() 60 pltaddr >= fp->file_plt_base + fp->file_plt_size) { in Ppltdest() 65 i = (pltaddr - fp->file_plt_base - in Ppltdest()
|
/titanic_44/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 49 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() argument 51 map_info_t *mp = Paddr2mptr(P, pltaddr); in Ppltdest() 58 fp->file_plt_base == 0 || pltaddr < fp->file_plt_base || in Ppltdest() 59 pltaddr >= fp->file_plt_base + fp->file_plt_size) { in Ppltdest() 68 pltoff = pltaddr - fp->file_plt_base; in Ppltdest() 70 i = (pltaddr - fp->file_plt_base - in Ppltdest() 97 i = (pltaddr - fp->file_plt_base - in Ppltdest()
|
/titanic_44/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 45 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() argument 47 map_info_t *mp = Paddr2mptr(P, pltaddr); in Ppltdest() 56 pltaddr - fp->file_plt_base >= fp->file_plt_size) { in Ppltdest() 61 i = (pltaddr - fp->file_plt_base) / M_PLT_ENTSIZE - M_PLT_XNumber; in Ppltdest()
|
/titanic_44/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 47 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() argument 49 map_info_t *mp = Paddr2mptr(P, pltaddr); in Ppltdest() 56 pltaddr - fp->file_plt_base >= fp->file_plt_size) { in Ppltdest() 61 i = (pltaddr - fp->file_plt_base) / M_PLT_ENTSIZE - M_PLT_XNumber; in Ppltdest()
|
/titanic_44/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 117 uintptr_t vpltaddr, pltaddr; in elf_plt_write() local 120 pltaddr = addr + rel->r_offset; in elf_plt_write() 132 pltent = (uint_t *)pltaddr; in elf_plt_write() 177 plt_full_range(pltaddr, symval); in elf_plt_write()
|
/titanic_44/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 944 uintptr_t pltaddr; in elf_plt_write() local 946 pltaddr = addr + rel->r_offset; in elf_plt_write() 947 *(ulong_t *)pltaddr = (ulong_t)symval + rel->r_addend; in elf_plt_write()
|
/titanic_44/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 1008 uintptr_t pltaddr; in elf_plt_write() local 1010 pltaddr = addr + rel->r_offset; in elf_plt_write() 1011 *(ulong_t *)pltaddr = (ulong_t)symval; in elf_plt_write()
|