Home
last modified time | relevance | path

Searched refs:rshp (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c288 Shdr *shp, *rshp; in do_relocations() local
293 rshp = (Shdr *) in do_relocations()
295 if (rshp->sh_type == SHT_REL) { in do_relocations()
300 if (rshp->sh_type != SHT_RELA) in do_relocations()
302 if (rshp->sh_link != mp->symtbl_section) { in do_relocations()
307 if (rshp->sh_info >= mp->hdr.e_shnum) { in do_relocations()
312 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations()
316 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
330 if (do_relocate(mp, (char *)rshp->sh_addr, nreloc, in do_relocations()
331 rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
[all …]
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c297 Shdr *shp, *rshp; in do_relocations() local
302 rshp = (Shdr *) in do_relocations()
304 if (rshp->sh_type == SHT_REL) { in do_relocations()
309 if (rshp->sh_type != SHT_RELA) in do_relocations()
311 if (rshp->sh_link != mp->symtbl_section) { in do_relocations()
316 if (rshp->sh_info >= mp->hdr.e_shnum) { in do_relocations()
322 nreloc = rshp->sh_size / rshp->sh_entsize; in do_relocations()
326 (mp->shdrs + rshp->sh_info * mp->hdr.e_shentsize); in do_relocations()
342 if (do_relocate(mp, (char *)rshp->sh_addr, nreloc, in do_relocations()
343 rshp->sh_entsize, shp->sh_addr) < 0) { in do_relocations()
[all …]