2 problems with sprof

Ulrich Drepper drepper@redhat.com
Thu Sep 20 00:21:00 GMT 2001


"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   `------------------------



More information about the Libc-alpha mailing list