From owner-freebsd-threads@FreeBSD.ORG Thu Aug 5 15:17:07 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 5AA9916A4CF; Thu, 5 Aug 2004 15:17:07 +0000 (GMT) Received: from rms06.rommon.net (rms06.rommon.net [212.54.5.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82D8B43D4C; Thu, 5 Aug 2004 15:17:06 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [193.64.42.134] (h86.vuokselantie10.fi [193.64.42.134]) by rms06.rommon.net (Postfix) with ESMTP id 3A69C33C26; Thu, 5 Aug 2004 18:17:03 +0300 (EEST) Message-ID: <41124F71.9010102@he.iki.fi> Date: Thu, 05 Aug 2004 18:17:05 +0300 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Doug Rabson References: <200408050940.36506.dfr@nlsystems.com> <411248DA.3080607@freebsd.org> <200408051553.51692.dfr@nlsystems.com> In-Reply-To: <200408051553.51692.dfr@nlsystems.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: David Xu 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: Thu, 05 Aug 2004 15:17:07 -0000 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? Pete