Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dgot.c53 Word gotndx; in Dbg_got_display() local
78 for (gotndx = 0; gotndx < ofl->ofl_gotcnt; gotndx++, gtp++, gptr++) { in Dbg_got_display()
83 Off off = goff + (gotndx * m_got_entsize); in Dbg_got_display()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmachrel.amd.c98 Xword gotndx; in ld_calc_got_offset() local
114 gotndx = (Xword)gnp->gn_gotndx; in ld_calc_got_offset()
118 gotndx++; in ld_calc_got_offset()
120 return ((Xword)(osp->os_shdr->sh_addr + (gotndx * M_GOT_ENTSIZE))); in ld_calc_got_offset()
947 Word gotndx; in ld_do_activerelocs() local
962 gotndx = gnp->gn_gotndx + 1; in ld_do_activerelocs()
964 gotndx = gnp->gn_gotndx; in ld_do_activerelocs()
966 R1addr = (Xword)(gotndx * M_GOT_ENTSIZE); in ld_do_activerelocs()
H A Dmachrel.intel.c67 Xword gotndx; in ld_calc_got_offset() local
83 gotndx = (Xword)gnp->gn_gotndx; in ld_calc_got_offset()
87 gotndx++; in ld_calc_got_offset()
89 return ((Xword)(osp->os_shdr->sh_addr + (gotndx * M_GOT_ENTSIZE))); in ld_calc_got_offset()
947 Word gotndx; in ld_do_activerelocs() local
962 gotndx = gnp->gn_gotndx + 1; in ld_do_activerelocs()
964 gotndx = gnp->gn_gotndx; in ld_do_activerelocs()
966 R1addr = (Xword)(gotndx * M_GOT_ENTSIZE); in ld_do_activerelocs()
H A Dmachrel.sparc.c77 Xword gotndx; in ld_calc_got_offset() local
93 gotndx = (Xword)gnp->gn_gotndx; in ld_calc_got_offset()
97 gotndx++; in ld_calc_got_offset()
99 return ((Xword)((osp->os_shdr->sh_addr) + (gotndx * M_GOT_ENTSIZE) + in ld_calc_got_offset()
1242 Sword gotndx; in ld_do_activerelocs() local
1267 gotndx = gnp->gn_gotndx + 1; in ld_do_activerelocs()
1269 gotndx = gnp->gn_gotndx; in ld_do_activerelocs()
1273 (gotndx * M_GOT_ENTSIZE)); in ld_do_activerelocs()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c4354 Word cnt, gotents, gotndx; in got() local
4522 gotndx = (Word)((offset - gotbgn) / in got()
4524 gip = &gottable[gotndx]; in got()
4529 EC_WORD(gotndx), EC_ADDR(offset)); in got()
4553 for (gotndx = 0; gotndx < gotents; gotndx++) { in got()
4559 gip = &gottable[gotndx]; in got()
4561 gaddr = gotbgn + (gotndx * gentsize); in got()
4566 gotentry = (Xword)(*((Word *)(gotdata) + gotndx)); in got()
4569 gotentry = *((Xword *)(gotdata) + gotndx); in got()