Forcing BIND_NOW for a symbol

Florian Weimer fweimer@redhat.com
Mon Nov 9 11:18:00 GMT 2015


On 11/02/2015 11:14 PM, Carlos O'Donell wrote:

> An "Early IFUNC", interesting idea.

It doesn't have to be early as such, it just has to be called before
dlopen returns.  Maybe there is a different way to achieve that, though.
 See the thread “Raise errors from ELF constructors”.  The idea is to do
something that triggers symbol resolution from libc_nonshared.a.

I wonder if a separate DSO with BIND_NOW would do the trick.  But then
we might not want to take that hit in terms of overhead (both at run
time, and for maintenance).

Florian



More information about the Libc-help mailing list