lazy loading for glibc?
Ilya Palachev
i.palachev@samsung.com
Tue Feb 17 09:33:00 GMT 2015
On 16.02.2015 07:54, Paul Wise wrote:
> Hi all,
>
> Does glibc have the ability to do lazy loading like Solaris libc?
>
> http://docs.oracle.com/cd/E19253-01/817-1984/chapter3-27/index.html
>
> Has anyone worked on this before?
>
> The essential components appear to be:
>
> ld -z lazyload
> dlsym(RTLD_PROBE, "function_name")
>
> This would allow shared libraries to become optional, which would be
> useful for various reasons.
>
Dear Paul,
AFAIK, currently glibc does not support lazy loading like Solaris libc.
Lazy loading in glibc has been investigated some time ago.
Maybe the following threads will help you:
https://sourceware.org/ml/libc-help/2013-02/msg00017.html
http://comments.gmane.org/gmane.comp.handhelds.tizen.devel/4892
--
Ilya
More information about the Libc-alpha
mailing list