From owner-svn-src-head@FreeBSD.ORG Thu Feb 9 23:18:24 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAFEB1065670; Thu, 9 Feb 2012 23:18:24 +0000 (UTC) (envelope-from gonzo@hq.bluezbox.com) Received: from hq.bluezbox.com (hq.bluezbox.com [70.38.37.145]) by mx1.freebsd.org (Postfix) with ESMTP id 69B9C8FC0A; Thu, 9 Feb 2012 23:18:24 +0000 (UTC) Received: from localhost ([127.0.0.1]) by hq.bluezbox.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Rvcsk-000Hfd-Uc; Thu, 09 Feb 2012 14:54:27 -0800 Message-ID: <4F344EA6.1040809@freebsd.org> Date: Thu, 09 Feb 2012 14:54:30 -0800 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <201202092217.q19MHEuU039370@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@hq.bluezbox.com X-Spam-Level: ---- X-Spam-Report: Spam detection software, running on the system "hq.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 09/02/2012 2:33 PM, Bjoern A. Zeeb wrote: > > On 9. Feb 2012, at 22:17 , Oleksandr Tymoshenko wrote: > >> Author: gonzo >> Date: Thu Feb 9 22:17:13 2012 >> New Revision: 231312 >> URL: http://svn.freebsd.org/changeset/base/231312 >> >> Log: >> - Emulate RDHWR instruction for TLS support >> >> Reading register $29 with RDHWR is becoming the de-facto standard to >> implement TLS. According to linux-mips wiki, MIPS Technologies has >> reserved hardware register $29 for ABI use. Furthermore current GCC >> makes the following assumptions: >> - RDHWR is natively available or otherwise emulated by the kernel >> - Register $29 holds the TLS pointer >> >> Submitted by: Robert Millan > > mips XLPN32 kernel failed, check _.mips.XLPN32 for details > mips XLRN32 kernel failed, check _.mips.XLRN32 for details > > /scratch/tmp/bz/head.svn/sys/mips/mips/trap.c: In function 'trap': > /scratch/tmp/bz/head.svn/sys/mips/mips/trap.c:768: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > /scratch/tmp/bz/head.svn/sys/mips/mips/trap.c:776: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [...] Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r231312 - in head/sys/mips: include mips X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2012 23:18:25 -0000 On 09/02/2012 2:33 PM, Bjoern A. Zeeb wrote: > > On 9. Feb 2012, at 22:17 , Oleksandr Tymoshenko wrote: > >> Author: gonzo >> Date: Thu Feb 9 22:17:13 2012 >> New Revision: 231312 >> URL: http://svn.freebsd.org/changeset/base/231312 >> >> Log: >> - Emulate RDHWR instruction for TLS support >> >> Reading register $29 with RDHWR is becoming the de-facto standard to >> implement TLS. According to linux-mips wiki, MIPS Technologies has >> reserved hardware register $29 for ABI use. Furthermore current GCC >> makes the following assumptions: >> - RDHWR is natively available or otherwise emulated by the kernel >> - Register $29 holds the TLS pointer >> >> Submitted by: Robert Millan > > mips XLPN32 kernel failed, check _.mips.XLPN32 for details > mips XLRN32 kernel failed, check _.mips.XLRN32 for details > > /scratch/tmp/bz/head.svn/sys/mips/mips/trap.c: In function 'trap': > /scratch/tmp/bz/head.svn/sys/mips/mips/trap.c:768: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > /scratch/tmp/bz/head.svn/sys/mips/mips/trap.c:776: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Thanks for spotting it. Fixed.