Date: Wed, 16 Dec 1998 10:22:42 -0800 (PST) From: John Polstra <jdp@polstra.com> To: des@flood.ping.uio.no Cc: committers@FreeBSD.ORG Subject: Re: hiding symbols Message-ID: <199812161822.KAA19967@vashon.polstra.com> In-Reply-To: <xzp1zm0rmbe.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <xzp1zm0rmbe.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav <des@flood.ping.uio.no> wrote: > > How can I hide these symbols so they don't pollute the consumer's > namespace? In the good old a.out days, the following would have worked > (with an appropriate libfetch.sym): > > $ ld -r -o tmp.o *.o > $ symorder -c libfetch.sym tmp.o > > and then create a shared library with tmp.o. But how do I do it on an > Elf system? Objcopy can do it. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812161822.KAA19967>