From b98e518f5627b95c79bf75d178ae41527c333886 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Sep 2001 07:50:47 +0000 Subject: [PATCH] (struct link_map): Add l_scope_mem and l_scope_max elements. Change l_scope to be a pointer only. --- include/link.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. */ -- 2.7.4