Searched refs:dshp (Results 1 – 1 of 1) sorted by relevance
1738 Shdr *dshp, *dstrp, *shp; in do_dynamic() local1744 for (dshp = NULL, shn = 1; shn < mp->hdr.e_shnum; shn++) { in do_dynamic()1748 if (dshp != NULL) { in do_dynamic()1755 dshp = shp; in do_dynamic()1762 if (dshp == NULL) in do_dynamic()1765 if (dshp->sh_link > mp->hdr.e_shnum) { in do_dynamic()1767 _kobj_printf(ops, "no section for sh_link %d\n", dshp->sh_link); in do_dynamic()1770 dstrp = (Shdr *)(mp->shdrs + dshp->sh_link * mp->hdr.e_shentsize); in do_dynamic()1781 dyndata = kobj_alloc(dshp->sh_size, KM_WAIT|KM_TMP); in do_dynamic()1782 if (kobj_read_file(file, dyndata, dshp->sh_size, dshp->sh_offset) < 0) { in do_dynamic()[all …]