From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2GPn-00024t-VC for qemu-devel@nongnu.org; Tue, 11 Dec 2007 20:29:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2GPm-00022K-KS for qemu-devel@nongnu.org; Tue, 11 Dec 2007 20:29:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2GPm-00022E-Bb for qemu-devel@nongnu.org; Tue, 11 Dec 2007 20:29:34 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J2GPm-0006lo-1r for qemu-devel@nongnu.org; Tue, 11 Dec 2007 20:29:34 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] arm eabi TLS Date: Wed, 12 Dec 2007 01:29:27 +0000 References: <1197420297.2947.94.camel@phantasm.home.enterpriseandprosperity.com> In-Reply-To: <1197420297.2947.94.camel@phantasm.home.enterpriseandprosperity.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712120129.29746.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, thayne@c2.net On Wednesday 12 December 2007, Thayne Harbaugh wrote: > I believe Paul Brook did the original patch for arm eabi TLS. The patch > has bounced around for a bit but hasn't been applied. We've been using > this patch for a while and have tweaked it to be a bit more correct as > far as code organization. > > Please let me know what else should be improved for this so that it can > be applied. Implementing clone(CLONE_VM) is a bad idea. We should only do that after we've fixed everything else that breaks with multiple threads You're also missing some of the ARM kernel helper routines. Paul