From 50b1b7a3905cbcdfbcc7eab335aa81478d711d1a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 8 Oct 2020 15:33:00 +0200 Subject: elf: Make __rtld_env_path_list and __rtld_search_dirs global variables They have been renamed from env_path_list and rtld_search_dirs to avoid linknamespace issues. This change will allow future use these variables in diagnostics. Reviewed-by: Adhemerval Zanella --- include/link.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/link.h') diff --git a/include/link.h b/include/link.h index aea268439c..d4714bc28d 100644 --- a/include/link.h +++ b/include/link.h @@ -79,6 +79,10 @@ struct r_search_path_struct int malloced; }; +/* Search path information computed by _dl_init_paths. */ +extern struct r_search_path_struct __rtld_search_dirs attribute_hidden; +extern struct r_search_path_struct __rtld_env_path_list attribute_hidden; + /* Structure describing a loaded shared object. The `l_next' and `l_prev' members form a chain of all the shared objects loaded at startup. -- cgit v1.2.3