/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | boot_elf.S | 95 ! calculate plt relocation entry 148 elf_plt_init(void *plt, caddr_t lmp) 150 *((uint_t *)plt + 0) = (unsigned long) M_SAVESP64; 151 *((uint_t *)plt + 4) = M_CALL | (((unsigned long)elf_rtbndr - 152 ((unsigned long)plt)) >> 2); 153 *((uint_t *)plt + 8) = M_NOP; 154 *((uint_t *)plt + 12) = (unsigned long) lmp; 171 st %o0, [%i0] ! Store in plt[0] 175 inc 4, %i0 ! Bump plt to point to plt[1] 177 ! offset from plt[1] [all …]
|
H A D | sparc_elf.c | 535 elf_reloc(Rt_map *lmp, uint_t plt, int *in_nfavl, APlist **textrel) in elf_reloc() argument 555 if ((plt == 0) && (FLAGS(lmp) & FLG_RT_REGSYMS)) { in elf_reloc() 565 if ((plt == 0) && PLTGOT(lmp)) { in elf_reloc() 591 if (plt) { in elf_reloc() 626 DBG_CALL(Dbg_reloc_run(lmp, 0, plt, DBG_REL_NONE)); in elf_reloc() 633 DBG_CALL(Dbg_reloc_run(lmp, M_REL_SHT_TYPE, plt, DBG_REL_START)); in elf_reloc() 722 if (plt) { in elf_reloc()
|
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | s_common.c | 115 struct ppp_ls *plt; in create_lsmsg() local 117 if ((mp = allocb(sizeof (*plt), BPRI_HI)) == NULL) { in create_lsmsg() 125 mp->b_wptr += sizeof (*plt); in create_lsmsg() 126 plt = (struct ppp_ls *)mp->b_rptr; in create_lsmsg() 127 plt->magic = PPPLSMAGIC; in create_lsmsg() 128 plt->ppp_message = ls_type; in create_lsmsg()
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | boot_elf.S | 191 elf_plt_init(void *plt, caddr_t bindfunc) 195 _plt = (uint_t *)plt; 212 st %o0, [%i0] ! Store in plt[0] 217 st %o4, [%i0 + 0x4] ! Store instruction in plt[1] 223 st %o4, [%i0 + 0x8] ! Store instruction in plt[2] 230 st %o4, [%i0 + 0xc] ! Store instruction in plt[3] 235 st %o4, [%i0 + 0x10] ! Store instruction in plt[4] 239 st %o4, [%i0 + 0x14] ! Store instruction in plt[5] 246 st %o4, [%i0 + 0x18] ! Store instruction in plt[6] 250 st %o4, [%i0 + 0x1c] ! Store instruction in plt[7] [all …]
|
H A D | sparc_elf.c | 679 void *plt; in bindpltpad() local 695 plt = PLTPAD(lmp); in bindpltpad() 696 pltoff = (uintptr_t)plt - (uintptr_t)ADDR(lmp); in bindpltpad() 716 ((uint_t *)plt)[i] = M_NOP; in bindpltpad() 718 iflush_range((caddr_t)plt, M_PLT_ENTSIZE); in bindpltpad() 723 ppi.pp_plt = plt; in bindpltpad() 729 *pltaddr = plt; in bindpltpad() 740 elf_reloc(Rt_map *lmp, uint_t plt, int *in_nfavl, APlist **textrel) in elf_reloc() argument 763 if ((plt == 0) && (FLAGS(lmp) & FLG_RT_REGSYMS)) { in elf_reloc() 773 if ((plt == 0) && PLTGOT(lmp)) { in elf_reloc() [all …]
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm/ |
H A D | ldscript.arm | 42 *(.got.plt .got) 56 .plt : { *(.plt) }
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/ |
H A D | ldscript.arm64 | 17 *(.plt) 54 *(.got.plt .got) 72 *(.rela.plt)
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | ldscript.i386 | 16 *(.plt) 46 *(.got.plt .got) 65 *(.rel.plt)
|
/illumos-gate/usr/src/boot/i386/ |
H A D | boot.ldscript | 24 *(.plt) 31 *(.got.plt .got)
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | ldscript.i386 | 24 *(.plt) 31 *(.got.plt .got)
|
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/ |
H A D | ldscript.amd64 | 16 *(.plt) 51 *(.got.plt .got)
|
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 381 elf_reloc(Rt_map *lmp, uint_t plt, int *in_nfavl, APlist **textrel) in elf_reloc() argument 404 if ((plt == 0) && PLTGOT(lmp)) { in elf_reloc() 439 if (plt) { in elf_reloc() 499 DBG_CALL(Dbg_reloc_run(lmp, 0, plt, DBG_REL_NONE)); in elf_reloc() 502 DBG_CALL(Dbg_reloc_run(lmp, M_REL_SHT_TYPE, plt, DBG_REL_START)); in elf_reloc() 556 if (plthint && (plt == 0) && in elf_reloc() 587 if (plt && ((*(ulong_t *)roffset < _pltbgn) || in elf_reloc()
|
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 360 elf_reloc(Rt_map *lmp, uint_t plt, int *in_nfavl, APlist **textrel) in elf_reloc() argument 382 if ((plt == 0) && PLTGOT(lmp)) { in elf_reloc() 417 if (plt) { in elf_reloc() 477 DBG_CALL(Dbg_reloc_run(lmp, 0, plt, DBG_REL_NONE)); in elf_reloc() 480 DBG_CALL(Dbg_reloc_run(lmp, M_REL_SHT_TYPE, plt, DBG_REL_START)); in elf_reloc() 534 if (plthint && (plt == 0) && in elf_reloc() 564 if (plt && ((*(ulong_t *)roffset < _pltbgn) || in elf_reloc()
|
/illumos-gate/usr/src/test/elf-tests/tests/tls/amd64/ld/ |
H A D | ld-with-addend.s | 33 call __tls_get_addr@plt
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/ |
H A D | librtld_db.sparcv9.msg | 32 @ MSG_DB_BADFPLT "rtld_db: rpr: bad plt instruction found: \
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 1843 } *cp, *cache = NULL, *dyn = NULL, *plt = NULL, *ctf = NULL, in Pbuild_file_symtab() local 2055 plt = cp; in Pbuild_file_symtab() 2267 fptr->file_plt_size = (plt != NULL) ? plt->c_shdr.sh_size : 0; in Pbuild_file_symtab()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | liblddbg.msg | 570 @ MSG_BND_PLT "binding file=%s (%#llx:%#llx) at plt[%lld]:%s to \ 610 @ MSG_REL_PLT " (plt processing only)" 1551 @ MSG_SCN_PLT ".plt" 1643 @ MSG_BINFO_PLTADDR "plt-addr"
|
/illumos-gate/usr/src/cmd/sgs/tools/ |
H A D | SUNWonld-README | 100 4234657 103627-08 breaks purify 4.2 (plt padding should not be enabled for 740 4900684 shared libraries with more then 32768 plt's fail for sparc ELF64 1142 6390410 64-bit LD_PROFILE can fail: relocation error when binding profile plt
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | libld.msg | 811 @ MSG_SCN_PLT ".plt"
|