From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28913 invoked by alias); 24 May 2012 14:45:56 -0000 Received: (qmail 28887 invoked by uid 22791); 24 May 2012 14:45:54 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_HW X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 May 2012 14:45:40 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1SXZIH-0000Dw-BR from joseph_myers@mentor.com ; Thu, 24 May 2012 07:45:37 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 May 2012 15:45:35 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1SXZIE-0003hQ-Ji; Thu, 24 May 2012 14:45:34 +0000 Date: Thu, 24 May 2012 14:45:00 -0000 From: "Joseph S. Myers" To: Richard Henderson cc: libc-alpha@sourceware.org, libc-ports@sourceware.org, "Ryan S. Arnold" , David Miller Subject: Re: [ppc] Include hwcap as ifunc argument In-Reply-To: <4FBE4843.5030107@twiddle.net> Message-ID: References: <4FBA744A.6000702@twiddle.net> <4FBE4843.5030107@twiddle.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00148.txt.bz2 On Thu, 24 May 2012, Richard Henderson wrote: > On 05/21/2012 09:58 AM, Richard Henderson wrote: > > Aside from the x86 port, there are only two targets that have ifunc > > support in glibc mainline: ppc and arm. It would be awesomely handy > > if we switch these targets to mirror the sparc lead in passing along > > the dl_hwcap contents as an argument to the resolver, *and* to do it > > in the same release as adding getauxval. There are some clever things > > we can do at static link time if we know that getauxval corresponds to > > the availability of the ifunc argument. > > > > Dave, dunno if you wanna change the signature of the arg from int to > > unsigned long for 64-bit? It just seemed prudent to do that here... > > > > I'll present a similar patch for arm shortly... > > Like so. Tested on armv7. And a ping for the ppc patch? This ARM patch is OK with the usual copyright dates update. -- Joseph S. Myers joseph@codesourcery.com