Different exported symbols in libc.a and libc.so

Ulrich Drepper drepper@redhat.com
Tue Oct 9 09:24:00 GMT 2001


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



More information about the Libc-alpha mailing list