about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-08 14:02:52 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-08 14:02:52 +0000
commite4d509175a7fb8719b18a4d8caf2f421f2454be7 (patch)
treeeed593c7b2ab61a532da345778d3fa007f310863 /elf
parent8ea4a95a5ae84530807ef84f20848567f75ed596 (diff)
downloadglibc-e4d509175a7fb8719b18a4d8caf2f421f2454be7.tar.gz
glibc-e4d509175a7fb8719b18a4d8caf2f421f2454be7.tar.xz
glibc-e4d509175a7fb8719b18a4d8caf2f421f2454be7.zip
Update.
	* elf/dl-object.c (_dl_new_object): Store map address in
	_dl_loaded if _dl_loaded is NULL.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-object.c2
1 files changed, 2 insertions, 0 deletions
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)
     {