Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 06:34:53 +0100
From:      Bernd Walter <ticso@cicely9.cicely.de>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Daniel Eischen <eischen@vigrid.com>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: pthreads seems to work now (was: Munging jmp_bufs on alpha)
Message-ID:  <20011221053453.GC71395@cicely9.cicely.de>
In-Reply-To: <20011221053103.GB71395@cicely9.cicely.de>
References:  <3C21000F.994BD53D@vigrid.com> <15393.15450.563749.55393@grasshopper.cs.duke.edu> <20011220063713.GC67179@cicely9.cicely.de> <20011221051904.GA71395@cicely9.cicely.de> <20011221053103.GB71395@cicely9.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Dec 21, 2001 at 06:31:03AM +0100, Bernd Walter wrote:
> And additionaly with this patch all my pthreads test I've tried
> seem to work.
> IMO there is a good chance that all will.

Ups patch was missing...

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

Index: src/lib/libc_r/uthread/pthread_private.h
===================================================================
RCS file: /vol/freebsd-cvs/src/lib/libc_r/uthread/pthread_private.h,v
retrieving revision 1.64
diff -u -r1.64 pthread_private.h
--- src/lib/libc_r/uthread/pthread_private.h	17 Nov 2001 14:28:39 -0000	1.64
+++ src/lib/libc_r/uthread/pthread_private.h	21 Dec 2001 05:23:26 -0000
@@ -96,7 +96,7 @@
 #define	FP_SAVE_UC(ucp)
 #define	FP_RESTORE_UC(ucp)
 #define SET_RETURN_ADDR_JB(jb, ra) do {			\
-	(jb)[0]._jb[2] = (unsigned long)(ra) + 8UL;	\
+	(jb)[0]._jb[2] = (unsigned long)(ra);		\
 	(jb)[0]._jb[R_RA + 4] = 0;			\
 	(jb)[0]._jb[R_T12 + 4] = (long)(ra);		\
 } while (0)

--3lcZGd9BuhuYXNfi--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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