Date: Sun, 5 Oct 1997 23:32:50 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: cmott@srv.net (Charles Mott) Cc: freebsd-hackers@FreeBSD.ORG, ari@suutari.iki.fi, brian@FreeBSD.ORG Subject: Re: link tables and scope Message-ID: <199710052332.QAA23789@usr05.primenet.com> In-Reply-To: <Pine.BSF.3.96.971004113214.23797B-100000@darkstar.home> from "Charles Mott" at Oct 4, 97 11:41:26 am
next in thread | previous in thread | raw e-mail | index | archive | help
> What I observe is that the link symbol table (I don't > know a better word for it), contains function names > both in alias.h and alias_local.h. Is there any way > to somehow restrict the scope of some globals in a > library so that they cannot be linked by modules outside > the library. > > The only way I know to do this is put the entire library > in a single file and make as much as possible static. man ld /-r ^ | space before hitting return. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710052332.QAA23789>