about summary refs log tree commit diff
path: root/include/link.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-07 07:50:47 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-07 07:50:47 +0000
commitb98e518f5627b95c79bf75d178ae41527c333886 (patch)
tree1f37a65825fa2c2d8a45bcb51309f82b73edd272 /include/link.h
parent7d25e927b54eadfa38d5f189ecb4c4eb8c2ca2c8 (diff)
downloadglibc-b98e518f5627b95c79bf75d178ae41527c333886.tar.gz
glibc-b98e518f5627b95c79bf75d178ae41527c333886.tar.xz
glibc-b98e518f5627b95c79bf75d178ae41527c333886.zip
(struct link_map): Add l_scope_mem and l_scope_max elements. Change l_scope to be a pointer only.
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 0ae05264c7..77c1851736 100644
--- a/include/link.h
+++ b/include/link.h
@@ -200,9 +200,13 @@ struct link_map
        need not be the same as l_addr.  */
     ElfW(Addr) l_map_start, l_map_end;
 
+    /* Default array for 'l_scope'.  */
+    struct r_scope_elem *l_scope_mem[4];
+    /* Size of array allocated for 'l_scope'.  */
+    size_t l_scope_max;
     /* This is an array defining the lookup scope for this link map.
        There are at most three different scope lists.  */
-    struct r_scope_elem *l_scope[4];
+    struct r_scope_elem **l_scope;
 
     /* A similar array, this time only with the local scope.  This is
        used occasionally.  */