From owner-cvs-src@FreeBSD.ORG Sat Sep 23 13:42:16 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B04216A412; Sat, 23 Sep 2006 13:42:16 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDF2743D46; Sat, 23 Sep 2006 13:42:09 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8NDg9v0069261; Sat, 23 Sep 2006 13:42:09 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8NDg9g7069260; Sat, 23 Sep 2006 13:42:09 GMT (envelope-from davidxu) Message-Id: <200609231342.k8NDg9g7069260@repoman.freebsd.org> From: David Xu Date: Sat, 23 Sep 2006 13:42:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/ia32 ia32_sigtramp.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 13:42:16 -0000 davidxu 2006-09-23 13:42:09 UTC FreeBSD src repository Modified files: sys/amd64/ia32 ia32_sigtramp.S Log: Stop reloading %fs and %gs, since it causes the base address from GDT to be loaded into FS.base and GS.base, these values of course are not the values set by sysarch() with I386_SET_FSBASE and I386_SET_GSBASE, the change fixed a crash for 32bit libthr after signal handler returned and normal code is accessing thread pointer, for example: movl %gs:8, %eax. Revision Changes Path 1.3 +0 -4 src/sys/amd64/ia32/ia32_sigtramp.S