From owner-svn-src-all@FreeBSD.ORG Mon Apr 9 16:39:45 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C0EC106564A for ; Mon, 9 Apr 2012 16:39:45 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id C887D8FC19 for ; Mon, 9 Apr 2012 16:39:44 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so4426603wgb.31 for ; Mon, 09 Apr 2012 09:39:43 -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=cQyIXqpme9ltlN307RSrOqyLbL0D0X3Pv/0T1bC1d4wbsfDfh0XWLsSyLrBnCAYR4v cYN0nW6SExoEO5HOLoe7WeeCi9QLq9HbMq13iwO9M8+B74MWbbqD4k7EpqEXkI0tkQAI irDdhY0l9S/zu24+tPFFKBOCjYi4Ap02Hcr8LXP1mgM9AB53bBqY2YJ2WGom7ksOZzk1 U7w/KmlepzcGlJDKSkQ16D4KpeygDImUEGnfzLG7OV/IGOMKN1DcbVYNn8DsnbU9tMik VpcYD1iQ70UpmC0NQ7kUOUCWnLzzbbBAaEjar/TIk8KtfLPDx9OGd1T8snX/QqMKaVJk BuLg== 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: ALoCoQnejdpaW7B6TJaTOPa8x9bDDqB79ii3JNqhhAPwnH0Bra4IEStQDR4NwpYtN+ySWEu5NfEc 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2012 16:39:45 -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__.