From e4d509175a7fb8719b18a4d8caf2f421f2454be7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Sep 1998 14:02:52 +0000 Subject: [PATCH] Update. * elf/dl-object.c (_dl_new_object): Store map address in _dl_loaded if _dl_loaded is NULL. --- ChangeLog | 3 +++ elf/dl-object.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index c7d9257b65..6848767d0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1998-09-08 Ulrich Drepper + * 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 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) { -- 2.11.4.GIT