diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2005-02-27 12:55:40 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2005-02-27 12:55:40 +0000 |
| commit | ddab7ee80aeeaf519a0e0bb5bf2944f5ebbaa44f (patch) | |
| tree | bc9d98ec067871de6297cc375f424591f69b4c1a /libexec/rtld-elf/rtld.h | |
| parent | 9bdd3e8497e55718c9f00156b461d347d1703510 (diff) | |
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
Notes
svn path=/head/; revision=142645
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
| -rw-r--r-- | libexec/rtld-elf/rtld.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index 69964d62b675..bee36aff1e70 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. |
