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

/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c130 uchar_t *dyn_plt; local
137 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
144 * we just set the plt to point to the new dyn_plt.
146 if (*dyn_plt == 0) {
151 (void) memcpy((void *)dyn_plt, dyn_plt_template,
153 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
162 (uintptr_t)(&dyn_plt[TRCREL1OFF]) - 4);
163 if (do_reloc_rtld(R_AMD64_PC32, &dyn_plt[TRCREL1OFF],
176 if (do_reloc_rtld(R_AMD64_64, &dyn_plt[TRCREL2OFF],
193 *(ulong_t *)got_entry = (ulong_t)dyn_plt;
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c243 uchar_t *dyn_plt; local
261 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
268 * we just set the plt to point to the new dyn_plt.
270 if (*dyn_plt == 0) {
275 (void) memcpy((void *)dyn_plt, dyn_plt_template,
277 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
285 if (do_reloc_rtld(R_SPARC_HI22, (dyn_plt + 0x20),
297 if (do_reloc_rtld(R_SPARC_LO10, (dyn_plt + 0x24),
309 (uintptr_t)(dyn_plt + 0x28));
310 if (do_reloc_rtld(R_SPARC_WDISP30, (dyn_plt
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c110 uchar_t *dyn_plt; local
117 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
124 * we just set the plt to point to the new dyn_plt.
126 if (*dyn_plt == 0) {
131 (void) memcpy((void *)dyn_plt, dyn_plt_template,
133 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
141 if (do_reloc_rtld(R_386_32, &dyn_plt[4], &symvalue,
155 symvalue = (ulong_t)(elf_plt_trace) - (ulong_t)(dyn_plt + 9);
156 if (do_reloc_rtld(R_386_PC32, &dyn_plt[9], &symvalue,
174 *(ulong_t *)got_entry = (ulong_t)dyn_plt;
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c391 uchar_t *dyn_plt; local
409 dyn_plt = (uchar_t *)((uintptr_t)AUDINFO(rlmp)->ai_dynplts +
416 * we just set the plt to point to the new dyn_plt.
418 if (*dyn_plt == 0) {
422 (void) memcpy((void *)dyn_plt, dyn_plt_template,
424 dyndata = (uintptr_t *)((uintptr_t)dyn_plt +
432 if (!(reloc_val64_to_g1((dyn_plt + 0x14), dyndata,
434 reloc_val64_to_g1((dyn_plt + 0x30), (Addr *)&elf_plt_trace,
453 iflush_range((void *)dyn_plt, sizeof (dyn_plt_template));
457 (uintptr_t)dyn_plt, pltnd
[all...]

Completed in 47 milliseconds