Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Aug 2004 14:15:26 +0100
From:      Doug Rabson <dfr@nlsystems.com>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: Pthread patches for TLS
Message-ID:  <1091798125.4367.8.camel@builder02.qubesoft.com>
In-Reply-To: <4113818E.5010601@freebsd.org>
References:  <Pine.GSO.4.10.10408051116490.3077-100000@pcnet5.pcnet.com> <1091796228.4367.5.camel@builder02.qubesoft.com> <4113818E.5010601@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2004-08-06 at 14:03, David Xu wrote:
> Doug Rabson wrote:
> 
> >>  http://docs.freebsd.org/mail/archive/2003/freebsd-arch/20030330.freebsd-arch.html
> >>
> >>Look for "Not providing static libraries", Mar 26, 2003, freebsd-arch
> >>
> >>Note that Solaris doesn't have static thread libraries.  I'm not sure about
> >>Linux...
> >>    
> >>
> >
> >I thought I was in luck when I noticed the AT_PHDR entry but
> >unfortunately its NULL in static programs. I reckon I can fix that in
> >the kernel since the phdrs are definately inside the first load segment.
> >
> >  
> >
> I hope the current tls structure will be kept both in rtld and libpthread,
> I have already done tls debugger support locally this afternoon.
> 

Static support won't affect how libpthread works at all. All that will
happen is that the stub _rtld_allocate_tls() in libc will provide the
TLS support for static binaries.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1091798125.4367.8.camel>