Lines Matching refs:plt

62  * to the offset to the plt entry in %g1 to calculate the plt entry address
157 * Initialize a plt entry so that function calls go to 'bindfunc'
162 * The plt entries (PLT0 and PLT1) look like:
192 elf_plt_init(void *plt, caddr_t bindfunc)
196 _plt = (uint_t *)plt;
213 st %o0, [%i0] ! Store in plt[0]
218 st %o4, [%i0 + 0x4] ! Store instruction in plt[1]
224 st %o4, [%i0 + 0x8] ! Store instruction in plt[2]
231 st %o4, [%i0 + 0xc] ! Store instruction in plt[3]
236 st %o4, [%i0 + 0x10] ! Store instruction in plt[4]
240 st %o4, [%i0 + 0x14] ! Store instruction in plt[5]
247 st %o4, [%i0 + 0x18] ! Store instruction in plt[6]
251 st %o4, [%i0 + 0x1c] ! Store instruction in plt[7]
284 * After the first call to a plt, elf_bndr() will have determined the true
285 * address of the function being bound. The plt is now rewritten so that
289 * For complete 64-bit spanning, the new plt entry is:
408 st %o3, [%o0 + 0xc] ! store instruction in plt[3]
415 st %o3, [%o0 + 0x8] ! store instruction in plt[2]
425 stx %o3, [%o0] ! store instructions into plt[0] plt[1]
461 st %o3, [%o0 + 0x10] ! store instruction in plt[4]
465 st %o3, [%o0 + 0xc] ! store instruction in plt[3]
472 st %o3, [%o0 + 8] ! store instruction in plt[2]
482 stx %o3, [%o0] ! store instructions into plt[0] plt[1]
516 st %o3, [%o0 + 0x18] ! store instruction in plt[6]
521 st %o3, [%o0 + 0x14] ! store instruction in plt[5]
525 st %o3, [%o0 + 0x10] ! store instruction in plt[4]
533 st %o3, [%o0 + 0xc] ! store instruction in plt[3]
538 st %o3, [%o0 + 0x8] ! store instruction in plt[2]
548 stx %o3, [%o0] ! store instructions into plt[0] plt[1]