Deep binding for standard linking

Mike Hearn mike@navi.cx
Tue Dec 21 13:11:00 GMT 2004


Hi,

The RTLD_DEEPBIND flag Ulrich recently introduced may be useful for many
situations, especially for speeding up linking in some circumstances where
there are lots of symbols in the global scope. It will also help reduce
symbol conflicts in the case of libraries like ncurses which export
symbols named, eg "clear".

Because this is a useful ability I am wondering if it's really only
available for dlopen, or whether a new ELF flag is available so standard
DT_NEEDED links can (selectively) use the new semantics as well. If not,
are there any plans to add one? If none, would you (the glibc developers)
be interested in a patch to add such a thing?

thanks -mike



More information about the Libc-alpha mailing list