This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Deep binding for standard linking
- From: Mike Hearn <mike at navi dot cx>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 21 Dec 2004 13:06:28 +0000
- Subject: Deep binding for standard linking
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