Searched refs:dyn_plt (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c129 uchar_t *dyn_plt; local
136 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
143 * we just set the plt to point to the new dyn_plt.
145 if (*dyn_plt == 0) {
150 (void) memcpy((void *)dyn_plt, dyn_plt_template,
152 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
161 (uintptr_t)(&dyn_plt[TRCREL1OFF]) - 4);
162 if (do_reloc_rtld(R_AMD64_PC32, &dyn_plt[TRCREL1OFF],
175 if (do_reloc_rtld(R_AMD64_64, &dyn_plt[TRCREL2OFF],
192 *(ulong_t *)got_entry = (ulong_t)dyn_plt;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c242 uchar_t *dyn_plt; local
260 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
267 * we just set the plt to point to the new dyn_plt.
269 if (*dyn_plt == 0) {
274 (void) memcpy((void *)dyn_plt, dyn_plt_template,
276 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
284 if (do_reloc_rtld(R_SPARC_HI22, (dyn_plt + 0x20),
296 if (do_reloc_rtld(R_SPARC_LO10, (dyn_plt + 0x24),
308 (uintptr_t)(dyn_plt + 0x28));
309 if (do_reloc_rtld(R_SPARC_WDISP30, (dyn_plt
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c109 uchar_t *dyn_plt; local
116 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
123 * we just set the plt to point to the new dyn_plt.
125 if (*dyn_plt == 0) {
130 (void) memcpy((void *)dyn_plt, dyn_plt_template,
132 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
140 if (do_reloc_rtld(R_386_32, &dyn_plt[4], &symvalue,
154 symvalue = (ulong_t)(elf_plt_trace) - (ulong_t)(dyn_plt + 9);
155 if (do_reloc_rtld(R_386_PC32, &dyn_plt[9], &symvalue,
173 *(ulong_t *)got_entry = (ulong_t)dyn_plt;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c390 uchar_t *dyn_plt; local
408 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
415 * we just set the plt to point to the new dyn_plt.
417 if (*dyn_plt == 0) {
421 (void) memcpy((void *)dyn_plt, dyn_plt_template,
423 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
431 if (!(reloc_val64_to_g1((dyn_plt + 0x14), dyndata,
433 reloc_val64_to_g1((dyn_plt + 0x30), (Addr *)&elf_plt_trace,
452 iflush_range((void *)dyn_plt, sizeof (dyn_plt_template));
456 (uintptr_t)dyn_plt, pltnd
[all...]

Completed in 51 milliseconds