--- src/libexec/rtld-elf/i386/rtld_machdep.h 2005/03/22 22:56:36 1.6 +++ src/libexec/rtld-elf/i386/rtld_machdep.h 2005/05/11 19:47:09 1.7 @@ -76,7 +76,10 @@ typedef struct { unsigned long ti_offset; } tls_index; +struct tls_tcb; + extern void *___tls_get_addr(tls_index *ti) __attribute__((__regparm__(1))); extern void *__tls_get_addr(tls_index *ti); +extern void *__tls_get_addr_tcb(struct tls_tcb *tcb, tls_index *ti); #endif