M_PLT_ENTSIZE
static uchar_t plt0_template[M_PLT_ENTSIZE] = {
M_PLT_ENTSIZE, /* m_plt_entsize */
M_PLT_RESERVSZ + ((sdp->sd_aux->sa_PLTndx - 1) * M_PLT_ENTSIZE);
static uchar_t pltn_entry[M_PLT_ENTSIZE] = {
M_PLT_ENTSIZE);
M_PLT_RESERVSZ + ((sdp->sd_aux->sa_PLTndx - 1) * M_PLT_ENTSIZE);
M_PLT_ENTSIZE, /* m_plt_entsize */
M_PLT_ENTSIZE);
(pltndx * M_PLT_ENTSIZE);
M_PLT_ENTSIZE, /* m_plt_entsize */
(M64_PLT_NEARPLTS * M_PLT_ENTSIZE) +
pltblockoff = (M64_PLT_NEARPLTS * M_PLT_ENTSIZE) +
pltoff = M_PLT_RESERVSZ + (pltndx - 1) * M_PLT_ENTSIZE;
(((pltoff + M_PLT_ENTSIZE) >> 2) & S_MASK(19));
(pltndx * M_PLT_ENTSIZE);
pltoff = M_PLT_RESERVSZ + (pltndx - 1) * M_PLT_ENTSIZE;
((pltoff / M_PLT_ENTSIZE) * M_PLT_ENTSIZE);
((pltoff / M_PLT_ENTSIZE) * M_PLT_ENTSIZE);
M_PLT_ENTSIZE) + M_PLT_RESERVSZ;
M_PLT_ENTSIZE) + M_PLT_RESERVSZ;
pltndx = addr / M_PLT_ENTSIZE;
if (!lmp || ((addr % M_PLT_ENTSIZE) != 0)) {
pltoff = (2 * M_PLT_ENTSIZE) / M_PLT_INSSIZE;
pltoff = M_PLT_ENTSIZE / M_PLT_INSSIZE;
if (pltoff < (M64_PLT_NEARPLTS * M_PLT_ENTSIZE)) {
pltndx = addr / M_PLT_ENTSIZE;
pltblockoff = pltoff - (M64_PLT_NEARPLTS * M_PLT_ENTSIZE);
if (!lmp || (!farplt && (addr % M_PLT_ENTSIZE) != 0) ||
PLTPAD(lmp) = (void *)((uintptr_t)PLTPAD(lmp) + M_PLT_ENTSIZE);
for (i = 0; i < (M_PLT_ENTSIZE / sizeof (uint_t)); i++) {
iflush_range((caddr_t)plt, M_PLT_ENTSIZE);
pltoff = (2 * M_PLT_ENTSIZE) / M_PLT_INSSIZE;
pltoff = M_PLT_ENTSIZE / M_PLT_INSSIZE;
i = (pltaddr - fp->file_plt_base) / M_PLT_ENTSIZE - M_PLT_XNumber;
pltsz = (pltentries + M_PLT_XNumber) * M_PLT_ENTSIZE;
sp->sh_entsize = M_PLT_ENTSIZE;
i = (pltaddr - fp->file_plt_base) / M_PLT_ENTSIZE - M_PLT_XNumber;