about summary refs log tree commit diff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 6d07e445d9..3f2631a98b 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -343,6 +343,8 @@ dl_open_worker (void *a)
 				    N_("cannot create scope list"));
 		imap->l_scope = newp;
 	      }
+
+	    imap->l_scope_max = new_size;
 	  }
 
 	imap->l_scope[cnt++] = &new->l_searchlist;