From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15538 invoked by alias); 17 Apr 2007 00:09:44 -0000 Received: (qmail 15518 invoked by uid 22791); 17 Apr 2007 00:09:42 -0000 X-Spam-Check-By: sourceware.org Received: from are.twiddle.net (HELO are.twiddle.net) (64.81.246.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 17 Apr 2007 01:09:30 +0100 Received: from are.twiddle.net (localhost.localdomain [127.0.0.1]) by are.twiddle.net (8.13.8/8.13.6) with ESMTP id l3H07QEs029711; Mon, 16 Apr 2007 17:07:26 -0700 Received: (from rth@localhost) by are.twiddle.net (8.13.8/8.13.8/Submit) id l3H07PhT029710; Mon, 16 Apr 2007 17:07:25 -0700 Date: Tue, 17 Apr 2007 00:09:00 -0000 From: Richard Henderson To: Jakub Jelinek Cc: Steven Munroe , Glibc hackers , Ulrich Drepper , Peter Eberlein Subject: Re: [PATCH] PPC fenv fixes. 3rd update Message-ID: <20070417000725.GA29690@twiddle.net> Mail-Followup-To: Jakub Jelinek , Steven Munroe , Glibc hackers , Ulrich Drepper , Peter Eberlein References: <20070322145345.GZ1826@sunsite.mff.cuni.cz> <4602FCE5.7060203@us.ibm.com> <460941B8.2050501@us.ibm.com> <20070327160708.GA355@devserv.devel.redhat.com> <46096124.6050504@us.ibm.com> <460A8D78.6060303@us.ibm.com> <20070405022655.GA29766@twiddle.net> <46157538.5050407@us.ibm.com> <20070414173839.GL1826@sunsite.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070414173839.GL1826@sunsite.mff.cuni.cz> User-Agent: Mutt/1.4.2.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00009.txt.bz2 On Sat, Apr 14, 2007 at 07:38:39PM +0200, Jakub Jelinek wrote: > Hm, why can't you use the magic numbers? fesetenv takes (fenv_t *envp) > on all arches, yet all but ppc manage to handle magic numbers. Assuming a userland has all bits available for user mapping, there may be no easy space to reserve. In which case I'd export some dummy variables from libc, and compare vs their addresses. r~