summaryrefslogtreecommitdiff
path: root/debuginfod/libdebuginfod.map
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-11-17 22:17:26 +0100
committerMark Wielaard <mark@klomp.org>2019-11-23 01:03:13 +0100
commitfa0226a78a101d26fd80c7e9e70a5f0aa6f9d1cc (patch)
treebe11c41ebeee936545633327bc76d48cdd0a8d61 /debuginfod/libdebuginfod.map
parent8d5a05a7f006968653f813529be1df253a881040 (diff)
downloadelfutils-fa0226a78a101d26fd80c7e9e70a5f0aa6f9d1cc.tar.gz
debuginfod: add client context
Add a mandatory debuginfod_begin()/_end() call pair to manage a client object that represents persistent but non-global state. From libdwfl, dlopen the debuginfod.so client library early on. This hopefully makes sure that the code (and the libcurl.so dependency) is loaded before the program goes into multi-threaded mode. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'debuginfod/libdebuginfod.map')
-rw-r--r--debuginfod/libdebuginfod.map2
1 files changed, 2 insertions, 0 deletions
diff --git a/debuginfod/libdebuginfod.map b/debuginfod/libdebuginfod.map
index b322cba6..0d26f93e 100644
--- a/debuginfod/libdebuginfod.map
+++ b/debuginfod/libdebuginfod.map
@@ -1,6 +1,8 @@
ELFUTILS_0 { };
ELFUTILS_0.178 {
global:
+ debuginfod_begin;
+ debuginfod_end;
debuginfod_find_debuginfo;
debuginfod_find_executable;
debuginfod_find_source;