summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-05-22 23:55:23 +0000
committerUlrich Drepper <drepper@redhat.com>2001-05-22 23:55:23 +0000
commit1826d7933b56601f98be8740b5a3c5c07ad00e65 (patch)
treebac05098c70c0ba2a9ba7c279efa518bb722e442 /elf/dl-close.c
parent80d9c5f0b121a46467a0fc4eab587c055d79e583 (diff)
downloadglibc-1826d7933b56601f98be8740b5a3c5c07ad00e65.tar.gz
glibc-1826d7933b56601f98be8740b5a3c5c07ad00e65.tar.xz
glibc-1826d7933b56601f98be8740b5a3c5c07ad00e65.zip
Update.
2001-05-22  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.

	* elf/Makefile (distribute): Add reldep4mod[1234].c.
	(tests): Add reldep4.
	(modules-names): Add reldep4mod[1234].
	(reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
	* elf/reldep4.c: New file.
	* elf/reldep4mod1.c: Likewise.
	* elf/reldep4mod2.c: Likewise.
	* elf/reldep4mod3.c: Likewise.
	* elf/reldep4mod4.c: Likewise.
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 7dce7d0f48..10a906d12e 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -224,8 +224,8 @@ _dl_close (void *_map)
 	      struct reldep_list *newrel;
 
 	      newrel = (struct reldep_list *) alloca (sizeof (*reldeps));
-	      newrel->rellist = map->l_reldeps;
-	      newrel->nrellist = map->l_reldepsact;
+	      newrel->rellist = imap->l_reldeps;
+	      newrel->nrellist = imap->l_reldepsact;
 	      newrel->next = reldeps;
 
 	      reldeps = newrel;