This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Make STT_GNU_IFUNC symbol dynamic
On Sun, May 24, 2009 at 08:09:32AM -0700, Ulrich Drepper wrote:
> Petr Baudis wrote:
> > That would make it possible to do the resolving step once
> > during e.g. ldconfig
>
> It is not possible to cache the result at all. Who says the selection
> only depends on CPU functionality? The selection has to be made every
> single time.
Can you give some example of non-cacheable selection, please? After all,
the selection still lasts for the whole process lifetime afterwards,
doesn't it? Having processes started at different times use different
functions would be fairly strange, especially when they are long-lived,
etc.
--
Petr "Pasky" Baudis
The lyf so short, the craft so long to lerne. -- Chaucer