From owner-svn-src-head@FreeBSD.ORG Mon Apr 9 16:46:05 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CB241065670 for ; Mon, 9 Apr 2012 16:46:05 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD4B58FC12 for ; Mon, 9 Apr 2012 16:46:04 +0000 (UTC) Received: by wern13 with SMTP id n13so3575053wer.13 for ; Mon, 09 Apr 2012 09:46:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=lzJIYSavzImDudbhNSyh+Ny9wf8qM6AIHSfodFGTLMA=; b=IlhtB30aXcv3irqsEoldJbqA6zlH2UPtUNJ35HjrZeB9ByQEPgscdR66yWweyL0XF0 5jMYqI/sJovZnGg1EP83vKBreRTEGfXrpZqCLf09wf1OF0kNdgi4CQ3Gx7Dgn6Y8GK7x 5UoenrEEO7a31DaBPsDqzDlCO4i/lhGjC/xNlYeiJ+BhDf7rtiKXwliiQm1wty6v1Zp5 Bh/0I7CA7TJjxb3R5kUie3QamhsHRaHuTmJd9qPMpCiMgpvzZA7HLjnCugxC2e1BK52Z 2maZRR0b++JoykxEKsY6ussY7jWAMgPr1BtO3jbU+zO+Up4173GyL9RHn+Pm8zWET5TY Qu9w== Received: by 10.180.96.168 with SMTP id dt8mr16946513wib.18.1333989583649; Mon, 09 Apr 2012 09:39:43 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.180.86.37 with HTTP; Mon, 9 Apr 2012 09:39:23 -0700 (PDT) In-Reply-To: <20120409204416.77f61674@fubar.geek.nz> References: <201204080436.q384aRXS093116@svn.freebsd.org> <20120408164521.55aecdd1@fubar.geek.nz> <20120409161453.29d1f3de@fubar.geek.nz> <20120409204416.77f61674@fubar.geek.nz> From: Juli Mallett Date: Mon, 9 Apr 2012 09:39:23 -0700 X-Google-Sender-Auth: mTTPnSjyhHeUIwOOf4pHSn67ntg Message-ID: To: Andrew Turner Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQm6cvNZiRRIoftSwAjFsaqBPfl2ot3WHcKCoCILXhG56ikZRPYry6Jq6vb+7EZ43APIJGay Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r234014 - head/lib/libc/arm/gen 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: Mon, 09 Apr 2012 16:46:05 -0000 On Mon, Apr 9, 2012 at 01:44, Andrew Turner wrote: > How does the attached (untested) patch look. It explicitly loads > ARM_TP_ADDRESS into a r0 to ensure r1-3 are not touched. The example file I pointed at was for the kernel, where the LOCORE-related ifdefs (almost) make sense, but for userland you probably want to conditionalize on __ASSEMBLER__.