This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Different exported symbols in libc.a and libc.so
- To: Constantin Loizides <Constantin dot Loizides at isg dot de>
- Subject: Re: Different exported symbols in libc.a and libc.so
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 09 Oct 2001 09:23:25 -0700
- Cc: libc-alpha at sources dot redhat dot com, Bug-glibc at gnu dot org
- References: <3BC2C6EE.DE495333@isg.de>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Any symbol beginning with __ is out-of-bounds and must never be used.
The same is true for symbols beginning with _ except for a few
documented exceptions. The DSOs enforce this (mostly) but the
archives cannot for obvious reasons. If you try to do something with
these symbols you are violating the rules and anything can happen.
Not seeing the symbols in DSOs is the least.
[And don't even think about arguing about this.]
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------