This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: 2 problems with sprof
"H . J . Lu" <hjl@lucon.org> writes:
> I think it is wrong for sprof to call dlopen with RTLD_LAZY. I think
> we should add RTLD_PROF for sprof. It should treat undefined symbols
> as weak if we have to resolve them and also it shouldn't call init/fini
> functions.
Well, I'd like something more general. The same flag might be useful
in certain situations. So it would be rather something like
RTLD_UNDEF_OK or so.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------