This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ppc] Include hwcap as ifunc argument


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]