From owner-freebsd-alpha@FreeBSD.ORG Thu Aug 7 19:30:12 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE92C37B401; Thu, 7 Aug 2003 19:30:12 -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 BD64143FD7; Thu, 7 Aug 2003 19:30:11 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h782UBwO048846; Thu, 7 Aug 2003 19:30:11 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h782UBWe002151; Thu, 7 Aug 2003 19:30:11 -0700 (PDT) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h782UBJU002150; Thu, 7 Aug 2003 19:30:11 -0700 (PDT) (envelope-from marcel) Date: Thu, 7 Aug 2003 19:30:11 -0700 From: Marcel Moolenaar To: deischen@freebsd.org Message-ID: <20030808023011.GC2011@athlon.pn.xcllnt.net> References: <20030808020858.GA2011@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: alpha@freebsd.org Subject: Re: [PATCH] libpthread support X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 02:30:13 -0000 On Thu, Aug 07, 2003 at 10:16:56PM -0400, Daniel Eischen wrote: > On Thu, 7 Aug 2003, Marcel Moolenaar wrote: > > > On Thu, Aug 07, 2003 at 09:31:12PM -0400, Daniel Eischen wrote: > > > On Thu, 7 Aug 2003, Marcel Moolenaar wrote: > > > > > > > On Thu, Aug 07, 2003 at 08:38:30PM -0400, Daniel Eischen wrote: > > > > > I've got some preliminary patches to add alpha support to libpthread: > > > > > > > > I'll boot-up my alpha and play with it a bit... > > > > > > Don't you have enought to do with ia64! Not that I mind... :-) > > > > I've got plenty to do, but as long as I'm focused on KSE/ia64, > > I might as well exercise the knowledge with KSE/alpha. Besides, > > I need the distractions to keep enough distance from ia64 > > problems. It helps keep a clear mind and avoids getting stuck. > > Sure. BTW, I didn't know what the TLS ABI was supposed > to be for alpha. So for now, it is the same as ia64; it > can easily be changed later once we know what it is. See Ulrich Drepper's TLS document. It's a hybrid between ia64 and sparc64. I think you can use the ia64 datastructures, but I think the thread-pointer points to the TCB, not the TLS block as for ia64. How exactly depends on what the compiler emits. Our in-tree gcc does not emit TLS access sequences, so I wouldn't worry too much about it. I think the gcc port has been updated, so we can check if that one has TLS support on alpha. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net