This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: BTW: user programs use of weak
- To: khendricks at ivey dot uwo dot ca
- Subject: Re: BTW: user programs use of weak
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 03 Oct 2000 19:04:41 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <39DA8D79.7D5591EF@sympatico.ca>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"Kevin B. Hendricks" <kevin.hendricks@sympatico.ca> writes:
> Not that it actually matters very much but user level programs do
> use weak symbol versioning. For example the Java 3D code uses weak
> symbols to try to work around the problem that some OpenGL libraries
> has specialized functions that don't exist in every version of
> OpenGL (SGI only symbols/functions versus, Sun versus, ...).
This code should be rewritten to use dlopen(RTLD_DEFAULT,...). This
is available at least in glibc and on Solaris.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------