[PATCH] libpthread support

Marcel Moolenaar marcel at xcllnt.net
Thu Aug 7 19:30:13 PDT 2003


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 at xcllnt.net


More information about the freebsd-alpha mailing list