Date: Sun, 1 Jun 2003 16:13:31 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 32333 for review Message-ID: <200306012313.h51NDVBT079230@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=32333 Change 32333 by peter@peter_hammer on 2003/06/01 16:13:17 make libc_r work (at least as well as on i386) Affected files ... .. //depot/projects/hammer/lib/libc_r/uthread/uthread_sig.c#6 edit Differences ... ==== //depot/projects/hammer/lib/libc_r/uthread/uthread_sig.c#6 (text+ko) ==== @@ -1043,7 +1043,7 @@ /* Get the top of the threads stack: */ stackp = GET_STACK_JB(thread->ctx.jb); -#if !defined(__ia64__) && !defined(__amd64__) +#if !defined(__ia64__) /* * Leave a little space on the stack and round down to the * nearest aligned word: @@ -1056,8 +1056,6 @@ stackp -= sizeof(struct pthread_signal_frame); #if defined(__ia64__) stackp &= ~0xFUL; -#elif defined(__amd64__) - stackp -= 128; #endif psf = (struct pthread_signal_frame *) stackp; @@ -1087,7 +1085,7 @@ /* * Set up the context: */ -#if !defined(__ia64__) && !defined(__amd64__) +#if !defined(__ia64__) stackp -= sizeof(double); #endif _setjmp(thread->ctx.jb);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306012313.h51NDVBT079230>