From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 1836ADDF41 for ; Wed, 30 May 2007 22:07:37 +1000 (EST) In-Reply-To: <1180526470.19517.274.camel@localhost.localdomain> References: <18012.61822.197988.279764@cargo.ozlabs.ibm.com> <1180526470.19517.274.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: Saving to 32 bits of GPRs in signal context Date: Wed, 30 May 2007 14:07:29 +0200 To: Benjamin Herrenschmidt Cc: linuxppc-dev list , Steve Munroe , Ulrich Weigand , Paul Mackerras , Anton Blanchard List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> This prctl() is needed if you want to support DSOs containing >> 64-bit insns. It would be nice to have some ELF flag as well >> though, so most of this can be handled automatically. > > Actually, it's the opposite... the prctl becomes a problem if you have > libs wanting to use 64 bits for optims The host application, or the dynamic loader, can call the prctl() when it loads the DSO that needs it. In almost all cases this should all be transparent for the user IMHO, based on some ELF flag. Segher