From owner-freebsd-threads@FreeBSD.ORG Thu Jun 19 13:23:50 2003 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 A3EC037B401 for ; Thu, 19 Jun 2003 13:23:50 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4EB343FAF for ; Thu, 19 Jun 2003 13:23:49 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5JKNnDZ071106 for ; Thu, 19 Jun 2003 13:23:49 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5JKNn17000949 for ; Thu, 19 Jun 2003 13:23:49 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h5JKNn4c000948 for threads@freebsd.org; Thu, 19 Jun 2003 13:23:49 -0700 (PDT) (envelope-from marcel) Date: Thu, 19 Jun 2003 13:23:49 -0700 From: Marcel Moolenaar To: threads@freebsd.org Message-ID: <20030619202349.GB833@dhcp01.pn.xcllnt.net> References: <20030619202013.GA833@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030619202013.GA833@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.5.4i Subject: Re: Implementing TLS: step 1 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, 19 Jun 2003 20:23:51 -0000 On Thu, Jun 19, 2003 at 01:20:13PM -0700, Marcel Moolenaar wrote: > > 1. The kernel already iterates over the program headers and can > pass the address and size of the TLS template to the process > (or RTLD) by means of the auxargs (ie have AT_TLS_ADDR and > AT_TLS_SIZE). If no template exists AT_TLS_* will be zero. > This prevents coding object file dependencies on thread and ^^^^^^^^^ I mean: in the thread libraries. Sorry about that, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net