From ccd13c49b55616e3f92a3cf37512dc24aeb41e0a Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 15 Aug 2004 16:18:52 +0000 Subject: Add support for TLS in statically linked programs. --- lib/libc/include/libc_private.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/libc/include') diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index f18dde57c34b..0f170dbb9b6d 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 -- cgit v1.3