summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.h
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2005-02-27 12:55:40 +0000
committerdfr <dfr@FreeBSD.org>2005-02-27 12:55:40 +0000
commit0c34e7e727f487797ac2d25272d1d1a536d42a85 (patch)
treebc9d98ec067871de6297cc375f424591f69b4c1a /libexec/rtld-elf/rtld.h
parent5d9bc16368a571a4efed23a179ae62e3a0610008 (diff)
downloadFreeBSD-src-0c34e7e727f487797ac2d25272d1d1a536d42a85.zip
FreeBSD-src-0c34e7e727f487797ac2d25272d1d1a536d42a85.tar.gz
Attempt to free any static TLS space used by a shared library when it
is unloaded. This allows applications which load and unload libraries like libGL.so.1 several times to work properly. MFC after: 2 days
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r--libexec/rtld-elf/rtld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index 69964d6..bee36af 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -238,6 +238,7 @@ void *allocate_tls(Obj_Entry *, void *, size_t, size_t);
void free_tls(void *, size_t, size_t);
void *allocate_module_tls(int index);
bool allocate_tls_offset(Obj_Entry *obj);
+void free_tls_offset(Obj_Entry *obj);
/*
* MD function declarations.
OpenPOWER on IntegriCloud