More proper fix for for shared lib debugging support.

This commit is contained in:
Jordan K. Hubbard 1994-01-14 11:47:00 +00:00
parent 5b3dd4f53e
commit 9d4389fddc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=973
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: rtld.c,v 1.12 1993/12/22 23:28:35 jkh Exp $
* $Id: rtld.c,v 1.13 1994/01/12 23:16:19 jkh Exp $
*/
#include <machine/vmparam.h>
@ -242,7 +242,7 @@ struct link_dynamic *dp;
if (link_map_head)
ldp->ldd_sym_loaded = 1;
}
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head;
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head->lm_next;
/* Close our file descriptor */
(void)close(crtp->crt_ldfd);
}

View File

@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: rtld.c,v 1.12 1993/12/22 23:28:35 jkh Exp $
* $Id: rtld.c,v 1.13 1994/01/12 23:16:19 jkh Exp $
*/
#include <machine/vmparam.h>
@ -242,7 +242,7 @@ struct link_dynamic *dp;
if (link_map_head)
ldp->ldd_sym_loaded = 1;
}
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head;
crtp->crt_dp->ld_un.ld_2->ld_loaded = link_map_head->lm_next;
/* Close our file descriptor */
(void)close(crtp->crt_ldfd);
}