From owner-freebsd-threads@FreeBSD.ORG Fri Aug 6 12:59:26 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76E9316A4CF for ; Fri, 6 Aug 2004 12:59:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C15B43D4C; Fri, 6 Aug 2004 12:59:26 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) i76CxMRF093940; Fri, 6 Aug 2004 12:59:24 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4113818E.5010601@freebsd.org> Date: Fri, 06 Aug 2004 21:03:10 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.1) Gecko/20040730 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Rabson References: <1091796228.4367.5.camel@builder02.qubesoft.com> In-Reply-To: <1091796228.4367.5.camel@builder02.qubesoft.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-threads@freebsd.org Subject: Re: Pthread patches for TLS X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 12:59:26 -0000 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.