summaryrefslogtreecommitdiffstats
path: root/lib/libc/include
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2004-08-15 16:18:52 +0000
committerdfr <dfr@FreeBSD.org>2004-08-15 16:18:52 +0000
commit2f90ca8b3cce7d9b8e36a7641f90e8d59ebde4a5 (patch)
treee8c5fbe955b31ea20466f96e5959370ad849667b /lib/libc/include
parentce4e47fed011aaea8720c16b940600231fdab789 (diff)
downloadFreeBSD-src-2f90ca8b3cce7d9b8e36a7641f90e8d59ebde4a5.zip
FreeBSD-src-2f90ca8b3cce7d9b8e36a7641f90e8d59ebde4a5.tar.gz
Add support for TLS in statically linked programs.
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/libc_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index f18dde5..0f170db 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -113,6 +113,15 @@ extern pthread_func_entry_t __thr_jtable[];
int _yp_check(char **);
#endif
+/*
+ * Initialise TLS for static programs
+ */
+void _init_tls(void);
+
+/*
+ * Set the TLS thread pointer
+ */
+void _set_tp(void *tp);
/*
* This is a pointer in the C run-time startup code. It is used
OpenPOWER on IntegriCloud