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 09:07:48AM -0700, Ulrich Drepper wrote:
> Petr Baudis wrote:
> > On Sun, May 24, 2009 at 08:43:08AM -0700, Ulrich Drepper wrote:
> > If it's the case that the criteria can change over time, shouldn't the
> > dynamic linker also offer an interface to reset the ifunc relocations,
> > that long-lived processes sensitive about this can use?
>
> If you know this can happen then this interface isn't for you. We have
> to draw the line somewhere. Resetting is IMO far beyond that line.
But you don't make the choice as the user programmer - the library maker
does. And I don't think such an interface would be complex at all, would
it?
Of course that's nothing that needs to be there right from the start;
I will try to have a go at implementing it when the rest of the ifunc
stuff settles down a bit.
--
Petr "Pasky" Baudis
The lyf so short, the craft so long to lerne. -- Chaucer