Pthread patches for TLS

Petri Helenius pete at
Thu Aug 5 08:17:07 PDT 2004

Doug Rabson wrote:

>I haven't tried to support static linked TLS at all. The plan is to get 
>the kernel to size the TLS segment and add extra AUXARGs to report its 
>size, initialiser location and alignment. The stubs in libc/gen/tls.c 
>would be extended to provide support for allocating the TLS blocks in 
>the static case.
>I was under the impression that no-one particularly wanted to support 
>pthreads in statically linked binaries?
Does this still allow for some, non-thread libraries to be linked 
statically as long as libpthread is dynamically linked?


More information about the freebsd-threads mailing list