about summary refs log tree commit diff
path: root/include/link.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-10-08 15:33:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-10-08 17:12:28 +0200
commit50b1b7a3905cbcdfbcc7eab335aa81478d711d1a (patch)
treef57de2e1e94207430a2f471b1b169f7ab93e03d1 /include/link.h
parentdb03874df9843ab98c4faeb658f04d17e6db83a6 (diff)
downloadglibc-50b1b7a3905cbcdfbcc7eab335aa81478d711d1a.tar.gz
glibc-50b1b7a3905cbcdfbcc7eab335aa81478d711d1a.tar.xz
glibc-50b1b7a3905cbcdfbcc7eab335aa81478d711d1a.zip
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  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h4
1 files changed, 4 insertions, 0 deletions
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.