about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog3
-rw-r--r--elf/dl-object.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c7d9257b65..6848767d0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
 
+	* elf/dl-object.c (_dl_new_object): Store map address in
+	_dl_loaded if _dl_loaded is NULL.
+
 	* sysdeps/generic/setrlimit64.c: Remove stub warning.
 
 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
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)
     {