bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: control of symbols exported by shared libraries


From: Bruno Haible
Subject: Re: control of symbols exported by shared libraries
Date: Wed, 27 Jul 2005 13:19:07 +0200
User-agent: KMail/1.5

Simon Josefsson wrote:
> it appeared to me that a
> preferable approach would be to fix libtool, and I thought that had
> been done.  Joe Orton of RedHat even asked me to use Libtool's
> --export-symbols-regex in GnuTLS, for instance.  I have been using it
> all of my libraries for a long time.  No non-external symbols are
> exported, from what I can tell.  Output below.

You're right. For Linux systems, it has been fixed in revision 1.29 of
libtool/m4/libtool.m4, on 2004-01-07, i.e. since libtool-1.5.2.

Still, this implementation of symbol export control optimizes only the
symbol tables, and has no opportunity to optimize the code, because the
compiler doesn't know which symbols will be exported when it compiles
from .c to .lo.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]