From e4d509175a7fb8719b18a4d8caf2f421f2454be7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Sep 1998 14:02:52 +0000 Subject: Update. * elf/dl-object.c (_dl_new_object): Store map address in _dl_loaded if _dl_loaded is NULL. --- elf/dl-object.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'elf') diff --git a/elf/dl-object.c b/elf/dl-object.c index d9dd692be2..297f30ecee 100644 --- a/elf/dl-object.c +++ b/elf/dl-object.c @@ -64,6 +64,8 @@ _dl_new_object (char *realname, const char *libname, int type, /* Add the global scope. */ new->l_scope[idx++] = &_dl_loaded->l_searchlist; } + else + _dl_loaded = new; /* This is our local scope. */ if (loader != NULL) { -- cgit v1.2.3