Date: Tue, 2 Dec 2003 22:54:41 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_create.c uthread_init.c uthread_sig.c Message-ID: <200312030654.hB36sfBs014280@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2003/12/02 22:54:41 PST FreeBSD src repository Modified files: lib/libc_r/uthread uthread_create.c uthread_init.c uthread_sig.c Log: For the amd64 we need to do some extra stack alignment fixups. Otherwise we can end up with some threads with a non-16-byte-aligned stack. This causes some interesting side effects, including general protection faults leading to a SIGBUS when doing floating point or varargs. This should be just a verbose NOP for the other platforms. Approved by: re (scottl) Revision Changes Path 1.38 +8 -3 src/lib/libc_r/uthread/uthread_create.c 1.46 +8 -2 src/lib/libc_r/uthread/uthread_init.c 1.46 +11 -1 src/lib/libc_r/uthread/uthread_sig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312030654.hB36sfBs014280>