Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 19:30:11 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        deischen@freebsd.org
Cc:        alpha@freebsd.org
Subject:   Re: [PATCH] libpthread support
Message-ID:  <20030808023011.GC2011@athlon.pn.xcllnt.net>
In-Reply-To: <Pine.GSO.4.10.10308072215320.17776-100000@pcnet5.pcnet.com>
References:  <20030808020858.GA2011@athlon.pn.xcllnt.net> <Pine.GSO.4.10.10308072215320.17776-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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