aboutsummaryrefslogtreecommitdiff
path: root/include
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
parent7d25e927b54eadfa38d5f189ecb4c4eb8c2ca2c8 (diff)
downloadglibc-b98e518f5627b95c79bf75d178ae41527c333886.zip
glibc-b98e518f5627b95c79bf75d178ae41527c333886.tar.gz
glibc-b98e518f5627b95c79bf75d178ae41527c333886.tar.bz2
(struct link_map): Add l_scope_mem and l_scope_max elements. Change l_scope to be a pointer only.
Diffstat (limited to 'include')
-rw-r--r--include/link.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index 0ae0526..77c1851 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. */