From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Re: [patch] make ELF functions static Date: Wed, 30 Aug 2006 10:44:51 +0200 Message-ID: <44F55003.3070401@suse.de> References: <1156886133.29858.75.camel@basalt.austin.ibm.com> <1156921433.5190.26.camel@localhost.localdomain> <44F56AAC.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44F56AAC.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-ppc-devel , xen-devel , Hollis Blanchard , Ian Campbell List-Id: xen-devel@lists.xenproject.org Jan Beulich wrote: >> Hopefully long term the 32-on-64 work that is going on will lead to ELF >> code which doesn't need to be multiply compiled. > > Why? It's simpler to compile it twice. I already posted draft patches to > do this, simply introducing an elf32.c that #define-s the relevant > symbols to alternative names and that only gets compiled when 64-bit > arches need it for supporting 32-bit binaries. My rewritten libxc domain builder takes a simliar approach ... cheers, Gerd -- Gerd Hoffmann http://www.suse.de/~kraxel/julika-dora.jpeg