Home
last modified time | relevance | path

Searched refs:pltent (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dmachrel.intel.c165 uchar_t *pltent, *gotent; in plt_entry() local
173 pltent = (uchar_t *)(ofl->ofl_osplt->os_outdata->d_buf) + plt_off; in plt_entry()
187 pltent[0] = M_SPECIAL_INST; in plt_entry()
188 pltent[1] = M_JMP_DISP_IND; in plt_entry()
189 pltent += 2; in plt_entry()
191 *(Word *)pltent = (Word)(ofl->ofl_osgot->os_shdr->sh_addr + in plt_entry()
194 pltent[0] = M_SPECIAL_INST; in plt_entry()
195 pltent[1] = M_JMP_REG_DISP_IND; in plt_entry()
196 pltent += 2; in plt_entry()
198 *(Word *)pltent = (Word)got_off; in plt_entry()
[all …]
H A Dmachrel.sparc.c284 uint32_t *pltent; /* ptr to plt instr. sequence */ in plt_far_entry() local
350 pltent = (uint32_t *)(pltbuf + pltoff); in plt_far_entry()
353 (void) memcpy(pltent, farplt_instrs, sizeof (farplt_instrs)); in plt_far_entry()
362 pltent[3] |= (uint32_t)(pltptroff - (pltoff + 4)); in plt_far_entry()
396 uchar_t *pltent; /* PLT entry being created. */ in plt_entry() local
411 pltent = (uchar_t *)ofl->ofl_osplt->os_outdata->d_buf + pltoff; in plt_entry()
420 *(Word *)pltent = M_SETHIG1 | pltoff; in plt_entry()
423 *(Word *)pltent = ld_bswap_Word(*(Word *)pltent); in plt_entry()
429 pltent += M_PLT_INSSIZE; in plt_entry()
433 *(Word *)pltent = M_BA_A_XCC | in plt_entry()
[all …]
H A Dmachrel.amd.c196 uchar_t *plt0, *pltent, *gotent; in plt_entry() local
206 pltent = plt0 + plt_off; in plt_entry()
209 bcopy(pltn_entry, pltent, sizeof (pltn_entry)); in plt_entry()
236 if (do_reloc_ld(&rdesc_r_amd64_gotpcrel, &pltent[0x02], &val1, in plt_entry()
250 if (do_reloc_ld(&rdesc_r_amd64_32, &pltent[0x07], &val1, in plt_entry()
267 (uintptr_t)(&pltent[0x10]))); in plt_entry()
269 if (do_reloc_ld(&rdesc_r_amd64_pc32, &pltent[0x0c], &val1, in plt_entry()
1494 uchar_t *pltent; in ld_fillin_gotplt() local
1497 pltent = (uchar_t *)ofl->ofl_osplt->os_outdata->d_buf; in ld_fillin_gotplt()
1498 bcopy(plt0_template, pltent, sizeof (plt0_template)); in ld_fillin_gotplt()
[all …]
/titanic_41/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c129 uint_t *pltent, bainstr; in elf_plt_write() local
132 pltent = (uint_t *)pltaddr; in elf_plt_write()
163 pltent[2] = M_NOP; /* nop instr */ in elf_plt_write()
164 pltent[1] = bainstr; in elf_plt_write()
166 iflush_range((char *)(&pltent[1]), 4); in elf_plt_write()
167 pltent[0] = M_NOP; /* nop instr */ in elf_plt_write()
168 iflush_range((char *)(&pltent[0]), 4); in elf_plt_write()
/titanic_41/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c170 uint_t *pltent, bainstr; in elf_plt_write() local
173 pltent = (uint_t *)pltaddr; in elf_plt_write()
204 pltent[2] = M_NOP; /* nop instr */ in elf_plt_write()
205 pltent[1] = bainstr; in elf_plt_write()
207 iflush_range((char *)(&pltent[1]), 4); in elf_plt_write()
208 pltent[0] = M_NOP; /* nop instr */ in elf_plt_write()
209 iflush_range((char *)(&pltent[0]), 4); in elf_plt_write()