This is the mail archive of the libc-help@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: Forcing BIND_NOW for a symbol


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


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